/* Platinum Roofing Group — site v2 design system (ledger 12309, 09_22_26).
   One stylesheet, token-driven. The bold move: full-bleed roof imagery with oversized
   wide display type. Everything else stays quiet: cool porcelain ground, ink text,
   one action colour (sun). No override stacks: change a token, not a selector. */

@layer reset, tokens, base, layout, components, utilities;

/* Self-hosted latin subsets (OFL; from Google Fonts 09_22_26), instanced to the axis ranges this site uses
   (Archivo wght 500-900 wdth 100-125; Source Serif 4 wght 400-700 at opsz 20) so no third-party stylesheet blocks first paint. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500 900; font-stretch: 100% 125%; font-display: swap; src: url("/fonts/archivo-latin.woff2") format("woff2"); unicode-range: U+0020-007E, U+00A0-00A1, U+00A9, U+00B7, U+00BF-00FF, U+2014, U+2026; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/sourceserif4-latin.woff2") format("woff2"); unicode-range: U+0020-007E, U+00A0, U+00A9, U+00B7, U+00D7, U+2014, U+2026; }

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
  ol[role="list"], ul[role="list"] { list-style: none; padding: 0; }
  img, picture, video, svg { display: block; max-width: 100%; height: auto; }
  input, button, textarea, select { font: inherit; color: inherit; }
  a { color: inherit; }
  [hidden] { display: none !important; }
}

@layer tokens {
  :root {
    /* colour — black, neutral grays, white (Chris/Brent 09_23 00:1x: "black gray white striking look", orch 203815).
       Action colour is black on light and white on dark. Red is kept only for errors. */
    --ink: #000000;
    --slate: #161616;
    --graphite: #3b3b3b;
    --steel: #5e5e5e;
    --platinum: #cfcfcf;
    --porcelain: #f5f5f5;
    --white: #ffffff;
    --warn: #b3261e;
    --focus: var(--ink);

    /* type */
    --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
    --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
    --font-ui: "Archivo", "Helvetica Neue", Arial, sans-serif;
    --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
    --step-0: clamp(1.02rem, 0.98rem + 0.2vw, 1.13rem);
    --step-1: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
    --step-2: clamp(1.56rem, 1.36rem + 0.9vw, 2.1rem);
    --step-3: clamp(1.95rem, 1.6rem + 1.6vw, 3rem);
    --step-4: clamp(2.44rem, 1.8rem + 3vw, 4.4rem);
    --step-5: clamp(3rem, 1.9rem + 5.4vw, 6.8rem);
    --measure: 68ch;

    /* space + shape */
    --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
    --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4.5rem; --space-9: clamp(4.5rem, 2.5rem + 5vw, 9rem);
    --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
    --wrap: 1280px;
    --radius-card: 8px;
    --radius-pill: 999px;
    --shadow-lift: 0 18px 40px -22px rgba(0, 0, 0, 0.45);
    --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
    --header-h: 72px;
  }
}

@layer base {
  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); background: var(--ink); }
  body {
    background: var(--porcelain);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.62;
    font-optical-sizing: auto;
  }
  h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-stretch: 118%;
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.012em;
    text-wrap: balance;
  }
  h1 { font-size: var(--step-5); font-weight: 900; }
  h2 { font-size: var(--step-4); }
  h3 { font-size: var(--step-2); font-stretch: 108%; line-height: 1.1; }
  h4 { font-size: var(--step-1); font-stretch: 100%; line-height: 1.2; }
  p, li { max-width: var(--measure); }
  a { color: var(--ink); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
  a:hover { color: var(--graphite); }
  :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
  ::selection { background: var(--ink); color: var(--white); }
  /* dark surfaces flip the focus ring to white */
  .hero, .section--dark, .section--ink, .site-footer, .cta-band, .callbar, .system, .site-header--overlay { --focus: var(--white); }
  strong { font-weight: 700; }
  .skip-link { position: absolute; left: -9999px; top: 0.5rem; z-index: 100; background: var(--ink); color: var(--white); padding: 0.6rem 1rem; font-family: var(--font-ui); font-weight: 700; }
  .skip-link:focus { left: 0.5rem; }
  .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@layer layout {
  .wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
  .section { padding-block: var(--space-9); }
  .section--tight { padding-block: var(--space-8); }
  .section--dark { background: var(--ink); color: var(--porcelain); }
  .section--dark a { color: var(--white); }
  .section--ink { background: var(--ink); color: var(--porcelain); }
  .section__head { display: grid; gap: var(--space-4); margin: 0 auto var(--space-7); max-width: 60rem; justify-items: center; text-align: center; }
  .section__head .lede { margin-inline: auto; }
  .section__kicker { font-family: var(--font-ui); font-size: var(--step--1); font-weight: 600; color: var(--steel); letter-spacing: 0.02em; }
  .section--dark .section__kicker, .section--ink .section__kicker { color: var(--platinum); }
  .lede { font-size: var(--step-1); line-height: 1.5; max-width: 52ch; }
  .split { display: grid; gap: var(--space-7); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); align-items: start; }
  .stack > * + * { margin-top: var(--space-4); }
  .stack-lg > * + * { margin-top: var(--space-6); }
}

@layer components {
  /* ---------- header ---------- */
  .site-header {
    position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
    background: rgba(245, 245, 245, 0.94);
    backdrop-filter: saturate(1.2) blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
  .site-header--overlay { position: fixed; inset-inline: 0; background: transparent; border-color: transparent; backdrop-filter: none; color: var(--white); transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out); }
  .site-header--overlay.is-scrolled { background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(10px); }
  .site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); min-height: var(--header-h); }
  .brand { display: inline-flex; align-items: center; flex-shrink: 0; }
  .brand img { width: clamp(132px, 12vw, 170px); height: auto; }
  .site-header--overlay .brand img { filter: brightness(0) invert(1); }
  .nav { display: flex; align-items: center; gap: var(--space-5); font-family: var(--font-ui); font-size: 0.95rem; font-weight: 600; }
  .nav a { color: inherit; text-decoration: none; padding-block: 0.4rem; border-bottom: 2px solid transparent; }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
  .nav a.button, .nav a.button:hover { color: var(--white); border-bottom: 0; padding-block: 0.75rem; }
  .site-header--overlay .nav a.button { background: var(--white); color: var(--ink); }
  .nav__phone { white-space: nowrap; }
  .nav-toggle { display: none; background: none; border: 0; color: inherit; padding: 0.5rem; cursor: pointer; }
  .nav-toggle svg { width: 28px; height: 28px; }
  .nav-toggle__close, .nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
  .head-call { display: none; }
  @media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .head-call { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: auto; color: inherit; }
    .head-call svg { width: 24px; height: 24px; }
    .site-header__bar { gap: var(--space-2); }
    body.nav-open .site-header { background: var(--ink); color: var(--white); backdrop-filter: none; }
    body.nav-open .site-header .brand img { filter: brightness(0) invert(1); }
    /* full-height overlay so the page never shows through under the menu (orch 203853 item 6) */
    .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); color: var(--porcelain); --focus: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: var(--space-4) var(--gutter) calc(var(--space-6) + env(safe-area-inset-bottom, 0px)); transform: translateY(-120%); visibility: hidden; transition: transform 0.3s var(--ease-out), visibility 0s linear 0.3s; overflow-y: auto; }
    .nav { justify-content: center; }
    .nav a { padding-block: 0.75rem; border-bottom: 0; font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: 1.9rem; text-align: center; }
    .nav a.nav__phone { font-family: var(--font-ui); font-size: 1.15rem; font-weight: 600; opacity: 0.85; }
    .nav.is-open { transform: translateY(0); visibility: visible; transition: transform 0.3s var(--ease-out); }
    .nav a.button, .nav a.button:hover { margin-top: var(--space-6); justify-content: center; background: var(--white); color: var(--ink); padding-block: 1.1rem; font-family: var(--font-ui); font-stretch: 100%; font-size: 1.1rem; font-weight: 700; }
    body.nav-open { overflow: hidden; }
  }

  /* ---------- buttons ---------- */
  .button {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-family: var(--font-ui); font-weight: 700; font-size: 1rem; line-height: 1;
    padding: 1rem 1.5rem; border-radius: var(--radius-pill); border: 2px solid transparent;
    background: var(--ink); color: var(--white); text-decoration: none; cursor: pointer;
    transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  }
  .button--light { background: var(--white); color: var(--ink); }
  @media (hover: hover) {
    .button:hover { background: var(--graphite); color: var(--white); transform: translateY(-1px); }
    .button--light:hover { background: #e4e4e4; color: var(--ink); }
  }
  .button--ghost { background: transparent; border-color: currentColor; color: inherit; }
  @media (hover: hover) { .button--ghost:hover { background: rgba(255, 255, 255, 0.12); color: inherit; } }

  .button[disabled] { opacity: 0.55; cursor: progress; transform: none; }

  /* ---------- hero (the one bold move) ---------- */
  .hero { position: relative; min-height: min(100svh, 980px); display: grid; align-items: end; color: var(--white); isolation: isolate; overflow: hidden; background: var(--ink); }
  .hero__media, .hero__media picture, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero__media img { object-fit: cover; }
  .hero__media picture { opacity: 0; transition: opacity 1.6s ease; }
  .hero__media picture:first-child, .hero__media picture.is-active { opacity: 1; }
  .focal-cl img { object-position: 42% 60%; }
  /* interim grading for the older warm images only; the approved v2r set is already graded (orch 203815 item 6) */
  .hero__media img:not([src*="-v2r-"]), .system img:not([src*="-v2r-"]), .media-split__img img:not([src*="-v2r-"]), .intro__img img:not([src*="-v2r-"]) { filter: saturate(0.55) contrast(1.06); }
  .hero__media picture.is-active img { animation: hero-drift 14s var(--ease-out) both; }
  @media (max-width: 760px) { .hero__media picture.is-active img { animation: none; } }
  .hero { align-items: center; }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at 50% 55%, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0.1) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.6) 100%); pointer-events: none; }
  .hero__content { position: relative; z-index: 1; padding-block: calc(var(--header-h) + var(--space-8)) var(--space-8); display: grid; justify-items: center; text-align: center; }
  .hero__title { font-size: var(--step-5); max-width: 16ch; }
  .hero__fine { margin-top: var(--space-3); font-family: var(--font-ui); font-size: var(--step--1); color: rgba(255, 255, 255, 0.78); }
  .hero--band { min-height: min(48svh, 540px); background: var(--ink); }
  .hero--band::after { content: none; }
  .hero--band .hero__title { font-size: clamp(2.4rem, 1.2rem + 5vw, 5.4rem); max-width: 18ch; }
  .hero--band .hero__sub { margin-inline: auto; }
  .hero--band .crumbs { width: auto; padding: 0; margin-bottom: var(--space-5); color: rgba(255, 255, 255, 0.62); }
  .hero--band .crumbs ol { justify-content: center; }
  .hero--band .crumbs a { color: rgba(255, 255, 255, 0.62); }
  .hero--band .crumbs li + li::before { color: rgba(255, 255, 255, 0.35); }
  body[data-page="schedule"] .hero--band, body[data-page="estimate"] .hero--band { min-height: min(34svh, 380px); }
  .hero__title .line { display: block; overflow: hidden; }
  .hero__title .line > span { display: inline-block; animation: rise 0.9s var(--ease-out) both; }
  .hero__title .line:nth-child(2) > span { animation-delay: 0.12s; }
  .hero__title .line:nth-child(3) > span { animation-delay: 0.24s; }
  .hero__sub { margin-top: var(--space-5); font-size: var(--step-1); max-width: 34ch; color: rgba(255, 255, 255, 0.9); margin-inline: auto; }
  .hero__actions { margin-top: var(--space-6); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4); }
  /* facts folded into the hero (was a dark band under it: Brent 00:1x "a little weird") */
  .hero__proof { margin-top: var(--space-6); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-6); font-family: var(--font-ui); font-size: var(--step--1); font-weight: 600; color: rgba(255, 255, 255, 0.88); }
  .hero__proof li { max-width: none; }
  .hero__proof a { color: inherit; display: inline-block; padding-block: 0.7rem; margin-block: -0.7rem; }
  @media (max-width: 600px) { .hero__proof { flex-direction: column; align-items: center; gap: var(--space-2); } }
  @keyframes hero-drift { from { transform: scale(1.08) translate3d(-1%, 0, 0); } to { transform: scale(1) translate3d(0, 0, 0); } }
  @keyframes rise { from { transform: translateY(105%); } to { transform: translateY(0); } }

  /* ---------- roof-system showcase (tall, image-led) ---------- */
  .showcase { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .system { position: relative; min-height: 32rem; border-radius: var(--radius-card); overflow: hidden; color: var(--white); text-decoration: none; isolation: isolate; background: var(--slate); }
  /* four roof types in a symmetric 2 x 2 (CO3: centred, symmetrical; the whole card is the link) */
  .cards { display: grid; gap: var(--space-4); }
  .showcase--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .showcase--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .showcase--4 .system, .showcase--3 .system { min-height: 26rem; }
  .showcase--4 .system:nth-child(4)::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.86) 100%); }
  @media (max-width: 1100px) { .showcase--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  /* the commercial card sits on a bright white roof: scrim from the text side as well as from below */
  .system:nth-child(4)::after { background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0) 75%), linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.75) 100%); }
  .system picture, .system img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .system img { object-fit: cover; transition: transform 0.9s var(--ease-out); }
  .system::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.86) 100%); z-index: 0; }
  .system__body { position: absolute; inset: auto 0 0 0; z-index: 1; padding: var(--space-6); display: grid; gap: var(--space-2); justify-items: center; text-align: center; }
  .system__name { font-size: var(--step-3); }
  .system__line { font-size: var(--step-0); color: rgba(255, 255, 255, 0.86); max-width: 34ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .system__go { margin-top: var(--space-2); font-family: var(--font-ui); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.02em; color: var(--white); padding-bottom: 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.6); }
  .system:hover img, .system:focus-visible img { transform: scale(1.05); }
  .system:hover { color: var(--white); }
  @media (max-width: 760px) { .showcase, .showcase--4, .showcase--3 { grid-template-columns: 1fr; } .system, .showcase--4 .system, .showcase--3 .system { min-height: 22rem; } }

  /* ---------- services (editorial rows, not a card kit) ---------- */
  .services { border-top: 1px solid rgba(0, 0, 0, 0.14); }
  .service-row { display: grid; grid-template-columns: minmax(10rem, 0.9fr) 2fr auto; gap: var(--space-5); align-items: baseline; padding-block: var(--space-6); border-bottom: 1px solid rgba(0, 0, 0, 0.14); text-decoration: none; color: inherit; }
  .service-row__name { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: var(--step-2); line-height: 1.1; }
  .service-row__text { color: var(--graphite); }
  .service-row__go { font-family: var(--font-ui); font-weight: 700; color: var(--ink); white-space: nowrap; text-decoration: underline; text-underline-offset: 0.2em; }
  .service-row:hover .service-row__name { text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.12em; }
  @media (max-width: 760px) { .service-row { grid-template-columns: 1fr; gap: var(--space-2); } }

  /* ---------- process (a real sequence, so numbered) ---------- */
  .process { counter-reset: step; display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
  .process li { counter-increment: step; padding-top: var(--space-5); border-top: 2px solid currentColor; }
  .process li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: var(--step-3); color: var(--steel); line-height: 1; margin-bottom: var(--space-3); }
  .section--dark .process li::before { color: var(--white); }
  .process h3 { font-size: var(--step-1); font-stretch: 105%; margin-bottom: var(--space-2); }

  /* ---------- reviews (real Google reviews only, rendered from reviews.json) ---------- */
  .reviews__grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
  .review { background: var(--white); border-radius: var(--radius-card); padding: var(--space-6); display: grid; gap: var(--space-4); align-content: start; border: 1px solid #e2e2e2; }
  .reviews__all { margin-top: var(--space-6); text-align: center; max-width: none; font-family: var(--font-ui); font-weight: 600; }
  .review__stars { color: var(--ink); letter-spacing: 0.2em; font-family: var(--font-ui); }
  .review blockquote { font-size: var(--step-0); }
  .review__by { font-family: var(--font-ui); font-size: var(--step--1); color: var(--steel); }
  a.review { color: inherit; text-decoration: none; transition: border-color 0.2s var(--ease-out); }
  @media (hover: hover) { a.review:hover { border-color: var(--ink); } }

  /* ---------- FAQ ---------- */
  .faq { max-width: 760px; margin-inline: auto; }
  .faq details { border-bottom: 1px solid rgba(0, 0, 0, 0.14); padding-block: var(--space-4); }
  .faq summary { cursor: pointer; font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: var(--step-1); list-style: none; display: flex; justify-content: space-between; gap: var(--space-4); }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; color: var(--ink); font-weight: 400; }
  .faq details[open] summary::after { content: "–"; }
  .faq details > div { margin-top: var(--space-3); color: var(--graphite); }

  /* ---------- CTA band ---------- */
  .cta-band { background: var(--ink); color: var(--white); }
  .cta-band__inner { display: grid; justify-items: center; align-content: center; text-align: center; gap: var(--space-6); min-height: min(56svh, 560px); padding-block: var(--space-9); }
  .cta-band h2 { font-size: var(--step-5); max-width: 14ch; }
  .cta-band .button { padding: 1.15rem 2.4rem; font-size: 1.06rem; }

  /* ---------- statewide statement (no finite city list, orch 203815 item 2) ---------- */
  .statewide .lede { margin-top: var(--space-4); }

  /* ---------- schedule form (CO3 item 3: name, phone, address, preferred day + window) ---------- */
  .field { display: grid; gap: var(--space-2); font-family: var(--font-ui); font-weight: 600; margin-bottom: var(--space-4); position: relative; }
  .field input, .field textarea, .field select { font-family: var(--font-body); font-weight: 400; font-size: 1.05rem; padding: 0.85rem 1rem; border: 2px solid var(--platinum); border-radius: var(--radius-card); background: var(--white); width: 100%; min-height: 52px; }
  .field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2); }
  .field [aria-invalid="true"], .when__row [aria-invalid="true"] { border-color: var(--warn); }
  .schedule { display: grid; gap: var(--space-4); }
  .schedule__fields { display: grid; gap: var(--space-1); }
  .schedule .field { margin-bottom: var(--space-3); }
  .when { border: 0; padding: 0; margin: 0 0 var(--space-3); min-width: 0; font-family: var(--font-ui); font-weight: 600; }
  .when legend { padding: 0; margin-bottom: var(--space-2); }
  .when__row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
  .when__row input[type="date"] { flex: 1 1 100%; font-family: var(--font-ui); font-size: 1.05rem; padding: 0.8rem 0.9rem; border: 2px solid var(--platinum); border-radius: var(--radius-card); background: var(--white); min-height: 52px; }
  .when__row input[type="date"]:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2); }
  .when__opt { position: relative; flex: 1 1 7rem; }
  .days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); flex: 1 1 100%; }
  .when__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
  .when__opt span { display: grid; place-items: center; min-height: 52px; padding: 0 1rem; border: 2px solid var(--platinum); border-radius: var(--radius-card); background: var(--white); }
  .when__opt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
  .when__opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
  .when.is-invalid .when__opt span { border-color: var(--warn); }
  .schedule__submit { width: 100%; justify-content: center; padding-block: 1.15rem; font-size: 1.05rem; }
  .schedule__fine { font-family: var(--font-ui); font-size: var(--step--1); color: var(--steel); text-align: center; margin-inline: auto; }
  .schedule__status { font-family: var(--font-ui); font-weight: 600; min-height: 1.5em; text-align: center; margin-inline: auto; }
  .schedule__status[data-state="ok"] { color: var(--ink); }
  .schedule__status[data-state="error"], .schedule__status[data-state="warn"] { color: var(--warn); }
  /* thank-you state: the form collapses to what happens next; the status line stays as the live announcement */
  .schedule.is-done > :not(.schedule__done):not(.schedule__status) { display: none; }
  .schedule__done { display: grid; gap: var(--space-5); }
  .done__echo { color: var(--graphite); }
  .done__call { justify-self: start; }
  .schedule__done h3 { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.05; }
  .schedule__done h3:focus { outline: none; }
  .done__steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); counter-reset: done; }
  .done__steps li { counter-increment: done; display: grid; grid-template-columns: 2.25rem 1fr; align-items: baseline; }
  .done__steps li::before { content: counter(done); font-family: var(--font-ui); font-weight: 800; color: var(--ink); }
  .schedule-page__proof { text-align: center; margin: 0 auto var(--space-5); font-family: var(--font-ui); font-weight: 600; color: var(--steel); }
  .schedule-page__panel { max-width: 36rem; margin-inline: auto; background: var(--white); border-radius: var(--radius-card); border: 1px solid #e5e5e5; padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); }

  /* ---------- schedule sheet: a <dialog>, full screen on phones ---------- */
  html.sheet-open body { position: fixed; inset-inline: 0; overflow: hidden; }
  .sheet { overscroll-behavior: contain; border: 0; padding: 0; width: min(36rem, 100% - 2rem); max-height: calc(100dvh - 2rem); border-radius: 12px; background: var(--white); color: var(--ink); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6); }
  .sheet::backdrop { background: rgba(0, 0, 0, 0.62); }
  .sheet__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) var(--space-6) var(--space-3); background: var(--white); }
  .sheet__head h2 { font-size: var(--step-2); }
  .sheet__head h2:focus { outline: none; }
  .sheet__close { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--porcelain); color: var(--ink); cursor: pointer; flex-shrink: 0; }
  .sheet__close svg { width: 22px; height: 22px; }
  .sheet .schedule { padding: var(--space-2) var(--space-6) var(--space-6); }
  @media (max-width: 600px) {
    .sheet { width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; border-radius: 0; }
    .sheet__head { padding-top: calc(var(--space-5) + env(safe-area-inset-top, 0px)); }
    .sheet .schedule { padding-bottom: calc(var(--space-6) + env(safe-area-inset-bottom, 0px)); }
  }

  /* ---------- reach: Call / Directions / Review (CO3 item 2) ---------- */
  .reach { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }
  .reach__btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 50px; padding: 0.8rem 1.35rem; border: 1.5px solid currentColor; border-radius: var(--radius-pill); font-family: var(--font-ui); font-weight: 700; color: inherit; text-decoration: none; transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out); }
  .reach__btn svg { width: 18px; height: 18px; flex-shrink: 0; }
  .reach__btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
  .site-footer .reach__btn:hover { background: var(--white); color: var(--ink); border-color: var(--white); text-decoration: none; }
  @media (max-width: 600px) { .reach { flex-direction: column; align-items: stretch; } }
  .reach-block { display: grid; gap: var(--space-6); justify-items: center; text-align: center; }
  .reach-block .reach { width: min(100%, 40rem); }
  .reach-block__phone { font-family: var(--font-display); font-stretch: 112%; font-weight: 900; font-size: clamp(2.4rem, 1.4rem + 4.5vw, 4.6rem); line-height: 1; color: var(--ink); text-decoration: none; }
  .reach-block__email { font-size: var(--step-1); color: var(--ink); }
  .reach-block__meta { font-size: var(--step-0); color: var(--graphite); margin-inline: auto; }
  .reach-block__note { color: var(--steel); margin-inline: auto; }

  /* ---------- why Platinum (three proof points) ---------- */
  .why { display: grid; gap: var(--space-6); grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
  .why__item { padding-top: var(--space-5); border-top: 2px solid rgba(255, 255, 255, 0.9); }
  .why__item h3 { font-size: var(--step-2); margin-bottom: var(--space-3); }
  .why__item p { margin-inline: auto; max-width: 30ch; color: rgba(255, 255, 255, 0.82); }
  @media (max-width: 760px) { .why { grid-template-columns: 1fr; gap: var(--space-5); } }

  .honey { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

  /* ---------- footer (minimal: Brent 22:5x "less is more") ---------- */
  .site-footer { background: var(--ink); color: #b8b8b8; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: var(--space-8); padding-block: var(--space-7) var(--space-5); font-family: var(--font-ui); font-size: 0.92rem; }
  .site-footer a { color: var(--porcelain); text-decoration: none; }
  .site-footer a:hover { color: var(--white); text-decoration: underline; }
  .footer__stack { display: grid; justify-items: center; gap: var(--space-6); text-align: center; }
  .footer__stack .reach { width: min(100%, 44rem); }
  .footer__brand img { width: 150px; filter: brightness(0) invert(1); }
  .footer__icons { display: flex; gap: var(--space-3); }
  .footer__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); color: var(--platinum); }
  .footer__icon svg { width: 18px; height: 18px; }
  .footer__icon:hover { color: var(--ink); background: var(--white); border-color: var(--white); text-decoration: none; }
  .footer__legal { margin-top: var(--space-7); padding-top: var(--space-4); border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); justify-content: center; text-align: center; font-size: 0.82rem; }
  .footer__legal-links { display: flex; gap: var(--space-5); }
  .site-footer .footer__legal a { color: #b8b8b8; display: inline-flex; align-items: center; min-height: 44px; }

  /* ---------- mobile call bar ---------- */
  .callbar { display: none; }
  @media (max-width: 760px) {
    .callbar { display: grid; grid-template-columns: auto 1fr; color: var(--white); position: fixed; inset: auto 0 0 0; z-index: 40; padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom, 0px)); gap: 0.6rem; background: rgba(0, 0, 0, 0.94); backdrop-filter: blur(8px); transition: transform 0.25s var(--ease-out); }
    .callbar:has(> :only-child) { grid-template-columns: 1fr; }
    .callbar .button { justify-content: center; padding: 0.9rem 1.1rem; white-space: nowrap; }
    .callbar[data-hidden="1"] { transform: translateY(110%); visibility: hidden; transition: transform 0.25s var(--ease-out), visibility 0s linear 0.25s; }
    .site-footer { padding-bottom: calc(var(--space-5) + 78px + env(safe-area-inset-bottom, 0px)); }
  }

}

@layer components {
  /* mobile type scale (orch 203853 items 2 and 5): hero in at most three lines, H2s in two or three */
  @media (max-width: 600px) {
    h2 { font-size: clamp(1.85rem, 1.05rem + 4vw, 2.4rem); font-stretch: 108%; }
    .hero__title { font-size: clamp(2.2rem, 1rem + 6vw, 3rem); font-stretch: 108%; max-width: none; }
    .hero--page .hero__title { font-size: clamp(2rem, 1rem + 5vw, 2.6rem); }
    .hero__sub { font-size: var(--step-0); }
    .hero__content { padding-block: calc(var(--header-h) + var(--space-7)) var(--space-7); }
    .section { padding-block: var(--space-8); }
    .cta-band h2 { font-size: clamp(1.85rem, 1.05rem + 4vw, 2.4rem); }
  }
}

@layer utilities {
  .muted { color: var(--steel); }
  .center { text-align: center; }
  .mt-6 { margin-top: var(--space-6); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hero__media picture.is-active img { animation: none; }
}

/* ---------- long-form + related (service, city, about pages) ---------- */
@layer components {
  .crumbs { padding-block: var(--space-4) 0; font-family: var(--font-ui); font-size: var(--step--1); color: var(--steel); }
  .crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .crumbs li { max-width: none; }
  .crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--platinum); }
  .crumbs a { color: var(--steel); text-decoration: none; }
  .crumbs a:hover { color: var(--ink); text-decoration: underline; }
  .prose { display: block; }
  .prose__body { max-width: 68ch; margin-inline: auto; }
  .prose__body h3 { font-size: var(--step-1); font-stretch: 105%; margin-top: var(--space-6); margin-bottom: var(--space-2); }
  .prose__body h3:first-child { margin-top: 0; }
  .prose__body p + p, .prose__body p + ul, .prose__body ul + p, .prose__body p + ol { margin-top: var(--space-4); }
  .prose__body ul, .prose__body ol, .media-split__text ul { padding-left: 1.2em; margin-top: var(--space-3); }
  .prose__body li + li, .media-split__text li + li { margin-top: var(--space-2); }
  .prose__body li::marker, .media-split__text li::marker { color: var(--graphite); }
  .intro__text { max-width: 44ch; margin-inline: auto; text-align: center; font-size: var(--step-1); line-height: 1.5; }
  .intro__text p + p { margin-top: var(--space-4); }
  .intro__img { margin-top: var(--space-7); }
  .intro__img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius-card); }
  @media (max-width: 760px) { .intro__img img { aspect-ratio: 4 / 3; } }
  .media-split { display: grid; gap: var(--space-7); grid-template-columns: 1fr 1fr; align-items: center; }
  .media-split--flip .media-split__img { order: 2; }
  .media-split__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card); }
  .media-split__text h2 { font-size: var(--step-3); }
  @media (max-width: 900px) { .media-split { grid-template-columns: 1fr; gap: var(--space-5); } .media-split--flip .media-split__img { order: 0; } }
  .link-grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
  .link-card { display: grid; gap: var(--space-2); padding: var(--space-5); border: 2px solid var(--platinum); border-radius: var(--radius-card); text-decoration: none; color: inherit; background: var(--white); transition: border-color 0.2s; }
  .link-card:hover { border-color: var(--ink); color: inherit; }
  .link-card__name { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: var(--step-1); }
  .link-card__text { color: var(--graphite); font-size: var(--step--1); }
}

@layer components {
  .draft-note { margin-top: var(--space-5); padding: var(--space-4) var(--space-5); background: #ececec; border-left: 4px solid var(--ink); font-family: var(--font-ui); font-size: var(--step--1); }
}
