/* Joe Mc Alexander Electric - Arroyo Grande - spec build #61 - TYPE-LED
   ---------------------------------------------------------------------------
   ⚠⚠ THE PALETTE WAS CHOSEN, NOT SAMPLED. The listing has no photos, logo or
   website, so there is nothing of his to sample; this comment says so (the
   Cota's #52 / Wheeler #60 precedent). Chosen: plum and marigold, a pairing
   no other build uses.

   Structure: plum hero with a "Licensed since 1999" stamp; the one quotable
   review, short, set huge on marigold with the 5.0 count under it; license;
   letter. No photos. No eyebrows.

   ⚠ EVERY RATIO BELOW WAS COMPUTED, NOT ESTIMATED.
     #F2B632 gold on plum 7.73 | plum on gold 7.73 | ink on gold 9.77
     #FFFFFF on plum 14.11 | #D9C6DE lilac on plum 8.79     DARK ONLY
     #8A5A00 goldD on paper 5.59 | white on it 5.93
     #1E1422 ink on paper 16.82 | #5E5362 muted on paper 6.86
   --------------------------------------------------------------------------- */

:root {
  --plum:  #3B2240;
  --gold:  #F2B632;
  --goldD: #8A5A00;
  --lilac: #D9C6DE;   /* DARK GROUNDS ONLY */
  --paper: #FBF8F3;
  --ink:   #1E1422;
  --muted: #5E5362;
  --white: #FFFFFF;
  --rule:  #E6DDE3;
  --wide: 1120px;
  --sect: clamp(64px, 9vw, 112px);
}

* { 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(--gold); color: var(--ink); }
:root            { caret-color: var(--goldD); accent-color: var(--plum); }
:focus-visible   { outline: 2px solid var(--goldD); outline-offset: 3px; }
a                { color: var(--goldD); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tabular, time, dd, .since { font-variant-numeric: tabular-nums; }
@supports (scrollbar-color: auto) {
  html { scrollbar-color: var(--plum) var(--paper); scrollbar-width: thin; }
}

.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.06; 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(--gold); 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(--plum); color: var(--white); border-bottom: 1px solid #54385A; }
.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: 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(--lilac); }
.mast .tel { color: var(--gold); font-weight: 700; text-decoration: none; white-space: nowrap; }

.hero { background: var(--plum); color: var(--white); padding-block: clamp(56px, 8vw, 110px); }
.since { display: inline-flex; flex-direction: column; margin: 0 0 28px; border: 2px solid var(--gold);
  border-radius: 999px; padding: 10px 26px; text-align: center; color: var(--gold); font-weight: 900; font-size: 30px; line-height: 1; }
.since span { font-size: 12px; font-weight: 700; margin-bottom: 4px; color: var(--lilac); }
.hero h1 { font-size: clamp(36px, 5.2vw, 64px); margin: 0 0 22px; max-width: 18ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.lede { font-size: 19px; max-width: 46ch; margin: 0 0 30px; }

.quote { background: var(--gold); padding-block: var(--sect); }
.review { margin: 0; }
.review blockquote { margin: 0; }
.review p { font-size: clamp(40px, 6vw, 80px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.02; margin: 0; white-space: pre-line; }
.review figcaption { margin-top: 20px; font-size: 16px; }
.count { margin: 26px 0 0; font-size: 16px; }

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

.reach { background: var(--plum); 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(--lilac); margin: 0; }
.big { margin: 0; font-size: clamp(30px, 4vw, 46px); font-weight: 900; letter-spacing: -0.02em; }
.big a { color: var(--gold); 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(--lilac); font-size: 15px; }
footer a { color: var(--gold); }
footer .legal { grid-column: 1 / -1; margin-top: 18px; padding-top: 18px; border-top: 1px solid #3A2B3F; font-size: 13px; line-height: 1.6; }

.callbar { display: none; }

@media (max-width: 760px) { .license .wrap { 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(--plum);
  }
  .callbar a { display: block; text-align: center; background: var(--gold); color: var(--ink);
    font-weight: 800; text-decoration: none; border-radius: 999px; padding: 14px; }
}
