/* Hope Haven of East Texas — dark canvas, flat surfaces, photography-led.
   Reference lock: Air (air.inc) style system, accent hue swapped to the Hope Haven purple. */

:root {
  --canvas: #000000;
  --whiteout: #ffffff;
  --haze: #f5f5f5;
  --ink: #1b1b1b;
  --brand: #6a1b9a;          /* logo purple: brand marks + accents on light cards only */
  --heading-dark: #c9b3ee;   /* headings on dark canvas (the only chromatic text colour) */
  --accent: #d2b4ff;         /* links, tags, emphasised short phrases */
  --line: rgba(255, 255, 255, 0.18);
  --line-ink: rgba(0, 0, 0, 0.1);
  --muted: rgba(255, 255, 255, 0.72);

  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Anton', 'Impact', 'Arial Narrow', ui-sans-serif, sans-serif;
  --font-cursive: 'Caveat', 'Bradley Hand', cursive;

  --r-input: 4px;
  --r-btn: 8px;
  --r-img: 11px;
  --r-card: 12px;

  --max: 1150px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--whiteout);
  font: 500 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 16px; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--haze); color: var(--ink); padding: 8px 16px; border-radius: var(--r-btn); z-index: 100; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: 48px; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.cursive { font-family: var(--font-cursive); font-weight: 500; font-size: 1.28em; line-height: 1; }

/* Type roles */
.eyebrow { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.display { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; line-height: 0.9; letter-spacing: 0.005em; }
h1.display { font-size: clamp(48px, 8vw, 120px); }
.h-lg { font-size: clamp(36px, 5vw, 56px); font-weight: 400; line-height: 1.02; letter-spacing: -0.02em; }
.h { font-size: clamp(26px, 3vw, 32px); line-height: 1.1; }
.h-on-dark { color: var(--heading-dark); }
.sub { font-size: 20px; line-height: 1.4; }
.lede { font-size: 20px; line-height: 1.4; color: var(--muted); max-width: 640px; font-weight: 400; }
.small { font-size: 14px; }
.caption { font-size: 13px; color: var(--muted); }

.prose { max-width: 720px; font-weight: 400; font-size: 17px; line-height: 1.6; }
.prose p { margin: 0 0 20px; }
.prose h2 { font-size: 32px; line-height: 1.1; font-weight: 500; color: var(--heading-dark); margin: 40px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; line-height: 1.4; font-weight: 500; margin: 32px 0 8px; }
.prose ul { list-style: disc; padding-left: 22px; margin: 0 0 20px; }
.prose li { margin: 0 0 6px; }
.prose a, .link { border-bottom: 2px solid var(--accent); padding-bottom: 1px; }
.prose a:hover, .link:hover { color: var(--accent); }
.prose strong { font-weight: 500; }
.prose--wide { max-width: 900px; }

/* Buttons — ghost or haze only */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--r-btn); border: 1px solid var(--whiteout);
  font: 500 16px/1.25 var(--font); color: var(--whiteout); background: transparent;
  cursor: pointer; transition: background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { background: rgba(255, 255, 255, 0.1); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-haze { background: var(--haze); color: var(--ink); border-color: var(--ink); padding: 8px 16px; }
.btn-haze:hover { background: var(--whiteout); }
.btn-lg { padding: 14px 22px; font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: 72px; transition: background-color .2s ease, border-color .2s ease; border-bottom: 1px solid transparent; }
.site-header.is-scrolled, body.is-inner .site-header { background: rgba(0, 0, 0, 0.88); border-bottom-color: var(--line); }
.header-inner { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); height: 100%; display: flex; align-items: center; gap: 24px; }
.brand img { height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; flex: 1; gap: 24px; }
.nav-list { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r-btn); font: 500 15px/1 var(--font); color: var(--whiteout); background: none; border: 0; cursor: pointer; }
.nav-link:hover { background: rgba(255, 255, 255, 0.1); }
.nav-group { position: relative; }
.nav-group svg { transition: transform .15s ease; }
.nav-group.is-open svg { transform: rotate(180deg); }
.nav-panel {
  position: absolute; top: 100%; left: 0; min-width: 260px; margin-top: 4px;
  background: var(--haze); color: var(--ink); border-radius: var(--r-card); padding: 8px;
  display: none; flex-direction: column;
}
.nav-panel a { display: block; padding: 10px 12px; border-radius: var(--r-btn); font-size: 15px; }
.nav-panel a:hover { background: var(--whiteout); }
.nav-group.is-open .nav-panel { display: flex; }
.nav-actions { display: flex; gap: 8px; margin-left: auto; }
.menu-btn { display: none; margin-left: auto; }

@media (max-width: 960px) {
  .site-nav { display: none; }
  .menu-btn { display: inline-flex; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-nav {
    display: flex; position: fixed; inset: 72px 0 0; background: var(--canvas); flex-direction: column;
    align-items: stretch; padding: 16px var(--gutter) 32px; overflow: auto; border-top: 1px solid var(--line);
  }
  body.nav-open .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  body.nav-open .nav-link { width: 100%; justify-content: space-between; padding: 16px 0; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  body.nav-open .nav-link:hover { background: none; }
  body.nav-open .nav-panel { position: static; background: transparent; color: var(--whiteout); padding: 4px 0 8px; min-width: 0; margin: 0; }
  body.nav-open .nav-panel a { padding: 10px 16px; color: var(--muted); }
  body.nav-open .nav-panel a:hover { background: rgba(255, 255, 255, 0.08); color: var(--whiteout); }
  body.nav-open .nav-actions { margin: 24px 0 0; flex-direction: column; }
  body.nav-open .nav-actions .btn { width: 100%; padding: 14px; }
  body.nav-open .site-header { background: var(--canvas); border-bottom-color: var(--line); }
}

/* Full-bleed photographic sections */
.bleed { position: relative; isolation: isolate; display: grid; align-items: end; color: var(--whiteout); overflow: hidden; }
.bleed > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bleed::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: -1; }
.bleed--center { align-items: center; text-align: center; }
.bleed--center .actions { justify-content: center; }
.bleed--center .lede { margin-inline: auto; }
.hero { min-height: 100svh; }
.hero .container { padding-block: 128px 96px; }
.hero-title { font-size: clamp(44px, 7.5vw, 96px); font-weight: 400; line-height: 0.98; letter-spacing: -0.02em; max-width: 14ch; }
.hero .lede { margin: 24px 0 32px; color: var(--whiteout); font-size: clamp(18px, 2.2vw, 24px); }
.bleed--cta { min-height: 80vh; }
.bleed--cta .container { padding-block: var(--section); }
.bleed--cta .display { font-size: clamp(40px, 9vw, 140px); margin: 16px 0 32px; }
.bleed--page { min-height: 62vh; }
.bleed--page .container { padding-block: 150px 64px; }

/* Page head (inner pages) */
.page-head { padding: 160px 0 48px; border-bottom: 1px solid var(--line); }
.page-head--tight { padding-bottom: 32px; }
.page-head .lede { margin-top: 20px; }

/* Cards & media */
.card { background: var(--haze); color: var(--ink); border-radius: var(--r-card); padding: 20px; }
.card--lg { padding: clamp(24px, 3vw, 40px); }
.card h2, .card h3 { color: var(--ink); }
.card .eyebrow { color: var(--brand); }
.card p { font-weight: 400; }
.card .muted { color: rgba(27, 27, 27, 0.65); }
.card a.link { border-bottom-color: var(--ink); }
.card a.link:hover { color: var(--brand); border-bottom-color: var(--brand); }
.card ul { list-style: disc; padding-left: 20px; font-weight: 400; margin-bottom: 16px; }
.card li { margin-bottom: 4px; }
.card .btn-haze { background: var(--whiteout); }
.card .btn-ghost { border-color: var(--ink); color: var(--ink); }
.card .btn-ghost:hover { background: rgba(0, 0, 0, 0.06); }

.media { border-radius: var(--r-img); overflow: hidden; background: #111; }
.media img, .media iframe { width: 100%; height: 100%; object-fit: cover; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--portrait { aspect-ratio: 4 / 5; }
.media--portrait img { object-position: 50% 18%; }
.media--empty { background: #161616; border: 1px solid var(--line); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head .h-lg { color: var(--heading-dark); }
.section-head .lede { margin: 16px auto 0; }

/* People */
.person-name { font-size: 20px; line-height: 1.3; margin-top: 16px; }
.person-role { font-size: 14px; color: var(--accent); margin: 4px 0 0; }
.person-bio { font-weight: 400; color: var(--muted); margin-top: 12px; }
.person-bio p { margin-bottom: 12px; }

/* Stats */
.stat-num { font-family: var(--font-display); font-size: clamp(64px, 9vw, 128px); line-height: 0.9; text-transform: uppercase; }
.stat-num small { font-size: 0.42em; margin: 0 0.12em; }
.stat p { margin: 12px 0 0; font-weight: 400; color: var(--muted); max-width: 34ch; }
.stat-big { text-align: center; }
.stat-big .stat-num { font-size: clamp(120px, 24vw, 300px); line-height: 0.85; }
.stat-big .sub { max-width: 520px; margin: 16px auto 0; }

/* Logos on haze */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px; }
.logo-tile { background: var(--haze); border-radius: var(--r-card); padding: 20px; display: grid; place-items: center; min-height: 120px; }
.logo-tile img { max-height: 72px; width: auto; max-width: 100%; object-fit: contain; }
.logo-tile.is-text { color: var(--ink); font-size: 18px; text-align: center; }
.logo-row { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: center; }
.logo-row img { height: 56px; width: auto; }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 24px 0; display: block; }
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee .display { font-size: clamp(72px, 16vw, 259px); line-height: 0.85; white-space: nowrap; }
.marquee .display span { margin-right: 0.35em; }
.marquee .dot { color: var(--heading-dark); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* FAQ / definition rows */
.rows { border-top: 1px solid var(--line); }
.row { padding: 32px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; }
.row h3 { font-size: 22px; line-height: 1.25; }
.row .prose { max-width: none; }
.row .prose p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; gap: 8px; } }

/* Inputs */
input, textarea, select { font: inherit; background: var(--haze); color: var(--ink); border: 1px solid var(--line-ink); border-radius: var(--r-input); padding: 10px; }

/* Embed container for third-party forms (Virtuous) */
.embed { background: var(--haze); color: var(--ink); border-radius: var(--r-card); padding: clamp(20px, 3vw, 40px); min-height: 320px; }
.embed iframe { width: 100%; min-height: 720px; border: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: var(--section) 0 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h3 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.footer-col a { display: block; padding: 5px 0; font-weight: 400; color: var(--muted); }
.footer-col a:hover { color: var(--whiteout); }
.footer-col p { font-weight: 400; color: var(--muted); }
.footer-tagline { font-family: var(--font-cursive); font-size: clamp(36px, 5vw, 56px); line-height: 1.05; margin: 64px 0 48px; color: var(--whiteout); text-wrap: balance; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-top: 24px; flex-wrap: wrap; }
.footer-logo { height: 32px; width: auto; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Utilities */
.mt-0 { margin-top: 0; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; } .mt-64 { margin-top: 64px; }
.mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; } .mb-48 { margin-bottom: 48px; }
.center { text-align: center; }
.maxw { max-width: 720px; }
.hr { border: 0; border-top: 1px solid var(--line); margin: var(--section) 0; }
.tag { display: inline-block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--line); border-radius: 9999px; padding: 6px 12px; }
.detail-list { display: grid; gap: 0; font-weight: 400; margin: 0; }
.detail-list > div { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; }
.card .detail-list > div { border-bottom-color: var(--line-ink); }
.card .detail-list dt { color: rgba(27, 27, 27, 0.65); }
.note { font-weight: 400; color: var(--muted); font-size: 15px; }

/* ===================== v2: motion, chrome, interactive ===================== */

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body { overflow-x: hidden; }
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }

/* Loader */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--canvas); display: grid; place-items: center; }
.loader-inner { display: grid; justify-items: center; gap: 24px; }
.loader-mark { width: 64px; height: 64px; border-radius: 12px; opacity: 0; transform: scale(0.8); }
.loader-words { display: flex; gap: 0.35em; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(32px, 6vw, 72px); line-height: 1; }
.loader-words span { display: inline-block; opacity: 0; transform: translateY(0.4em); }
body.is-loaded .loader { display: none; }

/* Page-transition veil */
.veil { position: fixed; inset: 0; z-index: 190; background: var(--haze); transform: translateY(101%); pointer-events: none; visibility: hidden; }
.veil.is-active { visibility: visible; }

/* Cursor */
.cursor { position: fixed; top: 0; left: 0; z-index: 210; pointer-events: none; display: none; mix-blend-mode: normal; }
body.has-cursor .cursor { display: block; }
.cursor-dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--whiteout); transform: translate(-50%, -50%); }
.cursor-ring { position: absolute; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.7); transform: translate(-50%, -50%); display: grid; place-items: center; transition: width .25s ease, height .25s ease, background-color .25s ease, border-color .25s ease; }
.cursor-label { font: 500 11px/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .2s; }
.cursor.is-link .cursor-ring { width: 56px; height: 56px; background: rgba(255,255,255,0.12); }
.cursor.is-media .cursor-ring { width: 88px; height: 88px; background: var(--haze); border-color: var(--haze); }
.cursor.is-media .cursor-label { opacity: 1; }
.cursor.is-media .cursor-dot { opacity: 0; }

/* Header v2 */
.site-header { transform: translateY(0); transition: transform .35s ease, background-color .25s ease, border-color .25s ease; }
.site-header.is-hidden { transform: translateY(-100%); }
.brand img { transition: opacity .2s; }
.nav-link span { position: relative; }
.nav-panel { position: fixed; left: 0; right: 0; top: 72px; min-width: 0; margin: 0; padding: 8px 0 0; background: transparent; border-radius: 0; display: none; }
.nav-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 24px; }
.nav-group.is-open .nav-panel { display: block; }
.nav-panel-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.nav-panel-inner { display: grid; grid-template-columns: 1fr 360px; gap: 24px; background: var(--haze); color: var(--ink); border-radius: var(--r-card); padding: 24px; }
.nav-panel-links { display: grid; align-content: start; gap: 4px; }
.nav-panel-links a { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: var(--r-btn); font-size: 20px; font-weight: 500; }
.nav-panel-links a i { font-style: normal; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.nav-panel-links a:hover { background: var(--whiteout); }
.nav-panel-links a:hover i { opacity: 1; transform: none; }
.nav-panel-card { display: grid; gap: 12px; align-content: start; border-radius: var(--r-img); overflow: hidden; background: var(--whiteout); }
.nav-panel-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .6s ease; }
.nav-panel-card:hover img { transform: scale(1.04); }
.nav-panel-card p { padding: 0 16px 16px; font-weight: 400; margin: 0; }
.nav-mobile-foot { display: none; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--whiteout); border-radius: var(--r-btn); background: transparent; margin-left: auto; place-items: center; gap: 5px; cursor: pointer; }
.menu-btn-bar { display: block; width: 18px; height: 1.5px; background: var(--whiteout); transition: transform .3s, opacity .3s; }
body.nav-open .menu-btn-bar:first-child { transform: translateY(3.25px) rotate(45deg); }
body.nav-open .menu-btn-bar:last-child { transform: translateY(-3.25px) rotate(-45deg); }
@media (max-width: 960px) {
  .menu-btn { display: grid; }
  body.nav-open .nav-panel { position: static; display: block; }
  body.nav-open .nav-panel-inner { padding: 0 0 8px; background: transparent; color: var(--whiteout); grid-template-columns: 1fr; gap: 0; }
  body.nav-open .nav-panel-card { display: none; }
  body.nav-open .nav-panel-links a { padding: 10px 16px; font-size: 17px; color: var(--muted); }
  body.nav-open .nav-panel-links a:hover { background: rgba(255,255,255,0.08); color: var(--whiteout); }
  body.nav-open .nav-mobile-foot { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 32px; }
  body.nav-open .nav-mobile-foot a { color: var(--muted); font-size: 14px; }
  body.nav-open .nav-link { display: flex; }
}

/* Reveals */
[data-reveal] { opacity: 0; transform: translateY(24px); }
[data-reveal].is-in, body.no-motion [data-reveal] { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
[data-split] { visibility: hidden; }
[data-split].is-ready { visibility: visible; }
[data-split] .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
[data-split] .line > div { display: block; }
.media[data-reveal-img] img { transform: scale(1.15); }
.media[data-reveal-img] { clip-path: inset(0 0 100% 0); }

/* Parallax media */
.bleed-media { position: absolute; inset: -12% 0; z-index: -2; }
.bleed-media img, .bleed-media video { width: 100%; height: 100%; object-fit: cover; }
[data-parallax] { will-change: transform; }
.page-head--img { position: relative; isolation: isolate; overflow: hidden; min-height: 60vh; display: grid; align-items: end; }
.page-head-img { position: absolute; inset: -12% 0; z-index: -2; }
.page-head-img img { width: 100%; height: 100%; object-fit: cover; }
.page-head--img::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.55); z-index: -1; }

/* Hero v2 */
.hero-v2 { min-height: 100svh; display: grid; align-items: end; }
.hero-v2 .bleed-media video, .hero-v2 .bleed-media img { transform-origin: center; }
.hero-v2 .container { padding-block: 140px 72px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
.hero-v2 .hero-title { font-size: clamp(48px, 9vw, 132px); max-width: 12ch; }
.hero-v2 .hero-title .cursive { color: var(--accent); }
.hero-side { display: grid; gap: 16px; justify-items: end; text-align: right; max-width: 320px; }
.hero-side .lede { color: var(--whiteout); margin: 0; }
.scroll-cue { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); width: 1px; height: 56px; background: rgba(255,255,255,0.3); overflow: hidden; }
.scroll-cue::after { content: ''; position: absolute; inset: 0; background: var(--whiteout); transform: translateY(-100%); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { to { transform: translateY(100%); } }
.play-pill { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 9999px; background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.35); color: var(--whiteout); backdrop-filter: blur(6px); }
.play-pill i { width: 40px; height: 40px; border-radius: 50%; background: var(--haze); display: grid; place-items: center; color: var(--ink); font-style: normal; font-size: 14px; }
@media (max-width: 800px) { .hero-v2 .container { grid-template-columns: 1fr; } .hero-side { justify-items: start; text-align: left; } }

/* Statement / scrub text */
.statement { font-size: clamp(28px, 4.6vw, 64px); line-height: 1.08; font-weight: 400; letter-spacing: -0.02em; max-width: 22ch; }
.statement .w { opacity: 0.18; transition: opacity .2s; }
.statement .w.on { opacity: 1; }

/* Gap visualization */
.gap { position: relative; }
.gap-pin { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.gap-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: clamp(6px, 1vw, 12px); aspect-ratio: 1; max-width: 520px; width: 100%; margin: 0 auto; }
.gap-dot { position: relative; border-radius: 50%; background: rgba(255,255,255,0.14); transition: background-color .5s, transform .5s, opacity .5s; }
.gap-dot.on { background: var(--accent); }
.gap-dot.gone { background: rgba(255,255,255,0.05); transform: scale(0.35); }
.gap-dot.hh { background: var(--whiteout); transform: scale(1.1); }
.gap-steps { position: relative; min-height: 360px; }
.gap-step { position: absolute; inset: 0; display: grid; align-content: center; gap: 8px; opacity: 0; transform: translateY(24px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.gap-step.active { opacity: 1; transform: none; }
.gap-progress { display: flex; gap: 6px; margin-top: 24px; }
.gap-progress i { width: 28px; height: 2px; background: rgba(255,255,255,0.2); }
.gap-progress i.on { background: var(--accent); }
.gap-step .stat-num { font-size: clamp(56px, 7vw, 110px); }
.gap-step p { max-width: 36ch; font-weight: 400; color: var(--muted); }
.gap-step.active p { color: var(--whiteout); }
@media (max-width: 860px) { .gap-pin { grid-template-columns: 1fr; align-content: start; padding-top: 96px; } .gap-grid { max-width: 340px; } .gap-step .stat-num { font-size: 56px; } }

/* Horizontal programs */
.hscroll { overflow: hidden; }
.hscroll-track { display: flex; gap: 24px; padding-inline: var(--gutter); width: max-content; }
.program-card { position: relative; width: min(78vw, 820px); aspect-ratio: 16/10; border-radius: var(--r-img); overflow: hidden; isolation: isolate; color: var(--whiteout); display: grid; align-items: end; flex: none; }
.program-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s ease; }
.program-card::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.45); z-index: -1; }
.program-card:hover img { transform: scale(1.05); }
.program-card-body { padding: clamp(20px, 3vw, 40px); display: grid; gap: 8px; }
.program-card .display { font-size: clamp(36px, 5vw, 72px); }
.program-card p { font-weight: 400; max-width: 46ch; margin: 0; color: var(--muted); }
.program-card .tag { justify-self: start; }
.program-intro { width: min(40vw, 420px); flex: none; display: grid; align-content: center; gap: 16px; }
@media (max-width: 860px) { .hscroll-track { flex-direction: column; width: auto; } .program-card { width: 100%; aspect-ratio: 4/5; } .program-intro { width: auto; } }

/* Stacked panels (Home / Healing / Hope) */
.stack { position: relative; }
.stack-panel { position: sticky; top: 0; min-height: 100svh; display: grid; align-items: center; isolation: isolate; overflow: hidden; }
.stack-panel .bleed-media { inset: 0; }
.stack-panel::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.5); z-index: -1; }
.stack-panel .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; padding-block: 96px; }
.stack-panel .display { font-size: clamp(72px, 16vw, 240px); line-height: 0.85; }
.stack-panel .prose { max-width: 520px; }
.stack-panel .prose p, .stack-panel .prose li { color: var(--whiteout); }
@media (max-width: 860px) { .stack-panel .container { grid-template-columns: 1fr; gap: 24px; } .stack-panel .display { font-size: clamp(56px, 18vw, 120px); } }

/* Timeline */
.timeline { position: relative; display: grid; gap: 48px; }
.timeline-line { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,0.15); }
.timeline-line i { display: block; width: 100%; height: 0; background: var(--accent); }
.tl-item { display: grid; grid-template-columns: 140px 1fr 1fr; gap: 32px; align-items: center; padding-left: 40px; }
.tl-item .stat-num { font-size: clamp(48px, 6vw, 96px); }
.tl-item .media { aspect-ratio: 3/2; }
@media (max-width: 860px) { .tl-item { grid-template-columns: 1fr; gap: 16px; padding-left: 24px; } }

/* Ways to help: hover image reveal */
.ways { display: grid; }
.way { position: relative; display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); color: var(--whiteout); }
.way:last-child { border-bottom: 1px solid var(--line); }
.way .idx { font-family: var(--font-display); font-size: 28px; color: var(--accent); }
.way h3 { font-size: clamp(28px, 4vw, 56px); font-weight: 400; letter-spacing: -0.02em; }
.way p { margin: 4px 0 0; color: var(--muted); font-weight: 400; }
.way .arrow { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .25s, color .25s, transform .25s; }
.way:hover .arrow { background: var(--haze); color: var(--ink); transform: rotate(-45deg); }
.way-img { position: fixed; width: 320px; aspect-ratio: 4/3; border-radius: var(--r-img); overflow: hidden; pointer-events: none; opacity: 0; transform: scale(0.9); transition: opacity .25s, transform .25s; z-index: 5; }
.way-img img { width: 100%; height: 100%; object-fit: cover; }
.way-img.show { opacity: 1; transform: none; }
@media (max-width: 700px) { .way { grid-template-columns: 1fr auto; } .way .idx { display: none; } .way-img { display: none; } }

/* Logo marquee */
.logo-marquee { overflow: hidden; padding: 8px 0; }
.logo-marquee-track { display: flex; gap: 24px; width: max-content; animation: marquee 60s linear infinite; }
.logo-marquee .logo-tile { width: 200px; flex: none; }
.logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }

/* Photo strip with parallax */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.photo-strip .media { aspect-ratio: 4/5; }
.photo-strip .media:nth-child(2) { margin-top: 64px; }
.photo-strip .media:nth-child(3) { margin-top: 128px; }
@media (max-width: 700px) { .photo-strip { grid-template-columns: 1fr 1fr; } .photo-strip .media:nth-child(3) { display: none; } }

/* Media hover */
.media[data-photo], .media[data-video] { cursor: pointer; }
.media[data-photo] img, .media[data-video] img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.media[data-photo]:hover img, .media[data-video]:hover img { transform: scale(1.04); }
.media--empty { display: grid; place-items: center; font-family: var(--font-display); font-size: 48px; color: rgba(255,255,255,0.25); }
.media--video { position: relative; }
.media--video .play { position: absolute; inset: 0; display: grid; place-items: center; }
.media--video .play i { width: 96px; height: 96px; border-radius: 50%; background: var(--haze); color: var(--ink); display: grid; place-items: center; font-style: normal; font: 500 14px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; transition: transform .3s; }
.media--video:hover .play i { transform: scale(1.08); }

/* Details (bios, FAQ) */
details.person-bio { margin-top: 12px; }
details.person-bio summary { cursor: pointer; list-style: none; color: var(--accent); font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
details.person-bio summary::-webkit-details-marker { display: none; }
details.person-bio summary::after { content: '+'; font-size: 16px; }
details.person-bio[open] summary::after { content: '–'; }
details.person-bio > div { margin-top: 12px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 28px 0; font-size: clamp(22px, 3vw, 32px); font-weight: 400; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-style: normal; transition: transform .3s, background-color .3s, color .3s; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--haze); color: var(--ink); }
.faq .prose { padding: 0 0 28px; max-width: 760px; }

/* Modals */
.modal { position: fixed; inset: 0; z-index: 180; background: rgba(0,0,0,0.92); display: grid; place-items: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal-frame { width: min(1200px, 100%); }
.modal-frame img { max-height: 84vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: var(--r-img); }
.modal-frame figcaption { text-align: center; margin-top: 12px; color: var(--muted); }
.modal-close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--whiteout); font-size: 18px; cursor: pointer; }

/* Footer v2 */
.site-footer { position: relative; overflow: hidden; }
.footer-tagline { margin: 0 0 32px; font-size: clamp(40px, 7vw, 96px); max-width: 14ch; }
.footer-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 72px; }
.footer-top { margin-left: auto; color: var(--muted); }
.footer-mark { pointer-events: none; text-align: center; line-height: 0.75; margin-top: 48px; color: rgba(255,255,255,0.05); }
.footer-mark .display { font-size: clamp(80px, 20vw, 300px); white-space: nowrap; }

/* Magnetic */
[data-magnetic] { display: inline-flex; }
.brand[data-magnetic], .menu-btn[data-magnetic] { display: inline-grid; }
.nav-panel-links a[data-magnetic] { display: flex; }

/* Counter */
.count { font-variant-numeric: tabular-nums; }

/* Utilities for v2 */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }
.sticky-col { position: sticky; top: 96px; }
.big-quote { font-family: var(--font-cursive); font-size: clamp(32px, 5vw, 64px); line-height: 1.1; color: var(--whiteout); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.number-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 700px) { .number-row { grid-template-columns: 1fr; } }
body.no-motion .loader { display: none; }
