/* Digital Design SLC SEO - public site.
   Design tokens are documented in docs/DESIGN_SYSTEM.md. Ink, paper and white with one accent; colours come from public/css/palettes.css.
   Motion is driven by public/js/site.js (GSAP + ScrollTrigger + Lenis); everything is visible without JS. */

@font-face { font-family: 'Switzer'; src: url('/fonts/switzer-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('/fonts/switzer-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('/fonts/switzer-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('/fonts/switzer-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: var(--p-ink);
  --ink-2: var(--p-ink-2);
  --ink-3: var(--p-ink-3);
  --ink-line: rgb(255 255 255 / 0.1);
  --paper: var(--p-paper);
  --white: #ffffff;
  --fill: var(--p-fill);
  --text: var(--p-text);
  --text-2: var(--p-text-2);
  --text-3: var(--p-text-3);
  --line: var(--p-line);
  --line-2: var(--p-line-2);
  --on-ink: var(--p-on-ink);
  --on-ink-2: var(--p-on-ink-2);
  --on-ink-3: var(--p-on-ink-3);
  --accent: var(--p-accent);
  --accent-2: var(--p-accent-2);
  --accent-deep: var(--p-accent-deep);
  --accent-ink: var(--p-accent-ink);
  --on-accent: var(--p-on-accent);
  --accent-lum: var(--p-lum);
  --accent-soft: var(--p-soft);
  --hi: var(--p-hi);
  --wash: 255 255 255;
  --error: #b42318;
  --error-soft: #fdf1f0;

  --display: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --sans: 'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1240px;
  --gutter: 32px;
  --header-h: 80px;
  --section-y: clamp(72px, 8vw, 120px);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 1px 2px rgb(var(--p-text-rgb) / 0.04), 0 18px 48px -24px rgb(var(--p-text-rgb) / 0.18);
  --shadow-float: 0 40px 100px -40px rgb(var(--p-ink-rgb) / 0.5);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas, video { display: block; max-width: 100%; }
html, img { dynamic-range-limit: no-limit; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -0.028em; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-lum); outline-offset: 3px; border-radius: 8px; }
[tabindex="-1"]:focus { outline: none; } /* sections that receive focus from in-page links */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 200; background: var(--white); color: var(--p-text); padding: 12px 18px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.lum { color: var(--accent-lum); }
.display-2 { font-size: clamp(2.4rem, 4.6vw, 4.25rem); line-height: 1.02; letter-spacing: -0.04em; }
.lead { font-size: clamp(1.1875rem, 1.5vw, 1.3125rem); line-height: 1.55; color: var(--text-2); max-width: 600px; }
.section-top { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }
.section-top .lead { margin: 0; justify-self: end; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--accent-ink); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; transition: gap 0.3s var(--ease); }
.link-arrow:hover { gap: 16px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-weight: 600; font-size: 1.0625rem; white-space: nowrap; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: background-color 0.3s var(--ease), color 0.3s, border-color 0.3s, box-shadow 0.4s var(--ease);
}
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgb(var(--p-on-accent-rgb) / 0.38) 50%, transparent 70%); transform: translateX(-130%); transition: transform 0.9s var(--ease-out); }
.btn:hover::after { transform: translateX(130%); }
.btn .icon { transition: transform 0.3s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 1px 0 rgb(var(--p-on-accent-rgb) / 0.18); }
.btn-primary:hover { background: var(--accent-2); }
.btn-light { background: #fff; color: var(--p-text); }
.btn-light::after { background: linear-gradient(110deg, transparent 30%, rgb(var(--p-text-rgb) / 0.07) 50%, transparent 70%); }
.btn-outline { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-outline:hover { border-color: var(--text); }
.btn-outline-light { background: rgb(var(--wash) / 0.04); border-color: rgb(var(--wash) / 0.3); color: var(--on-ink); }
.btn-outline-light:hover { border-color: var(--on-ink); }
.btn-sm { height: 46px; padding: 0 22px; font-size: 1rem; }
.btn-lg { height: 60px; padding: 0 30px; font-size: 1.125rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ---------- Header ---------- */
/* Header: a floating glass capsule (iOS style), always on screen. It adapts to the section below it. */
.site-header {
  --glass-bg: rgb(var(--p-ink2-rgb) / 0.36); --glass-edge: rgba(255, 255, 255, 0.16); --glass-hi: rgba(255, 255, 255, 0.18); --glass-shadow: 0 14px 40px -18px rgba(0, 0, 0, 0.6);
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: var(--on-ink); pointer-events: none;
  transition: color 0.4s var(--ease);
}
.site-header[data-theme='light'] { --glass-bg: rgba(255, 255, 255, 0.64); --glass-edge: rgb(var(--p-text-rgb) / 0.08); --glass-hi: rgba(255, 255, 255, 0.95); --glass-shadow: 0 14px 40px -20px rgb(var(--p-text-rgb) / 0.3); color: var(--text); }
.site-header .header-inner {
  position: relative; pointer-events: auto; display: flex; align-items: center; gap: 28px;
  width: calc(100% - 24px); max-width: calc(var(--container) + 40px); height: calc(var(--header-h) - 18px); margin: 12px auto 0; padding: 0 10px 0 18px;
  border-radius: 999px; background: var(--glass-bg); border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--glass-shadow);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header .header-inner::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 55%); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 36px; height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.3125rem; letter-spacing: -0.03em; color: var(--p-pink-lum); }
.site-header[data-theme='light'] .brand-name { color: var(--p-pink); }
.menu-open .site-header .brand-name { color: var(--p-pink-lum); }
.brand-sub { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.3em; opacity: 0.7; margin-top: 5px; }
.main-nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 15px; border-radius: 999px; font-size: 1.0625rem; font-weight: 500; background: none; border: 0; cursor: pointer; opacity: 0.88; transition: opacity 0.2s, background-color 0.2s; }
.nav-link:hover, .nav-link.is-active, .nav-trigger[aria-expanded='true'] { opacity: 1; background: rgba(128, 128, 140, 0.16); }
.nav-trigger .icon { transition: transform 0.3s var(--ease); }
.nav-trigger[aria-expanded='true'] .icon { transform: rotate(180deg); }
/* Services menu: a solid white panel centred under the header capsule.
   3 x 2 grid (five services plus the free breakdown), one line of copy each, and a footer row. */
.has-menu { position: static; }
.mega {
  position: absolute; z-index: 5; top: calc(100% + 12px); left: 50%; width: min(960px, calc(100vw - 48px)); padding: 10px; color: var(--text);
  background: var(--white); border-radius: 26px; box-shadow: 0 40px 90px -30px rgb(var(--p-ink-rgb) / 0.55), 0 0 0 1px rgb(var(--p-text-rgb) / 0.06);
  opacity: 0; visibility: hidden; transform: translate(-50%, -8px) scale(0.985); transform-origin: 50% 0;
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease-out), visibility 0.25s;
}
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-menu.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mega-link, .mega-feature { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border-radius: 18px; transition: background-color 0.2s; }
.mega-link:hover, .mega-link:focus-visible, .mega-link.is-current { background: var(--fill); }
.mega-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-ink); }
.mega-copy { min-width: 0; }
.mega-title { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 1.0625rem; line-height: 1.25; color: var(--p-text); margin: 2px 0 5px; }
.mega-text { display: block; font-size: 1rem; line-height: 1.45; color: var(--text-3); }
.mega-arrow { opacity: 0; transform: translateX(-4px); transition: opacity 0.2s, transform 0.25s var(--ease); }
.mega-link:hover .mega-arrow, .mega-feature:hover .mega-arrow, .mega-link:focus-visible .mega-arrow { opacity: 1; transform: none; }
.mega-feature { background: var(--accent); color: var(--on-accent); }
.mega-feature .mega-ic { background: rgb(var(--p-on-accent-rgb) / 0.14); color: var(--on-accent); }
.mega-feature .mega-title { color: var(--on-accent); }
.mega-feature .mega-text { color: rgb(var(--p-on-accent-rgb) / 0.82); }
.mega-feature .mega-arrow { opacity: 1; transform: none; }
.mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: 6px; padding: 14px 18px 8px; border-top: 1px solid var(--line); font-size: 1rem; color: var(--text-3); }
.mega-foot a { font-weight: 600; color: var(--accent-ink); }
.mega-all { display: inline-flex; align-items: center; gap: 6px; }
.mega-all:hover .icon { transform: translateX(3px); }
.mega-all .icon { transition: transform 0.25s var(--ease); }
.header-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.header-phone { font-weight: 600; font-size: 1.0625rem; }
.menu-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid currentColor; background: transparent; cursor: pointer; opacity: 0.9; }
.menu-lines { position: relative; width: 20px; height: 10px; }
.menu-lines i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out); }
.menu-lines i:first-child { top: 0; }
.menu-lines i:last-child { top: 8px; }
.menu-toggle[aria-expanded='true'] .menu-lines i:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-lines i:last-child { top: 4px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: -1; pointer-events: auto; padding: calc(var(--header-h) + 16px) 0 40px; overflow-y: auto; background: rgb(var(--p-ink-rgb) / 0.86); color: var(--on-ink); -webkit-backdrop-filter: blur(28px) saturate(160%); backdrop-filter: blur(28px) saturate(160%); }
.mobile-list a { display: block; padding: 14px 0; font-family: var(--display); font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; border-bottom: 1px solid var(--ink-line); }
.mobile-actions { display: grid; gap: 12px; margin-top: 28px; }
.mobile-menu .btn-outline { color: var(--on-ink); border-color: rgb(var(--wash) / 0.3); }
.menu-open .site-header { --glass-bg: rgb(var(--p-ink2-rgb) / 0.5); --glass-edge: rgba(255, 255, 255, 0.16); --glass-hi: rgba(255, 255, 255, 0.18); color: var(--on-ink); transform: none; }

/* ---------- Light palettes: these normally-dark sections are rendered with data-theme="light" ---------- */
.hero[data-theme="light"], .services[data-theme="light"], .contact-band[data-theme="light"], .page-hero[data-theme="light"] {
  --ink: var(--p-paper); --ink-2: var(--white); --ink-3: var(--fill); --ink-line: var(--p-line);
  --on-ink: var(--p-text); --on-ink-2: var(--p-text-2); --on-ink-3: var(--p-text-3);
  --wash: var(--p-text-rgb); --accent-lum: var(--p-accent-ink);
}
.hero[data-theme="light"] .audit-bar { background: var(--white); border-color: var(--line-2); box-shadow: 0 24px 60px -30px rgb(var(--p-text-rgb) / 0.35), 0 2px 6px rgb(var(--p-text-rgb) / 0.05); }
.hero[data-theme="light"] .audit-bar:focus-within { border-color: var(--accent); box-shadow: 0 0 0 5px rgb(var(--p-accent-rgb) / 0.16), 0 24px 60px -30px rgb(var(--p-text-rgb) / 0.35); }
.services[data-theme="light"] .stack-inner { box-shadow: 0 0 0 1px var(--line), 0 -24px 50px -36px rgb(var(--p-text-rgb) / 0.4), 0 40px 80px -44px rgb(var(--p-text-rgb) / 0.45); }
.services[data-theme="light"] .stack-dim { background: var(--p-paper); }
.contact-band[data-theme="light"] .form-card { box-shadow: 0 0 0 1px var(--line), 0 40px 90px -40px rgb(var(--p-text-rgb) / 0.35); }
.page-hero[data-theme="light"] .scene-frame { box-shadow: 0 0 0 1px var(--line), 0 40px 90px -40px rgb(var(--p-text-rgb) / 0.4); background: var(--p-ink-2); }

/* ---------- Hero: headline and audit field on the left, Brittany's photo running to the right edge ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: var(--on-ink); background: var(--ink); overflow: hidden; isolation: isolate; }
/* The photo fills the right half and fades into the section on its left edge, so the headline needs no panel. */
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; margin: 0; z-index: -1; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%); mask-image: linear-gradient(90deg, transparent, #000 34%); }
.hero-name { position: absolute; right: clamp(20px, 3vw, 44px); bottom: clamp(20px, 4vw, 48px); display: flex; flex-direction: column; gap: 2px; padding: 14px 20px; border-radius: 16px; background: rgb(255 255 255 / 0.94); color: var(--p-text); box-shadow: 0 18px 40px -22px rgb(var(--p-ink-rgb) / 0.45); font-size: 1rem; line-height: 1.35; }
.hero-name strong { font-size: 1.0625rem; font-weight: 600; }
.hero-name span { color: var(--p-text-2); }

.hero-inner { display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding-top: calc(var(--header-h) + 32px); padding-bottom: 64px; }
.hero-title { max-width: min(640px, 46vw); margin-bottom: 22px; font-size: clamp(2.5rem, 4.6vw, 4.5rem); line-height: 1.02; letter-spacing: -0.042em; font-weight: 600; text-wrap: balance; }
.hero-lead { max-width: min(520px, 42vw); margin: 0 0 30px; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.55; color: var(--on-ink-2); }
.audit-bar {
  display: flex; align-items: center; gap: 8px; width: 100%; max-width: 560px; padding: 8px 8px 8px 26px; border-radius: 999px; text-align: left;
  background: rgb(var(--wash) / 0.08); border: 1px solid rgb(var(--wash) / 0.18);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgb(var(--wash) / 0.12);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.audit-bar:focus-within { border-color: var(--accent-lum); box-shadow: 0 0 0 5px rgb(var(--p-glow-rgb) / 0.28), 0 30px 80px -30px rgba(0, 0, 0, 0.7); }
.audit-bar input { flex: 1 1 auto; min-width: 0; height: 52px; border: 0; background: none; color: var(--on-ink); font: inherit; font-size: 1.125rem; outline: none; }
.audit-bar input::placeholder { color: rgb(var(--wash) / 0.6); }
.hero-call { margin: 18px 0 0; font-size: 1.0625rem; color: var(--on-ink-2); }
.hero-call a { display: inline-block; padding: 8px 0; color: var(--on-ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgb(var(--wash) / 0.4); text-underline-offset: 5px; }

@media (prefers-reduced-motion: no-preference) {
  .hero [data-hero-in], .hero [data-hero-title] { opacity: 0; animation: heroFallback 0.01s 2.5s forwards; }
  .hero-ready .hero [data-hero-in], .hero-ready .hero [data-hero-title] { animation: none; opacity: 1; }
}
@keyframes heroFallback { to { opacity: 1; } }


/* ---------- Story (pinned full screen on desktop) ---------- */
.story { position: relative; padding: var(--section-y) 0; background: var(--paper); overflow: hidden; }
.story-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.story-copy .display-2 { margin-bottom: 36px; }
.story-steps { display: grid; gap: 32px; }
.story-step h3 { font-size: clamp(1.75rem, 2.7vw, 2.5rem); line-height: 1.08; margin-bottom: 14px; }
.story-step p { font-size: 1.1875rem; color: var(--text-2); max-width: 480px; margin: 0; }
.story-nav { display: none; }
.story-stage { position: relative; height: min(76vh, 720px); display: flex; align-items: center; justify-content: center; }
.story-stage .scene--story { height: 100%; width: auto; aspect-ratio: 390 / 780; position: relative; z-index: 1; }
@media (min-width: 1024px) {
  .motion .story { padding: 0; }
  .motion .story-layout { min-height: 100vh; padding-top: calc(var(--header-h) + 16px); padding-bottom: 24px; }
  .motion .story-steps { position: relative; display: block; min-height: 15.5rem; }
  .motion .story-step { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(24px); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease-out); pointer-events: none; }
  .motion .story-step.is-current { opacity: 1; transform: none; pointer-events: auto; }
  .motion .story-nav { display: flex; gap: 10px; margin-top: 28px; }
  .story-nav li { flex: 1; font-size: 1rem; font-weight: 500; color: var(--text-3); }
  .story-nav i { display: block; height: 3px; border-radius: 3px; background: linear-gradient(var(--accent), var(--accent)) 0 0 / var(--fill, 0%) 100% no-repeat, var(--line-2); margin-bottom: 10px; transition: box-shadow 0.4s; }
  .story-nav li.is-on { color: var(--text); }
  .story-nav li { transition: color 0.4s var(--ease); }
  .story:not(.is-scrub) .story-nav li.is-on i { --fill: 100%; }
  /* Scrubbed story: GSAP owns every property, so no CSS transitions fight it. */
  .story.is-scrub .story-step { transition: none; will-change: opacity, transform, filter; }
}

/* ---------- Services: a deck of photo cards that stack as you scroll ---------- */
.services { position: relative; padding: var(--section-y) 0; background: var(--ink); color: var(--on-ink); }
.services .lead { color: var(--on-ink-2); }
.stack { position: relative; }
.stack-card { position: sticky; top: calc(var(--header-h) + 24px + var(--i) * 14px); }
.stack-card + .stack-card { margin-top: 14vh; }
.stack-inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; height: clamp(500px, calc(100svh - var(--header-h) - 130px), 640px); border-radius: 32px; overflow: hidden; background: var(--white); color: var(--text); box-shadow: 0 -30px 60px -36px rgba(0, 0, 0, 0.8), 0 40px 80px -40px rgba(0, 0, 0, 0.6); transform-origin: 50% 0%; }
.stack-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(30px, 3.6vw, 52px); }
.stack-num { font-family: var(--display); font-size: clamp(3.5rem, 5vw, 4.75rem); font-weight: 600; line-height: 0.9; letter-spacing: -0.05em; color: var(--p-pink); }
.stack-copy h3 { font-size: clamp(2.1rem, 3.1vw, 3rem); letter-spacing: -0.035em; color: var(--p-text); margin-bottom: 14px; }
.stack-copy p { font-size: 1.1875rem; line-height: 1.55; color: var(--text-2); max-width: 480px; margin-bottom: 22px; }
.stack-list { display: grid; gap: 12px; margin: 0 0 30px; padding: 0; list-style: none; }
.stack-list li { display: flex; align-items: center; gap: 12px; font-size: 1.0625rem; font-weight: 500; color: var(--text); }
.stack-list .icon { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
.stack-media { position: relative; margin: 14px 14px 14px 0; border-radius: 22px; overflow: hidden; background: var(--paper); }
.stack-media picture { display: contents; }
.stack-media img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.stack-dim { position: absolute; inset: 0; background: var(--ink); opacity: 0; pointer-events: none; }
.stack-card--audit .stack-inner { grid-template-columns: 1fr 1fr; background: var(--accent); color: var(--on-accent); }
.stack-card--audit .stack-copy { justify-content: center; }
.stack-card--audit h3 { color: var(--on-accent); }
.stack-card--audit p { color: rgb(var(--p-on-accent-rgb) / 0.85); }
.stack-checks { display: grid; align-content: center; gap: 22px; margin: 14px 14px 14px 0; padding: clamp(26px, 3vw, 44px); border-radius: 22px; background: rgb(var(--p-on-accent-rgb) / 0.1); list-style: none; }
.stack-checks li { display: flex; align-items: flex-start; gap: 14px; font-size: 1.0625rem; line-height: 1.45; color: rgb(var(--p-on-accent-rgb) / 0.85); }
.stack-checks b { display: block; margin-bottom: 2px; font-size: 1.1875rem; font-weight: 600; color: var(--on-accent); }
.stack-checks .icon { flex: none; margin-top: 1px; color: var(--on-accent); }

/* ---------- Statement (dark, scroll-lit words) ---------- */
.statement { position: relative; padding: clamp(88px, 10vw, 144px) 0; background: var(--ink); color: var(--on-ink); overflow: hidden; isolation: isolate; border-top: 1px solid var(--ink-line); }
.statement-text { font-family: var(--display); font-size: clamp(2rem, 4.1vw, 3.9rem); line-height: 1.1; letter-spacing: -0.035em; font-weight: 500; max-width: 1180px; margin: 0; text-wrap: balance; }

/* ---------- Process ---------- */
.process { padding: var(--section-y) 0; background: var(--paper); }
.process-track { position: relative; }
.process-line { position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.process-line span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(1); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.process-step { position: relative; padding-top: 44px; }
.process-dot { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 2px solid var(--accent); transition: background-color 0.4s, border-color 0.4s, box-shadow 0.4s; }
.motion .process-dot { background: var(--white); border-color: var(--line-2); }
.motion .process-step.is-lit .process-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgb(var(--p-accent-rgb) / 0.16); }
.process-num { display: block; font-family: var(--display); font-weight: 600; font-size: 1.125rem; color: var(--p-pink); margin-bottom: 10px; }
.process-step h3 { font-size: 1.625rem; margin-bottom: 10px; }
.process-step p { color: var(--text-2); margin: 0; font-size: 1.0625rem; }

/* ---------- Local (full-bleed HDR photo) ---------- */
.local { position: relative; min-height: min(96vh, 900px); display: flex; align-items: flex-end; color: var(--on-ink); background: var(--ink); overflow: hidden; isolation: isolate; }
.local-media { position: absolute; inset: 0; z-index: -1; }
.local-media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 50% 72%; }
.local-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(var(--p-ink-rgb) / 0.45) 0%, transparent 24%, transparent 42%, rgb(var(--p-ink-rgb) / 0.7) 68%, rgb(var(--p-ink-rgb) / 0.95) 100%); }
.local-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: end; padding-top: 40vh; padding-bottom: clamp(40px, 5vw, 72px); }
.local-copy .display-2 { margin-bottom: 20px; }
.local .lead { color: var(--on-ink-2); }
.local-panel { padding: 26px 28px; border-radius: 24px; background: rgb(var(--p-ink2-rgb) / 0.55); border: 1px solid rgb(var(--wash) / 0.16); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); }
.county + .county { margin-top: 20px; }
.county h3 { font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; color: var(--on-ink); margin-bottom: 12px; letter-spacing: 0; }
.county ul { display: flex; flex-wrap: wrap; gap: 8px; }
.county li { padding: 8px 14px; border-radius: 999px; border: 1px solid rgb(var(--wash) / 0.22); font-size: 1rem; font-weight: 500; color: var(--on-ink-2); transition: border-color 0.5s, color 0.5s, background-color 0.5s, box-shadow 0.5s; }
.county li.is-lit { border-color: var(--accent-lum); color: var(--on-ink); background: rgb(var(--p-glow-rgb) / 0.28); }

/* ---------- Facts ---------- */
.facts { padding: clamp(48px, 6vw, 88px) 0; background: var(--white); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 8px 28px 8px 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact-value { font-family: var(--display); font-weight: 600; font-size: clamp(3.4rem, 6vw, 5.4rem); line-height: 0.95; color: var(--text); margin-bottom: 14px; letter-spacing: -0.05em; }
.fact-label { font-weight: 600; font-size: 1.1875rem; margin-bottom: 2px; }
.fact-note { color: var(--text-3); margin: 0; font-size: 1.0625rem; }

/* ---------- Founder ---------- */
.founder { padding: var(--section-y) 0; background: var(--paper); }
.founder-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.founder-portrait { position: relative; margin: 0; aspect-ratio: 4 / 5; max-height: 560px; border-radius: var(--radius-xl); background: var(--p-soft); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.founder-portrait img { position: relative; height: 94%; width: auto; object-fit: contain; filter: drop-shadow(0 30px 40px rgb(var(--p-ink-rgb) / 0.25)); }
/* Real photographs fill their frame. */
.founder-portrait.is-photo, .about-hero-photo.is-photo { background: var(--p-paper); box-shadow: 0 30px 60px -36px rgb(var(--p-ink-rgb) / 0.4); }
.about-hero-photo.is-photo picture { display: contents; }
.founder-portrait.is-photo img, .about-hero-photo.is-photo img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.founder-portrait.is-photo img { object-position: 50% 30%; }
.founder-quote { font-family: var(--display); font-weight: 500; font-size: clamp(1.75rem, 2.9vw, 2.6rem); line-height: 1.16; letter-spacing: -0.03em; margin-bottom: 22px; }
.founder-sign { font-size: 1.125rem; color: var(--text-2); margin-bottom: 28px; }
.founder-sign strong { color: var(--text); }
.timeline { border-left: 2px solid var(--line-2); margin-bottom: 28px; }
.timeline li { position: relative; display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 0 0 18px 26px; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--paper); }
.timeline-when { font-weight: 600; }
.timeline-what { color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq-section { padding: var(--section-y) 0; background: var(--white); }
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-grid .lead { margin-top: 20px; }
.faq-grid .lead a { color: var(--accent-ink); font-weight: 600; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-family: var(--display); font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); flex-shrink: 0; transition: background-color 0.3s, border-color 0.3s, transform 0.5s var(--ease-out); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; border-radius: 2px; transition: transform 0.4s var(--ease-out); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: rotate(180deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-answer p { margin: 0; padding: 0 56px 24px 0; color: var(--text-2); font-size: 1.125rem; }

/* ---------- Contact band (dark) + forms ---------- */
.contact-band { position: relative; padding: clamp(48px, 5vw, 72px) 0; background: var(--ink); color: var(--on-ink); overflow: hidden; isolation: isolate; }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.contact-copy .display-2 { margin-bottom: 20px; }
.contact-band .lead, .page-hero .lead { color: var(--on-ink-2); }
.contact-methods { margin-top: 28px; border-top: 1px solid var(--line); }
.contact-methods div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact-methods dt { color: var(--text-3); }
.contact-methods dd { font-weight: 600; word-break: break-word; }
.contact-band .contact-methods, .contact-band .contact-methods div, .page-hero .contact-methods, .page-hero .contact-methods div { border-color: var(--ink-line); }
.contact-band .contact-methods dt, .page-hero .contact-methods dt { color: var(--on-ink-3); }
.contact-methods a:hover { color: var(--accent-lum); }

.form-card { background: var(--white); color: var(--text); border-radius: var(--radius-xl); padding: clamp(24px, 2.6vw, 36px); box-shadow: var(--shadow-float); }
.lead-form-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 18px; }
.lead-form-title { font-size: 1.625rem; margin: 0; }
.lead-form-sub { color: var(--text-3); margin: 0; }
.form-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px 14px; }
.f-third { grid-column: span 2; }
.f-half { grid-column: span 3; }
.field { display: flex; flex-direction: column; min-width: 0; border: 0; margin: 0; padding: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 1rem; font-weight: 600; margin-bottom: 6px; padding: 0; }
.req { color: var(--accent-ink); }
.hint { color: var(--text-3); font-weight: 400; }
.field input, .field textarea { width: 100%; height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--fill); color: var(--text); font: inherit; font-size: 1.0625rem; transition: border-color 0.25s, box-shadow 0.25s; }
.field textarea { height: auto; padding: 12px 16px; resize: vertical; min-height: 76px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--p-text-3) 75%, #ffffff); }
.field input:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--p-line-2) 75%, var(--p-text-3)); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 5px rgb(var(--p-accent-rgb) / 0.16); }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field-error { margin: 8px 0 0; font-size: 1rem; color: var(--error); }
.field-error:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--fill); font-size: 1rem; font-weight: 500; color: var(--text-2); transition: all 0.25s var(--ease); user-select: none; }
.chip:hover span { border-color: var(--text-3); color: var(--text); }
.chip input:checked + span { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field .consent { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; font-weight: 400; line-height: 1.5; color: var(--text-3); cursor: pointer; margin: 0; }
.consent input { width: 20px; height: 20px; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--accent); }
.consent a { color: var(--accent-ink); text-decoration: underline; }
.form-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 18px; }
.form-note { margin: 0; color: var(--text-3); }
.form-status { margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--error-soft); color: var(--error); }
.form-status:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgb(var(--p-on-accent-rgb) / 0.4); border-top-color: var(--on-accent); animation: spin 0.7s linear infinite; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { text-align: center; padding: 36px 8px; outline: none; }
.form-success h3 { font-size: 2rem; margin: 18px 0 10px; }
.form-success p { color: var(--text-2); margin: 0 auto; max-width: 440px; }
.form-success a { color: var(--accent-ink); font-weight: 600; }
.success-icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.lead-form.is-done > :not(.form-success) { display: none; }
.lead-form.is-done .form-success { display: block; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(44px, 6vw, 88px)) 0 clamp(56px, 7vw, 96px); background: var(--ink); color: var(--on-ink); overflow: hidden; isolation: isolate; }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.page-title { font-size: clamp(2.6rem, 5.4vw, 4.75rem); line-height: 1; letter-spacing: -0.045em; margin-bottom: 24px; text-wrap: balance; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; color: var(--on-ink-3); margin-bottom: 24px; font-size: 1rem; }
.crumbs a { color: var(--on-ink-2); }
.crumbs a:hover { color: var(--on-ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.scene-frame { position: relative; aspect-ratio: 3 / 2; max-height: 500px; border-radius: var(--radius-xl); background: var(--ink-2); padding: 24px; box-shadow: var(--shadow-float), inset 0 0 0 1px var(--ink-line); overflow: hidden; }
.section { padding: var(--section-y) 0; }
.section-paper { background: var(--paper); }
.section-white { background: var(--white); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 88px); align-items: start; }
.signs li { position: relative; padding: 20px 0 20px 48px; border-bottom: 1px solid var(--line-2); font-size: 1.1875rem; font-weight: 500; }
.signs li:first-child { border-top: 1px solid var(--line-2); }
.signs li::before { content: ''; position: absolute; left: 0; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; border: 1.5px solid var(--accent); background: radial-gradient(circle, var(--accent) 0 4px, transparent 5px); }
.copy-stack p { color: var(--text-2); font-size: 1.125rem; }
.copy-stack .display-2 { margin-bottom: 24px; }
.includes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.include { display: flex; gap: 14px; align-items: flex-start; padding: 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); font-size: 1.125rem; font-weight: 500; transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease); }
.include:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.include .icon { color: var(--accent-ink); margin-top: 3px; }
.quote-band { position: relative; padding: clamp(80px, 9vw, 128px) 0; background: var(--ink); color: var(--on-ink); text-align: center; overflow: hidden; isolation: isolate; }
.quote-band blockquote { margin: 0 auto 20px; max-width: 1000px; font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1.04; letter-spacing: -0.04em; }
.quote-band p { max-width: 720px; margin: 0 auto; color: var(--on-ink-2); font-size: 1.1875rem; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.related-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--ink-2); color: var(--on-ink); overflow: hidden; border: 1px solid var(--ink-line); transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.4s; }
.related-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgb(var(--p-ink-rgb) / 0.5); border-color: rgb(var(--p-lum-rgb) / 0.45); }
.related-scene { height: 200px; padding: 14px 14px 0; }
.related-title { padding: 16px 20px 20px; font-weight: 600; font-size: 1.1875rem; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.checks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.check { padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.check h3 { font-size: 1.5rem; margin-bottom: 8px; }
.check p { margin: 0; color: var(--text-2); }
.check-num { display: block; font-family: var(--display); font-weight: 500; font-size: 1.125rem; color: var(--accent-ink); margin-bottom: 14px; }
.service-rows > .service-row:first-child { border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .service-rows .service-row:nth-child(even) > div { order: 2; } }
.service-row { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); }
.service-row h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); margin-bottom: 12px; }
.service-row p { color: var(--text-2); font-size: 1.125rem; margin-bottom: 18px; max-width: 560px; }
.service-row .scene-frame { padding: 16px; }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.875rem; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-2); line-height: 1.75; }
.prose a { color: var(--accent-ink); text-decoration: underline; }
.status-page { min-height: 78vh; display: flex; align-items: center; text-align: center; }
.status-page .lead { margin-left: auto; margin-right: auto; }
.status-page .hero-actions { justify-content: center; }
.page-hero[data-theme="light"] .btn-light { background: var(--accent); color: var(--on-accent); }
.page-hero[data-theme="light"] .btn-light:hover { background: var(--accent-2); }
.map-frame { border-radius: var(--radius-xl); overflow: hidden; height: 420px; background: var(--paper); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.about-hero-photo { position: relative; margin: 0; aspect-ratio: 4 / 5; max-width: 420px; justify-self: end; width: 100%; border-radius: var(--radius-xl); overflow: hidden; background: var(--p-ink-2); display: flex; align-items: flex-end; justify-content: center; }
.about-hero-photo img { position: relative; height: 94%; width: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45)); }
.story-body p { font-size: 1.1875rem; line-height: 1.7; color: var(--text-2); }
.story-body .big { font-family: var(--display); font-weight: 500; font-size: clamp(1.75rem, 2.8vw, 2.4rem); line-height: 1.15; color: var(--text); margin-bottom: 28px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.value { padding: 32px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.value h3 { font-size: 1.625rem; margin-bottom: 10px; }
.value p { margin: 0; color: var(--text-2); }
.statement-tight { padding: clamp(72px, 8vw, 120px) 0; }
.signs-dark { margin-top: 28px; }
.signs-dark li { border-color: var(--ink-line) !important; color: var(--on-ink); font-size: 1.125rem; }
.process-steps.steps-three { grid-template-columns: repeat(3, 1fr); }
.timeline-lg li { grid-template-columns: 190px 1fr; font-size: 1.1875rem; padding-bottom: 28px; }
.page-hero .link-arrow { color: var(--accent-lum); }
.line { padding-bottom: 0.08em; margin-bottom: -0.08em; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: var(--on-ink-2); padding: clamp(64px, 7vw, 96px) 0 28px; overflow: hidden; border-top: 1px solid var(--ink-line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 32px; }
.site-footer .brand { color: var(--on-ink); }
.footer-brand p { margin: 18px 0 0; max-width: 340px; }
/* Official BBB seal (white card by BBB). */
.bbb-seal { display: inline-block; margin-top: 18px; line-height: 0; border-radius: 10px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.bbb-seal img { display: block; width: 280px; max-width: 100%; height: auto; border-radius: 10px; }
.bbb-seal:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgb(var(--p-ink-rgb) / 0.45); }
.footer-bbb .bbb-seal { margin-top: 22px; }
.footer-col h2 { font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; color: var(--on-ink); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { transition: color 0.2s; }
.footer-col a:hover { color: var(--p-pink-lum); }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ink-line); transition: all 0.25s; }
.social a:hover { color: var(--p-pink-lum); border-color: var(--p-pink-lum); }
.wordmark { position: relative; width: 100%; aspect-ratio: 5867 / 973; margin: 12px 0 26px; isolation: isolate; }
.wordmark-layer { position: absolute; inset: 0; -webkit-mask: url('/img/wordmark.svg') center / 100% 100% no-repeat; mask: url('/img/wordmark.svg') center / 100% 100% no-repeat; }
.wordmark-base { background: var(--p-accent-ink); }
.wordmark-light { background: linear-gradient(105deg, transparent 0%, transparent 40%, rgb(255 255 255 / 0.4) 46%, rgb(255 255 255 / 0.85) 50%, rgb(255 255 255 / 0.4) 54%, transparent 60%, transparent 100%) no-repeat; background-size: 220% 100%; background-position: 130% 0; animation: wm-sweep 6s cubic-bezier(0.45, 0.05, 0.25, 1) infinite; }
@keyframes wm-sweep { 0%, 12% { background-position: 130% 0; } 72%, 100% { background-position: -30% 0; } }
/* HDR screens: the sweep is a PQ-encoded light streak that renders brighter than the page's white. */
@media (dynamic-range: high) {
  .wordmark-light { background: url('/img/light-streak-white.avif') no-repeat; background-size: 24% 130%; background-position: -30% 50%; animation-name: wm-sweep-hdr; }
}
@keyframes wm-sweep-hdr { 0%, 12% { background-position: -30% 50%; } 72%, 100% { background-position: 130% 50%; } }

/* ---------- HDR light (screens that report dynamic-range: high) ----------
   A small streak of light whose core is brighter than the page white (--p-hdr-glint, /img/hdr/) crosses the buttons
   and the free-audit card. Text and backgrounds stay flat. Off for the Burgundy theme.
   CSS filters and blend modes are kept off these layers, because they would flatten them back to SDR. */
@media (dynamic-range: high) {
  /* Buttons: the hover light sweep is real light; the main calls to action sweep on their own. */
  html:not([data-palette="burgundy"]) .btn-primary::after, html:not([data-palette="burgundy"]) .btn-light::after { background: var(--p-hdr-glint) center / 60% 170% no-repeat; }
  html:not([data-palette="burgundy"]) .audit-bar .btn::after, html:not([data-palette="burgundy"]) .header-cta::after { animation: hdr-btn-glint 6.5s cubic-bezier(0.45, 0.05, 0.25, 1) infinite; }
  /* The free-audit card gets a slow sweep of light. */
  html:not([data-palette="burgundy"]) .stack-card--audit .stack-inner::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: var(--p-hdr-glint) -40% 50% / 26% 160% no-repeat; animation: hdr-card-sweep 9s cubic-bezier(0.45, 0.05, 0.25, 1) infinite; }
}
@keyframes hdr-btn-glint { 0%, 70% { transform: translateX(-130%); } 92%, 100% { transform: translateX(130%); } }
@keyframes hdr-card-sweep { 0%, 45% { background-position: -40% 50%; } 80%, 100% { background-position: 140% 50%; } }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--ink-line); font-size: 1rem; color: var(--on-ink-3); }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--on-ink); }
.mobile-call { display: none; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--on-accent); align-items: center; justify-content: center; box-shadow: 0 12px 30px -10px rgb(var(--p-ink-rgb) / 0.45); transition: opacity 0.3s var(--ease), transform 0.4s var(--ease-out); }
.mobile-call.is-hidden { opacity: 0; transform: translateY(20px) scale(0.9); pointer-events: none; }

/* Theme switcher: shown only to signed-in team members while the theme is being chosen. */
.tpick { position: fixed; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 95; font-size: 1rem; color: var(--p-text); }
.tpick-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 10px; border: 1px solid var(--p-line); border-radius: 999px; background: rgb(255 255 255 / 0.92); color: var(--p-text); font: inherit; cursor: pointer; box-shadow: 0 16px 40px -18px rgb(var(--p-ink-rgb) / 0.55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.tpick-btn b { font-weight: 600; }
.tpick-sw { display: inline-flex; flex: none; }
.tpick-sw i { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px rgb(var(--p-text-rgb) / 0.12); }
.tpick-sw i + i { margin-left: -6px; }
.tpick-panel { position: absolute; left: 0; bottom: calc(100% + 10px); width: min(340px, calc(100vw - 32px)); padding: 10px; border-radius: 22px; background: #ffffff; box-shadow: 0 30px 70px -24px rgb(var(--p-ink-rgb) / 0.5), 0 0 0 1px rgb(var(--p-text-rgb) / 0.08); }
.tpick-title { margin: 6px 10px 8px; font-weight: 600; }
.tpick-list { display: grid; gap: 2px; }
.tpick-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border: 0; border-radius: 14px; background: none; color: var(--p-text); font: inherit; text-align: left; cursor: pointer; }
.tpick-opt:hover, .tpick-opt:focus-visible { background: var(--p-fill); }
.tpick-opt[aria-pressed="true"] { background: var(--p-soft); box-shadow: inset 0 0 0 1.5px var(--p-accent-ink); }
.tpick-txt b { display: block; font-weight: 600; }
.tpick-txt small { display: block; font-size: 0.9375rem; color: var(--p-text-3); }
.tpick-note { margin: 8px 10px 6px; font-size: 0.9375rem; line-height: 1.45; color: var(--p-text-3); }
.tpick-note code { word-break: break-all; color: var(--p-text-2); }
@media (max-width: 640px) { .tpick-btn span:not(.tpick-sw) { display: none; } .tpick-btn { padding: 0 12px; } }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; background: var(--accent); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* Grid children may shrink below the intrinsic width of scaled scenes. */
.story-layout > *, .split > *, .page-hero-grid > *, .contact-grid > *, .local-inner > *, .founder-grid > *, .faq-grid > *,
.section-top > *, .service-row > *, .related-grid > *, .includes-grid > * { min-width: 0; }
.scene-frame, .related-scene { contain: layout paint; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .f-third { grid-column: span 3; }
  .f-third:first-child { grid-column: 1 / -1; }
  .includes-grid, .checks-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1023px) {
  :root { --gutter: 24px; --header-h: 74px; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .section-top, .story-layout, .local-inner, .founder-grid, .faq-grid, .contact-grid, .page-hero-grid, .split { grid-template-columns: 1fr; }
  .section-top { gap: 20px; }
  .section-top .lead { justify-self: start; }
  .stack-card { position: relative; top: auto; }
  .stack-card + .stack-card { margin-top: 20px; }
  .stack-inner, .stack-card--audit .stack-inner { grid-template-columns: 1fr; height: auto; }
  .stack-media { order: -1; height: clamp(240px, 52vw, 380px); margin: 12px 12px 0; }
  .stack-checks { margin: 0 12px 12px; }
  .story-layout { display: flex; flex-direction: column; gap: 28px; }
  .story-copy { display: contents; }
  .story-copy .display-2 { order: 0; margin-bottom: 0; }
  .story-visual { order: 1; }
  .story-steps { order: 2; }
  .story-stage { height: 540px; }
  .process-steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .process-step { padding-top: 0; }
  .process-dot { display: none; }
  .process-line { display: none; }
  .local-inner { padding-top: 30vh; }
  .facts-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .faq-grid > div:first-child { position: static; }
  .founder-portrait { max-width: 400px; }
  .about-hero-photo { justify-self: center; max-width: 360px; }
  .service-row { grid-template-columns: 1fr; gap: 14px; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-photo { position: relative; width: 100%; padding-top: calc(var(--header-h) + 8px); }
  .hero-photo img { height: min(88vw, 500px); object-position: 50% 18%; -webkit-mask-image: linear-gradient(180deg, #000 64%, transparent); mask-image: linear-gradient(180deg, #000 64%, transparent); }
  .hero-name { left: var(--gutter); right: auto; bottom: 38%; }
  .hero-inner { margin-top: -44px; padding-top: 0; padding-bottom: 56px; }
  .hero-title, .hero-lead { max-width: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --header-h: 68px; }
  body { font-size: 1.0625rem; }
  .brand-sub { display: none; }
  .hero-name { display: none; }
  .audit-bar { flex-direction: column; align-items: stretch; border-radius: 24px; padding: 10px; }
  .audit-bar input { padding: 0 14px; }
  .audit-bar .btn { width: 100%; }
  .story-stage { height: 500px; }
  .process-steps, .steps-three, .includes-grid, .checks-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .related-scene { height: 120px; padding: 10px 10px 0; }
  .related-title { padding: 12px 14px 14px; font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .process-steps.steps-three { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact, .fact + .fact { padding: 0 12px 0 0; border-left: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .f-third, .f-third:first-child, .f-half { grid-column: 1 / -1; }
  .contact-methods div { grid-template-columns: 1fr; gap: 2px; }
  .timeline li, .timeline-lg li { grid-template-columns: 1fr; gap: 2px; }
  .faq-answer p { padding-right: 0; }
  .mobile-call { display: inline-flex; }
  .footer-col ul { gap: 0; }
  .footer-col a, .contact-methods dd a, .crumbs a { display: inline-block; padding: 10px 0; }
  .crumbs { align-items: center; gap: 4px 10px; margin-bottom: 14px; }
  .link-arrow { min-height: 44px; }
  .footer-bottom a { display: inline-block; padding: 6px 0; }
  .local-shade { background: linear-gradient(180deg, rgb(var(--p-ink-rgb) / 0.45) 0%, rgb(var(--p-ink-rgb) / 0.1) 18%, rgb(var(--p-ink-rgb) / 0.55) 40%, rgb(var(--p-ink-rgb) / 0.92) 62%, var(--ink) 100%); }
  .local-copy { text-shadow: 0 2px 18px rgb(var(--p-ink-rgb) / 0.6); }
}

@media (prefers-reduced-motion: reduce) {
  .wordmark-light { animation: none; background: none; }
  .audit-bar .btn::after, .header-cta::after, .stack-card--audit .stack-inner::after { animation: none !important; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .scroll-progress { display: none; }
}
