/* Armorcoat Painting LLC - Lompoc - spec build #49
   ---------------------------------------------------------------------------
   ⚠⚠ THE PALETTE WAS CHOSEN, NOT SAMPLED. There is no logo, no truck and no
   sign anywhere in the photo set - the only "brand" is an Instagram story
   caption in the default font. The locked client-material rule cannot be
   followed here, and this comment says so rather than implying a sampling
   step that did not happen (the Paul Cuce #29 / R J Potter #34 precedent).
   Chosen: a deep indigo ground (hue ~230, unused by any recent build) and a
   ladder-yellow accent for dark grounds only.

   Structure, deliberately unlike the two Lompoc builds sent this week:
     #46 So-Cal       type-led on warm paper, reviews grouped by room
     #48 Coastal Ridge black and orange, reviewer's sentence as the hero
     #49 Armorcoat    indigo hero with the license as a mono STAT ROW (the
                      R J Potter device, since the record is the strongest
                      thing he has), then ONE HOUSE shown twice as a job
                      sequence, then a five-photo range grid. No eyebrows.

   ⚠ EVERY RATIO BELOW WAS COMPUTED, NOT ESTIMATED.
     #15172A ink     on white 17.68 | on paper 15.78
     #232A4D indigo  white on it 13.91
     #3F4C8C accent  on white  8.00 | on paper 7.14 | white on it 8.00
     #AEB8E6 accentL on indigo 7.15                  DARK GROUNDS ONLY
     #E8B23A sun     on indigo 7.19 | indigo on it 7.19 | on white 1.93 (NO)
     #555866 muted   on white  7.06 | on paper 6.30
   --------------------------------------------------------------------------- */

:root {
  --ground: #FFFFFF;
  --paper:  #F3F2EE;
  --ink:    #15172A;
  --indigo: #232A4D;
  --accent: #3F4C8C;
  --accentL:#AEB8E6;
  --sun:    #E8B23A;   /* DARK GROUNDS ONLY */
  --muted:  #555866;
  --rule:   #E2E0DA;
  --rule-d: #39406A;

  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
          "Liberation Mono", monospace;
  --wide: 1180px;
  --s-md: 16px; --s-lg: 26px; --s-xl: 36px; --s-2xl: 60px;
  --sect: clamp(64px, 9vw, 108px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: ui-sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px; line-height: 1.65; -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(--accentL); color: var(--ink); }
:root            { caret-color: var(--accent); accent-color: var(--accent); }
:focus-visible   { outline: 2px solid var(--accent); outline-offset: 3px; }
a                { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tabular, time, dd { font-variant-numeric: tabular-nums; }
@supports (scrollbar-color: auto) {
  html { scrollbar-color: var(--accent) var(--paper); scrollbar-width: thin; }
}

img { max-width: 100%; height: auto; display: block; }
.wrap { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: 24px; }
.muted { color: var(--muted); }

/* ── Masthead ─────────────────────────────────────────────────────────── */
.mast { background: var(--indigo); border-bottom: 1px solid var(--rule-d); }
.mast .wrap { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center;
  justify-content: space-between; padding-block: 16px; }
.mark { margin: 0; color: #fff; font-size: 21px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.15; }
.mark span { display: block; font-size: 13px; font-weight: 500; color: var(--accentL); letter-spacing: 0; }
.mast .tel { background: var(--sun); color: var(--indigo); font-weight: 800; font-size: 17px;
  text-decoration: none; white-space: nowrap; border-radius: 6px; padding: 10px 18px; }
.mast .tel:hover { background: #F2C565; }

/* ── Hero: headline and the license as a stat row ─────────────────────── */
section { padding-block: var(--sect); }
.hero { background: var(--indigo); color: #DDE1F3; padding-block: clamp(56px, 8vw, 104px); }
.hero h1 {
  margin: 0 0 var(--s-xl); max-width: 20ch; color: #fff;
  font-size: clamp(34px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -0.034em; font-weight: 800;
}
.hero h1 em { font-style: normal; color: var(--sun); }   /* 7.19 */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0 0 var(--s-xl);
  border-top: 1px solid var(--rule-d); max-width: 820px; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule-d); }
.stats dt { font-family: var(--mono); font-size: 12.5px; color: var(--accentL); margin: 0 0 4px; }
.stats dd { margin: 0; font-family: var(--mono); font-size: clamp(24px, 3vw, 34px); color: #fff; font-weight: 700; }
.hero .lede { max-width: 60ch; font-size: 18.5px; margin: 0 0 var(--s-xl); }

.btn { display: inline-block; background: var(--accent); color: #fff; font-size: 16.5px; font-weight: 700;
  padding: 14px 26px; border-radius: 6px; text-decoration: none; }           /* 8.00 */
.btn:hover { background: var(--indigo); }
.hero .btn { background: var(--sun); color: var(--indigo); }                  /* 7.19 */
.hero .btn:hover { background: #F2C565; }

h2 { margin: 0 0 var(--s-md); font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08;
  letter-spacing: -0.03em; font-weight: 800; max-width: 22ch; }
p { margin: 0 0 var(--s-md); }
p:last-child { margin-bottom: 0; }
.intro { font-size: 18.5px; max-width: 58ch; color: var(--muted); }
figure { margin: 0; }
figcaption { margin-top: 9px; font-size: 15px; color: var(--muted); }
figcaption b { color: var(--ink); }

/* ── One house, twice ─────────────────────────────────────────────────── */
.job-grid { display: grid; gap: var(--s-lg); margin-top: var(--s-xl); align-items: start; }
@media (min-width: 800px) { .job-grid { grid-template-columns: 1fr 1fr; } }
.job img, .range img { width: 100%; border-radius: 6px; outline: 1px solid oklch(0 0 0 / 0.1); outline-offset: -1px; }
.job img { aspect-ratio: 4 / 5; object-fit: cover; }

/* ── Range grid: five frames, uneven ──────────────────────────────────── */
.range { background: var(--paper); }
.range-grid { display: grid; gap: var(--s-lg); margin-top: var(--s-xl); }
@media (min-width: 900px) {
  .range-grid { grid-template-columns: repeat(6, 1fr); align-items: end; }
  .r-lift  { grid-column: span 2; } .r-apt { grid-column: span 2; } .r-house { grid-column: span 2; }
  .r-int   { grid-column: span 4; } .r-pole { grid-column: span 2; }
  .r-lift img, .r-apt img, .r-house img, .r-pole img { aspect-ratio: 3 / 4; object-fit: cover; }
}

/* ── License ──────────────────────────────────────────────────────────── */
.license .wrap { display: grid; gap: var(--s-xl); }
@media (min-width: 900px) { .license .wrap { grid-template-columns: 1fr 1.3fr; align-items: start; } }
.record { margin: 0; border-top: 2px solid var(--accent); }
.record div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  padding: 12px 0; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 14.5px; }
.record dt { margin: 0; color: var(--muted); }
.record dd { margin: 0; font-weight: 600; text-align: right; }
.record .hi dd { color: var(--accent); font-weight: 700; }                    /* 8.00 */

/* ── Reach ────────────────────────────────────────────────────────────── */
.reach { background: var(--paper); }
.reach-grid { display: grid; gap: var(--s-xl); margin-top: var(--s-lg); align-items: end; }
@media (min-width: 800px) { .reach-grid { grid-template-columns: 1fr 1fr; } }
.reach .big { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.02em; }
.reach .big a { color: var(--ink); text-decoration: none; }

/* ── Letter ───────────────────────────────────────────────────────────── */
.letter .wrap { max-width: 820px; }
.letter p { color: var(--muted); max-width: 68ch; }
.letter strong { color: var(--ink); }
.letter .sign { margin-top: var(--s-lg); color: var(--ink); font-weight: 600; }

/* ── Footer ───────────────────────────────────────────────────────────── */
footer { background: var(--indigo); color: #DDE1F3; padding-block: var(--s-2xl) var(--s-xl); }
footer .wrap { display: grid; gap: var(--s-lg); }
@media (min-width: 700px) { footer .wrap { grid-template-columns: 1.3fr 1fr 1fr; } }
footer h4 { margin: 0 0 10px; color: #fff; font-size: 15px; font-weight: 700; }
footer p { margin: 0 0 4px; font-size: 15px; }
footer a { color: var(--sun); text-decoration: none; }
footer a:hover { text-decoration: underline; }
/* grid-column is load-bearing - #41's bug */
.legal { grid-column: 1 / -1; margin-top: var(--s-xl); padding-top: var(--s-md);
  border-top: 1px solid var(--rule-d); font-size: 12.5px; color: var(--accentL); }

/* ── Sticky call button, phones only ──────────────────────────────────── */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--sun); padding: 13px 16px; text-align: center; }
  .callbar a { color: var(--indigo); font-weight: 800; text-decoration: none; font-size: 17px; }
  body { padding-bottom: 62px; }
  .mast .tel { display: none; }
}
