/* Rod Inspects: shared styles for every page of the static site (rodinspects.com).
   Built by Howard (HIH), 2026-10-07. Design direction: GC Home Inspection style (Beth's brief 2026-10-05), wave
   section transitions, mobile-first. PALETTE + HEADER + HOMEPAGE HERO: Beth 2026-10-13 (replaces the 2026-10-07 palette):
   white nav bar with the circular logo badge, Deep Navy Teal headings/bands, Warm Ivory pages, Patriot Red on
   buttons and a few small accents ONLY (never a section, band or panel background), River Blue for details + hovers.

   HOUSE RULES (team-learnings):
   - Base element rules sit inside :where() so every component class wins.
   - html/body use overflow-x:clip; every grid uses minmax(0,1fr); nothing decorative overhangs the viewport.
   - Inside a .btn, wrap the label in ONE <span>; put a phone number in <span class="nowrap">.
   - Placeholders (.ph-photo, .ph-review) are DRAFT ONLY. QA greps for them; zero must remain at launch.

   PALETTE (Beth, 2026-10-13; accent changed 2026-11-04): Deep Navy Teal #073B50 · Patriot Red #CC2222 · Warm Ivory #F5F4F0 ·
   River Blue #237F94. RED, WHITE + BLUE (Rod approved, Beth's call brief 2026-11-04): Sunset Orange #F36B21 is RETIRED sitewide.
   Ratio ~70% ivory/white, 20% navy, 10% red + river blue. The legacy token names below (--navy, --amber…) are kept
   so every component follows without renaming, and now point at the 2026-10-13 palette.

   CONTRAST (WCAG AA, sRGB formula, measured 2026-10-13; full table in BUILD_NOTES "Design tokens"):
   - Navy on white 12.00, on ivory 10.90; white on navy 12.00. Charcoal body text on ivory 13.04.
   - RED BUTTONS (2026-11-04): white on #CC2222 = 5.50 (passes AA normal text); hover #A81B1B: white 7.40. The 19px bold
     red labels are kept (bigger + bolder reads better on a CTA). Navy on red 2.18 FAILS: never navy text on red.
   - RED AS TEXT: #CC2222 on ivory 5.00 / on white 5.50 passes, but on navy 2.18 / footer navy 2.73 FAILS. The house rule
     stays: red is accent only, never body text, never a section/band/panel background (was the orange rule).
     Allowed: CTA buttons (.btn-amber, nav "Schedule Now", mobile "Book" bar), the short eyebrow dash + hero rule.
   - River Blue #237F94: text on WHITE 4.63 (passes) but on IVORY 4.21 (fails) -> body-size river text uses
     --accent #1D6F82 (derived, darker river: 5.23 ivory / 5.76 white / 5.14 river tint). #237F94 itself = hover
     backgrounds, rules, borders, icon discs (white glyph on river 4.63). River on navy 2.59: decoration only;
     on navy use --amber-on-dark #BFE3EB (light river, 8.80).                                                    */

/* ═════════════════════════════════════════════════════════════════════
   1. DESIGN TOKENS
   ═════════════════════════════════════════════════════════════════════ */
:root{
  /* Beth's brand palette (exact, 2026-10-13; replaces 2026-10-07) */
  --primary:#073B50;     /* Deep Navy Teal: headings, top bar, inner-page hero, navy bands, final CTA, footer */
  --secondary:#CC2222;   /* Patriot Red (2026-11-04, was Sunset Orange #F36B21): CTA buttons + tiny accents ONLY (white 5.50) */
  --river:#237F94;       /* River Blue: supporting details, hover states, rules, borders, icon discs */
  --ivory:#F5F4F0;       /* Warm Ivory: page background, breathing room */
  --white:#FFFFFF;       /* nav bar, cards, alternate sections */
  --charcoal:#2A2A2A;    /* body text */
  /* Derived (same hues; added for contrast, not new brand colours) */
  --accent:#1D6F82;          /* darker River Blue for TEXT (eyebrows, roles, labels, stars): 5.23 on ivory */
  --sky:var(--river);        /* legacy name: decoration */
  --page:var(--ivory);       /* page background (waves "to-white" = the page colour) */
  --secondary-hover:#A81B1B; /* CTA hover: white 7.40 */
  --primary-deep:#042A3A;    /* footer: darker navy of #073B50 (same hue) so it separates from the navy final-CTA band */
  --primary-dark:#0A4A63;    /* raised/hover navy surfaces, hero gradient end: white 9.67 */
  --amber-on-dark:#BFE3EB;   /* legacy name: accent TEXT/indicator ON NAVY = light River Blue (8.80 on navy) */
  --river-soft:#EAF4F6;      /* light river tint panels (GEO, bio CTA, chip hover): navy 10.72, charcoal 12.83 */
  /* Legacy token names (do not rename: every component uses them) -> brand palette */
  --navy:var(--primary);          /* headings, inner hero, final CTA, navy sections */
  --navy-deep:var(--primary);     /* top bar */
  --navy-2:var(--primary-dark);   /* hover / raised navy surfaces */
  --navy-3:#1E5F79;               /* borders on navy */
  --amber:var(--secondary);       /* CTA BUTTONS ONLY (+ eyebrow dash, hero rule). Never a band/panel/section. */
  --amber-hi:var(--secondary-hover);
  --amber-ink:var(--accent);      /* legacy name: accent TEXT on white/ivory = darker river 5.23+ */
  --amber-soft:var(--river-soft); /* legacy name: tinted panels, now a light river tint (was an orange tint, pre-2026-11-04) */
  /* Neutrals */
  --off:#FFFFFF; --line:#DDE3E4;  /* .sec-off = white sections on the ivory page */
  --ink:var(--charcoal); --body:var(--charcoal); --muted:#595959;
  --link:var(--primary); --link-on-navy:#D7EEF3;
  /* Shadow tint (navy) */
  --shade:4,42,58;
  /* Type */
  --display:'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  --sans:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  /* Layout */
  --wrap:1180px; --gutter:20px; --radius:12px;
  --shadow:0 8px 24px rgba(var(--shade),.10);
  --shadow-lg:0 18px 42px rgba(var(--shade),.16);
  --wave-h:64px;         /* height of every wave divider */
  /* Motion */
  --ease:cubic-bezier(.22,.61,.36,1); --t-fast:.25s; --t-med:.35s; --t-slow:.6s;
}

/* ═════════════════════════════════════════════════════════════════════
   2. BASE (zero specificity)
   ═════════════════════════════════════════════════════════════════════ */
*,*::before,*::after{box-sizing:border-box}
html,body{overflow-x:clip}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
:where(body){margin:0;background:var(--page);color:var(--body);font-family:var(--sans);font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
:where(h1,h2,h3,h4){font-family:var(--display);color:var(--navy);line-height:1.2;margin:0 0 .5em;font-weight:800;letter-spacing:-.01em}
:where(h3){font-weight:700}
:where(p){margin:0 0 1em}
:where(img){max-width:100%;height:auto;display:block}
:where(a){color:var(--link);text-underline-offset:2px}
:where(a:hover){text-decoration-thickness:2px;color:var(--accent)}
:where(ul,ol){margin:0;padding:0}
:focus-visible{outline:3px solid var(--link);outline-offset:3px;border-radius:3px}
.on-navy :focus-visible,.hero :focus-visible,.topbar :focus-visible,.site-foot :focus-visible,.final-cta :focus-visible,.sec-navy :focus-visible{outline-color:var(--amber-on-dark)}
.nowrap,a[href^="tel:"]:not(.btn){white-space:nowrap}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:8px;top:-60px;z-index:200;background:var(--navy);color:#fff;font-weight:700;padding:10px 16px;border-radius:6px;text-decoration:none}
.skip:focus{top:8px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter);width:100%}
.center{text-align:center}

/* ═════════════════════════════════════════════════════════════════════
   3. BUTTONS
   ═════════════════════════════════════════════════════════════════════ */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:13px 28px;border-radius:999px;font:700 18px/1.2 var(--sans);text-decoration:none;text-align:center;border:2px solid transparent;cursor:pointer;transition:background-color var(--t-fast) var(--ease),color var(--t-fast) var(--ease),border-color var(--t-fast) var(--ease),box-shadow var(--t-fast) var(--ease),transform var(--t-fast) var(--ease)}
.btn>span{min-width:0}
.btn svg{width:18px;height:18px;flex:none}
/* Red CTA (2026-11-04): white on #CC2222 5.50 / hover 7.40. Keep the 19px bold label. */
.btn-amber{background:var(--amber);color:#fff;font-size:19px;font-weight:700;box-shadow:0 6px 18px rgba(204,34,34,.28)}
.btn-amber:hover{background:var(--amber-hi);color:#fff;transform:translateY(-1px);box-shadow:0 10px 24px rgba(204,34,34,.36)}
/* Polish 2026-10-14 (Beth): every button = pill, 52px min height, 13/28px padding, bold 18px (red 19px);
   focus ring always visible: 3px navy on light grounds, light river on navy grounds (rules in section 2). */
.btn:focus-visible{outline-width:3px;outline-offset:3px;border-radius:999px}
.btn-outline{background:transparent;color:#fff;border-color:rgba(255,255,255,.75)}
.btn-outline:hover{background:rgba(255,255,255,.1);border-color:#fff}
.btn-navy{background:var(--navy);color:#fff}
.btn-navy:hover{background:var(--river);color:#fff;transform:translateY(-1px)} /* white on river 4.63 */
.btn-ghost{background:transparent;color:var(--navy);border-color:var(--navy)}
.btn-ghost:hover{background:var(--navy);color:#fff}
.btn-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.btn-row.center{justify-content:center}
.link-arrow{font-weight:700;text-decoration:none;color:var(--link)}
.link-arrow::after{content:" \2192"}
.link-arrow:hover{text-decoration:underline;color:var(--accent)}

/* ═════════════════════════════════════════════════════════════════════
   4. TOP BAR + HEADER + NAV (navy; dropdowns are white panels)
   ═════════════════════════════════════════════════════════════════════ */
.topbar{background:var(--primary);color:rgba(255,255,255,.9);font-size:14px}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:38px}
.topbar a{color:#fff;font-weight:700;text-decoration:none}
.topbar a:hover{text-decoration:underline}
.tb-creds{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}

.site-head{background:var(--white);position:sticky;top:0;z-index:50;border-bottom:1px solid var(--line);box-shadow:0 6px 18px rgba(var(--shade),.06)}
.head-in{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:92px;padding-top:8px;padding-bottom:8px} /* 2026-10-14: 100 -> 92px */
/* Logo (Beth 2026-10-13): circular badge, 76px desktop / 48px phones, generous white space around it.
   Files: assets/brand/rod-inspects-logo-{96,160,192}.{webp,png} built from the 512px master
   assets/brand/rod-inspects-logo.png by _partials/make-brand-images.py. Name + descriptor sit beside it. */
.brand{display:inline-flex;align-items:center;gap:16px;text-decoration:none;color:var(--navy);flex:none}
.brand-logo{display:block;flex:none;width:76px;height:76px}
.brand-logo img{width:100%;height:100%;display:block}
.brand-text{display:flex;flex-direction:column;line-height:1}
.brand-name{font:800 24px/1 var(--display);letter-spacing:-.01em;color:var(--navy)}
.brand-sub{font:700 11px/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-top:7px}
.head-phone{display:none}

.site-nav ul{list-style:none}
.nav-list{display:flex;align-items:center;gap:2px}
.nav-list>li{position:relative}
.nav-list>li>a,.dd-btn{display:flex;align-items:center;gap:6px;padding:10px 11px;color:var(--navy);font:600 15px/1.2 var(--sans);text-decoration:none;border-radius:6px;white-space:nowrap;background:none;border:0;cursor:pointer;transition:color var(--t-fast) var(--ease),background-color var(--t-fast) var(--ease)}
.nav-list>li>a:hover,.dd-btn:hover{color:var(--river)} /* river on white 4.63 */
.nav-list>li>a[aria-current="page"],.has-dd.is-current>.dd-btn{box-shadow:inset 0 -3px 0 var(--river);border-radius:0}
.dd-btn::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform var(--t-fast) var(--ease)}
.dd-btn[aria-expanded="true"]::after{transform:translateY(2px) rotate(-135deg)}
.dd{position:absolute;top:100%;left:0;min-width:270px;background:#fff;border-top:3px solid var(--river);border-radius:0 0 10px 10px;box-shadow:var(--shadow-lg);padding:8px 0;display:none}
.dd a{display:block;padding:10px 18px;color:var(--navy);font-weight:500;font-size:15.5px;text-decoration:none;white-space:nowrap}
.dd a:hover{background:var(--river-soft);color:var(--navy)}
.dd a[aria-current="page"]{box-shadow:inset 4px 0 0 var(--river);font-weight:700}
.dd .dd-hub{font-weight:700;border-bottom:1px solid var(--line);margin-bottom:4px;padding-bottom:12px}
.dd-cols{columns:2;column-gap:0;min-width:420px}
.has-dd.open>.dd{display:block}
@media (hover:hover) and (min-width:1080px){ .has-dd:hover>.dd{display:block} }
.nav-list .nav-cta a{background:var(--amber);color:#fff;padding:10px 20px;border-radius:999px;margin-left:8px;font-weight:700;font-size:19px} /* white on red 5.50 */
.nav-list .nav-cta a:hover{background:var(--amber-hi);color:#fff}
.nav-list .nav-cta a[aria-current="page"]{box-shadow:0 0 0 3px rgba(7,59,80,.35)}
.nav-toggle{display:none;background:none;border:2px solid var(--line);border-radius:10px;width:48px;height:48px;cursor:pointer;padding:0;align-items:center;justify-content:center;flex-direction:column;gap:5px}
.nav-toggle span{display:block;width:22px;height:2px;background:var(--navy);border-radius:2px;transition:transform .2s,opacity .2s}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media (min-width:1080px) and (max-width:1199px){
  .nav-list>li>a,.dd-btn{padding:10px 8px;font-size:14.5px}
  .nav-list .nav-cta a{padding:10px 14px;margin-left:4px;font-size:19px}
  .brand-name{font-size:21px}
  .brand{gap:12px}
  .brand-logo{width:68px;height:68px}
  .brand-sub{display:none}
}
@media (max-width:1079px){
  .head-in{min-height:72px;gap:10px;padding-top:10px;padding-bottom:10px}
  .brand{gap:12px}
  .brand-logo{width:56px;height:56px}
  .head-phone{display:inline-flex;align-items:center;gap:6px;margin-left:auto;color:var(--navy);font:700 15px/1 var(--sans);text-decoration:none;padding:12px 6px;white-space:nowrap}
  .head-phone svg{width:18px;height:18px}
  .nav-toggle{display:inline-flex}
  .site-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-top:1px solid var(--line);box-shadow:0 14px 24px rgba(var(--shade),.18);padding:6px var(--gutter) 18px;max-height:calc(100vh - 72px);overflow-y:auto}
  .site-nav.open{display:block}
  .nav-list{flex-direction:column;align-items:stretch;gap:0}
  .nav-list>li{border-bottom:1px solid var(--line)}
  .nav-list>li>a,.dd-btn{color:var(--navy);padding:15px 6px;font-size:17px;width:100%;justify-content:space-between}
  .nav-list>li>a:hover,.dd-btn:hover{color:var(--river)}
  .nav-list>li>a[aria-current="page"],.has-dd.is-current>.dd-btn{box-shadow:inset 4px 0 0 var(--river);padding-left:14px}
  .dd{position:static;min-width:0;border:0;border-left:3px solid var(--river);border-radius:0;box-shadow:none;background:var(--ivory);margin:0 0 10px;padding:4px 0}
  .dd-cols{columns:1;min-width:0}
  .dd a{padding:12px 16px;font-size:16px;white-space:normal}
  .nav-list>li.nav-cta{border-bottom:0;padding-top:14px}
  .nav-list .nav-cta a{justify-content:center;margin:0;padding:15px}
}


/* ═════════════════════════════════════════════════════════════════════
   5. HERO (dark navy; optional photo layer; .hero-inner for inner pages)
   ═════════════════════════════════════════════════════════════════════ */
.hero{position:relative;isolation:isolate;color:#fff;overflow:hidden;
  background:
    linear-gradient(160deg,var(--primary) 0%,var(--primary) 45%,var(--primary-dark) 100%) var(--primary); /* Deep Navy Teal (inner pages) */
  padding:72px 0 calc(64px + var(--wave-h))}
/* subtle blueprint grid so the plain navy reads as designed, not empty */
.hero::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.07;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.6) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.6) 1px,transparent 1px);
  background-size:44px 44px;mask-image:linear-gradient(180deg,#000 0%,transparent 85%);-webkit-mask-image:linear-gradient(180deg,#000 0%,transparent 85%)}
/* Optional photo layer for INNER pages (navy overlay 80% -> 70%): add
   <div class="hero-media"><picture><img src=".." alt="" fetchpriority="high"></picture></div> as the first child.
   The ::after layers (teal 80-70% over a charcoal wash on the text side) keep white text >= 4.5:1 even on a pure-white pixel
   under the text column; re-measure on the real pixels when the photo is added. */
.hero-media{position:absolute;inset:0;z-index:-2}
.hero-media img{width:100%;height:100%;object-fit:cover}
.hero-media::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,59,80,.80) 0%,rgba(7,59,80,.80) 60%,rgba(7,59,80,.70) 100%),linear-gradient(90deg,rgba(42,42,42,.35) 0%,rgba(42,42,42,.35) 60%,rgba(42,42,42,0) 100%)}
@media (max-width:900px){ .hero-media::after{background:linear-gradient(rgba(7,59,80,.80),rgba(7,59,80,.80)),linear-gradient(rgba(42,42,42,.35),rgba(42,42,42,.35))} } /* text spans the full width on phones */
.hero-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:48px;align-items:center}
.hero-text{max-width:760px}
.hero-kicker{display:inline-flex;align-items:center;gap:8px;font:700 12.5px/1.2 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--amber-on-dark);background:rgba(var(--shade),.3);border:1px solid rgba(191,227,235,.45);border-radius:999px;padding:8px 16px;margin:0 0 20px}
.hero h1{color:#fff;font-size:clamp(40px,6.4vw,72px);line-height:1.04;letter-spacing:-.025em;margin:0 0 14px;text-shadow:0 2px 18px rgba(0,0,0,.3)}
.hero-tagline{font:700 clamp(20px,2.6vw,28px)/1.3 var(--display);color:var(--amber-on-dark);margin:0 0 18px;font-style:italic}
.hero-sub{font-size:19px;line-height:1.65;color:rgba(255,255,255,.92);max-width:640px;margin:0 0 28px}
.hero-rule{display:block;width:64px;height:4px;border-radius:2px;background:var(--amber);margin:0 0 20px} /* key accent (small) */
.hero-note{margin:18px 0 0;font-size:14.5px;color:rgba(255,255,255,.9)}
.hero-panel{background:rgba(var(--shade),.28);border:1px solid rgba(255,255,255,.18);border-radius:18px;padding:26px;box-shadow:0 14px 40px rgba(var(--shade),.35)}
.hero-panel h2{color:#fff;font-size:20px;margin:0 0 14px}
.hero-panel ul{list-style:none;display:grid;gap:12px}
.hero-panel li{display:flex;gap:12px;align-items:flex-start;color:rgba(255,255,255,.94);font-size:16px;line-height:1.45}
.hero-panel li svg{width:22px;height:22px;flex:none;color:var(--amber-on-dark);margin-top:1px}
/* Inner pages: smaller hero with breadcrumbs */
.hero-inner{padding:44px 0 calc(48px + var(--wave-h))}
.hero-inner h1{font-size:clamp(32px,4.6vw,52px);line-height:1.1}
.hero-inner .hero-sub{margin-bottom:24px}
.crumbs{margin:0 0 18px;font-size:14px}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:4px 8px;padding:0;margin:0}
.crumbs li{display:flex;align-items:center;gap:8px;color:rgba(255,255,255,.9)}
.crumbs li+li::before{content:"/";color:rgba(255,255,255,.6)}
.crumbs a{color:#fff;text-decoration:none;font-weight:600}
.crumbs a:hover{text-decoration:underline}
.crumbs [aria-current="page"]{color:rgba(255,255,255,.9)}

/* ═════════════════════════════════════════════════════════════════════
   6. WAVE DIVIDERS
   Usage: put <svg class="wave" ...> as the LAST child of a section with class .has-wave.
   The wave's colour = the NEXT section's background: add .to-white (page ivory) / .to-off (white) / .to-navy / .to-trust (white trust bar).
   Section must have padding-bottom >= var(--wave-h) (hero and .has-wave already do).
   Copy the exact SVG markup from _partials/page-template.html.
   ═════════════════════════════════════════════════════════════════════ */
.has-wave{position:relative;padding-bottom:calc(72px + var(--wave-h))}
.wave{position:absolute;left:0;bottom:-1px;width:100%;height:var(--wave-h);display:block;pointer-events:none}
.wave path{fill:currentColor}
.to-white{color:var(--page)} .to-off{color:var(--off)} .to-navy{color:var(--navy)}
.to-trust,.to-amber{color:var(--white)} /* trust bar is WHITE since 2026-10-13 (was orange pre-10-13); .to-amber kept as a safe alias */
.wave-flip{transform:scaleX(-1)}
/* Top wave: a section that starts with a curve rising out of the previous one */
.wave-top{position:absolute;left:0;top:-1px;width:100%;height:var(--wave-h);transform:rotate(180deg)}

/* ═════════════════════════════════════════════════════════════════════
   7. TRUST BAR (directly under the inner-page hero). WHITE band since 2026-10-13 (was orange): navy figures,
      charcoal labels, river dividers. The homepage uses the navy .trust-home variant (section 26).
   ═════════════════════════════════════════════════════════════════════ */
.trust-bar{background:var(--white);color:var(--navy);position:relative;z-index:1;border-bottom:1px solid var(--line)}
.trust-list{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));text-align:center}
.trust-list li{padding:20px 10px;display:flex;flex-direction:column;align-items:center;gap:2px;border-right:1px solid var(--line)}
.trust-list li:last-child{border-right:0}
.trust-list strong{font:800 clamp(19px,2vw,24px)/1.15 var(--display);color:var(--navy)}
.trust-list span{font:600 16px/1.3 var(--sans);color:var(--charcoal)}
/* The hero's wave uses .to-trust (white) so the curve flows into this band */

/* ═════════════════════════════════════════════════════════════════════
   8. SECTIONS + QUESTION H2s
   ═════════════════════════════════════════════════════════════════════ */
.sec{padding:80px 0}
.sec-off{background:var(--off)}
.sec-navy{background:var(--navy);color:rgba(255,255,255,.94)}
.sec-navy :where(h2,h3){color:#fff}
.sec-navy :where(a:not(.btn)){color:var(--link-on-navy)} /* :not(.btn): buttons keep their own colours (QA 2026-10-07: amber button text went blue) */
.sec-head{max-width:780px;margin:0 0 40px}
.sec-head.center{margin-left:auto;margin-right:auto;text-align:center}
.eyebrow{display:inline-block;font:700 13px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin:0 0 14px}
.eyebrow::before{content:"";display:inline-block;width:26px;height:3px;background:var(--amber);vertical-align:middle;margin-right:10px;transform:translateY(-2px)}
/* 2026-10-14: a long eyebrow that wraps on phones keeps the dash beside BOTH lines (inline-flex; the text wraps as one item) */
.eyebrow{display:inline-flex;align-items:center;line-height:1.35}
.eyebrow::before{flex:none;transform:none}
.sec-navy .eyebrow{color:var(--amber-on-dark)}
.sec-navy .eyebrow::before{background:var(--amber-on-dark)}
/* Question H2 (Bulldog Loop: every section heading is a question) */
.h2,.q-h2{font-size:clamp(28px,3.4vw,40px)}
.lead{font-size:19px;color:var(--body)}
.sec-navy .lead{color:rgba(255,255,255,.94)}
.prose{max-width:780px}
.prose :where(h2){font-size:clamp(26px,3vw,34px);margin-top:1.6em}
.eyebrow+h2,.eyebrow+.q-h2,.prose>h2:first-child{margin-top:0} /* no extra gap under an eyebrow */
.prose :where(h3){font-size:21px;margin-top:1.4em}
.prose :where(ul,ol){padding-left:1.3em;margin:0 0 1em}
.prose :where(li){margin:0 0 .4em}
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center}
.split-wide{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
.sec-cta{margin-top:36px}

/* ═════════════════════════════════════════════════════════════════════
   9. AEO ANSWER BAND (opens every page; 2-3 sentences written to be quoted verbatim)
   ═════════════════════════════════════════════════════════════════════ */
.aeo{padding:44px 0 8px}
.aeo-box{background:#fff;border:1px solid var(--line);border-left:6px solid var(--river);border-radius:var(--radius);padding:26px 30px;box-shadow:var(--shadow);max-width:920px}
.aeo-label{display:block;font:700 12.5px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--amber-ink);margin:0 0 10px}
.aeo-box p{font-size:19px;line-height:1.6;color:var(--ink);margin:0}
.aeo-box p+p{margin-top:.7em}

/* ═════════════════════════════════════════════════════════════════════
   10. GEO PARAGRAPH BLOCK ("Who is Rod Inspects?", one per page)
   ═════════════════════════════════════════════════════════════════════ */
.geo{background:var(--river-soft);border:1px solid #C9E2E8;border-radius:var(--radius);padding:30px 32px;max-width:920px}
.geo h2{font-size:clamp(24px,2.6vw,30px)}
.geo p{margin:0;font-size:17.5px;color:var(--ink)}

/* ═════════════════════════════════════════════════════════════════════
   11. CARDS (services, generic)
   ═════════════════════════════════════════════════════════════════════ */
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;list-style:none}
.cards-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px 26px;box-shadow:var(--shadow);display:flex;flex-direction:column;transition:transform var(--t-med) var(--ease),box-shadow var(--t-med) var(--ease)}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.card-icon{width:52px;height:52px;border-radius:14px;background:var(--navy);color:#fff;display:grid;place-items:center;margin:0 0 18px}
.card-icon svg{width:28px;height:28px}
.card h3{font-size:21px;margin:0 0 10px}
.card h3 a{color:inherit;text-decoration:none}
.card h3 a:hover{color:var(--river)}
.card p{color:var(--body);font-size:16.5px}
.card .link-arrow{margin-top:auto}
.card-feature{border-top:4px solid var(--river)}

/* ═════════════════════════════════════════════════════════════════════
   12. FEATURE (expanded Infrared Thermal block on the homepage) + checklist
   ═════════════════════════════════════════════════════════════════════ */
.checks{list-style:none;display:grid;gap:12px;margin:0 0 1.2em}
.checks li{position:relative;padding-left:34px}
.checks li::before{content:"";position:absolute;left:0;top:3px;width:22px;height:22px;border-radius:50%;background:var(--river) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat}
.ir-visual{position:relative;border-radius:18px;overflow:hidden;aspect-ratio:4/3;background:
  radial-gradient(40% 50% at 30% 40%,#FFE066 0%,#FF8A00 35%,transparent 70%),
  radial-gradient(35% 45% at 72% 62%,#FF4D4D 0%,#B21F66 40%,transparent 72%),
  linear-gradient(135deg,#2B0B5E 0%,#1A2A8C 50%,#0A3D7A 100%);box-shadow:0 18px 40px rgba(0,0,0,.35)}
.ir-visual figcaption{position:absolute;left:12px;right:12px;bottom:12px;background:rgba(42,42,42,.9);color:#fff;font-size:13.5px;line-height:1.4;padding:10px 12px;border-radius:8px}

/* ═════════════════════════════════════════════════════════════════════
   13. SERVICE AREAS GRID
   ═════════════════════════════════════════════════════════════════════ */
.areas{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;list-style:none}
.areas a{display:flex;align-items:center;gap:10px;height:100%;padding:16px 16px;background:#fff;border:1px solid var(--line);border-radius:10px;color:var(--navy);font-weight:700;text-decoration:none;transition:border-color var(--t-fast) var(--ease),transform var(--t-med) var(--ease),box-shadow var(--t-med) var(--ease)}
.areas a:hover{border-color:var(--river);transform:translateY(-3px);box-shadow:var(--shadow)}
.areas svg{width:20px;height:20px;flex:none;color:var(--amber-ink)}

/* ═════════════════════════════════════════════════════════════════════
   14. TEAM CARDS
   ═════════════════════════════════════════════════════════════════════ */
.team{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;list-style:none}
.team-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column}
.team-card .ph-photo,.team-card img{aspect-ratio:4/5;width:100%;object-fit:cover;border-radius:0;border-left:0;border-right:0;border-top:0}
.team-body{padding:22px 22px 24px;display:flex;flex-direction:column;flex:1}
.team-body h3{font-size:21px;margin:0 0 4px}
.team-role{font:700 13px/1.3 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--amber-ink);margin:0 0 12px}
.team-body .link-arrow{margin-top:auto}

/* ═════════════════════════════════════════════════════════════════════
   15. REVIEWS GRID (client reviews ONLY: never agent/realtor quotes)
   ═════════════════════════════════════════════════════════════════════ */
.reviews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;list-style:none;align-items:start}
.review-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px 26px;box-shadow:var(--shadow);margin:0}
.review-card .stars{color:var(--amber-ink);letter-spacing:2px;font-size:18px;margin:0 0 10px}
.review-card blockquote{margin:0 0 14px;font-size:17px;color:var(--ink)}
.review-card blockquote p{margin:0}
.review-card blockquote p+p{margin-top:.7em}
.review-card figcaption{font-weight:700;color:var(--navy);font-size:15px}
.rating-line{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:0 0 28px;font-weight:600;color:var(--ink)}
.rating-line .stars{color:var(--amber-ink);font-size:22px;letter-spacing:2px}

/* ═════════════════════════════════════════════════════════════════════
   16. DRAFT PLACEHOLDERS (visible on purpose; QA must find zero at launch)
   ═════════════════════════════════════════════════════════════════════ */
.ph-photo{display:grid;place-items:center;text-align:center;min-height:200px;padding:20px;border:2px dashed #9AA8BC;border-radius:var(--radius);background:repeating-linear-gradient(135deg,#EEF2F8 0 14px,#E6EBF3 14px 28px);color:#3F4C60;font:600 14.5px/1.4 var(--sans)}
.ph-photo::before{content:"DRAFT PLACEHOLDER";display:block;font:800 11px/1 var(--sans);letter-spacing:.14em;color:#8A4B00;background:#FFE7BF;border-radius:4px;padding:5px 8px;margin:0 auto 8px;width:max-content}
.sec-navy .ph-photo,.hero .ph-photo{background:repeating-linear-gradient(135deg,rgba(255,255,255,.06) 0 14px,rgba(255,255,255,.03) 14px 28px);border-color:rgba(255,255,255,.4);color:rgba(255,255,255,.85)}
.ph-review{border:2px dashed #C9A15A;background:#FFFBF2;border-radius:var(--radius);padding:24px;color:#5A4520;font:600 15px/1.5 var(--sans);margin:0;box-shadow:none}
.ph-review::before{content:"DRAFT PLACEHOLDER";display:block;font:800 11px/1 var(--sans);letter-spacing:.14em;color:#8A4B00;margin:0 0 8px}
.ph-review .stars{color:#B98A3A;letter-spacing:2px;margin:0 0 6px}

/* ═════════════════════════════════════════════════════════════════════
   17. FAQ (details/summary; FAQPage JSON-LD must match .faq-q / .faq-a word for word)
   ═════════════════════════════════════════════════════════════════════ */
.faq{max-width:880px;display:grid;gap:12px}
.faq.center{margin:0 auto}
.faq details{background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 2px 8px rgba(var(--shade),.05)}
.faq details[open]{border-color:#9FCBD6}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 22px;font:700 18px/1.4 var(--display);color:var(--navy)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";flex:none;width:30px;height:30px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font:700 20px/1 var(--sans);transition:transform var(--t-fast) var(--ease)}
.faq details[open] summary::after{content:"\2212"}
.faq-a{padding:0 22px 22px;color:var(--body)}
.faq-a p{margin:0}

/* ═════════════════════════════════════════════════════════════════════
   18. FINAL CTA BAND (Deep Teal; wave rises into it from the section above)
   ═════════════════════════════════════════════════════════════════════ */
.final-cta{position:relative;background:var(--navy);color:#fff;text-align:center;padding:calc(64px + var(--wave-h)) 0 80px;overflow:hidden}
.final-cta::before{content:"";position:absolute;inset:0;background:radial-gradient(60% 80% at 50% 120%,rgba(var(--shade),.35),transparent 70%);pointer-events:none}
.final-cta .wrap{position:relative}
.final-cta h2{color:#fff;font-size:clamp(28px,3.6vw,42px);max-width:820px;margin:0 auto 14px}
.final-cta p{color:rgba(255,255,255,.94);max-width:680px;margin:0 auto 28px;font-size:18px}
.final-cta .tagline{font:700 italic 19px/1.4 var(--display);color:var(--amber-on-dark);margin-bottom:12px}
.final-cta .btn-row{justify-content:center}
.final-cta .wave-top{color:var(--page)}
.final-cta.from-off .wave-top{color:var(--off)}

/* ═════════════════════════════════════════════════════════════════════
   19. EMBEDS (scheduler, GHL forms, maps, video)
   ═════════════════════════════════════════════════════════════════════ */
.embed{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:10px;overflow:hidden}
.embed iframe{display:block;width:100%;border:0;border-radius:8px}
.embed-scheduler iframe{min-height:800px}
.embed-form iframe{min-height:630px}
.embed-16x9{position:relative;aspect-ratio:16/9;padding:0}
.embed-16x9 iframe{position:absolute;inset:0;width:100%;height:100%}
.embed-note{font-size:14.5px;color:var(--muted);margin:10px 0 0}

/* ═════════════════════════════════════════════════════════════════════
   20. VIDEO GRID (/inspection-videos/)
   ═════════════════════════════════════════════════════════════════════ */
.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;list-style:none}
.video-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.video-card .embed-16x9{border:0;border-radius:0;box-shadow:none}
.video-card .ph-photo{aspect-ratio:16/9;min-height:0;border-radius:0}
.video-card h3{font-size:18px;margin:0;padding:16px 18px 18px}

/* ═════════════════════════════════════════════════════════════════════
   21. LEGAL READING COLUMN (Privacy Policy, TREC Information)
   ═════════════════════════════════════════════════════════════════════ */
.legal{max-width:760px;margin:0 auto}
.legal :where(h2){font-size:26px;margin:1.8em 0 .5em}
.legal :where(h3){font-size:20px;margin:1.4em 0 .4em}
.legal :where(ul,ol){padding-left:1.3em;margin:0 0 1em}
.legal :where(li){margin:0 0 .4em}
.legal .updated{color:var(--muted);font-size:15px}

/* ═════════════════════════════════════════════════════════════════════
   22. FOOTER + STICKY MOBILE CALL BAR (footer = --primary-deep #042A3A: white 15.03, light river 11.02; no red text)
   ═════════════════════════════════════════════════════════════════════ */
.site-foot{background:var(--primary-deep);color:rgba(255,255,255,.82);font-size:15.5px;position:relative;padding-top:var(--wave-h)}
.site-foot .wave-top{color:var(--navy)} /* the footer always follows the teal .final-cta band */
.foot-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);gap:40px;padding:24px var(--gutter) 48px}
.site-foot h2{font:700 15px/1.3 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--amber-on-dark);margin:0 0 16px} /* light river on #042A3A 11.02 */
.site-foot a{color:#fff;text-decoration:none}
.site-foot a:hover{color:var(--amber-on-dark);text-decoration:underline}
.foot-brand .brand{margin:0 0 14px;color:#fff}
.site-foot .brand-name{color:#fff}
.site-foot .brand-sub{color:var(--amber-on-dark);display:block}
.site-foot .brand-logo{width:80px;height:80px}
.foot-tagline{font:700 italic 17px/1.4 var(--display);color:#fff;margin:0 0 12px}
.foot-phone{font:800 22px/1.2 var(--display)}
.foot-phone a{color:#fff}
.foot-links{list-style:none;display:grid;gap:8px}
.foot-links.two{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}
.foot-social{display:inline-flex;align-items:center;gap:8px;margin-top:6px}
.foot-social svg{width:22px;height:22px}
.foot-bar{border-top:1px solid rgba(255,255,255,.12)}
.foot-bar .wrap{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding-top:18px;padding-bottom:18px;font-size:14px;color:rgba(255,255,255,.72)}
.foot-bar p{margin:0}
.foot-legal{display:flex;flex-wrap:wrap;gap:6px 18px}
.site-foot .foot-cpn{display:inline-block;margin-left:4px;color:#fff;text-decoration:underline;text-underline-offset:3px} /* TREC CPN: white on #042A3A 15.03 */
.site-foot .foot-cpn:hover{color:var(--amber-on-dark)}
@media (max-width:640px){ .site-foot .foot-cpn{display:block;margin:6px 0 0} }
.site-foot .foot-lic a{text-decoration:underline;text-underline-offset:3px} /* Rod's TREC license page (2026-10-13): white on #042A3A 15.03 */
.mobile-bar{display:none}

/* ═════════════════════════════════════════════════════════════════════
   23. RESPONSIVE
   ═════════════════════════════════════════════════════════════════════ */
@media (max-width:1079px){
  .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .areas{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:900px){
  .sec{padding:64px 0}
  .hero-grid{grid-template-columns:minmax(0,1fr);gap:32px}
  .split,.split-wide{grid-template-columns:minmax(0,1fr);gap:36px}
  .cards,.team,.reviews,.video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .trust-list{grid-template-columns:repeat(6,minmax(0,1fr))}
  .trust-list li{grid-column:span 2;border-bottom:1px solid var(--line)}
  .trust-list li:nth-child(3){border-right:0}
  .trust-list li:nth-child(4),.trust-list li:nth-child(5){grid-column:span 3;border-bottom:0}
}
@media (max-width:767px){
  :root{--wave-h:40px}
  .topbar{display:none}
  /* 2026-10-14 (Beth/Albert): the bar's height is reserved on <body> (bar + safe-area inset), so the footer's last
     line and any final CTA always end above the bar. Was a fixed 64px on .foot-bar with no safe-area. */
  :root{--mbar-h:58px}
  body{padding-bottom:calc(var(--mbar-h) + env(safe-area-inset-bottom, 0px))}
  .mobile-bar{display:grid;padding-bottom:env(safe-area-inset-bottom, 0px);background:var(--navy);grid-template-columns:minmax(0,1fr) minmax(0,1fr);position:fixed;left:0;right:0;bottom:0;z-index:60;box-shadow:0 -6px 18px rgba(0,0,0,.25)}
  .mobile-bar a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:var(--mbar-h);font:700 16px/1.2 var(--sans);text-decoration:none}
  .mobile-bar svg{width:18px;height:18px}
  .mb-call{background:var(--navy);color:#fff}
  .mobile-bar .mb-book{background:var(--amber);color:#fff;font-size:19px} /* white on red 5.50 */
  .mobile-bar a:focus-visible{outline:3px solid #fff;outline-offset:-5px}
}
@media (max-width:640px){
  :root{--gutter:16px}
  body{font-size:16.5px}
  .sec{padding:52px 0}
  .has-wave{padding-bottom:calc(52px + var(--wave-h))}
  .hero{padding-top:44px;padding-bottom:calc(44px + var(--wave-h))}
  .hero-inner{padding-top:28px}
  .hero-sub,.lead{font-size:17.5px}
  .hero .btn-row .btn,.final-cta .btn-row .btn,.sec-cta .btn{width:100%}
  .cards,.cards-2,.team,.reviews,.video-grid{grid-template-columns:minmax(0,1fr)}
  .areas{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .areas a{padding:14px 12px;font-size:15px}
  .trust-list li{padding:16px 6px}
  .trust-list span{font-size:15px}
  .aeo-box{padding:22px 20px}
  .aeo-box p{font-size:17.5px}
  .geo{padding:24px 20px}
  .faq summary{padding:18px 16px;font-size:17px}
  .faq-a{padding:0 16px 20px}
  .foot-grid{grid-template-columns:minmax(0,1fr);gap:30px}
  .foot-bar .wrap{flex-direction:column;align-items:flex-start}
  .final-cta{padding-bottom:60px}
}

/* ═════════════════════════════════════════════════════════════════════
   24. MOTION (scroll reveal; site.js adds .motion to <html> only if allowed)
   ═════════════════════════════════════════════════════════════════════ */
.motion .reveal{opacity:0;transform:translateY(24px);transition:opacity var(--t-slow) var(--ease),transform var(--t-slow) var(--ease)}
.motion .reveal.in{opacity:1;transform:none}
@media print{.motion .reveal{opacity:1;transform:none}.mobile-bar,.topbar,.nav-toggle{display:none!important}}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
  .card:hover,.areas a:hover,.btn:hover{transform:none}
}

/* ═════════════════════════════════════════════════════════════════════
   25. HOMEPAGE-SPECIFIC
   ═════════════════════════════════════════════════════════════════════ */
.hero-photo{min-height:340px;border-radius:18px}
.trust-link{display:flex;flex-direction:column;align-items:center;gap:2px;color:var(--navy);text-decoration:none}
.trust-link:hover strong,.trust-link:hover span{text-decoration:underline}
.trust-bar :focus-visible{outline-color:var(--navy)}
.trust-sub{margin:0;padding:0 0 14px;text-align:center;font:700 16px/1.25 var(--sans);letter-spacing:.02em;color:var(--accent)}
.aeo-box h2{font-size:clamp(22px,2.4vw,28px);margin:0 0 12px}
.instruct-panel{background:var(--navy);border-radius:18px;padding:40px 32px;text-align:center;color:#fff;box-shadow:var(--shadow-lg);position:relative;overflow:hidden}
.instruct-panel::after{content:"";position:absolute;left:0;right:0;bottom:0;height:6px;background:var(--river)}
.instruct-big{font:800 clamp(48px,6vw,72px)/1 var(--display);color:var(--amber-on-dark);margin:0 0 10px}
.instruct-cap{font-size:18px;color:rgba(255,255,255,.94);margin:0}
.sec-navy .checks li{color:rgba(255,255,255,.94)}
.sec-navy .checks strong{color:#fff}
.sec-navy h3{font-size:21px;margin:1.2em 0 .7em}
.ir-photo{min-height:300px;border-radius:18px}
.ir-note{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);border-left:4px solid var(--amber-on-dark);border-radius:12px;padding:20px 22px;margin:20px 0 24px}
.ir-note p:last-child{margin:0}
.areas-note{margin:24px 0 0;max-width:820px}
.why-list li{font-size:17px}
.why-badge{background:var(--navy);color:#fff;border-radius:18px;padding:40px 28px;text-align:center;box-shadow:var(--shadow-lg)}
.wb-num{font:800 64px/1 var(--display);color:var(--amber-on-dark);margin:0 0 6px}
.wb-stars{font-size:26px;letter-spacing:4px;color:var(--amber-on-dark);margin:0 0 8px}
.wb-cap{font-size:18px;margin:0;color:rgba(255,255,255,.94)}
.cta-micro{font-size:15px!important;color:rgba(255,255,255,.9)!important;margin:22px auto 0!important}
@media (max-width:900px){ .hero-photo{min-height:220px} .why-badge{padding:28px} }
@media (max-width:640px){ .instruct-panel{padding:28px 20px} .ir-photo{min-height:220px} }
@media (max-width:420px){ .hero-kicker{font-size:11px;letter-spacing:.1em;padding:7px 12px} }
.trust-list li{justify-content:center}
@media (max-width:767px){ .site-nav{padding-bottom:84px} } /* last menu items clear the sticky call bar */

/* ═════════════════════════════════════════════════════════════════════
   24. WEEK 4 QA FIXES (Howard, 2026-10-09; QA report owners-inbox/2026-10-09-rod-inspects-week4-qa-report-howard.md)
   ═════════════════════════════════════════════════════════════════════ */
/* M-1 (updated 2026-10-13): the header is WHITE now, so every focus ring inside it is navy (12.00 on white). */
.site-head :focus-visible,.site-head .dd :focus-visible{outline-color:var(--primary)}
@media (max-width:1079px){ .site-head .site-nav :focus-visible{outline-color:var(--primary)} }
/* S-1: header phone button ≥44px tall at 421–1079px (was 42px). ≤420px it is already 48×48. */
@media (max-width:1079px){ .head-phone{min-height:44px} }
/* N-1: desktop nav buttons and "Schedule Now" ≥44px tall (were 38/43px). Height only, widths unchanged,
   so the one-line nav at 1080/1200/1280 is unaffected (measured). */
.nav-list>li>a,.dd-btn,.nav-list .nav-cta a{min-height:44px}
/* N-2: <main id="main" tabindex="-1"> takes focus from the skip link; no ring around the whole page. */
main[tabindex="-1"]:focus{outline:none}
/* S-1 follow-up (measured with the real fonts, 2026-10-09): the header buttons were being squeezed by
   the wordmark. Hamburger 26px wide at 421–530px and pushed past the viewport edge at 460px (hidden by
   overflow-x:clip); both buttons 22–42px wide at 320–375px. Fix: the buttons never shrink, the icon-only
   phone button (number in its accessible name + in the sticky call bar) now runs up to 539px, and the
   wordmark steps down on narrow phones. */
@media (max-width:1079px){ .head-phone,.nav-toggle{flex:none} .brand{min-width:0} }
/* Simplified mobile header (Beth 2026-10-13) + HORIZONTAL MOBILE LOCKUP (Beth 2026-10-14): the 48px badge's own text
   ("Rod Inspects, LLC") was not legible, so <=539px the <picture> swaps to a round icon cropped from the badge's central
   scene (assets/brand/rod-inspects-icon-*) and the name + tagline are live text beside it. Icon-only call + menu buttons. */
@media (max-width:539px){
  .head-in{min-height:66px;padding-top:9px;padding-bottom:9px}
  .brand{gap:10px}
  .brand-logo{width:46px;height:46px}
  .brand-name{font-size:21px;line-height:1.05}
  .brand-sub{display:block;font:600 12px/1.2 var(--sans);letter-spacing:.01em;text-transform:none;margin-top:4px;color:var(--accent)} /* 5.76 on white */
  .head-phone .hp-num{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .head-phone{width:48px;height:48px;justify-content:center;border:2px solid var(--line);border-radius:10px;padding:0}
}
@media (max-width:389px){
  .head-in{gap:8px}
  .brand{gap:8px}
  .brand-logo{width:44px;height:44px}
  .brand-name{font-size:19px}
  .brand-sub{font-size:11px;letter-spacing:0}
  .head-phone,.nav-toggle{width:44px;height:44px}
}
@media (max-width:339px){ .brand-name{font-size:17px} .brand-sub{display:none} }

/* ═════════════════════════════════════════════════════════════════════
   26. HOMEPAGE HERO + TRUST STRIP (Beth 2026-10-13)
   White nav bar above; the photo is never under the nav and NOTHING sits on the house: text on Warm Ivory
   beside the uncropped photo (desktop), photo first then text (<=900px). Navy headline on ivory 10.90;
   slogan in --accent 5.23 (large italic); body charcoal 13.04; red CTA 19px bold white 5.50.
   Trust strip: navy band, white 12.00 / light river 8.80; icons are decorative (aria-hidden).
   ═════════════════════════════════════════════════════════════════════ */
.hero-home{position:relative;background:var(--page);padding:48px 0 calc(44px + var(--wave-h))}
.hero-home .wave{color:var(--navy)}
.hh-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center} /* 2026-10-14: equal columns so both hero CTAs sit on one line from ~1200px */
.hh-text h1{color:var(--navy);font-size:clamp(36px,3.8vw,48px);line-height:1.06;letter-spacing:-.022em;margin:0 0 16px}
.hh-sub{font:700 italic clamp(21px,2.2vw,27px)/1.3 var(--display);color:var(--accent);margin:0 0 18px}
/* Hero CTA block (Beth/Albert 2026-10-14): DOM order Schedule → trust line → Call (the phone order, where they stack).
   Desktop: the two buttons share one row (wrapping to two rows ~901–1199px) and the trust line sits under the row. */
.hh-ctas{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.hh-ctas .btn{padding-left:22px;padding-right:22px}
.hh-trust{order:3;flex-basis:100%;margin:2px 0 0;font:600 15px/1.4 var(--sans);letter-spacing:.01em;color:var(--navy)} /* navy on ivory 11.4 */
.hh-bridge{margin:30px 0 0;padding-top:24px;border-top:1px solid var(--line);max-width:560px}
.hh-bridge h2{font-size:clamp(22px,2vw,26px);line-height:1.2;color:var(--navy);margin:0 0 10px}
.hh-bridge p{font-size:17.5px;line-height:1.6;color:var(--charcoal);margin:0}
.hh-photo{margin:0;border-radius:20px;overflow:hidden;box-shadow:var(--shadow-lg);aspect-ratio:1600/1035;background:#C9D6DA}
.hh-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 50%} /* aspect = the photo's own, so nothing is cropped */

.trust-home{background:var(--navy);color:#fff;padding:30px 0 30px;position:relative}
.th-list{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.th-list li,.th-link{display:flex;align-items:center;gap:14px;min-width:0}
.th-link{color:#fff;text-decoration:none}
.th-link:hover strong{text-decoration:underline}
.trust-home :focus-visible{outline-color:var(--amber-on-dark)}
.th-ico{width:54px;height:54px;flex:none;border-radius:50%;border:2px solid rgba(191,227,235,.6);display:grid;place-items:center;color:var(--amber-on-dark)}
.th-ico svg{width:28px;height:28px}
.th-txt{display:flex;flex-direction:column;min-width:0}
.th-txt strong{font:800 clamp(19px,1.8vw,23px)/1.15 var(--display);color:#fff}
.th-sub{font:600 15.5px/1.35 var(--sans);color:var(--amber-on-dark);margin-top:3px}
.th-foot{margin:22px 0 0;padding-top:16px;border-top:1px solid rgba(255,255,255,.16);text-align:center;font:700 16px/1.4 var(--sans);color:rgba(255,255,255,.94);letter-spacing:.02em}
.th-foot span{margin:0 8px}

/* Homepage order (Beth 2026-10-14): hero → trust strip → AEO answer → team → services → difference → report + tech →
   Google reviews → areas (+GEO) → FAQ → final CTA. Backgrounds alternate ivory / white; navy only for the strip + section 6. */
.aeo-home{padding:48px 0 56px}
.aeo-home .aeo-box{margin:0 auto}
.team-photo-wrap{max-width:920px;margin:0 auto 32px}
.team-photo{min-height:0;aspect-ratio:16/7}
.why-block{margin-top:64px;padding-top:56px;border-top:1px solid var(--line)}
.why-block .q-h2{max-width:780px}
.why-block .why-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 40px;margin:8px 0 0}
.report-panel{margin-top:48px;display:flex;align-items:center;justify-content:space-between;gap:20px 40px;padding:28px 32px;border:1px solid rgba(255,255,255,.18);border-left:4px solid var(--amber-on-dark);border-radius:var(--radius);background:rgba(255,255,255,.06)}
.report-panel h3{margin:0 0 8px}
.report-panel p{margin:0;max-width:720px}
.report-panel .btn{flex:none}
.reviews-home{display:grid;grid-template-columns:minmax(0,.42fr) minmax(0,1fr);gap:48px;align-items:center;max-width:1000px;margin:0 auto}
.reviews-home .lead{max-width:600px;margin-bottom:24px}
/* Section 7 quote cards (Beth 2026-10-14: 3 real client quotes, verbatim; no stars, no review schema).
   Desktop: badge | heading, then the 3 cards across the full block, then the buttons. Phones: heading, cards, buttons, badge. */
.reviews-home{grid-template-areas:"badge head" "quotes quotes" "btns btns";row-gap:32px;max-width:1080px}
.reviews-home .why-badge{grid-area:badge}
.rh-head{grid-area:head}
.rh-head .lead{margin-bottom:0}
.rh-quotes{grid-area:quotes;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;list-style:none;margin:0;padding:0;align-items:stretch}
.rh-quotes>li{display:flex}
.rh-quote{margin:0;flex:1;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-top:4px solid var(--river);border-radius:var(--radius);padding:26px 22px 22px;box-shadow:var(--shadow);color:var(--navy)}
.rh-quote blockquote{margin:0 0 18px;flex:1;font:500 17px/1.55 var(--sans);color:var(--navy)}
.rh-quote blockquote p{margin:0}
.rh-quote figcaption{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.rh-name{font:700 16px/1.3 var(--sans);color:var(--navy)}
.rh-tag{display:inline-block;font:700 12.5px/1 var(--sans);letter-spacing:.04em;color:var(--accent);background:var(--river-soft);border:1px solid #C9E2E8;border-radius:999px;padding:6px 11px}
.rh-btns{grid-area:btns}
.rh-btns .btn-row{justify-content:center}
@media (max-width:900px){
  .reviews-home{grid-template-areas:"head" "quotes" "btns" "badge";row-gap:28px}
  .rh-quotes{grid-template-columns:minmax(0,1fr);gap:16px}
  .rh-btns .btn-row{justify-content:flex-start}
  .reviews-home .why-badge{justify-self:start;width:100%}
}
.geo-home{margin:48px auto 0}

@media (max-width:1079px){ .th-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px} }
@media (max-width:900px){
  .hero-home{padding-top:0}
  .hh-grid{grid-template-columns:minmax(0,1fr);gap:26px}
  .hh-photo{order:-1;margin:0 calc(-1 * var(--gutter));border-radius:0;box-shadow:none}
  .reviews-home{grid-template-columns:minmax(0,1fr);gap:28px}
  .reviews-home .why-badge{max-width:360px;order:2;padding:22px 28px}
  .reviews-home .wb-num{font-size:52px}
  .why-block .why-list{grid-template-columns:minmax(0,1fr)}
  .report-panel{flex-direction:column;align-items:flex-start}
}
/* PHONES (<=767px, the sticky-bar breakpoint), Beth/Albert 2026-10-14:
   1. hero photo cropped 1.546:1 -> 2:1 (sky + lawn trimmed; roofline to porch steps kept) so the H1 sits higher;
      tablets 768-900 and desktop keep the uncropped photo.
   2. H1 ~17% smaller (390: 32.8 -> 27.3px).
   3. Call button compact + secondary (navy outline, 46px tall, still full width) under Schedule + trust line.
   4. Sticky call/book bar never covers content: body bottom padding = bar height + safe-area inset. */
@media (max-width:767px){
  .hh-photo{aspect-ratio:2/1}
  .hh-photo img{object-position:50% 42%}
  .hh-text h1{font-size:clamp(26px,7vw,31px);line-height:1.1;margin-bottom:12px}
  .hh-ctas{flex-direction:column;align-items:stretch;gap:10px}
  .hh-ctas .btn{width:100%}
  .hh-trust{order:0;flex-basis:auto;margin:0 0 2px;text-align:center;font-size:14.5px}
  .hh-ctas .hh-call{min-height:46px;padding-top:9px;padding-bottom:9px;font-size:17px;background:transparent;color:var(--navy);border-color:var(--navy)}
  .hh-ctas .hh-call:hover{background:var(--navy);color:#fff}
  .hh-bridge{margin-top:24px;padding-top:20px}
  .hh-bridge h2{font-size:22px}
  .hh-bridge p{font-size:17px}
}
@media (max-width:640px){
  .hh-sub{font-size:20px;margin-bottom:14px}
  .th-list{gap:18px 14px}
  .th-list li,.th-link{flex-direction:column;text-align:center;gap:8px}
  .th-list li{justify-content:flex-start}
  .th-ico{width:46px;height:46px}
  .th-ico svg{width:24px;height:24px}
  .th-txt strong{font-size:19px}
  .th-sub{font-size:15px}
  .th-foot span{display:block;height:0;overflow:hidden}
  .aeo-home{padding:36px 0 44px}
  .team-photo{aspect-ratio:4/3}
  .why-block{margin-top:44px;padding-top:40px}
  .report-panel{padding:22px 20px;margin-top:36px}
  .report-panel .btn,.reviews-home .btn{width:100%}
  #team .team-card{flex-direction:row;align-items:stretch} /* homepage phones: compact rows instead of 3 tall 4:5 cards */
  #team .team-card .ph-photo,#team .team-card img{width:36%;flex:none;min-height:0;aspect-ratio:auto;padding:10px;font-size:12.5px;border-bottom:0;border-right:2px dashed #9AA8BC}
  #team .team-card .ph-photo::before{font-size:9.5px;letter-spacing:.08em;padding:4px 6px}
  #team .team-body{padding:16px 16px 18px}
  .reviews-home .why-badge{max-width:none}
  .geo-home{margin-top:36px}
}

/* ═════════════════════════════════════════════════════════════════════
   27. TEAM HEADSHOTS (Howard 2026-10-23)
   INTERIM photos from the current rodinspects.com (Beth 2026-10-23); Rod's new team photos replace them
   at the SAME paths (/assets/team/<name>.jpg + .webp) on Tue 2026-10-27. Sources are 200x300 (Tyler 768x921),
   so every headshot renders at 200 CSS px wide (4:5 crop = 200x250): never upscaled on a 1x screen.
   ═════════════════════════════════════════════════════════════════════ */
.headshot{display:block}
.headshot img{display:block;width:200px;max-width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:50% 25%}
.team-card .headshot{display:flex;justify-content:center;padding:24px 16px 20px;background:var(--page);border-bottom:1px solid var(--line)}
.team-card .headshot img{width:200px;border-radius:12px;box-shadow:0 2px 10px rgba(7,59,80,.12)}
.bio-figure .headshot img{border-radius:18px;box-shadow:var(--shadow)}
@media (max-width:640px){
  #team .team-card .headshot{width:36%;max-width:200px;flex:none;align-items:flex-start;padding:12px 0 12px 12px;background:none;border-bottom:0}
  #team .team-card .headshot img{width:100%;aspect-ratio:4/5;padding:0;border:0;border-radius:10px;box-shadow:none}
}

/* Team group photo (Beth 2026-11-02): homepage "Meet The Rod Inspects Team" + /meet-our-team/. 960x720 source, shown at ≤760px. */
.team-photo-fig{max-width:760px;margin:0 auto}
.team-photo-fig img{display:block;width:100%;height:auto;border-radius:18px;box-shadow:var(--shadow)}
.team-photo-fig figcaption{margin:10px 2px 0;font-size:14.5px;line-height:1.45;color:var(--body);text-align:center}
.team-photo-fig-page{margin:8px auto 40px}

/* ═════════════════════════════════════════════════════════════════════
   28. HOMEPAGE PIZZAZZ PASS (Howard 2026-11-03; Beth: "a little more spectacular… a little more pizazz,
   not a bunch of orange or gold"). VISUAL ONLY: no copy, order, H1/title/meta or schema change.
   Depth, glow and texture come from NAVY / RIVER BLUE / IVORY only. Red (was orange) stays on buttons + the hero rule.
   Every text block keeps a SOLID background-color under its gradients, so contrast is measured on the real
   colour (team-learnings 2026-10-09). Motion: hover lifts + staggered reveals + stat count-up, all off under
   prefers-reduced-motion (site.js adds .motion only when allowed; the count-up checks the same query).
   ═════════════════════════════════════════════════════════════════════ */
:root{--glow:35,127,148; --navy-ink:#05324A; --ring-light:rgba(191,227,235,.55)}

/* ── 1. HERO: ivory with a river-blue glow + dot texture behind the photo; framed photo with a river offset block ── */
.hero-home{background-color:var(--page);background-image:radial-gradient(860px 520px at 92% 0%,rgba(var(--glow),.17),transparent 62%),radial-gradient(640px 460px at 0% 100%,rgba(7,59,80,.07),transparent 62%);overflow:hidden}
.hero-home::before{content:"";position:absolute;right:0;top:0;width:52%;height:78%;background-image:radial-gradient(rgba(7,59,80,.13) 1.3px,transparent 1.5px);background-size:22px 22px;-webkit-mask-image:linear-gradient(225deg,#000 10%,transparent 72%);mask-image:linear-gradient(225deg,#000 10%,transparent 72%);pointer-events:none}
.hero-home>.wrap{position:relative;z-index:1}
.hero-home .wave{z-index:2}
.hh-ctas .btn-amber{box-shadow:0 12px 26px -10px rgba(204,34,34,.6)}
.hh-ctas .btn-navy{box-shadow:0 12px 26px -12px rgba(7,59,80,.6)}
.hh-bridge{background-color:#fff;border:1px solid var(--line);border-left:5px solid var(--river);border-radius:14px;padding:20px 24px 22px;box-shadow:0 14px 34px -16px rgba(var(--shade),.28)}
@media (min-width:901px){
  .hh-photo{box-shadow:0 0 0 7px #fff,26px 26px 0 7px var(--river),0 44px 80px -24px rgba(var(--shade),.55)}
}
@media (min-width:901px) and (max-width:1239px){
  .hh-photo{box-shadow:0 0 0 6px #fff,14px 14px 0 6px var(--river),0 34px 64px -22px rgba(var(--shade),.5)}
}
@media (max-width:900px){ .hero-home::before{width:100%;height:40%;top:auto;bottom:0;-webkit-mask-image:linear-gradient(0deg,#000,transparent);mask-image:linear-gradient(0deg,#000,transparent);opacity:.7} }
@media (max-width:767px){ .hh-bridge{margin-top:22px;padding:18px 18px 20px} }
/* ── NAVY HERO + TRUST CHIPS (Beth 2026-11-05, after Rod saw the live site): same layout, copy, photo and CTAs;
   full-width navy #073B50 background, white headline, pill trust chips under the two buttons. Contrast: white on
   #073B50 11.9:1; #A9DCE8 sub on navy 8.9:1; chip text #fff on rgba(255,255,255,.1) over navy ≥ 9:1. ── */
.hero-home{background-color:#073B50;background-image:radial-gradient(900px 560px at 92% 0%,rgba(35,127,148,.42),transparent 62%),radial-gradient(700px 480px at 0% 100%,rgba(2,22,31,.55),transparent 64%);color:#fff}
.hero-home::before{background-image:radial-gradient(rgba(255,255,255,.11) 1.3px,transparent 1.5px)}
.hero-home .wave{color:#052F40}
.hh-text h1{color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.25)}
.hh-sub{color:#A9DCE8}
.hh-trust{color:#E6EEF1}
.hh-ctas .btn-navy,.hh-ctas .hh-call{background:transparent;color:#fff;border:2px solid #fff;box-shadow:none}
.hh-ctas .btn-navy:hover,.hh-ctas .hh-call:hover{background:#fff;color:var(--navy)}
.hero-home :focus-visible{outline-color:#fff}
.hh-chips{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px 10px}
.hh-chips li{margin:0}
.hh-chips .chip{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:6px 14px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.28);color:#fff;font:600 14.5px/1.2 var(--sans);letter-spacing:.01em;white-space:nowrap;text-decoration:none;backdrop-filter:blur(2px)}
.hh-chips a.chip:hover{background:#fff;color:var(--navy);border-color:#fff}
.hh-chips .chip-ico{font-size:15px;line-height:1}
@media (max-width:767px){
  .hh-chips{justify-content:center;gap:8px;margin-top:16px}
  .hh-chips .chip{font-size:13.5px;min-height:34px;padding:6px 12px}
}

/* ── 2. TRUST STRIP: deep navy gradient with river glows; four glass stat cards with icon discs and big numbers ── */
.trust-home{background-color:var(--navy);background-image:radial-gradient(560px 220px at 12% 70%,rgba(var(--glow),.32),transparent 70%),radial-gradient(560px 240px at 88% 75%,rgba(var(--glow),.26),transparent 70%),linear-gradient(180deg,#073B50 0%,var(--navy-ink) 100%);padding:22px 0 44px}
.th-list{gap:20px}
.th-list>li{position:relative;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:12px;padding:24px 16px 22px;border-radius:18px;background-color:#0B4157;background-image:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.02));border:1px solid rgba(191,227,235,.20);box-shadow:0 18px 34px -18px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.08);transition:transform var(--t-med) var(--ease),border-color var(--t-med) var(--ease),box-shadow var(--t-med) var(--ease)}
.th-list>li::before{content:"";position:absolute;left:22%;right:22%;top:-1px;height:3px;border-radius:0 0 4px 4px;background:linear-gradient(90deg,transparent,var(--amber-on-dark),transparent)}
.th-list>li:hover{transform:translateY(-4px);border-color:rgba(191,227,235,.45);box-shadow:0 24px 40px -18px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.1)}
.th-list .th-link{flex-direction:column;align-items:center;gap:12px;margin:-24px -16px -22px;padding:24px 16px 22px;border-radius:18px;align-self:stretch}
.th-ico{width:60px;height:60px;border:2px solid var(--ring-light);background:radial-gradient(circle at 32% 28%,#2C93AA 0%,#1D6F82 45%,#0A4A63 100%);color:#fff;box-shadow:0 0 0 7px rgba(var(--glow),.18),0 10px 20px -8px rgba(0,0,0,.5)}
.th-ico svg{width:29px;height:29px}
.th-txt{align-items:center}
.th-txt strong{font-size:clamp(22px,2.3vw,30px);letter-spacing:-.01em}
.th-num{font-variant-numeric:tabular-nums}
.th-sub{margin-top:5px}
.th-foot{display:table;margin:26px auto 0;padding:9px 20px;border:1px solid rgba(191,227,235,.30);border-radius:999px;background-color:#0B4157;font-size:15px;letter-spacing:.06em}
@media (max-width:640px){
  .trust-home{padding:16px 0 34px}
  .th-list{gap:12px}
  .th-list>li{padding:18px 8px 16px;gap:9px;border-radius:16px}
  .th-list .th-link{margin:-18px -8px -16px;padding:18px 8px 16px;gap:9px}
  .th-ico{width:48px;height:48px;box-shadow:0 0 0 5px rgba(var(--glow),.18)}
  .th-txt strong{font-size:18px;white-space:nowrap}
  .th-foot{margin-top:20px;font-size:14px;padding:8px 16px}
}
@media (max-width:374px){ .th-txt strong{font-size:16px} }
@media (prefers-reduced-motion:reduce){ .th-list>li:hover{transform:none} }

/* ── 2b. AEO answer: white card with a soft river wash in the corner ── */
.aeo-home .aeo-box{background-color:#fff;background-image:radial-gradient(420px 220px at 100% 0%,rgba(var(--glow),.10),transparent 70%);border-left:6px solid var(--river);box-shadow:0 22px 44px -22px rgba(var(--shade),.32)}

/* ── 3. TEAM: framed group photo (river offset block, mirrors the hero), team cards on a navy photo stage ── */
#team{position:relative;background-color:var(--off);background-image:radial-gradient(700px 360px at 50% 0%,rgba(var(--glow),.08),transparent 70%)}
#team .team-photo-fig img{border-radius:20px;box-shadow:0 0 0 7px #fff,-22px 22px 0 7px var(--river),0 40px 70px -26px rgba(var(--shade),.55)}
#team .team-photo-fig figcaption{margin-top:40px}
#team .team-card{border-top:0;transition:transform var(--t-med) var(--ease),box-shadow var(--t-med) var(--ease);box-shadow:0 18px 38px -20px rgba(var(--shade),.35)}
#team .team-card:hover{transform:translateY(-5px);box-shadow:0 26px 48px -20px rgba(var(--shade),.45)}
#team .team-body{border-top:4px solid var(--river)}
@media (min-width:641px){
  #team .team-card .headshot{background-color:var(--navy);background-image:radial-gradient(rgba(191,227,235,.16) 1.2px,transparent 1.4px),radial-gradient(260px 200px at 50% 110%,rgba(var(--glow),.55),transparent 70%),linear-gradient(170deg,#0A4A63,#073B50 70%);background-size:18px 18px,auto,auto;border-bottom:0}
  #team .team-card .headshot img{box-shadow:0 0 0 4px rgba(255,255,255,.9),0 18px 30px -12px rgba(0,0,0,.6)}
}
@media (max-width:640px){
  #team .team-photo-fig img{box-shadow:0 0 0 5px #fff,-10px 10px 0 5px var(--river),0 26px 44px -22px rgba(var(--shade),.5)}
  #team .team-body{border-top:0;border-left:4px solid var(--river)}
  #team .team-photo-fig figcaption{margin-top:24px}
}
@media (prefers-reduced-motion:reduce){ #team .team-card:hover{transform:none} }

/* ── 4. SERVICES: dot texture, gradient icon tiles, a navy→river bar that draws in on hover, whole card clickable ── */
#services{position:relative;overflow:hidden}
#services::before{content:"";position:absolute;left:0;top:0;width:40%;height:60%;background-image:radial-gradient(rgba(7,59,80,.12) 1.3px,transparent 1.5px);background-size:22px 22px;-webkit-mask-image:linear-gradient(135deg,#000 5%,transparent 65%);mask-image:linear-gradient(135deg,#000 5%,transparent 65%);pointer-events:none}
#services>.wrap{position:relative;z-index:1}
#services .card{position:relative;overflow:hidden;border-color:#E2E8E9;box-shadow:0 1px 2px rgba(var(--shade),.06),0 16px 32px -18px rgba(var(--shade),.30)}
#services .card::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,var(--navy),var(--river));transform:scaleX(0);transform-origin:left;transition:transform .45s var(--ease)}
#services .card:hover::before,#services .card:focus-within::before,#services .card-feature::before{transform:none}
#services .card-feature{border-top:1px solid #E2E8E9}
#services .card-icon{width:58px;height:58px;border-radius:16px;background:linear-gradient(140deg,var(--navy) 0%,#0A4A63 55%,var(--river) 135%);box-shadow:0 12px 22px -10px rgba(7,59,80,.65),inset 0 1px 0 rgba(255,255,255,.18)}
#services .card h3 a::after{content:"";position:absolute;inset:0;z-index:1} /* the whole card is the link's tap target */
#services .card:hover h3 a{color:var(--accent)}
#services .card:hover{box-shadow:0 1px 2px rgba(var(--shade),.06),0 26px 44px -18px rgba(var(--shade),.38)}

/* ── 5. DIFFERENCE: photo-forward stat panel + check-list cards ── */
.instruct-panel.ip-photo{padding:0;text-align:left;background-color:var(--navy);border-radius:20px;overflow:hidden;box-shadow:0 0 0 7px #fff,22px 22px 0 7px rgba(var(--glow),.9),0 40px 70px -26px rgba(var(--shade),.55)}
.instruct-panel.ip-photo::after{display:none}
.ip-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:50% 30%}
.ip-stat{position:relative;padding:22px 28px 26px;background-color:var(--navy);background-image:radial-gradient(360px 160px at 0% 0%,rgba(var(--glow),.45),transparent 70%)}
.ip-stat::before{content:"";position:absolute;left:28px;top:0;width:64px;height:4px;border-radius:0 0 4px 4px;background:var(--amber-on-dark)}
.ip-stat .instruct-big{font-size:clamp(44px,5vw,64px);margin-bottom:6px}
#difference .why-list li{background-color:var(--ivory);border:1px solid var(--line);border-radius:14px;padding:16px 18px 16px 56px;transition:transform var(--t-med) var(--ease),box-shadow var(--t-med) var(--ease)}
#difference .why-list li::before{left:18px;top:17px;width:26px;height:26px;background-color:var(--river);background-size:15px;box-shadow:0 6px 12px -4px rgba(var(--glow),.6)}
#difference .why-list li:hover{transform:translateY(-3px);box-shadow:0 14px 28px -16px rgba(var(--shade),.35)}
@media (max-width:900px){ .instruct-panel.ip-photo{max-width:520px;box-shadow:0 0 0 5px #fff,12px 12px 0 5px rgba(var(--glow),.9),0 30px 50px -24px rgba(var(--shade),.5)} }
@media (prefers-reduced-motion:reduce){ #difference .why-list li:hover{transform:none} }

/* ── 6. INFRARED (navy): river glows, framed real photo, glass report panel ── */
#infrared{background-color:var(--navy);background-image:radial-gradient(560px 380px at 96% 42%,rgba(var(--glow),.30),transparent 68%),radial-gradient(520px 360px at 2% 72%,rgba(var(--glow),.20),transparent 68%)}
.ir-fig{margin:0}
.ir-fig img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:50% 22%;border-radius:20px;box-shadow:0 0 0 1px rgba(191,227,235,.35),0 0 0 8px rgba(191,227,235,.08),0 34px 60px -24px rgba(0,0,0,.7)}
.ir-fig figcaption{margin:12px 2px 0;font-size:14.5px;line-height:1.45;color:var(--amber-on-dark)}
#infrared .ir-note{background-color:#0B4157;background-image:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.02));box-shadow:0 18px 34px -20px rgba(0,0,0,.6)}
#infrared .report-panel{background-color:#0B4157;background-image:linear-gradient(120deg,rgba(255,255,255,.10),rgba(255,255,255,.02) 60%),radial-gradient(420px 200px at 100% 100%,rgba(var(--glow),.35),transparent 70%);box-shadow:0 22px 44px -24px rgba(0,0,0,.65)}

/* ── 7. REVIEWS: glowing 300+ badge, quote cards with a large river quote mark and lift ── */
#reviews{background-color:var(--page);background-image:radial-gradient(700px 380px at 0% 0%,rgba(var(--glow),.10),transparent 68%),radial-gradient(600px 360px at 100% 100%,rgba(7,59,80,.06),transparent 68%)}
#reviews .why-badge{position:relative;overflow:hidden;background-color:var(--navy);background-image:radial-gradient(circle at 25% 0%,rgba(var(--glow),.6),transparent 62%),linear-gradient(160deg,#0A4A63,#073B50 60%,#042A3A);box-shadow:0 0 0 6px #fff,0 30px 56px -22px rgba(var(--shade),.6)}
#reviews .wb-num{text-shadow:0 6px 22px rgba(var(--glow),.55)}
#reviews .rh-quote{position:relative;border-top:0;padding-top:30px;box-shadow:0 1px 2px rgba(var(--shade),.06),0 18px 36px -20px rgba(var(--shade),.34);transition:transform var(--t-med) var(--ease),box-shadow var(--t-med) var(--ease);overflow:hidden}
#reviews .rh-quote::before{content:"\201C" / "";position:absolute;right:16px;top:-8px;font:800 110px/1 var(--display);color:rgba(var(--glow),.16);pointer-events:none}
#reviews .rh-quote::after{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,var(--navy),var(--river))}
#reviews .rh-quote blockquote{position:relative}
#reviews .rh-quote:hover{transform:translateY(-4px);box-shadow:0 1px 2px rgba(var(--shade),.06),0 28px 48px -20px rgba(var(--shade),.42)}
@media (prefers-reduced-motion:reduce){ #reviews .rh-quote:hover{transform:none} }

/* ── 8. AREAS: chips fill navy on hover ── */
#areas .areas a{box-shadow:0 8px 18px -14px rgba(var(--shade),.35)}
#areas .areas a:hover{background-color:var(--navy);border-color:var(--navy);color:#fff}
#areas .areas a:hover svg{color:var(--amber-on-dark)}
#areas .geo-home{background-image:radial-gradient(420px 200px at 100% 0%,rgba(var(--glow),.12),transparent 70%);box-shadow:0 18px 36px -24px rgba(var(--shade),.3)}

/* ── 9. FAQ: the open question gets a river edge + depth ── */
#faq details{transition:box-shadow var(--t-med) var(--ease),border-color var(--t-med) var(--ease)}
#faq details[open]{border-left:4px solid var(--river);box-shadow:0 16px 32px -20px rgba(var(--shade),.35)}
#faq summary::after{background:linear-gradient(140deg,var(--navy),#0A4A63 60%,var(--river) 140%)}

/* ── 10. FINAL CTA: river glows + dot texture on navy (homepage only: .fc-home) ── */
.fc-home{background-color:var(--navy);background-image:radial-gradient(rgba(191,227,235,.10) 1.2px,transparent 1.4px),radial-gradient(620px 300px at 12% 48%,rgba(var(--glow),.38),transparent 70%),radial-gradient(620px 300px at 90% 40%,rgba(var(--glow),.28),transparent 70%);background-size:24px 24px,auto,auto}
.fc-home .btn-amber{box-shadow:0 14px 30px -10px rgba(204,34,34,.55)}

/* ── Staggered reveal of card rows (only when site.js enabled .motion, i.e. motion allowed). An animation with
   fill-mode BACKWARDS (not a transition-delay) so card hover transitions stay instant after the reveal. ── */
@keyframes riRise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
.motion .reveal:not(.in) :is(.team,.cards,.why-list,.rh-quotes,.areas)>li{opacity:0}
.motion .reveal.in :is(.team,.cards,.why-list,.rh-quotes,.areas)>li{animation:riRise .6s var(--ease) backwards}
.motion .reveal.in :is(.team,.cards,.why-list,.rh-quotes,.areas)>li:nth-child(2){animation-delay:.08s}
.motion .reveal.in :is(.team,.cards,.why-list,.rh-quotes,.areas)>li:nth-child(3){animation-delay:.16s}
.motion .reveal.in :is(.team,.cards,.why-list,.rh-quotes,.areas)>li:nth-child(4){animation-delay:.24s}
.motion .reveal.in :is(.team,.cards,.why-list,.rh-quotes,.areas)>li:nth-child(5){animation-delay:.32s}
.motion .reveal.in :is(.team,.cards,.why-list,.rh-quotes,.areas)>li:nth-child(n+6){animation-delay:.4s}
@media (prefers-reduced-motion:reduce){ .motion .reveal :is(.team,.cards,.why-list,.rh-quotes,.areas)>li{animation:none;opacity:1} }

/* ═════════════════════════════════════════════════════════════════════
   29. STOCK PHOTOS + REAL FIELD PHOTOS IN FORMER PLACEHOLDER SLOTS (Howard 2026-11-04, Beth: every open photo spot
   gets a royalty-free stock photo until Rod's photos arrive). Markup: figure.stock-photo > picture > img (3:2 exports in
   /assets/stock/, map in _partials/stock-photos.json). The figure keeps the slot's context class (card-photo, geo-photo,
   story-photo), so the rules below reset the old placeholder min-heights. ══════════════════════════════════════════════ */
figure.stock-photo{margin:0;min-height:0;padding:0;border:0;background:none}
.stock-photo img{display:block;width:100%;height:auto;border-radius:18px;box-shadow:var(--shadow)}
.side-photos figure.stock-photo,.split-top figure.stock-photo{margin:0}
.card figure.stock-photo{margin:0 0 18px}
.card .stock-photo img,figure.stock-photo.card-photo img{border-radius:10px;box-shadow:none;aspect-ratio:3/2;object-fit:cover}
figure.stock-photo.card-photo{margin:0 0 16px}
.post-body figure.stock-photo{margin:28px 0}
figure.stock-photo.geo-photo{max-width:920px;margin:24px 0 0}
figure.field-photo.story-photo{min-height:0;border-radius:0}
.story-photo img{border-radius:18px;max-height:560px;object-fit:cover;object-position:50% 30%}
/* /photos-sample-reports/ field grid: 4 real photos, 2 x 2, uniform 4:3 tiles */
.photo-grid.photo-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.photo-grid .field-photo img{aspect-ratio:4/3;object-fit:cover;object-position:50% 35%}
@media (max-width:640px){ .photo-grid.photo-grid-2{grid-template-columns:minmax(0,1fr)} }
