/* Pozzi Bros Electric LLC - Templeton - spec build #56
   ---------------------------------------------------------------------------
   PALETTE SAMPLED OFF THEIR OWN PANEL PHOTO (p04): the yellow cable, median
   of the saturated yellow pixels = #E5C233. No logo exists. Charcoal ground
   chosen to carry it (the framing shadows in the same photo are near it).

   Structure, unlike #46-#55: a charcoal hero with the yellow on the words,
   the panel photo standing in a thin yellow frame; the work told as two
   STAGES ("Rough-in", "Finished"), the second on a dark band; one short
   review set large; the license. Square corners. No eyebrows.

   ⚠ EVERY RATIO BELOW WAS COMPUTED, NOT ESTIMATED.
     #E5C233 yellow on charcoal 9.48 | charcoal on yellow 9.48 | ink on yellow 10.79
     #FFFFFF on charcoal 15.66 | #AAB2B8 mutedD on charcoal 7.28     DARK ONLY
     #7A5E00 yellowD on paper 5.56 | on white 6.12                  LIGHT ONLY
     #15181B ink on paper 16.17 | #565C61 muted on paper 6.15
   --------------------------------------------------------------------------- */

:root {
  --char:   #1F2428;
  --yellow: #E5C233;
  --yD:     #7A5E00;   /* LIGHT GROUNDS ONLY */
  --paper:  #F4F4F1;
  --white:  #FFFFFF;
  --ink:    #15181B;
  --muted:  #565C61;
  --mutedD: #AAB2B8;   /* DARK GROUNDS ONLY */
  --rule:   #DADBD6;
  --rule-d: #384047;
  --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(--yellow); color: var(--ink); }
:root            { caret-color: var(--yD); accent-color: var(--yD); }
:focus-visible   { outline: 2px solid var(--yD); outline-offset: 3px; }
a                { color: var(--yD); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tabular, time, dd { font-variant-numeric: tabular-nums; }
@supports (scrollbar-color: auto) {
  html { scrollbar-color: var(--char) 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.03em; line-height: 1.05; 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(--yellow); color: var(--ink); font-weight: 800;
  text-decoration: none; padding: 15px 26px; white-space: nowrap; }
.btn:hover { background: var(--white); }

/* ── Masthead ─────────────────────────────────────────────────────────── */
.mast { background: var(--char); border-bottom: 3px solid var(--yellow); }
.mast .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center;
  justify-content: space-between; padding-block: 16px; }
.mark { margin: 0; color: var(--white); font-size: 21px; 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(--mutedD); }
.mast .tel { color: var(--yellow); font-weight: 700; font-size: 18px; text-decoration: none; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { background: var(--char); color: var(--white); padding-block: clamp(48px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 76px); margin: 0 0 22px; }
.hero h1 em { font-style: normal; color: var(--yellow); display: block; }
.lede { font-size: 19px; max-width: 42ch; margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0; }
.actions span { color: var(--mutedD); font-size: 15px; }
.hero-photo { border: 2px solid var(--yellow); padding: 8px; }

/* ── Stages ───────────────────────────────────────────────────────────── */
.stage { padding-block: var(--sect); }
.stage h2 { display: flex; align-items: center; gap: 14px; }
.stage h2::after { content: ""; flex: 1; height: 2px; background: var(--yellow); }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 14px; align-items: end; }
.grid3 .wide img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.grid2 { display: grid; grid-template-columns: 3fr 2fr; gap: 14px; align-items: end; }
.stage figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.stage.dark { background: var(--char); color: var(--white); }
.stage.dark figcaption { color: var(--mutedD); }

/* ── Quote ────────────────────────────────────────────────────────────── */
.quote { background: var(--yellow); padding-block: clamp(56px, 8vw, 96px); }
.review { margin: 0; max-width: 880px; }
.review blockquote { margin: 0; }
.review p { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
.review figcaption { margin-top: 18px; font-size: 16px; }

/* ── License ──────────────────────────────────────────────────────────── */
.license { padding-block: var(--sect); background: var(--white); }
.license .wrap { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(28px, 5vw, 72px); }
.record { margin: 0; border-top: 3px solid var(--char); }
.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(--yD); }

/* ── Reach ────────────────────────────────────────────────────────────── */
.reach { background: var(--char); 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(--mutedD); margin: 0; }
.big { margin: 0; font-size: clamp(30px, 4vw, 46px); font-weight: 900; letter-spacing: -0.02em; }
.big a { color: var(--yellow); text-decoration: none; }

/* ── Letter ───────────────────────────────────────────────────────────── */
.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 ───────────────────────────────────────────────────────────── */
footer { background: var(--ink); color: var(--white); padding-block: 56px 96px; border-top: 3px solid var(--yellow); }
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(--mutedD); font-size: 15px; }
footer a { color: var(--yellow); }
footer .legal { grid-column: 1 / -1; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--rule-d); font-size: 13px; line-height: 1.6; }

.callbar { display: none; }

@media (max-width: 900px) {
  .hero .wrap, .license .wrap { grid-template-columns: 1fr; }
  .hero-photo { max-width: 360px; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .grid3 .wide { grid-column: 1 / -1; }
  .grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  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(--char);
  }
  .callbar a { display: block; text-align: center; background: var(--yellow); color: var(--ink);
    font-weight: 800; text-decoration: none; padding: 14px; }
}
