/* Professional Design & Construction - Paso Robles - spec build #63
   ---------------------------------------------------------------------------
   PALETTE SAMPLED OFF THE POOL WATER IN HIS OWN PHOTO (p03): median of the
   saturated blue pixels = #143156, deepened to #0E2A5E for grounds and
   lifted to #12357A for text on light. Deck stone #E9DDC6 is CHOSEN to sit
   beside it (not sampled). No logo exists.

   Structure: full-bleed pool photo with the type on navy BELOW it (a scrim hid the pool); a three-photo
   row (wide, wide, tall); a big "35 years" line leading the license; no
   testimonial section (zero reviews). No eyebrows.

   ⚠ EVERY RATIO BELOW WAS COMPUTED, NOT ESTIMATED.
     #12357A blue on white 11.56 | on paper 10.25
     #FFFFFF on navy 13.89 | #A9C8F2 blueL on navy 8.09 | stone on navy 10.34
     #1A1A17 ink on paper 15.46 | on stone 12.98 | #5A564D muted on paper 6.48
   --------------------------------------------------------------------------- */

:root {
  --navy:  #0E2A5E;
  --blue:  #12357A;
  --blueL: #A9C8F2;   /* DARK GROUNDS ONLY */
  --stone: #E9DDC6;
  --paper: #F4F1EA;
  --white: #FFFFFF;
  --ink:   #1A1A17;
  --muted: #5A564D;
  --rule:  #DDD5C6;
  --wide: 1180px;
  --sect: clamp(64px, 9vw, 108px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: ui-sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}

/* Browser surfaces. The parts you did not draw still carry the design, and
   this is the cheapest signal that a page was built rather than assembled. */
::selection      { background: var(--blue); color: var(--white); }
:root            { caret-color: var(--blue); accent-color: var(--blue); }
:focus-visible   { outline: 2px solid var(--blue); outline-offset: 3px; }
a                { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tabular, time, dd, .years { font-variant-numeric: tabular-nums; }
@supports (scrollbar-color: auto) {
  html { scrollbar-color: var(--navy) var(--paper); scrollbar-width: thin; }
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
.wrap { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: 24px; }
.muted { color: var(--muted); }
h1, h2 { letter-spacing: -0.025em; line-height: 1.08; font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 0 0 12px; }
.intro { color: var(--muted); max-width: 60ch; margin: 0 0 30px; }

.btn { display: inline-block; background: var(--stone); color: var(--ink); font-weight: 800;
  text-decoration: none; padding: 15px 26px; border-radius: 999px; white-space: nowrap; }
.btn:hover { background: var(--white); }

.mast { background: var(--navy); color: var(--white); }
.mast .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center;
  justify-content: space-between; padding-block: 16px; }
.mark { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.mark span { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--blueL); }
.mast .tel { color: var(--stone); font-weight: 700; text-decoration: none; white-space: nowrap; }

.hero { background: var(--navy); }
.hero > img { width: 100%; height: min(62vh, 620px); min-height: 320px; object-fit: cover; object-position: 50% 70%; }
.hero-type { color: var(--white); padding-block: clamp(36px, 5vw, 64px); }
.hero h1 { font-size: clamp(34px, 5vw, 62px); margin: 0 0 16px; max-width: 20ch; }
.lede { font-size: 19px; max-width: 46ch; margin: 0 0 24px; }

.work { padding-block: var(--sect); }
.grid { display: grid; grid-template-columns: 5fr 5fr 3fr; gap: 14px; align-items: stretch; }
.grid figure { display: flex; flex-direction: column; }
.grid img { width: 100%; height: 100%; object-fit: cover; flex: 1; min-height: 0; border-radius: 8px; }
.grid figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }

.license { padding-block: var(--sect); background: var(--white); }
.license .wrap { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(28px, 5vw, 72px); }
.years { margin: 0 0 18px; font-size: 18px; font-weight: 700; color: var(--blue); }
.years b { display: block; font-size: clamp(80px, 11vw, 140px); line-height: .9; letter-spacing: -0.04em; font-weight: 900; }
.record { margin: 0; border-top: 3px solid var(--navy); }
.record div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.record dt { color: var(--muted); font-size: 15px; }
.record dd { margin: 0; }
.record .hi dd { font-weight: 800; font-size: 21px; color: var(--blue); }
.record dd.sub { color: var(--muted); font-size: 15px; }

.reach { background: var(--navy); color: var(--white); padding-block: clamp(48px, 7vw, 80px); }
.reach .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.reach h2 { margin-bottom: 6px; }
.reach .muted { color: var(--blueL); margin: 0; }
.big { margin: 0; font-size: clamp(30px, 4vw, 46px); font-weight: 900; letter-spacing: -0.02em; }
.big a { color: var(--stone); text-decoration: none; }

.letter { padding-block: var(--sect); }
.letter .wrap { max-width: 700px; }
.letter p { font-size: 18px; margin: 0 0 18px; }
.sign { margin-top: 26px !important; font-weight: 700; }

footer { background: var(--ink); color: var(--white); padding-block: 56px 96px; }
footer .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
footer h4 { margin: 0 0 8px; font-size: 17px; }
footer p { margin: 0 0 4px; color: var(--stone); font-size: 15px; }
footer a { color: var(--blueL); }
footer .legal { grid-column: 1 / -1; margin-top: 18px; padding-top: 18px; border-top: 1px solid #333; font-size: 13px; line-height: 1.6; }

.callbar { display: none; }

@media (max-width: 900px) {
  .license .wrap { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .g3 { grid-column: 1 / -1; } .g3 img { aspect-ratio: 4 / 3; object-position: 50% 45%; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
  footer .wrap { grid-template-columns: 1fr; }
  .record div { grid-template-columns: 1fr; gap: 2px; }
  .mast .tel { display: none; }
  .callbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--navy);
  }
  .callbar a { display: block; text-align: center; background: var(--stone); color: var(--ink);
    font-weight: 800; text-decoration: none; border-radius: 999px; padding: 14px; }
}
