/* =========================================================
   The Serenity Passage — site styles
   Palette: deep sage (calm, trust) + logo sunset (hope, warmth)
   ========================================================= */

:root {
  /* Sage */
  --sage-950: #0f1f1c;
  --sage-900: #16302b;
  --sage-800: #1f3f39;
  --sage-700: #2c574f;
  --sage-600: #3d6f65;
  --sage-400: #7fa89c;
  --sage-200: #cfe1d9;
  --sage-100: #e5efea;
  --sage-50:  #f2f7f4;

  /* Sunset (from the logo) */
  --sun-300: #f7c08f;
  --sun-400: #f2a364;
  --sun-500: #e8894a;
  --sun-600: #a44c17; /* text-safe on light backgrounds (4.9:1 on cream) */
  --peach-100: #fbeee3;

  --cream: #f8f5ef;
  --paper: #fffdf9;
  --ink: #14211e;
  --ink-soft: #3e4d49;
  --line: rgba(20, 33, 30, 0.09);
  --line-light: rgba(255, 255, 255, 0.16);

  --font-display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-soft: 0 1px 1px rgba(15, 31, 28, 0.04), 0 6px 16px -8px rgba(15, 31, 28, 0.14), 0 18px 40px -24px rgba(15, 31, 28, 0.18);
  --shadow-lift: 0 1px 2px rgba(15, 31, 28, 0.05), 0 10px 24px -12px rgba(15, 31, 28, 0.2), 0 36px 70px -32px rgba(15, 31, 28, 0.34);

  --container: 1240px;
  --gutter: clamp(18px, 4.5vw, 56px);
  --section: clamp(80px, 12vw, 168px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 900ms;

  --header-h: 76px;
}

/* ---------- Cross-page fade (supported browsers only) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 260ms var(--ease-in-out) both; }
::view-transition-new(root) { animation: vt-in 420ms var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 500; text-wrap: balance; }
ul { padding: 0; margin: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--sun-300); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--sun-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--sun-500); color: var(--ink);
  padding: 12px 18px; border-radius: 999px; font-weight: 700; text-decoration: none;
  transition: top var(--dur) var(--ease-out);
}
.skip-link:focus { top: 12px; }

.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;
}

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(56px, 8vw, 96px); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--sage-600);
}
.eyebrow::before {
  content: ""; width: 34px; height: 1.5px; border-radius: 2px;
  background: linear-gradient(90deg, var(--sun-500), var(--sun-300));
}
.on-dark .eyebrow { color: var(--sun-300); }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.012em;
  line-height: 0.94;
}
.h1 { font-family: var(--font-serif); font-size: clamp(2.5rem, 6vw, 4.75rem); letter-spacing: -0.02em; font-variation-settings: "SOFT" 50, "opsz" 144; }
.h2 { font-family: var(--font-serif); font-size: clamp(2rem, 4.4vw, 3.5rem); letter-spacing: -0.02em; font-variation-settings: "SOFT" 50, "opsz" 144; }
.h3 { font-family: var(--font-serif); font-size: clamp(1.375rem, 2.2vw, 1.75rem); letter-spacing: -0.01em; }
.h2 em, .h1 em { font-style: italic; color: var(--sage-600); font-weight: 400; }
.on-dark .h2 em, .on-dark .h1 em { color: var(--sun-300); }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.62; color: var(--ink-soft); max-width: 60ch; }
.on-dark .lead { color: rgba(255, 255, 255, 0.78); }
.muted { color: var(--ink-soft); }
.accent { color: var(--sun-400); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .h2 { margin-top: 16px; }
.section-head .lead { margin-top: 20px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--sage-800); --btn-fg: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 0.9875rem; letter-spacing: 0.015em; text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background-color var(--dur);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
  transition: opacity var(--dur) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(15, 31, 28, 0.55), 0 2px 6px -2px rgba(15, 31, 28, 0.25); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 90ms; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--dur) var(--ease-out); }
.btn:hover svg.arrow { transform: translateX(4px); }

.btn--sun { --btn-bg: var(--sun-500); --btn-fg: var(--ink); }
.btn--sun:hover { --btn-bg: var(--sun-400); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.6); }
.on-dark .btn--ghost { --btn-fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); }
.on-dark .btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.1); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 0.9375rem; white-space: nowrap; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; text-decoration: none; color: var(--sage-700);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  padding-bottom: 2px;
  transition: background-size var(--dur) var(--ease-out), color var(--dur);
}
.link-arrow:hover { background-size: 100% 2px; color: var(--sage-900); }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--sun-300); }

/* ---------- Crisis bar ---------- */
.crisis-bar {
  background: var(--sage-950); color: rgba(255, 255, 255, 0.86);
  font-size: 0.875rem; line-height: 1.4;
}
.crisis-bar .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 4px 18px; padding-block: 9px; text-align: center;
}
.crisis-bar strong { color: #fff; }
.crisis-bar a { color: var(--sun-300); font-weight: 700; text-decoration: none; white-space: nowrap; }
.crisis-bar a:hover { text-decoration: underline; }
@media (max-width: 560px) { .crisis-bar .hide-sm { display: none; } .crisis-bar .container { padding-block: 8px; } }
.crisis-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--sun-500); flex: none;
  box-shadow: 0 0 0 0 rgba(232, 137, 74, 0.6); animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(232, 137, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 137, 74, 0); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 245, 239, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), box-shadow var(--dur), background-color var(--dur);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(15, 31, 28, 0.5); background: rgba(248, 245, 239, 0.94); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-mark .sun { transform-origin: 50% 50%; transition: transform 900ms var(--ease-out); }
.brand:hover .brand-mark .sun { transform: translateY(-2px) scale(1.04); }
.footer-logo { width: 132px; height: auto; margin-top: 26px; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text small { font-family: var(--font-serif); font-size: 0.6875rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--sage-600); }
.brand-text span { white-space: nowrap; font-family: var(--font-serif); font-size: 1.3125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 3px; }
.brand-text span b { font-weight: 400; letter-spacing: 0.22em; font-size: 0.72em; color: var(--sage-700); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 13px; white-space: nowrap;
  font-size: 0.9375rem; font-weight: 600; color: var(--ink-soft); text-decoration: none; border-radius: 999px;
  transition: color var(--dur), background-color var(--dur);
}
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; border-radius: 2px;
  background: var(--sun-500); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-phone { font-weight: 700; font-size: 0.9375rem; color: var(--sage-800); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-inline: 6px; }
.nav-phone svg { width: 18px; height: 18px; }

.menu-toggle {
  display: none; position: relative; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: var(--sage-900); cursor: pointer;
}
.menu-toggle span {
  position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur);
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  padding: calc(var(--header-h) + 64px) var(--gutter) 32px;
  background: var(--sage-950); color: #fff;
  display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
  clip-path: circle(0 at calc(100% - 44px) 60px);
  visibility: hidden;
  transition: clip-path 620ms var(--ease-in-out), visibility 0s 620ms;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 60px); visibility: visible; transition: clip-path 720ms var(--ease-in-out), visibility 0s; }
.mobile-menu nav a {
  display: block; padding: 8px 0; font-family: var(--font-serif); font-size: clamp(2rem, 9vw, 2.75rem);
  text-decoration: none; color: #fff; opacity: 0; transform: translateY(24px);
  transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out), color var(--dur);
}
.mobile-menu nav a[aria-current="page"], .mobile-menu nav a:hover { color: var(--sun-300); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; transition-delay: calc(200ms + var(--i, 0) * 60ms); }
.mobile-menu .mm-foot { margin-top: auto; display: grid; gap: 12px; opacity: 0; transition: opacity 400ms 500ms; }
.menu-open .mobile-menu .mm-foot { opacity: 1; }
.menu-open .site-header { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .site-header .brand { color: #fff; }
.menu-open .site-header .brand-text small, .menu-open .site-header .brand-text span b { color: var(--sun-300); }
.menu-open .menu-toggle { background: var(--sun-500); }
.menu-open .menu-toggle span { background: var(--ink); }
body.menu-open { overflow: hidden; }

@media (max-width: 1320px) { .nav-phone { display: none; } }
@media (max-width: 1060px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-block; }
  .nav-cta .btn { display: none; }
}
@media (min-width: 1061px) { .mobile-menu { display: none; } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh - var(--header-h) - 38px, 900px);
  display: grid; align-items: center;
  background: var(--sage-900); color: #fff;
  padding-block: clamp(64px, 10vw, 120px);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 75% 40%; filter: grayscale(0.35) contrast(1.05); }
/* Healyn-style motion blur streak */
.hero-streak {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--hero-img); background-size: cover; background-position: 72% 30%;
  filter: blur(22px) saturate(0.6);
  transform: scaleX(1.5); transform-origin: 100% 50%;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 34%, transparent 56%);
          mask-image: linear-gradient(90deg, #000 0%, #000 34%, transparent 56%);
  opacity: 0.9;
}
.hero::before { /* sage duotone wash */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 31, 28, 0.94) 0%, rgba(22, 48, 43, 0.82) 38%, rgba(22, 48, 43, 0.25) 70%, rgba(22, 48, 43, 0.1) 100%),
    linear-gradient(0deg, rgba(15, 31, 28, 0.85) 0%, transparent 40%);
}
.hero::after { /* film grain for depth, static */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.08; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-sun {
  position: absolute; z-index: -1; pointer-events: none;
  width: clamp(280px, 42vw, 620px); aspect-ratio: 1; border-radius: 50%;
  left: clamp(-120px, -6vw, -40px); top: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(247, 192, 143, 0.55), rgba(232, 137, 74, 0.28) 45%, rgba(232, 137, 74, 0) 70%);
  transform: translateY(-50%);
}
.hero-content { position: relative; max-width: 820px; }
.hero-title { font-size: clamp(3.4rem, 9vw, 7.25rem); margin: 18px 0 26px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero-title .word { display: inline-block; }
.hero-title .accent { color: var(--sun-400); }
.hero-sub { font-size: clamp(1.125rem, 1.8vw, 1.375rem); color: rgba(255, 255, 255, 0.84); max-width: 34ch; margin-bottom: 36px; font-family: var(--font-serif); font-weight: 300; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-tags { display: grid; grid-template-columns: repeat(2, max-content); gap: 14px 28px; margin-top: 44px; color: rgba(255, 255, 255, 0.82); font-size: 0.9375rem; }
.hero-tags li { display: flex; align-items: center; gap: 10px; }
.hero-tags svg { width: 18px; height: 18px; color: var(--sun-400); flex: none; }
.hero-scroll {
  position: absolute; right: var(--gutter); bottom: 28px; display: flex; align-items: center; gap: 12px;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); text-decoration: none;
}
.hero-scroll i { position: relative; width: 1px; height: 48px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--sun-400); animation: scrollcue 2.2s var(--ease-in-out) infinite; }
@keyframes scrollcue { to { top: 100%; } }

@media (max-width: 720px) {
  .hero:not(.hero--scene) { align-items: end; min-height: min(calc(100svh - var(--header-h) - 56px), 760px); }
  .hero:not(.hero--scene) { background: var(--sage-950); padding-top: 42vh; }
  .hero--scene { padding-top: 34vh; min-height: min(calc(100svh - var(--header-h) - 56px), 720px); }
  .hero-sun { top: 18%; left: -45%; width: 90vw; }
  .hero-media, .hero-streak { bottom: auto; height: 68%; }
  .hero--scene .hero-scene { bottom: 0; height: 100%; }
  .hero-media img { object-position: 50% 30%; }
  .hero-title { font-size: clamp(3.1rem, 15vw, 4.5rem); margin: 14px 0 20px; }
  .hero-sub { margin-bottom: 28px; }
  .hero::before { background: linear-gradient(0deg, rgba(15, 31, 28, 0.97) 0%, rgba(15, 31, 28, 0.85) 42%, rgba(22, 48, 43, 0.35) 75%, rgba(22, 48, 43, 0.2) 100%); }
  .hero-streak { -webkit-mask-image: linear-gradient(0deg, #000 0%, #000 40%, transparent 70%); mask-image: linear-gradient(0deg, #000 0%, #000 40%, transparent 70%); transform: scaleY(1.3); transform-origin: 50% 0; }
  .hero-tags { grid-template-columns: 1fr 1fr; gap: 12px 16px; font-size: 0.875rem; margin-top: 28px; }
  .hero-scroll { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* Hero entrance (only when JS + motion allowed) */
.js .hero-title .word { transform: translateY(105%); }
.js .hero .fade-in { opacity: 0; transform: translateY(14px); }
.js .hero-streak { opacity: 0; transform: scaleX(2.4); }
.js .hero-sun { opacity: 0; transform: translateY(-30%) scale(0.85); }
.js .hero-media img { transform: scale(1.08); }
.is-loaded .hero-title .word { transform: none; transition: transform 1100ms var(--ease-out); transition-delay: calc(120ms + var(--i, 0) * 90ms); }
.is-loaded .hero .fade-in { opacity: 1; transform: none; transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(650ms + var(--d, 0) * 110ms); }
.is-loaded .hero-streak { opacity: 0.9; transform: scaleX(1.5); transition: opacity 1600ms var(--ease-out), transform 2200ms var(--ease-out); }
.is-loaded .hero-sun { opacity: 1; transform: translateY(-50%) scale(1); transition: opacity 2000ms var(--ease-out), transform 2600ms var(--ease-out); }
.is-loaded .hero-media img { transform: scale(1); transition: transform 2600ms var(--ease-out); }


/* ---------- Hero scene (drawn, not photographed) ---------- */
.hero--scene { background: #0c1a18; }
.hero-scene { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero-scene--narrow { display: none; }
@media (max-width: 860px) {
  .hero-scene--wide { display: none; }
  .hero-scene--narrow { display: block; }
}
/* a scrim so the headline stays readable over the sky */
.hero.hero--scene::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 23, 21, 0.92) 0%, rgba(10, 23, 21, 0.72) 34%, rgba(10, 23, 21, 0.12) 62%, transparent 80%),
    linear-gradient(0deg, rgba(10, 23, 21, 0.55) 0%, transparent 38%);
}
.hero--scene .hero-content { max-width: 640px; }

/* The dawn: sun lifts, the walkway draws itself, people appear on it. */
.js .hero--scene .sun-group { opacity: 0; transform: translateY(70px); }
.js .hero--scene .rail { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .hero--scene .post { opacity: 0; }
.js .hero--scene .deck { opacity: 0; }
.is-loaded .hero--scene .sun-group { animation: sun-rise 2600ms var(--ease-out) 150ms both; }
.is-loaded .hero--scene .deck { animation: fade-in-soft 1400ms var(--ease-out) 500ms both; }
.is-loaded .hero--scene .rail { animation: draw-rail 1800ms var(--ease-out) 400ms both; }
.is-loaded .hero--scene .post { animation: fade-in-soft 700ms var(--ease-out) both; animation-delay: calc(900ms + var(--i, 0) * 55ms); }
@keyframes sun-rise { from { opacity: 0; transform: translateY(70px); } to { opacity: 1; transform: none; } }
@keyframes draw-rail { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fade-in-soft { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 860px) {
  .hero.hero--scene::before {
    background:
      linear-gradient(0deg, rgba(10, 23, 21, 0.97) 0%, rgba(10, 23, 21, 0.92) 40%, rgba(10, 23, 21, 0.5) 62%, rgba(10, 23, 21, 0.06) 86%);
  }
  .hero--scene .hero-scene { object-fit: cover; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--sage-900); color: #fff;
  padding-block: clamp(80px, 12vw, 160px) clamp(64px, 9vw, 120px);
}
.page-hero .hero-media img { object-position: var(--pos, 50% 40%); filter: grayscale(0.3); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(15, 31, 28, 0.95) 0%, rgba(22, 48, 43, 0.78) 50%, rgba(22, 48, 43, 0.35) 100%);
}
.page-hero .h1 { margin: 18px 0 22px; max-width: 16ch; }
.page-hero .display { font-size: clamp(3rem, 9vw, 7rem); margin: 18px 0 24px; }
.page-hero .lead { max-width: 52ch; }
.breadcrumbs { font-size: 0.875rem; color: rgba(255, 255, 255, 0.65); margin-bottom: 8px; }
.breadcrumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.breadcrumbs a:hover { color: var(--sun-300); }
@media (max-width: 720px) {
  .page-hero::before { background: linear-gradient(0deg, rgba(15, 31, 28, 0.96) 10%, rgba(22, 48, 43, 0.72) 100%); }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--sage-950); color: var(--sun-300); overflow: hidden;
  padding-block: 16px; border-block: 1px solid rgba(247, 192, 143, 0.18);
}
.marquee-track { display: flex; width: max-content; animation: marquee 72s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-group span {
  display: inline-flex; align-items: center; gap: 30px; padding-right: 30px;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.8125rem;
  text-transform: uppercase; letter-spacing: 0.26em; white-space: nowrap;
}
.marquee-group span::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: rgba(247, 192, 143, 0.5); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Audience split cards ---------- */
.split-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.audience-card {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg);
  min-height: clamp(440px, 52vw, 600px); color: #fff; text-decoration: none;
  display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 3.5vw, 44px);
  box-shadow: var(--shadow-soft);
}
.audience-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1200ms var(--ease-out); }
.audience-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 23, 21, 0.95) 0%, rgba(10, 23, 21, 0.62) 46%, rgba(10, 23, 21, 0.14) 78%, rgba(10, 23, 21, 0.22) 100%); transition: opacity var(--dur); }
.audience-card:hover img { transform: scale(1.06); }
.audience-card .tag {
  align-self: flex-start; margin-bottom: auto; padding: 9px 16px; border-radius: 999px;
  background: rgba(10, 23, 21, 0.52); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
}
.audience-card .h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 14px; max-width: 16ch; }
.audience-card p { color: rgba(255, 255, 255, 0.82); max-width: 44ch; }
.audience-card .link-arrow { color: var(--sun-300); align-self: flex-start; }
@media (max-width: 820px) { .split-cards { grid-template-columns: 1fr; } }

/* ---------- Scroll-lit statement (HeadsUpGuys punch) ---------- */
.statement { background: var(--sage-950); color: #fff; overflow: hidden; isolation: isolate; }
.statement-sun {
  position: absolute; z-index: -1; right: -12vw; top: 12%; width: min(62vw, 820px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(232, 137, 74, 0.30), rgba(232, 137, 74, 0.09) 42%, transparent 68%);
}
@media (max-width: 720px) { .statement-sun { width: 110vw; right: -50vw; top: 30%; opacity: 0.7; } }
.statement-text { font-size: clamp(2.6rem, 8.2vw, 7.5rem); max-width: 14ch; }
.statement-text .w { color: rgba(255, 255, 255, 0.34); transition: color 500ms var(--ease-out); }
.statement-text .w.lit { color: #fff; }
.statement-text .w.lit.hl { color: var(--sun-400); }
.no-js .statement-text .w, .reduced .statement-text .w { color: #fff; }
.no-js .statement-text .w.hl, .reduced .statement-text .w.hl { color: var(--sun-400); }
.statement-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: clamp(40px, 6vw, 72px); padding-top: 32px; border-top: 1px solid var(--line-light); }
.statement-foot p { color: rgba(255, 255, 255, 0.72); max-width: 48ch; margin: 0; }
@media (max-width: 720px) { .statement-foot { grid-template-columns: 1fr; } }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card {
  position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px 26px; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; min-height: 250px;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.service-card::before {
  content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 163, 100, 0.28), transparent 70%);
  transform: scale(0.4); opacity: 0; transition: transform 700ms var(--ease-out), opacity 500ms;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent; }
.service-card:hover::before { transform: scale(1); opacity: 1; }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--sage-100); color: var(--sage-700); transition: background-color var(--dur), color var(--dur);
}
.service-card:hover .service-icon { background: var(--sage-800); color: var(--sun-300); }
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-family: var(--font-serif); font-size: 1.3125rem; margin-bottom: 10px; }
.service-card p { font-size: 0.9375rem; color: var(--ink-soft); margin: 0; }
.service-card .num { position: absolute; top: 24px; right: 24px; font-family: var(--font-display); font-size: 0.9375rem; color: var(--sage-600); }

/* Lead service card: larger, dark, and two columns wide */
.service-card--feature { grid-column: span 2; background: var(--sage-900); border-color: transparent; color: #fff; }
.service-card--feature h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.service-card--feature p { color: rgba(255, 255, 255, 0.76); font-size: 1rem; max-width: 42ch; }
.service-card--feature .service-icon { background: rgba(242, 163, 100, 0.16); color: var(--sun-300); width: 60px; height: 60px; }
.service-card--feature .service-icon svg { width: 30px; height: 30px; }
.service-card--feature .num { color: var(--sun-400); }
.service-card--feature:hover { box-shadow: 0 2px 4px rgba(15,31,28,.1), 0 32px 64px -24px rgba(15,31,28,.5); }
.service-card--feature::before { background: radial-gradient(circle, rgba(242, 163, 100, 0.42), transparent 70%); }
@media (max-width: 1060px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-card--feature { grid-column: span 1; } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } .service-card { min-height: 0; } }

/* ---------- Passage steps (path draws on scroll) ---------- */
.passage { background: var(--sage-50); overflow: hidden; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.steps-path { position: absolute; left: 0; right: 0; top: 28px; height: 4px; width: 100%; overflow: visible; pointer-events: none; }
.steps-path path { fill: none; stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.steps-path .track { stroke: var(--sage-200); stroke-dasharray: 2 10; }
.steps-path .draw { stroke: url(#pathGrad); }
.step { position: relative; }
.step-dot {
  position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 28px;
  background: var(--paper); border: 1.5px solid var(--sage-200); font-family: var(--font-display); font-size: 1.375rem; color: var(--sage-700);
  transition: background-color 600ms var(--ease-out), color 600ms, border-color 600ms, transform 600ms var(--ease-out);
}
.step.is-active .step-dot { background: var(--sage-800); color: var(--sun-300); border-color: var(--sage-800); transform: scale(1.06); }
.step h3 { font-family: var(--font-serif); font-size: 1.375rem; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 0.9875rem; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 36px; padding-left: 84px; }
  .steps-path { display: none; }
  .steps::before { content: ""; position: absolute; left: 29px; top: 10px; bottom: 10px; width: 2px; background: var(--sage-200); }
  .steps::after { content: ""; position: absolute; left: 29px; top: 10px; width: 2px; height: calc(var(--progress, 0) * (100% - 20px)); background: linear-gradient(var(--sun-500), var(--sage-600)); }
  .step-dot { position: absolute; left: -84px; top: -6px; margin: 0; z-index: 1; }
}

/* ---------- Media + text split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split-media { position: relative; }
.split-media .frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; box-shadow: var(--shadow-lift); }
.split-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.split-media .badge {
  position: absolute; left: clamp(-28px, -2vw, -12px); bottom: 36px; max-width: 250px;
  background: var(--paper); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-lift);
  display: flex; gap: 14px; align-items: center; font-size: 0.9375rem; line-height: 1.4;
}
.split-media .badge .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--peach-100); color: var(--sun-600); display: grid; place-items: center; flex: none; }
.split-media .badge .ic svg { width: 22px; height: 22px; }
.split-media .orb { position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; border-radius: 50%; z-index: -1; background: radial-gradient(circle at 40% 40%, var(--sun-300), var(--sun-500)); opacity: 0.9; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .split-media .frame { aspect-ratio: 4 / 3.4; }
  .split-media .badge { left: 12px; bottom: 12px; }
  .split-media .orb { right: -10px; top: -20px; width: 90px; height: 90px; }
}

.split .h2 { margin: 16px 0 22px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 36px; }
.value h3 { display: flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 6px; }
.value h3 svg { width: 22px; height: 22px; color: var(--sun-600); flex: none; }
.value p { margin: 0; color: var(--ink-soft); font-size: 0.975rem; }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

.checklist { display: grid; gap: 14px; margin-top: 28px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist svg { width: 24px; height: 24px; flex: none; margin-top: 2px; color: var(--sage-600); }
.on-dark .checklist svg { color: var(--sun-400); }


/* Landscape photos get a wider frame than the default 4:5 portrait */
.split-media .frame.frame--wide { aspect-ratio: 5 / 4; }
@media (max-width: 900px) { .split-media .frame.frame--wide { aspect-ratio: 3 / 2; } }

/* ---------- Photo gallery (real photos of the home) ---------- */
.gallery { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; }
.gallery--two { grid-template-columns: 1.25fr 1fr; }

/* One photo running the full width of the column */
.photo-band { margin: 0; }
.photo-band img {
  width: 100%; height: clamp(260px, 38vw, 480px); object-fit: cover; object-position: 50% 62%;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
}
.photo-band figcaption { margin-top: 16px; font-size: 0.9375rem; color: var(--ink-soft); max-width: 62ch; }
.js .photo-band[data-reveal="mask"] img { clip-path: inset(0 0 100% 0 round var(--radius-lg)); }
.js .photo-band[data-reveal="mask"].is-in img { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.gallery figure { margin: 0; }
.gallery img {
  width: 100%; height: clamp(240px, 30vw, 380px); object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-soft);
}
.gallery figcaption { margin-top: 12px; font-size: 0.9375rem; color: var(--ink-soft); }
@media (max-width: 760px) {
  .gallery, .gallery--two { grid-template-columns: 1fr; }
  .gallery img { height: clamp(220px, 58vw, 320px); }
}

/* ---------- Partners ---------- */
.partners { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.partners li {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: 0.975rem;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur), background-color var(--dur);
}
.partners li:hover { transform: translateY(-3px); border-color: var(--sage-400); background: #fff; }
.partners svg { width: 20px; height: 20px; color: var(--sage-600); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #27514a 0%, var(--sage-900) 42%, var(--sage-950) 100%);
  color: #fff; box-shadow: inset 0 0 0 1px rgba(247, 192, 143, 0.14); padding: clamp(48px, 8vw, 104px) clamp(24px, 6vw, 88px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.cta-band .sunrise {
  position: absolute; z-index: -1; right: -8%; bottom: -55%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(247, 192, 143, 0.72), rgba(232, 137, 74, 0.42) 38%, rgba(232, 137, 74, 0) 70%);
  transform: translateY(var(--rise, 25%)); transition: transform 120ms linear;
}
.cta-band .display { font-size: clamp(2.5rem, 6.4vw, 5.25rem); }
.cta-band p { color: rgba(255, 255, 255, 0.8); margin: 20px 0 0; max-width: 46ch; }
.cta-actions { display: grid; gap: 12px; justify-items: stretch; }
.cta-actions .btn { width: 100%; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .sunrise { width: 140%; right: -40%; bottom: -90%; } }

/* ---------- Detail rows (services page) ---------- */
.detail-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.detail {
  display: grid; grid-template-columns: 80px 1fr 1.3fr; gap: clamp(20px, 4vw, 56px); padding-block: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--line); align-items: start;
}
.detail .num { font-family: var(--font-display); font-size: 2.5rem; color: var(--sun-500); line-height: 1; }
.detail h3 { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.6vw, 2.125rem); }
.detail p { color: var(--ink-soft); }
.detail ul { display: grid; gap: 8px; margin-top: 8px; }
.detail li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.975rem; }
.detail li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sage-400); margin-top: 0.62em; flex: none; }
@media (max-width: 860px) { .detail { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Feature tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile--feature { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; background: rgba(242, 163, 100, 0.1); border-color: rgba(242, 163, 100, 0.28); }
.tile--feature h3 { font-size: clamp(1.5rem, 2.3vw, 1.9rem); }
.tile--feature p { font-size: 1.0625rem; max-width: 46ch; }
.tile--feature .service-icon { width: 60px; height: 60px; }
.tile--feature .service-icon svg { width: 30px; height: 30px; }
.tile { background: var(--paper); border-radius: var(--radius); padding: 30px 28px; border: 1px solid var(--line); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.tile .service-icon { margin-bottom: 18px; }
.tile h3 { font-family: var(--font-serif); font-size: 1.3125rem; margin-bottom: 8px; }
.tile p { margin: 0; color: var(--ink-soft); font-size: 0.975rem; }
.on-dark .tile { background: rgba(255, 255, 255, 0.04); border-color: var(--line-light); }
.on-dark .tile p { color: rgba(255, 255, 255, 0.72); }
.on-dark .tile .service-icon { background: rgba(242, 163, 100, 0.14); color: var(--sun-300); }
.on-dark .tile--feature { background: rgba(242, 163, 100, 0.12); border-color: rgba(242, 163, 100, 0.34); }
.on-dark .tile--feature p { color: rgba(255, 255, 255, 0.85); }
.tile--cta { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; background: var(--sun-500); border-color: transparent; }
.on-dark .tile--cta { background: var(--sun-500); border-color: transparent; }
.tile--cta h3, .on-dark .tile--cta h3 { color: var(--ink); font-size: clamp(1.375rem, 2.1vw, 1.75rem); }
.tile--cta p, .on-dark .tile--cta p { color: rgba(20, 33, 30, 0.78); }
.tile--cta .btn { align-self: flex-start; margin-top: 18px; }
.tile--quote { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; background: transparent; border-style: dashed; }
.on-dark .tile--quote { background: transparent; border-color: rgba(255, 255, 255, 0.22); }
.tile--quote blockquote { margin: 0; font-family: var(--font-serif); font-size: clamp(1.25rem, 2.1vw, 1.625rem); line-height: 1.35; color: #fff; }
.tile--quote cite { display: block; margin-top: 14px; font-style: normal; font-size: 0.875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sun-300); }
@media (max-width: 600px) { .tile--cta, .tile--quote { grid-column: span 1; } }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr; } .tile--feature { grid-column: span 1; } }

.dark-section, .statement, .site-footer { position: relative; isolation: isolate; }
/* a whisper of grain so large dark areas have depth instead of reading flat */
.dark-section::after, .statement::after, .site-footer::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.dark-section { background: linear-gradient(170deg, #1a3630 0%, var(--sage-900) 45%, #132b26 100%); color: #fff; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow var(--dur), border-color var(--dur); }
.faq details[open] { box-shadow: var(--shadow-soft); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 26px; min-height: 64px; font-family: var(--font-serif); font-size: 1.1875rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--sage-100); flex: none; transition: background-color var(--dur), transform var(--dur) var(--ease-out); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--sage-800); transform: translate(-50%, -50%); border-radius: 2px; transition: transform var(--dur) var(--ease-out); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .pm { background: var(--sun-500); transform: rotate(180deg); }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer { padding: 0 26px 24px; color: var(--ink-soft); }
.faq .answer p:last-child { margin: 0; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 400ms var(--ease-out), content-visibility 400ms allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* ---------- Forms ---------- */
.form-card { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-lift); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.9375rem; }
.field label .opt { font-weight: 500; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px;
  border: 1.5px solid rgba(20, 33, 30, 0.18); background: #fff; font-size: 1rem;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c574f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage-600); box-shadow: 0 0 0 4px rgba(61, 111, 101, 0.18); }
.field .hint { font-size: 0.875rem; color: var(--ink-soft); }
.field .error { font-size: 0.875rem; color: #b42318; font-weight: 600; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b42318; }
.field.has-error .error { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; color: var(--ink-soft); }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--sage-700); flex: none; }
.privacy-note { display: flex; gap: 12px; padding: 16px 18px; border-radius: 12px; background: var(--peach-100); font-size: 0.9375rem; color: #5a3a22; }
.privacy-note svg { width: 22px; height: 22px; flex: none; color: var(--sun-600); margin-top: 1px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.btn[aria-busy="true"] { pointer-events: none; opacity: 0.8; }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 700ms linear infinite; display: none; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { display: none; padding: 16px 18px; border-radius: 12px; font-weight: 600; }
.form-status.is-success { display: block; background: var(--sage-100); color: var(--sage-900); }
.form-status.is-error { display: block; background: #fdecea; color: #8a1c12; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur);
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: transparent; }
.contact-card .service-icon { margin: 0; flex: none; }
.contact-card small { display: block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-600); }
.contact-card strong { font-size: 1.125rem; word-break: break-word; }
.crisis-card { background: var(--sage-950); color: #fff; border-radius: var(--radius); padding: 26px; }
.crisis-card h3 { font-family: var(--font-serif); font-size: 1.375rem; margin-bottom: 8px; }
.crisis-card p { color: rgba(255, 255, 255, 0.78); margin-bottom: 14px; }
.crisis-card a { color: var(--sun-300); font-weight: 700; }
.crisis-card ul { display: grid; gap: 8px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Logo story ---------- */
.logo-story .split-media .frame { aspect-ratio: 9 / 16; max-width: 400px; margin-inline: auto; }
.meaning { display: grid; gap: 22px; margin-top: 32px; }
.meaning li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.meaning .n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--peach-100); color: var(--sun-600); font-family: var(--font-display); font-size: 1.125rem; }
.meaning h3 { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 4px; }
.meaning p { margin: 0; color: var(--ink-soft); }

/* ---------- Stat strip (non-numeric facts) ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.facts > div { padding: 28px 24px; border-right: 1px solid var(--line-light); }
.facts > div:last-child { border-right: 0; }
.facts b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; color: var(--sun-400); line-height: 1; margin-bottom: 8px; }
.facts span { color: rgba(255, 255, 255, 0.75); font-size: 0.9375rem; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } .facts > div:nth-child(2) { border-right: 0; } .facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--sage-950); color: rgba(255, 255, 255, 0.78); padding-top: clamp(64px, 9vw, 112px); margin-top: var(--section); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-text small, .site-footer .brand-text span b { color: var(--sun-300); }
.site-footer h4 { font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 700; }
.site-footer ul { display: grid; gap: 4px; }
.site-footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; transition: color var(--dur-fast); display: inline-block; padding-block: 6px; }
.site-footer a:hover { color: var(--sun-300); }
.footer-tagline { margin-top: 20px; max-width: 34ch; font-family: var(--font-serif); font-size: 1.125rem; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }
.footer-word { display: block; width: 100%; height: auto; margin-bottom: 8px; overflow: visible; }
.footer-word text {
  font-family: var(--font-display); text-transform: uppercase; font-size: 112px;
  fill: transparent; stroke: rgba(247, 192, 143, 0.22); stroke-width: 0.8;
}
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px 32px; border-top: 1px solid var(--line-light); font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
main + .site-footer.flush { margin-top: 0; }

/* ---------- Mobile sticky call bar ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80;
  display: none; gap: 8px; padding: 8px; border-radius: 999px;
  background: rgba(15, 31, 28, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(140%); transition: transform 500ms var(--ease-out);
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px) * 0.5);
}
.mobile-cta.is-visible { transform: none; }
body:has(form :focus) .mobile-cta, body.menu-open .mobile-cta { transform: translateY(140%); }
.mobile-cta .btn { flex: 1; min-height: 48px; padding: 10px 14px; font-size: 0.9375rem; }
.mobile-cta .btn--ghost { --btn-fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.3); }
@media (max-width: 720px) { .mobile-cta { display: flex; } .site-footer { padding-bottom: 80px; } }


/* ---------- Reveal variants ----------
   Each section gets motion that suits it, rather than one fade-up everywhere.
   Note: a clip-path is only ever applied to a CHILD of the observed element —
   a zero-area clip makes IntersectionObserver treat the target as off-screen. */

/* Section heads animate as one orchestrated unit: rule draws, heading lifts
   behind a mask, supporting line fades up last. */
.js .section-head[data-reveal] .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform 700ms var(--ease-out) 80ms; }
.js .section-head[data-reveal] .eyebrow { opacity: 0; transition: opacity 500ms var(--ease-out); }
.js .section-head[data-reveal] .h2 > span.mask-line { display: block; overflow: hidden; }
.js .section-head[data-reveal] .h2 { opacity: 0; transform: translateY(16px); transition: opacity 800ms var(--ease-out) 200ms, transform 900ms var(--ease-out) 200ms; }
.js .section-head[data-reveal] .lead { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease-out) 400ms, transform 800ms var(--ease-out) 400ms; }
.js .section-head[data-reveal].is-in .eyebrow { opacity: 1; }
.js .section-head[data-reveal].is-in .eyebrow::before { transform: scaleX(1); }
.js .section-head[data-reveal].is-in .h2,
.js .section-head[data-reveal].is-in .lead { opacity: 1; transform: none; }

/* Wipe: content slides out from behind its own left edge */
.js [data-reveal="wipe"] { opacity: 0; transform: translateX(-18px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal="wipe"].is-in { opacity: 1; transform: none; }

/* Pop: small objects (chips, cards) settle into place */
.js [data-reveal="pop"] { opacity: 0; transform: scale(0.94) translateY(10px); transition: opacity 450ms var(--ease-out), transform 560ms var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms); }
.js [data-reveal="pop"].is-in { opacity: 1; transform: none; }

/* Lift: list rows rise in place, no sideways drift */
.js [data-reveal="lift"] { opacity: 0; transform: translateY(20px); transition: opacity 650ms var(--ease-out), transform 750ms var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-reveal="lift"].is-in { opacity: 1; transform: none; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--ease-out), transform 1000ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(0.96); }
.js [data-reveal="left"] { transform: translateX(-36px); }
.js [data-reveal="right"] { transform: translateX(36px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* The clip sits on the image, never on the observed element: a clip-path with zero
   area makes IntersectionObserver treat the element as off-screen, so it would
   never be revealed at all. */
.js [data-reveal="mask"] { opacity: 1; transform: none; }
.js [data-reveal="mask"] img {
  clip-path: inset(0 0 100% 0); transform: scale(1.14);
  transition: clip-path 1200ms var(--ease-in-out), transform 1700ms var(--ease-out);
}
.js [data-reveal="mask"].is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }
.js .gallery [data-reveal="mask"] img { clip-path: inset(0 0 100% 0 round var(--radius)); }
.js .gallery [data-reveal="mask"].is-in img { clip-path: inset(0 0 0 0 round var(--radius)); }

.parallax { will-change: transform; }


/* ============================================================
   Phone pass (<= 720px)
   Shorter pages, bigger touch targets, no decoration that only
   works at desktop size.
   ============================================================ */
@media (max-width: 720px) {
  :root {
    --section: 60px;          /* was 80px: ~450px less scrolling on the home page */
    --gutter: 18px;
    --radius-lg: 22px;
  }

  /* --- hero: leave room so the next section peeks above the fold --- */
  .hero.hero--scene {
    padding-top: 19vh; padding-bottom: 36px;
    min-height: min(calc(100svh - var(--header-h) - 46px), 700px);
  }
  /* the four feature chips repeat what the sections below say, and they were
     the difference between the next section peeking above the fold or not */
  .hero-tags { display: none; }
  .hero-title { font-size: clamp(2.875rem, 13.5vw, 4rem); margin: 14px 0 18px; }
  .hero-sub { font-size: 1.0625rem; margin-bottom: 24px; }
  .hero-tags { margin-top: 24px; gap: 10px 14px; }
  .hero-actions { gap: 10px; }

  /* --- touch targets: nothing tappable under 44px --- */
  .crisis-bar .container { gap: 2px 14px; padding-block: 6px; }
  .crisis-bar a { display: inline-block; padding: 13px 7px; margin: -9px 0; }
  .link-arrow { min-height: 44px; }
  .site-footer a { padding-block: 11px; }
  .breadcrumbs a { display: inline-block; padding: 13px 4px; margin: -11px 0; }
  .faq summary { min-height: 60px; padding: 18px 20px; }

  /* --- labels stay legible --- */
  .eyebrow { font-size: 0.8125rem; letter-spacing: 0.2em; gap: 10px; }
  .eyebrow::before { width: 24px; }
  .audience-card .tag { font-size: 0.75rem; letter-spacing: 0.16em; padding: 8px 14px; }
  .site-footer h4, .contact-card small { font-size: 0.75rem; }

  /* --- tighter cards and lists --- */
  .service-card { padding: 22px 20px 20px; }
  .service-card .num { top: 18px; right: 18px; }
  .tile { padding: 24px 20px; }
  .service-icon { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px; }
  .service-icon svg { width: 23px; height: 23px; }
  .services-grid, .tiles { gap: 12px; }
  .split-cards { gap: 12px; }
  .audience-card { min-height: 400px; padding: 22px; }
  .partners { gap: 8px; }
  .partners li { padding: 12px 18px; font-size: 0.9375rem; }
  .values { gap: 22px 20px; margin-top: 28px; }
  .section-head { margin-bottom: 32px; }
  .split { gap: 32px; }

  /* --- steps rail: narrower gutter --- */
  .steps { padding-left: 68px; gap: 28px; }
  .steps::before, .steps::after { left: 23px; }
  .step-dot { left: -68px; width: 48px; height: 48px; font-size: 1.125rem; }

  /* --- forms: less air between fields, inputs stay 16px (no iOS zoom) --- */
  .form-card { padding: 22px 18px; }
  .form-grid { gap: 16px; }
  .field input, .field select, .field textarea { min-height: 50px; padding: 12px 14px; }
  .field textarea { min-height: 110px; }

  /* --- closing panel and footer --- */
  .cta-band { padding: 36px 22px; gap: 26px; }
  .site-footer { padding-top: 56px; }
  .footer-top { gap: 28px; padding-bottom: 36px; }

  /* --- decoration that only earns its place on a big screen --- */
  .orb, .split-media .orb { display: none; }
  .marquee { padding-block: 12px; }
  .marquee-group span { font-size: 0.75rem; letter-spacing: 0.2em; gap: 22px; padding-right: 22px; }
  .facts > div { padding: 20px 16px; }
  .photo-band img { height: clamp(220px, 52vw, 300px); }
}

/* Very small phones */
@media (max-width: 380px) {
  .hero-tags { grid-template-columns: 1fr; }
  .hero-actions .btn { font-size: 0.9375rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
  .js [data-reveal], .js [data-reveal="mask"] img { opacity: 1; transform: none; clip-path: none; }
  .js .hero-title .word, .js .hero .fade-in, .js .hero-media img { transform: none; opacity: 1; }
  .js .hero-streak { opacity: 0.9; transform: scaleX(1.5); }
  .js .hero-sun { opacity: 1; transform: translateY(-50%); }
  @view-transition { navigation: none; }
}

@media print {
  .crisis-bar, .site-header, .mobile-cta, .marquee, .site-footer .footer-word { display: none !important; }
  body { background: #fff; }
}
