/* ==========================================================================
   HomeGrown Stories — styles
   Plain CSS, no build step. Themes are CSS custom properties (light + dark).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --paper: #f3eee3;
  --paper-2: #ebe4d4;
  --card: #fbf8f1;
  --ink: #1b211a;
  --ink-2: #4a5246;
  --ink-3: #6b7266;
  --line: rgba(27, 33, 26, .14);
  --line-strong: rgba(27, 33, 26, .28);
  --forest: #1f3524;
  --forest-2: #2b4a31;
  --moss: #4c7c33;
  --moss-ink: #ffffff;
  --moss-hover: #3f6a29;
  --plum: #6b3d5d;
  --ochre: #a8731c;
  --link: #5e3552;
  --focus: #a8731c;
  --header-bg: rgba(243, 238, 227, .86);
  --shadow-sm: 0 1px 2px rgba(27, 33, 26, .06), 0 2px 8px rgba(27, 33, 26, .05);
  --shadow-md: 0 2px 4px rgba(27, 33, 26, .05), 0 12px 32px rgba(27, 33, 26, .10);
  --shadow-lg: 0 4px 8px rgba(27, 33, 26, .06), 0 30px 60px rgba(27, 33, 26, .16);
  --grain-opacity: .07;
  --grain-blend: multiply;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --paper: #0f130e;
  --paper-2: #151b14;
  --card: #1a2119;
  --ink: #ece6d8;
  --ink-2: #b2b8a8;
  --ink-3: #8d9485;
  --line: rgba(236, 230, 216, .13);
  --line-strong: rgba(236, 230, 216, .26);
  --forest: #0a0e09;
  --forest-2: #142016;
  --moss: #93c46e;
  --moss-ink: #10180c;
  --moss-hover: #a9d488;
  --plum: #d9a9c9;
  --ochre: #e0ad55;
  --link: #dcb0cd;
  --focus: #e0ad55;
  --header-bg: rgba(15, 19, 14, .84);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, .35);
  --shadow-lg: 0 30px 60px rgba(0, 0, 0, .45);
  --grain-opacity: .09;
  --grain-blend: overlay;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s ease, color .35s ease;
  overflow-x: hidden;
}
/* Film grain */
body::after {
  content: "";
  position: fixed; inset: -50%;
  z-index: 9999; pointer-events: none;
  opacity: var(--grain-opacity);
  mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .18em; transition: color .2s ease; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--moss) 30%, transparent); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; letter-spacing: -.015em; margin: 0 0 .5em; font-optical-sizing: auto; text-wrap: balance; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; transition: top .2s ease; }
.skip-link:focus { top: 12px; color: var(--paper); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 820px; }
.wrap-mid { max-width: 1040px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 .78rem/1.2 var(--font-body);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ochre);
  margin: 0 0 1.1rem;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--moss); --btn-fg: var(--moss-ink); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .8em 1.4em;
  font: 600 .95rem/1.1 var(--font-body); letter-spacing: .01em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn:hover { --btn-bg: var(--moss-hover); color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
/* green buttons: a soft top-to-bottom sheen */
.btn:not(.btn-ghost):not(.btn-light):not(.btn-outline-light) {
  background-image: linear-gradient(135deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, .12) 100%);
  background-origin: border-box; background-clip: border-box; background-repeat: no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn:not(.btn-ghost):not(.btn-light):not(.btn-outline-light):hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), var(--shadow-md); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn-ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink); }
.btn-light { --btn-bg: #f6f1e6; --btn-fg: #17200f; }
.btn-light:hover { --btn-bg: #ffffff; --btn-fg: #17200f; }
.btn-outline-light { --btn-bg: rgba(255,255,255,.04); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn-outline-light:hover { --btn-bg: #fff; --btn-fg: #17200f; --btn-bd: #fff; }
.btn-sm { min-height: 40px; padding: .6em 1.1em; font-size: .875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.text-link {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 600; color: var(--ink); text-decoration: none;
  border-bottom: 1.5px solid var(--line-strong); padding-bottom: 2px;
  transition: border-color .2s ease, gap .25s var(--ease);
}
.text-link:hover { border-color: var(--moss); gap: .7em; color: var(--ink); }
.text-link svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--ink);
  transition: background-color .35s ease, box-shadow .35s ease, color .35s ease, transform .35s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: opacity .35s ease;
}
.has-hero .site-header:not(.is-scrolled) { color: #fff; }
.has-hero .site-header:not(.is-scrolled)::before { opacity: 0; }
/* dark fade behind the menu while it sits over a photo, so the links stay readable */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--header-h) + 70px); z-index: -2;
  background: linear-gradient(180deg, rgba(8, 12, 7, .78) 0%, rgba(8, 12, 7, .5) 45%, rgba(8, 12, 7, 0) 100%);
  opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.has-hero .site-header:not(.is-scrolled)::after { opacity: 1; }
.menu-open .site-header::after { opacity: 0 !important; }
.has-hero .site-header:not(.is-scrolled) .nav-trigger,
.has-hero .site-header:not(.is-scrolled) .nav-link { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; flex: none; color: inherit; text-decoration: none; padding: 6px 0; }
.brand-mark {
  display: block; height: 34px; aspect-ratio: 1023 / 177;
  background: currentColor;
  -webkit-mask: url(../assets/img/hgs-logo-mask.png) center / contain no-repeat;
  mask: url(../assets/img/hgs-logo-mask.png) center / contain no-repeat;
}
.brand:hover { color: inherit; opacity: .85; }

.primary-nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-trigger, .nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  height: 42px; padding: 0 14px;
  font: 500 .9375rem/1 var(--font-body); color: inherit;
  background: none; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  transition: background-color .2s ease;
}
.nav-trigger:hover, .nav-link:hover, .nav-item.is-open > .nav-trigger { background: color-mix(in srgb, currentColor 10%, transparent); color: inherit; }
.nav-trigger svg { width: 14px; height: 14px; transition: transform .25s var(--ease); opacity: .7; }
.nav-item.is-open > .nav-trigger svg { transform: rotate(180deg); }
.nav-trigger[aria-current="true"], .nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ochre); border-radius: 0; }

.nav-panel {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: min(560px, 90vw);
  translate: -50% 6px;
  padding: 10px;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transition: opacity .22s ease, translate .28s var(--ease), visibility 0s linear .28s;
}
.nav-panel::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.nav-item.is-open > .nav-panel { opacity: 1; visibility: visible; translate: -50% 0; transition: opacity .22s ease, translate .28s var(--ease), visibility 0s; }
.nav-panel ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav-panel a {
  display: block; padding: 12px 14px; border-radius: 10px;
  color: var(--ink); text-decoration: none;
  transition: background-color .18s ease;
}
.nav-panel a:hover { background: var(--paper-2); }
.nav-panel a[aria-current="page"] { background: var(--paper-2); }
.nav-panel a strong { display: block; font: 600 .9375rem/1.3 var(--font-body); }
.nav-panel a span { display: block; margin-top: 3px; font-size: .8125rem; line-height: 1.4; color: var(--ink-3); }
.nav-panel .panel-foot {
  grid-column: 1 / -1; margin-top: 6px; padding: 12px 14px;
  border-top: 1px solid var(--line);
  font: 600 .75rem/1.4 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
}

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; padding: 0;
  color: inherit; background: none;
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent); border-radius: 999px;
  cursor: pointer; transition: background-color .2s ease, border-color .2s ease;
}
.icon-btn:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
.header-cta { margin-left: 4px; }
.menu-toggle { display: none; }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: var(--paper); color: var(--ink);
  padding: calc(var(--header-h) + 8px) var(--gutter) 40px;
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s ease, transform .35s var(--ease), visibility 0s linear .35s;
}
.menu-open .mobile-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .35s var(--ease), visibility 0s; }
.menu-open { overflow: hidden; }
.menu-open .site-header { color: var(--ink) !important; }
.menu-open .site-header::before { opacity: 1 !important; background: var(--paper); }
.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; font: 500 1.5rem/1.2 var(--font-display);
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary svg { width: 20px; height: 20px; transition: transform .25s var(--ease); color: var(--ink-3); }
.mobile-nav details[open] summary svg { transform: rotate(45deg); }
.mobile-nav ul { list-style: none; margin: 0; padding: 0 0 16px; }
.mobile-nav ul a { display: block; padding: 10px 0; color: var(--ink-2); text-decoration: none; font-size: 1.0625rem; }
.mobile-nav ul a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.mobile-nav .m-link { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); font: 500 1.5rem/1.2 var(--font-display); color: var(--ink); text-decoration: none; }
.mobile-nav .btn { margin-top: 28px; width: 100%; }

@media (max-width: 1080px) {
  .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .brand-mark { height: 28px; }
}
.menu-toggle .bars { position: relative; width: 18px; height: 12px; }
.menu-toggle .bars i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s; }
.menu-toggle .bars i:nth-child(1) { top: 0; }
.menu-toggle .bars i:nth-child(2) { top: 5.25px; }
.menu-toggle .bars i:nth-child(3) { top: 10.5px; }
.menu-open .menu-toggle .bars i:nth-child(1) { top: 5.25px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars i:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle .bars i:nth-child(3) { top: 5.25px; transform: rotate(-45deg); }

/* ---------- Heroes ---------- */
.hero {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: min(72vh, 720px);
  padding: calc(var(--header-h) + 64px) 0 clamp(48px, 7vw, 88px);
  color: #fff; background: #12180f; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.82) saturate(.9); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 12, 7, .65) 0%, rgba(8, 12, 7, .3) 32%, rgba(8, 12, 7, .45) 60%, rgba(8, 12, 7, .9) 100%),
    radial-gradient(90% 90% at 15% 85%, rgba(8, 12, 7, .7), transparent 70%);
}
.hero .eyebrow { color: #e9c27a; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.75rem); font-weight: 400; max-width: 18ch; margin-bottom: .3em; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero .lede { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); max-width: 60ch; color: rgba(255,255,255,.86); margin: 0; }
.hero-compact { min-height: min(56vh, 560px); }

.crumbs { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font: 500 .875rem/1.2 var(--font-body); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.7); }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { color: #e9c27a; text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* Home hero */
.home-hero { min-height: 100svh; align-items: center; text-align: center; padding-bottom: 120px; }
.home-hero::after {
  background:
    radial-gradient(60% 45% at 50% 50%, rgba(8, 12, 7, .55), rgba(8, 12, 7, 0) 100%),
    linear-gradient(180deg, rgba(8, 12, 7, .6) 0%, rgba(8, 12, 7, .15) 28%, rgba(8, 12, 7, .15) 68%, rgba(8, 12, 7, .92) 100%),
    rgba(8, 12, 7, .42);
}
.home-hero .wrap { display: flex; flex-direction: column; align-items: center; }
.home-hero h1 { max-width: none; margin: 0 0 28px; width: min(860px, 100%); }
.home-hero .logo-lockup {
  display: block; width: 100%; aspect-ratio: 1023 / 177;
  background: #fff;
  -webkit-mask: url(../assets/img/hgs-logo-mask.png) center / contain no-repeat;
  mask: url(../assets/img/hgs-logo-mask.png) center / contain no-repeat;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,.35));
}
.home-hero .tagline {
  font: italic 400 clamp(1.05rem, 1.7vw, 1.35rem)/1.5 var(--font-display);
  color: #fff; max-width: 640px; margin: 0 auto 40px; text-shadow: 0 1px 2px rgba(0,0,0,.6), 0 2px 18px rgba(0,0,0,.55);
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font: 500 .8125rem/1 var(--font-body);
  color: rgba(255,255,255,.7); text-decoration: none;
}
.scroll-cue .mouse { position: relative; display: block; width: 30px; height: 46px; border: 2px solid rgba(255,255,255,.85); border-radius: 14px; transition: border-color .2s ease; }
.scroll-cue .leaf { position: absolute; left: 50%; top: 6px; width: 16px; height: 17px; margin-left: -8px; color: #fff; animation: wheel 2.6s ease-in-out infinite; }
.scroll-cue:hover { color: #fff; }
.scroll-cue:hover .mouse { border-color: #fff; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 0; } 25% { transform: translateY(0); opacity: 1; } 40% { transform: translateY(0); opacity: 1; } 85% { transform: translateY(10px); opacity: 0; } 100% { transform: translateY(10px); opacity: 0; } }

/* Home hero entrance: photo fades in, then the logo, tagline, buttons and scroll cue rise into place */
.home-hero .hero-media img { animation: hero-photo 1.4s ease both; }
.home-hero h1, .home-hero .tagline, .home-hero .btn-row, .home-hero .scroll-cue { animation: hero-in 1.1s var(--ease) both; }
.home-hero h1 { animation-delay: .2s; }
.home-hero .tagline { animation-delay: .45s; }
.home-hero .btn-row { animation-delay: .65s; }
.home-hero .scroll-cue { animation-delay: 1.1s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes hero-photo { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.section-sm { padding-block: clamp(48px, 6vw, 80px); }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--forest); color: #ece6d8; --ink: #ece6d8; --ink-2: #b9c0ae; --ink-3: #98a08d; --line: rgba(236,230,216,.14); --line-strong: rgba(236,230,216,.3); --link: #e6bfd8; --card: rgba(255,255,255,.04); }
.section-dark .eyebrow { color: #e0ad55; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.25rem); margin: 0; max-width: 20ch; }
.section-head p { max-width: 46ch; color: var(--ink-2); margin: 0; }
.h-display { font-size: clamp(2.25rem, 4.6vw, 3.75rem); font-weight: 400; }

/* ---------- Home: intro ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.intro-statement { font: 350 clamp(1.6rem, 3vw, 2.5rem)/1.28 var(--font-display); letter-spacing: -.012em; margin: 0 0 1.4em; text-wrap: pretty; }
.intro-statement em { font-style: italic; color: var(--plum); }
.fact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.fact-list li { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.fact-list .fact-num { font: 400 clamp(1.9rem, 3vw, 2.5rem)/1 var(--font-display); color: var(--ink); letter-spacing: -.02em; }
.fact-list .fact-label { font: 500 .875rem/1.5 var(--font-body); color: var(--ink-3); }

/* ---------- Feature cards (home pillars, link cards) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.pillars-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pillar {
  position: relative; display: flex; flex-direction: column;
  min-height: 540px; padding: 28px; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); color: #fff; text-decoration: none;
  background: #1a2216; box-shadow: var(--shadow-md);
}
.pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.pillar::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,14,9,.05) 25%, rgba(10,14,9,.55) 55%, rgba(10,14,9,.92)); transition: opacity .4s ease; }
.pillar:hover { color: #fff; }
.pillar:hover img { transform: scale(1.06); }
.pillar-num { font: 600 .75rem/1 var(--font-body); letter-spacing: .06em; color: rgba(255,255,255,.8); }
.pillar-body { margin-top: auto; }
.pillar h3 { font-size: clamp(1.6rem, 2.3vw, 2rem); font-weight: 400; margin-bottom: .45em; }
.pillar p { color: rgba(255,255,255,.84); font-size: 1rem; margin-bottom: 1.4em; }
.pillar .more { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: .9375rem; }
.pillar .more svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.pillar:hover .more svg { transform: translateX(4px); }

.link-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 8px; }
.link-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 24px 24px 22px;
  background: var(--card); color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); color: var(--ink); }
.link-card .lc-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; background: color-mix(in srgb, var(--moss) 14%, transparent); color: var(--moss); }
.link-card .lc-icon svg { width: 20px; height: 20px; }
.link-card strong { font: 500 1.25rem/1.25 var(--font-display); }
.link-card span.lc-meta { font: 500 .875rem/1.4 var(--font-body); color: var(--ink-3); }
.link-card .lc-arrow { position: absolute; top: 24px; right: 22px; width: 20px; height: 20px; color: var(--ink-3); transition: transform .3s var(--ease), color .3s; }
.link-card:hover .lc-arrow { transform: translate(3px, -3px); color: var(--moss); }

/* ---------- Video ---------- */
.video {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius-lg); background: #0b0f0a;
  box-shadow: var(--shadow-lg);
}
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: grid; place-items: center; padding: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8,12,7,.6)); border: 0; cursor: pointer; color: #fff;
}
.video-play .play-ring {
  display: grid; place-items: center;
  width: clamp(72px, 9vw, 104px); aspect-ratio: 1; border-radius: 999px;
  background: rgba(246, 241, 230, .92); color: #17200f;
  box-shadow: 0 10px 40px rgba(0,0,0,.35), 0 0 0 0 rgba(246,241,230,.35);
  transition: transform .35s var(--ease), box-shadow .5s ease;
}
.video-play .play-ring svg { width: 36%; height: 36%; }
.video-play:hover .play-ring, .video-play:focus-visible .play-ring { transform: scale(1.07); box-shadow: 0 10px 40px rgba(0,0,0,.35), 0 0 0 14px rgba(246,241,230,.16); }
.video-meta {
  position: absolute; left: 22px; right: 22px; bottom: 18px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  font: 500 .875rem/1.4 var(--font-body); color: rgba(255,255,255,.88);
  pointer-events: none; text-align: left;
}
.video-meta strong { font: 500 clamp(1rem, 1.6vw, 1.25rem)/1.25 var(--font-display); display: block; color: #fff; }
.video.is-playing .video-play, .video.is-playing .video-meta, .video.is-playing img { display: none; }
.video-note { margin-top: 14px; font-size: .875rem; color: var(--ink-3); }
.video-unavailable {
  aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; padding: 32px;
  border-radius: var(--radius-lg); border: 1px dashed var(--line-strong); background: var(--paper-2); color: var(--ink-2);
}
.video-unavailable strong { display: block; font: 500 1.35rem/1.3 var(--font-display); color: var(--ink); margin-bottom: 6px; }

.film-feature { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.film-feature h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.film-feature p { color: var(--ink-2); }

/* ---------- Quotes ---------- */
.quote-feature { max-width: 1040px; margin-inline: auto; text-align: center; }
.quote-feature blockquote { margin: 0; }
.quote-feature .q-mark { display: block; font: 400 7rem/0.6 var(--font-display); color: var(--ochre); height: .5em; margin-bottom: 18px; }
.quote-feature p.q { font: 350 clamp(1.6rem, 3.3vw, 2.6rem)/1.3 var(--font-display); letter-spacing: -.012em; margin: 0 0 1.1em; }
.cite { display: inline-flex; flex-direction: column; gap: 2px; font-style: normal; }
.cite strong { font-weight: 600; }
.cite span { font: 500 .875rem/1.5 var(--font-body); color: var(--ink-3); }
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(48px, 6vw, 80px); }
.quote-card { margin: 0; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.quote-card blockquote { margin: 0; }
.quote-card p { font: 400 1.125rem/1.5 var(--font-display); margin: 0; }
.quote-card footer { margin-top: auto; }

/* ---------- Panorama band ---------- */
.panorama { position: relative; isolation: isolate; min-height: 70vh; display: grid; align-items: end; color: #fff; overflow: hidden; }
.panorama img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; z-index: -2; will-change: transform; }
.panorama::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(75% 85% at 28% 58%, rgba(8, 12, 7, .72) 0%, rgba(8, 12, 7, .38) 55%, rgba(8, 12, 7, 0) 100%),
    radial-gradient(140% 120% at 50% 50%, rgba(8, 12, 7, 0) 45%, rgba(8, 12, 7, .55) 100%),
    linear-gradient(180deg, rgba(8, 12, 7, .25), rgba(8, 12, 7, .2) 40%, rgba(8, 12, 7, .75));
}
.panorama img { filter: brightness(.85) saturate(.9); }
.panorama .wrap { padding-block: clamp(48px, 7vw, 96px); }
.panorama blockquote { margin: 0; max-width: 30ch; font: 350 clamp(1.7rem, 3.4vw, 2.8rem)/1.22 var(--font-display); letter-spacing: -.01em; text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 4px 28px rgba(0,0,0,.55); }
.panorama .eyebrow { color: #f0cd8a; text-shadow: 0 1px 2px rgba(0,0,0,.7), 0 2px 14px rgba(0,0,0,.6); }
.panorama .text-link { color: #fff; border-color: rgba(255,255,255,.45); margin-top: 28px; text-shadow: 0 1px 2px rgba(0,0,0,.7), 0 2px 14px rgba(0,0,0,.6); }
.panorama .text-link:hover { border-color: #fff; }

/* ---------- News + story strip ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; }
.panel h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
/* photo panel: text sits low over a darkened image */
.panel-photo { position: relative; isolation: isolate; overflow: hidden; min-height: 380px; justify-content: flex-end; color: #fff; text-decoration: none; background: #1c2b1e; border: 0; }
.panel-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.panel-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,16,10,.15) 0%, rgba(10,16,10,.55) 45%, rgba(10,16,10,.92) 100%); }
.panel-photo h2 { color: #fff; }
.panel-photo p { color: rgba(255,255,255,.86); max-width: 44ch; }
.panel-photo .eyebrow { color: #e9c27a; }
.panel-photo .text-link { color: #fff; border-color: rgba(255,255,255,.45); align-self: flex-start; margin-top: 8px; }
.panel-photo:hover { color: #fff; }
.panel-photo:hover .text-link { border-color: #fff; }
.news-item { display: block; padding: 22px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.news-item:last-child { border-bottom: 1px solid var(--line); }
.news-item time { font: 500 .875rem/1.4 var(--font-body); color: var(--ochre); }
.news-item h3 { font-size: 1.375rem; margin: .45em 0 .35em; transition: color .2s; }
.news-item p { color: var(--ink-2); margin: 0; font-size: .975rem; }
.news-item:hover h3 { color: var(--moss); }
/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 80px); color: #fff; background: #1c2b1e; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,22,14,.95) 0%, rgba(14,22,14,.75) 50%, rgba(14,22,14,.35)); }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.25rem); max-width: 16ch; font-weight: 400; }
.cta-band p a { color: #fff; overflow-wrap: anywhere; }
.cta-band p { max-width: 48ch; color: rgba(255,255,255,.85); font-size: 1.125rem; margin-bottom: 1.8em; }
.cta-band .eyebrow { color: #e9c27a; }

/* ---------- Article / prose ---------- */
.page-body { padding-block: clamp(56px, 8vw, 112px); position: relative; }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 28px); }
.prose { max-width: 68ch; font-size: 1.125rem; line-height: 1.75; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin-top: 1.8em; }
.prose h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-top: 1.8em; }
.prose h4 { font: 600 .8125rem/1.4 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ochre); margin: 2.4em 0 .8em; }
.prose b, .prose strong { font-weight: 650; }
.prose ol, .prose ul { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .8em; padding-left: .3em; }
.prose li::marker { color: var(--ochre); font-family: var(--font-body); font-size: .9em; }
.prose .lead { font: 350 clamp(1.3rem, 2vw, 1.55rem)/1.5 var(--font-display); color: var(--ink); letter-spacing: -.005em; }
.prose.dropcap > p:first-of-type::first-letter {
  float: left; font: 400 5.2em/.82 var(--font-display); margin: .06em .1em 0 0; color: var(--plum);
}
.prose blockquote { margin: 2em 0; padding: 0 0 0 1.4em; border-left: 2px solid var(--ochre); font: 400 1.3rem/1.5 var(--font-display); }

.aside-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.aside-card + .aside-card { margin-top: 16px; }
.aside-card h2, .aside-card h3 { font: 600 .75rem/1.4 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links li + li { border-top: 1px solid var(--line); }
.aside-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .975rem; }
.aside-links a:hover { color: var(--moss); }
.aside-links a[aria-current="page"] { color: var(--moss); font-weight: 650; }
.aside-links svg { width: 16px; height: 16px; flex: none; opacity: .6; }

.note {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; margin: 0 0 2em;
  border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--ochre) 40%, transparent);
  background: color-mix(in srgb, var(--ochre) 9%, var(--card));
  font-size: .975rem; line-height: 1.55; color: var(--ink);
}
.note svg { width: 20px; height: 20px; flex: none; color: var(--ochre); margin-top: 2px; }
.note p { margin: 0; }

.page-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: clamp(48px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); }
.page-nav a { display: flex; flex-direction: column; gap: 4px; max-width: 48%; text-decoration: none; color: var(--ink); }
.page-nav a span { font: 500 .875rem/1.4 var(--font-body); color: var(--ink-3); }
.page-nav a strong { font: 500 1.2rem/1.3 var(--font-display); transition: color .2s; }
.page-nav a:hover strong { color: var(--moss); }
.page-nav a.next { margin-left: auto; text-align: right; }

/* ---------- Timeline (production plan) ---------- */
.timeline { list-style: none; margin: 1.5em 0 2.5em; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.timeline > li { position: relative; padding: 0 0 2.4em 56px; margin: 0; }
.timeline > li::marker { content: none; }
.timeline > li::before {
  content: attr(data-step); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 31px; height: 31px; border-radius: 999px;
  font: 600 .75rem/1 var(--font-body); color: var(--moss-ink); background: var(--moss);
  box-shadow: 0 0 0 6px var(--paper);
}
.timeline .tl-title { display: block; font: 500 1.35rem/1.3 var(--font-display); margin-bottom: .55em; }

/* ---------- Team ---------- */
.person { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.person:first-of-type { border-top: 0; padding-top: 0; }
.person figure { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); filter: saturate(.92); }
.person .role { font: 600 .75rem/1.4 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ochre); margin-bottom: .7em; }
.person h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); margin-bottom: .6em; }
.person .prose { font-size: 1.0625rem; }
.advisors { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.advisor { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.advisor h3 { font-size: 1.4rem; margin-bottom: .5em; }
.advisor p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.monogram { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; margin-bottom: 18px; font: 500 1.1rem/1 var(--font-display); color: var(--moss); background: color-mix(in srgb, var(--moss) 13%, transparent); }

/* ---------- Testimonials ---------- */
.testimonial { padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); }
.testimonial:first-child { border-top: 0; padding-top: 0; }
.testimonial .t-who { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.testimonial .t-who .monogram { width: 64px; height: 64px; font-size: 1.4rem; }
.testimonial .t-who strong { display: block; font: 500 1.35rem/1.25 var(--font-display); margin-bottom: 6px; }
.testimonial .t-who div span { display: block; font: 500 .875rem/1.55 var(--font-body); color: var(--ink-3); }
.testimonial .t-body p { font: 400 clamp(1.125rem, 1.6vw, 1.25rem)/1.65 var(--font-display); }
.testimonial .t-body p:first-child::first-letter { color: var(--plum); }
.testimonial .t-sign { font: 500 .875rem/1.6 var(--font-body); color: var(--ink-3); margin-top: 1.5em; }

/* ---------- Archive / transcripts / docs ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.doc-card { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: box-shadow .3s ease, transform .3s var(--ease), border-color .3s; }
.doc-card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.doc-card .doc-tag { font: 600 .72rem/1.4 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ochre); margin-bottom: 14px; display: flex; justify-content: space-between; }
.doc-card h3 { font-size: 1.5rem; margin-bottom: 18px; }
.doc-files { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.doc-files a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px;
  background: var(--paper-2); color: var(--ink); text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.doc-files a:hover { background: var(--moss); color: var(--moss-ink); }
.doc-files a:hover small { color: inherit; opacity: .8; }
.doc-files svg { width: 18px; height: 18px; flex: none; }
.doc-files span { flex: 1; font-weight: 550; font-size: .95rem; }
.doc-files small { font: 500 .875rem/1 var(--font-body); color: var(--ink-3); }

.empty-state {
  position: relative; overflow: hidden;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 64px);
  border-radius: var(--radius-lg); border: 1px dashed var(--line-strong);
  background: var(--card); text-align: center;
}
.empty-state .es-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 999px; background: color-mix(in srgb, var(--ochre) 14%, transparent); color: var(--ochre); margin-bottom: 22px; }
.empty-state .es-icon svg { width: 28px; height: 28px; }
.empty-state p.es-text { font: 400 clamp(1.6rem, 3vw, 2.25rem)/1.25 var(--font-display); margin: 0 0 28px; }
.empty-state .btn-row { justify-content: center; }
/* support page: the one call to action, centred on a card */
.support-note { text-align: center; padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px); border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.support-note .es-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 999px; background: color-mix(in srgb, var(--moss) 13%, transparent); color: var(--moss); margin-bottom: 22px; }
.support-note .es-icon svg { width: 28px; height: 28px; }
.support-note p.es-text { font: 400 clamp(1.45rem, 2.6vw, 2rem)/1.35 var(--font-display); margin: 0 auto 30px; max-width: 30ch; }
.support-note p.es-text a { overflow-wrap: anywhere; }
.support-note .btn-row { justify-content: center; }
@media (max-width: 480px) { .support-note { padding-inline: 18px; } .support-note p.es-text { font-size: 1.3rem; } }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font: 600 .875rem/1.3 var(--font-body); color: var(--ink); padding: 0; }
.field legend { margin-bottom: 2px; float: left; width: 100%; } /* legends ignore the fieldset's flex gap */
.field legend + * { clear: both; }
.field > span em, .field legend em { font-style: normal; font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 15px;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 10px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--ink-3); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 4px color-mix(in srgb, var(--moss) 20%, transparent); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b4412f; }
.field .err { font-size: .8125rem; color: #b4412f; min-height: 0; }
:root[data-theme="dark"] .field .err { color: #f09a85; }
:root[data-theme="dark"] .field input[aria-invalid="true"], :root[data-theme="dark"] .field textarea[aria-invalid="true"] { border-color: #f09a85; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 500; font-size: .95rem; transition: all .2s ease; }
.choice input:checked + span { background: var(--moss); border-color: var(--moss); color: var(--moss-ink); }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.h-captcha { min-height: 78px; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-size: .95rem; display: none; }
.form-status.is-ok { display: block; background: color-mix(in srgb, var(--moss) 14%, transparent); border: 1px solid color-mix(in srgb, var(--moss) 45%, transparent); }
.form-status.is-err { display: block; background: rgba(180, 65, 47, .1); border: 1px solid rgba(180, 65, 47, .4); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn .spinner { width: 16px; height: 16px; border-radius: 999px; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; display: none; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.hp-field { position: absolute !important; left: -9999px !important; }

.contact-points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 4px; }
.contact-points li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-points svg { width: 20px; height: 20px; flex: none; color: var(--moss); margin-top: 3px; }
.contact-points strong { display: block; font-weight: 600; }
.contact-points span { color: var(--ink-2); font-size: .975rem; }


/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: #d9d4c6; padding-top: clamp(64px, 8vw, 104px); position: relative; }
:root[data-theme="dark"] .site-footer { background: #090c08; border-top: 1px solid var(--line); }
.site-footer a { color: #ece6d8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px); padding-bottom: clamp(48px, 6vw, 72px); }
.footer-brand .brand-mark { height: 40px; color: #f3eee3; margin-bottom: 22px; }
.footer-brand p { color: #b9b4a5; max-width: 38ch; font-size: .975rem; }
.footer-col h2 { font: 600 .72rem/1.4 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: #e0ad55; margin: 0 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: #d9d4c6; font-size: .95rem; }
.footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0 28px; border-top: 1px solid rgba(236,230,216,.14); font-size: .8125rem; color: #a9a495; }
.footer-bar .legal { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.footer-bar .legal a { color: #a9a495; }
.ieq-credit { display: inline-flex; flex: none; color: #8f8a7c; transition: color .25s ease; }
.ieq-credit span { display: block; height: 32px; aspect-ratio: 1215 / 213; background: currentColor; -webkit-mask: url(../assets/ieq-credit.svg) center / contain no-repeat; mask: url(../assets/ieq-credit.svg) center / contain no-repeat; }
.ieq-credit:hover, .ieq-credit:focus-visible { color: #f3eee3; }

/* ---------- Cannabis leaf motif ---------- */
/* Background leaves: one filled, one thin outline, very faint with a soft gradient */
.leafy { --leaf-fill: var(--moss); --leaf-line: var(--ink); overflow-x: clip; }
.section-dark.leafy, .site-footer .leafy { --leaf-fill: #93c46e; --leaf-line: #ece6d8; }
/* footer leaves live in their own clipped layer so they never lengthen the page */
.leaf-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.site-footer > .wrap { position: relative; z-index: 1; }
.leafy::before, .leafy::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  aspect-ratio: 212 / 136;
}
.leafy::before {
  width: clamp(300px, 36vw, 560px);
  background: linear-gradient(160deg, color-mix(in srgb, var(--leaf-fill) 9%, transparent), color-mix(in srgb, var(--leaf-fill) 2%, transparent) 85%);
  -webkit-mask: url(../assets/img/leaf.svg) center / contain no-repeat;
  mask: url(../assets/img/leaf.svg) center / contain no-repeat;
}
.leafy::after {
  width: clamp(340px, 42vw, 640px);
  background: linear-gradient(200deg, color-mix(in srgb, var(--leaf-line) 16%, transparent), color-mix(in srgb, var(--leaf-line) 4%, transparent) 80%);
  -webkit-mask: url(../assets/img/leaf-outline.svg) center / contain no-repeat;
  mask: url(../assets/img/leaf-outline.svg) center / contain no-repeat;
}
.section-dark.leafy::before, .site-footer .leafy::before { opacity: .7; }
.section-dark.leafy::after, .site-footer .leafy::after { opacity: .55; }
.leafy > .wrap { position: relative; z-index: 1; }
/* placements */
.leafy-a::before { top: 6%; right: -6%; rotate: 22deg; }
.leafy-a::after { bottom: 4%; left: -9%; rotate: -28deg; }
.leafy-b::before { bottom: 6%; left: -7%; rotate: -18deg; }
.leafy-b::after { top: 4%; right: -10%; rotate: 32deg; }
.leafy-c::before { top: 38%; right: -12%; rotate: -64deg; }
.leafy-c::after { top: 2%; left: -12%; rotate: 14deg; }
@media (max-width: 640px) {
  .leafy::before { width: 300px; } .leafy::after { width: 340px; }
}
@media print { .leafy::before, .leafy::after { display: none; } }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .layout-aside { grid-template-columns: 1fr; }
  .aside-sticky { position: static; }
}
@media (max-width: 960px) {
  .intro-grid, .film-feature, .split, .form-shell { grid-template-columns: 1fr; }
  .pillars, .pillars-2 { grid-template-columns: 1fr; }
  .pillar { min-height: 420px; }
  .quote-grid { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; }
  .person figure { position: static; max-width: 280px; }
  .testimonial { grid-template-columns: 1fr; gap: 20px; }
  .testimonial .t-who { position: static; display: flex; align-items: center; gap: 16px; }
  .testimonial .t-who .monogram { margin: 0; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  body { font-size: 1rem; }
  .prose { font-size: 1.0625rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero { min-height: 60vh; }
  .home-hero { min-height: 100svh; padding-bottom: 96px; }
  .home-hero .btn-row { flex-direction: column; width: 100%; max-width: 320px; }
  .home-hero .btn-row .btn { width: 100%; }
  .page-nav { flex-direction: column; }
  .page-nav a { max-width: none; }
  .page-nav a.next { margin-left: 0; text-align: left; }
  .doc-grid, .advisors { grid-template-columns: 1fr; }
}

@media print {
  body::after, .site-header, .mobile-nav, .site-footer, .scroll-cue { display: none !important; }
  .hero { min-height: 0; color: #000; background: none; padding: 24px 0; }
  .hero::after, .hero-media { display: none; }
  .hero .lede, .crumbs li { color: #333; }
}
