/* =====================================================================
   GRACE CITY — STYLES
   Black / white / teal, Bebas Neue display type, condensed uppercase
   copy — refreshed with modern motion.
   ===================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  --black: #000;
  --ink: #0b0b0b;
  --ink-2: #151515;
  --white: #fff;
  --paper: #fafaf8;
  --mist: #f1f1ef;
  --line: #e4e4e2;
  --line-dark: #2a2a2a;
  --band: #cfcfcf;               /* the grey footer band from the original */
  --text: #111;
  --text-soft: #3b3b3b;
  --muted: #666;                 /* 5.7:1 on white */
  --muted-dark: #a3a3a3;         /* on black */
  --teal: #10bfd2;               /* original accent */
  --teal-ink: #067c89;           /* teal for text on white (AA) */

  /* tile palette */
  --tangerine: #f26b21;
  --palm: #3f9b4a;
  --flamingo: #ee5a8f;
  --lagoon: #13a99b;
  --sun: #fdb913;

  --f-display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --f-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, sans-serif;

  --container: 1340px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(84px, 10vw, 160px);
  --radius: 10px;
  --radius-lg: 18px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --t-fast: .2s;
  --t-med: .45s;
  --t-slow: .9s;

  --bar-h: 40px;
  --header-h: 92px;
  --header-h-sm: 70px;

  --z-header: 50;
  --z-menu: 60;
  --z-modal: 100;
  --z-intro: 200;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h-sm) + 70px); }
body {
  margin: 0; background: var(--white); color: var(--text);
  font: 400 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--teal); color: #001316; }
.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: fixed; top: 10px; left: 10px; z-index: 999; background: var(--teal); color: #001316; padding: 12px 18px; border-radius: 999px; font: 600 15px/1 var(--f-cond); letter-spacing: .08em; text-transform: uppercase; transform: translateY(-160%); transition: transform var(--t-fast); }
.skip-link:focus { transform: none; }

/* page-to-page transitions (Chrome, Edge, Safari 18+) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease-in-out) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(26px); } }
.site-top { view-transition-name: site-top; }

/* ---------- 3. LAYOUT + TYPE ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--dark { background: var(--ink); color: var(--white); }
.section--mist { background: var(--paper); }

.display, .h1, .h2, .h3, .h4 { font-family: var(--f-display); font-weight: 400; line-height: .92; letter-spacing: .02em; text-transform: uppercase; }
.h1 { font-size: clamp(64px, 10vw, 168px); letter-spacing: .08em; }
.h2 { font-size: clamp(46px, 5.6vw, 86px); }
.h3 { font-size: clamp(34px, 3.3vw, 52px); letter-spacing: .01em; }
.h4 { font-size: clamp(26px, 2.2vw, 32px); letter-spacing: .03em; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 14px/1 var(--f-cond); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; transform-origin: left; }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--teal); }
.eyebrow--center::after { content: ""; width: 28px; height: 2px; background: currentColor; }

/* the condensed uppercase copy from the original site */
.blurb { font: 500 clamp(17px, 1.3vw, 19px)/1.62 var(--f-cond); letter-spacing: .025em; text-transform: uppercase; color: var(--muted); max-width: 46ch; }
.blurb strong { color: var(--text); font-weight: 700; }
.section--dark .blurb, .on-dark .blurb { color: var(--muted-dark); }
.section--dark .blurb strong, .on-dark .blurb strong { color: var(--white); }
.prose { font-size: clamp(17px, 1.25vw, 19px); line-height: 1.75; color: var(--text-soft); max-width: 62ch; }
.prose p + p { margin-top: 1.1em; }
.prose strong { color: var(--text); }
.lead { font: 500 clamp(20px, 1.8vw, 26px)/1.45 var(--f-body); color: var(--text-soft); max-width: 40ch; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; transform-origin: center; }
.section--dark .rule { background: var(--line-dark); }

/* ---------- 4. BUTTONS ---------- */
.btn {
  --btn-bg: var(--black); --btn-fg: var(--white); --btn-fill: var(--teal); --btn-fill-fg: #001316;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 0 40px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 400 21px/1 var(--f-display); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap;
  transition: color var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit;
  background: var(--btn-fill); transform: translateY(101%); transition: transform .55s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--btn-fill-fg); box-shadow: 0 14px 34px -14px rgba(16, 191, 210, .65); }
.btn:active { transform: scale(.97); }
.btn .arrow { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--teal); border: 2px solid var(--teal); min-height: 54px; padding: 0 34px; font-size: 19px; letter-spacing: .14em; }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--black); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); border: 2px solid rgba(255,255,255,.55); }
.btn--sm { min-height: 48px; padding: 0 26px; font-size: 18px; }
.btn--teal-text { --btn-fg: var(--white); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font: 400 20px/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; position: relative; padding-block: 8px; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 30px; bottom: 2px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--t-med) var(--ease-out); }
.link-arrow:hover::after, .link-arrow:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- 5. LIVE BAR + HEADER ---------- */
.site-top { position: fixed; inset: 0 0 auto; z-index: var(--z-header); transition: transform .6s var(--ease-out); }
.live-bar { height: var(--bar-h); background: var(--white); color: var(--black); display: flex; align-items: center; justify-content: center; position: relative; }
.live-bar a { display: inline-flex; align-items: center; gap: 10px; font: 400 17px/1 var(--f-display); letter-spacing: .09em; text-transform: uppercase; padding: 10px 50px; }
.live-bar a:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #e53935; box-shadow: 0 0 0 0 rgba(229,57,53,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(229,57,53,0); } 100% { box-shadow: 0 0 0 0 rgba(229,57,53,0); } }
.live-bar__close { position: absolute; right: 0; top: 0; width: var(--bar-h); height: var(--bar-h); display: grid; place-items: center; background: var(--mist); }
.live-bar__close:hover { background: var(--line); }
.live-bar__close svg { width: 14px; height: 14px; }
.no-bar .live-bar { display: none; }
.no-bar { --bar-h: 0px; }

.site-header { height: var(--header-h); color: var(--white); transition: height .5s var(--ease-out), background-color .5s, backdrop-filter .5s; position: relative; }
.site-header::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: rgba(255,255,255,.08); opacity: 0; transition: opacity .5s; }
.page-sub .site-header, .is-scrolled .site-header { background: rgba(8, 8, 8, .86); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); }
.is-scrolled .site-header { height: var(--header-h-sm); }
.is-scrolled .site-header::after { opacity: 1; }
.is-scrolled.site-top { transform: translateY(calc(var(--bar-h) * -1)); }
.is-hidden.site-top { transform: translateY(-110%); }
body:not(.page-sub):not(.is-scrolled-body) .site-header { background: linear-gradient(to bottom, rgba(0,0,0,.45), transparent); }

.nav { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(20px, 3vw, 56px); }
.nav__group { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 48px); }
.nav__group--left { justify-content: flex-end; }
.nav__group--right { justify-content: flex-start; }
.brand { font: 400 clamp(30px, 2.6vw, 40px)/1 var(--f-display); letter-spacing: .13em; white-space: nowrap; display: inline-flex; position: relative; padding: 6px 2px; }
.brand span { display: inline-block; transition: transform .5s var(--ease-back); }
.brand:hover span { transform: translateY(-3px); }
.brand:hover span:nth-child(odd) { transform: translateY(3px); }

.nav-item { position: relative; display: flex; align-items: center; gap: 2px; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; height: 48px; font: 400 21px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; position: relative; }
.nav-link::after { content: ""; position: absolute; left: 0; right: .14em; bottom: 8px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav-item:hover > .nav-link::after, .nav-link:focus-visible::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { width: 26px; height: 26px; display: grid; place-items: center; margin-left: -4px; border-radius: 50%; }
.nav-toggle svg { width: 12px; height: 12px; transition: transform .35s var(--ease-out); }
.nav-item.is-open .nav-toggle svg, .nav-item:hover .nav-toggle svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 290px; padding: 12px;
  background: rgba(12,12,12,.94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.08); border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.98); transform-origin: top center;
  transition: opacity .3s var(--ease-out), transform .45s var(--ease-out), visibility 0s .3s;
}
.dropdown::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; } /* hover bridge */
.nav-item:hover .dropdown, .nav-item.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
.dropdown a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 10px; transition: background var(--t-fast); }
.dropdown a:hover, .dropdown a:focus-visible { background: rgba(255,255,255,.07); }
.dropdown a strong { font: 400 20px/1.05 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--white); display: flex; align-items: center; gap: 8px; }
.dropdown a small { font: 500 14px/1.3 var(--f-cond); letter-spacing: .04em; color: var(--muted-dark); }
.dropdown a:hover strong { color: var(--teal); }
.dropdown [data-stagger-drop] { opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .45s var(--ease-out); }
.nav-item:hover .dropdown [data-stagger-drop], .nav-item.is-open .dropdown [data-stagger-drop] { opacity: 1; transform: none; transition-delay: calc(var(--i) * 40ms + 60ms); }

.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; transition: transform .5s var(--ease-out), opacity .3s; }
.menu-btn span:nth-child(1) { top: 18px; } .menu-btn span:nth-child(2) { top: 24px; right: 19px; } .menu-btn span:nth-child(3) { top: 30px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: var(--z-menu); background: var(--ink); color: var(--white); display: flex; flex-direction: column; padding: calc(var(--header-h-sm) + 24px) var(--gutter) 32px; overflow-y: auto; clip-path: circle(0% at calc(100% - 44px) 36px); visibility: hidden; transition: clip-path .8s var(--ease-in-out), visibility 0s .8s; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 36px); visibility: visible; transition-delay: 0s; }
.mobile-menu__list { display: grid; gap: 4px; }
.mm-item { border-bottom: 1px solid var(--line-dark); opacity: 0; transform: translateY(24px); transition: opacity .4s, transform .6s var(--ease-out); }
.menu-open .mm-item { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * 60ms); }
.mm-head { display: flex; align-items: center; justify-content: space-between; }
.mm-head a { flex: 1; font: 400 44px/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; padding: 14px 0; }
.mm-head button { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; }
.mm-head button svg { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.mm-item.is-open .mm-head button svg { transform: rotate(45deg); }
.mm-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.mm-sub > div { overflow: hidden; }
.mm-item.is-open .mm-sub { grid-template-rows: 1fr; }
.mm-sub a { display: block; padding: 9px 0 9px 4px; font: 600 18px/1.2 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }
.mm-sub a:hover { color: var(--teal); }
.mm-sub div > :last-child { margin-bottom: 14px; }
.mobile-menu__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 20px; opacity: 0; transition: opacity .5s .6s; }
.menu-open .mobile-menu__foot { opacity: 1; }
.mobile-menu__foot .btn { width: 100%; }
.menu-open { overflow: hidden; }

/* ---------- 6. SOCIAL ICONS ---------- */
.social { display: flex; justify-content: center; gap: 14px; }
.social a { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 2px solid currentColor; transition: transform .45s var(--ease-back), background .3s, color .3s, border-color .3s; }
.social a svg { width: 20px; height: 20px; }
.social a:hover, .social a:focus-visible { transform: translateY(-4px) rotate(-6deg); background: var(--black); color: var(--white); border-color: var(--black); }
.social--color a { border: 0; width: 52px; height: 52px; }
.social--color a svg { width: 30px; height: 30px; }
.social--color a[data-net="facebook"] { color: #1877f2; }
.social--color a[data-net="instagram"] { color: #e1306c; }
.social--color a[data-net="youversion"] { color: var(--black); }
.social--color a:hover { background: var(--mist); color: inherit; }
.social--light a:hover { background: var(--white); color: var(--black); border-color: var(--white); }

/* ---------- 7. HOME HERO ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; background: var(--black); color: var(--white); overflow: hidden; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: opacity 1.2s ease; }
.hero__video { position: absolute; top: 50%; left: 50%; width: max(100vw, 177.78vh); height: max(56.25vw, 100vh); transform: translate(-50%, -50%) scale(1.18); pointer-events: none; opacity: 0; transition: opacity 1.4s ease; border: 0; }
.hero__video iframe { width: 100%; height: 100%; border: 0; }
.hero.is-playing .hero__video { opacity: 1; }
.hero.is-playing .hero__poster { opacity: 0; }
video.hero__video { width: 100%; height: 100%; top: 0; left: 0; transform: none; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.35) 100%),
  radial-gradient(120% 80% at 0% 100%, rgba(0,0,0,.55), transparent 60%); }
.hero__grain { position: absolute; inset: -50%; opacity: .07; 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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } }
.hero__content { position: absolute; inset: auto 0 0; padding-bottom: clamp(56px, 9vh, 110px); }
.hero__inner { display: grid; gap: 22px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 14px; font: 600 15px/1 var(--f-cond); letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.hero__kicker::before { content: ""; width: 40px; height: 2px; background: var(--teal); }
.hero__title { font: 400 clamp(72px, 13vw, 210px)/.84 var(--f-display); letter-spacing: .015em; text-transform: uppercase; margin-left: -.04em; }
.hero__title .accent { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.9); }
.hero__times { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.time-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font: 400 22px/1 var(--f-display); letter-spacing: .12em; background: rgba(10,10,10,.42); }
.time-chip svg { width: 16px; height: 16px; color: var(--teal); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
.hero__ctas .link-arrow { color: var(--white); }
.hero__side { position: absolute; right: var(--gutter); bottom: clamp(56px, 9vh, 110px); display: flex; flex-direction: column; align-items: center; gap: 22px; }
.video-toggle { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; color: var(--white); background: rgba(0,0,0,.38); transition: background .3s, transform .4s var(--ease-back); }
.video-toggle:hover { background: rgba(255,255,255,.14); transform: scale(1.08); }
.video-toggle svg { width: 18px; height: 18px; }
.video-toggle .i-play { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
.video-toggle[aria-pressed="true"] .i-pause { display: none; }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 12px; font: 600 12px/1 var(--f-cond); letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; color: rgba(255,255,255,.7); }
.scroll-cue i { display: block; width: 1px; height: 64px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--teal); animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- 8. SUBPAGE HEAD + BANNER ---------- */
.page-head { padding: calc(var(--bar-h) + var(--header-h) + clamp(60px, 9vw, 130px)) 0 clamp(44px, 5vw, 70px); text-align: center; }
.page-head .eyebrow { justify-content: center; margin-bottom: 26px; }
.page-head .h1 { color: #262626; }
.page-head .lead { margin: 26px auto 0; text-align: center; }
.page-head .rule { margin-top: clamp(50px, 6vw, 80px); }
.banner { position: relative; height: clamp(300px, 52vw, 640px); border-radius: var(--radius-lg); overflow: hidden; background: var(--mist); }
.banner img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; }
.banner__tag { position: absolute; left: 24px; bottom: 24px; padding: 12px 18px; border-radius: 999px; background: rgba(0,0,0,.62); color: var(--white); font: 600 14px/1 var(--f-cond); letter-spacing: .2em; text-transform: uppercase; }

/* sticky section nav */
.subnav { position: sticky; top: calc(var(--header-h-sm) - 1px); z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); transition: top .6s var(--ease-out); }
.nav-hidden .subnav { top: 0; }
.subnav__list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 12px; position: relative; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav a { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; font: 400 19px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: #555; transition: color .35s; }
.subnav a:hover { color: var(--black); }
.subnav a.is-active { color: var(--white); }
.subnav__pill { position: absolute; z-index: 0; top: 12px; height: 44px; border-radius: 999px; background: var(--black); transition: transform .55s var(--ease-out), width .55s var(--ease-out), opacity .3s; opacity: 0; }

/* ---------- 9. HOME: SOCIAL ROW + CARDS ---------- */
.social-row { padding: clamp(48px, 6vw, 80px) 0 0; }
.social-row .rule { margin-top: clamp(48px, 6vw, 80px); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.card { position: relative; display: flex; flex-direction: column; }
.card__media { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out), filter .6s; }
.card:hover .card__media img { transform: scale(1.07); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.45), transparent 55%); opacity: 0; transition: opacity .5s; }
.card:hover .card__media::after { opacity: 1; }
.card__go { position: absolute; right: 16px; bottom: 16px; z-index: 2; width: 54px; height: 54px; border-radius: 50%; background: var(--teal); color: #001316; display: grid; place-items: center; transform: scale(.4) rotate(-45deg); opacity: 0; transition: transform .6s var(--ease-back), opacity .35s; }
.card__go svg { width: 22px; height: 22px; }
.card:hover .card__go, .card:focus-within .card__go { transform: none; opacity: 1; }
.card__body { padding: 30px clamp(4px, 1.5vw, 40px) 0; display: grid; gap: 14px; }
.card__title { font: 400 clamp(30px, 2.3vw, 36px)/1 var(--f-display); letter-spacing: .02em; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.card__title a:focus-visible { outline: none; }
.card:has(.card__title a:focus-visible) { outline: 2px solid var(--teal); outline-offset: 8px; border-radius: 12px; }
.card .blurb { font-size: 16px; }

/* ---------- 10. HOME: TILES ---------- */
.tiles-intro { text-align: center; margin-bottom: clamp(36px, 4vw, 56px); }
.tiles-intro .eyebrow { justify-content: center; }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px, 1.4vw, 22px); perspective: 1000px; }
.tile { position: relative; aspect-ratio: 1; border-radius: 6px; overflow: hidden; display: grid; place-items: center; text-align: center; transform-style: preserve-3d; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); will-change: transform; }
.tile:hover { box-shadow: 0 30px 50px -24px rgba(0,0,0,.45); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile__art { position: absolute; inset: 0; }
.tile__words { position: relative; z-index: 2; font: 400 clamp(26px, 3.4vw, 58px)/.86 var(--f-display); letter-spacing: .01em; color: var(--white); transform: skewX(-8deg) translateZ(40px); text-shadow: 3px 3px 0 rgba(0,0,0,.28); padding: 10px; text-transform: uppercase; }
.tile--tangerine .tile__art { background: radial-gradient(circle at 20% 25%, #ffd166 0 16%, transparent 17%), radial-gradient(circle at 78% 70%, #ffd166 0 20%, transparent 21%), radial-gradient(circle at 78% 70%, #fff3 0 26%, transparent 27%), radial-gradient(circle at 15% 85%, #19b5a5 0 14%, transparent 15%), var(--tangerine); }
.tile--palm .tile__art { background: repeating-conic-gradient(from 20deg at 50% 110%, #2f8a3c 0 8deg, #5bb85a 8deg 16deg), var(--palm); }
.tile--palm .tile__art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, #f7a1c4 0 12%, transparent 13%); }
.tile--flamingo .tile__art { background: conic-gradient(from 45deg at 50% 50%, #fdb913 0 25%, #13a99b 0 50%, #f26b21 0 75%, var(--flamingo) 0); }
.tile--flamingo .tile__art::after { content: ""; position: absolute; inset: 18%; background: conic-gradient(from 45deg, #6fbf44 0 25%, var(--flamingo) 0 50%, #fdb913 0 75%, #13a99b 0); transform: rotate(45deg); }
.tile--lagoon .tile__art { background: radial-gradient(circle, #f26b21 0 5px, transparent 6px) 0 0 / 28px 28px, radial-gradient(circle at 30% 30%, #f7b8cf 0 30%, transparent 31%), var(--lagoon); }
.tile--sun .tile__art { background: radial-gradient(circle at 70% 30%, #13a99b 0 18%, transparent 19%), radial-gradient(circle at 25% 75%, #13a99b 0 14%, transparent 15%), repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,.18) 18px 22px), var(--tangerine); }
.tile.has-img .tile__art, .tile.has-img .tile__words { display: none; }

/* ---------- 11. MARQUEE ---------- */
.marquee { background: var(--black); color: var(--white); overflow: hidden; padding: clamp(22px, 3vw, 40px) 0; border-block: 1px solid var(--line-dark); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item { font: 400 clamp(56px, 8vw, 128px)/1 var(--f-display); letter-spacing: .03em; text-transform: uppercase; padding: 0 .35em; white-space: nowrap; }
.marquee__item--outline { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.7); }
.marquee__star { width: clamp(28px, 3.4vw, 54px); height: clamp(28px, 3.4vw, 54px); color: var(--teal); flex: none; animation: spin 10s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 12. HOME: EVENTS ---------- */
.events { position: relative; color: var(--white); overflow: hidden; background: var(--black); }
.events__bg { position: absolute; inset: -15% 0; }
.events__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.events::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(0,0,0,.65), rgba(0,0,0,.35) 40%, rgba(0,0,0,.8)); }
.events > .container { position: relative; z-index: 2; }
.events__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 4vw, 60px); }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.event-card { position: relative; display: flex; flex-direction: column; background: rgba(16,16,16,.86); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); overflow: hidden; transition: transform .6s var(--ease-out), border-color .4s, background .4s; }
.event-card:hover { transform: translateY(-8px); border-color: rgba(16,191,210,.5); background: rgba(24,24,24,.85); }
.event-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.event-card:hover .event-card__media img { transform: scale(1.06); }
.date-badge { position: absolute; left: 16px; top: 16px; width: 66px; padding: 10px 0 8px; border-radius: 12px; background: var(--white); color: var(--black); text-align: center; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.date-badge b { display: block; font: 400 30px/.9 var(--f-display); }
.date-badge span { display: block; font: 700 12px/1 var(--f-cond); letter-spacing: .2em; text-transform: uppercase; color: var(--teal-ink); margin-top: 4px; }
.event-card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.event-card__meta { font: 600 14px/1.2 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.event-card__title { font: 400 32px/1 var(--f-display); letter-spacing: .02em; }
.event-card__title a::after { content: ""; position: absolute; inset: 0; }
.event-card p { font: 500 16px/1.5 var(--f-cond); letter-spacing: .02em; color: var(--muted-dark); }
.event-card .link-arrow { margin-top: auto; font-size: 17px; color: var(--white); }
.events__empty { color: var(--muted-dark); font: 500 18px/1.5 var(--f-cond); letter-spacing: .05em; text-transform: uppercase; }

/* ---------- 13. VISIT BAND ---------- */
.visit { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.visit__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin: 34px 0 40px; }
.fact small { display: block; font: 600 13px/1 var(--f-cond); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.fact b { font: 400 30px/1.05 var(--f-display); letter-spacing: .04em; font-weight: 400; }
.fact a:hover { color: var(--teal-ink); }
.visit__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.visit__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--mist); }
.visit__media img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.visit__stamp { position: absolute; right: -8px; top: -8px; width: 150px; height: 150px; z-index: 2; color: var(--black); animation: spin 18s linear infinite; }
.visit__media-wrap { position: relative; }
.visit__stamp text { font: 600 13.5px var(--f-cond); letter-spacing: .32em; text-transform: uppercase; }

/* ---------- 14. ZIG-ZAG FEATURE ROWS (the original layout) ---------- */
.rows { display: grid; }
.row { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; padding-block: clamp(56px, 6vw, 90px); border-top: 1px solid var(--line); }
.rows > .row:first-child { border-top: 0; padding-top: 0; }
.row--flip { grid-template-columns: 1fr 1.45fr; }
.row--flip .row__media { order: 2; }
.row__media { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.row__media img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; }
.row__num { position: absolute; top: 18px; left: 18px; z-index: 2; font: 400 18px/1 var(--f-display); letter-spacing: .2em; color: var(--white); background: rgba(0,0,0,.6); padding: 9px 12px 7px; border-radius: 999px; }
.row__body { display: grid; gap: 20px; justify-items: start; padding-inline: clamp(0px, 2vw, 40px); }
.row__body .h3 { margin-top: 4px; }
.row__body .btn { margin-top: 12px; }
.row__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.row__links .btn { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--mist); font: 600 14px/1 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); }
.chip svg { width: 14px; height: 14px; color: var(--teal-ink); }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(44px, 5vw, 80px); }
.section-head--center { text-align: center; justify-items: center; }
.section-head--split { grid-template-columns: 1fr auto; align-items: end; }
.section-head .blurb { max-width: 60ch; }

/* ---------- 15. RESOURCE CARDS ---------- */
.resources { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.5vw, 32px); margin-top: clamp(36px, 4vw, 56px); }
.resource { position: relative; padding: clamp(28px, 3vw, 44px); border: 1px solid var(--line); border-radius: var(--radius-lg); display: grid; gap: 16px; align-content: start; overflow: hidden; transition: border-color .4s, transform .6s var(--ease-out); background: var(--white); }
.resource:hover { border-color: var(--black); transform: translateY(-4px); }
.resource::before { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(16,191,210,.18), transparent 70%); transition: transform .8s var(--ease-out); }
.resource:hover::before { transform: scale(1.6); }
.resource p { font-size: 17px; color: var(--muted); }
.resource__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* ---------- 16. TEAM PANELS (Connect > Teams) ---------- */
.panels { display: flex; gap: 10px; height: clamp(520px, 62vh, 660px); }
.panel { position: relative; flex: 1; min-width: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: var(--white); transition: flex .8s var(--ease-out); cursor: pointer; }
.panel.is-active { flex: 5.2; cursor: default; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease-out), filter .8s; filter: grayscale(.6) brightness(.7); }
.panel.is-active img { transform: scale(1); filter: none; }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.9) 5%, rgba(0,0,0,.2) 60%, rgba(0,0,0,.35)); }
.panel__tab { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 22px 0; transition: opacity .4s; }
.panel__tab .n { font: 400 18px/1 var(--f-display); letter-spacing: .2em; color: var(--teal); }
.panel__tab .t { writing-mode: vertical-rl; transform: rotate(180deg); font: 400 30px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.panel.is-active .panel__tab { opacity: 0; pointer-events: none; }
.panel__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: clamp(24px, 3vw, 44px); display: grid; gap: 14px; justify-items: start; opacity: 0; transform: translateY(24px); transition: opacity .3s, transform .6s var(--ease-out); pointer-events: none; }
.panel.is-active .panel__body { opacity: 1; transform: none; transition-delay: .35s; pointer-events: auto; }
.panel__body .n { font: 400 18px/1 var(--f-display); letter-spacing: .2em; color: var(--teal); }
.panel__body .h3 { color: var(--white); }
.panel__body .blurb { color: rgba(255,255,255,.78); max-width: 52ch; font-size: 17px; }
.panel__body .btn { margin-top: 6px; }
.panel__btn { position: absolute; inset: 0; z-index: 4; }
.panel.is-active .panel__btn { display: none; }

/* ---------- 17. EVENTS LIST (Connect) ---------- */
.event-list { display: grid; border-top: 1px solid var(--line); }
.event-row { display: grid; grid-template-columns: 110px 1fr 260px auto; gap: clamp(18px, 3vw, 40px); align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .5s var(--ease-out); }
.event-row::before { content: ""; position: absolute; inset: 0 -20px; background: var(--paper); border-radius: 14px; opacity: 0; transition: opacity .4s; z-index: -1; }
.event-row:hover::before { opacity: 1; }
.event-row__date b { display: block; font: 400 58px/.85 var(--f-display); }
.event-row__date span { font: 700 14px/1 var(--f-cond); letter-spacing: .22em; text-transform: uppercase; color: var(--teal-ink); }
.event-row h3 { font: 400 clamp(30px, 2.6vw, 40px)/1 var(--f-display); letter-spacing: .02em; }
.event-row p { color: var(--muted); font-size: 16px; margin-top: 6px; max-width: 56ch; }
.event-row__meta { font: 600 14px/1.4 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.event-row__thumb { width: 260px; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; }
.event-row__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.event-row:hover .event-row__thumb img { transform: scale(1.06); }

/* ---------- 18. ABOUT ---------- */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.story__aside { position: sticky; top: calc(var(--header-h-sm) + 110px); display: grid; gap: 26px; }
.story__quote { font: 400 clamp(52px, 6vw, 96px)/.9 var(--f-display); text-transform: uppercase; }
.story__quote em { font-style: normal; color: transparent; -webkit-text-stroke: 1.6px var(--black); }
.story__since { display: inline-flex; align-items: baseline; gap: 12px; font: 600 14px/1 var(--f-cond); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.story__since b { font: 400 64px/1 var(--f-display); color: var(--teal-ink); letter-spacing: .02em; }
.collage { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-top: clamp(40px, 5vw, 70px); }
.collage figure { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--mist); aspect-ratio: 4/5; }
.collage figure:nth-child(2) { margin-top: 70px; aspect-ratio: 3/4; }
.collage img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }

.mission { position: relative; overflow: hidden; }
.mission__bg { position: absolute; inset: -12% 0; opacity: .3; }
.mission__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.mission::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.92) 20%, rgba(0,0,0,.55)); }
.mission > .container { position: relative; z-index: 2; }
.mission__title { font: 400 clamp(52px, 7.2vw, 124px)/.9 var(--f-display); text-transform: uppercase; max-width: 15ch; }
.mission__title .t { color: var(--teal); }
.mission__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 5vw, 80px); margin-top: clamp(40px, 5vw, 70px); }
.mission__cols .h4 { color: var(--white); margin-bottom: 14px; }

.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.value { --c: var(--teal); position: relative; min-height: 380px; padding: 28px 24px; border-radius: var(--radius-lg); background: var(--ink-2); color: var(--white); display: flex; flex-direction: column; overflow: hidden; isolation: isolate; transition: transform .6s var(--ease-out); }
.value::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c); clip-path: circle(0% at 50% 100%); transition: clip-path .8s var(--ease-in-out); }
.value:hover { transform: translateY(-8px); }
.value:hover::before { clip-path: circle(150% at 50% 100%); }
.value .n { font: 400 18px/1 var(--f-display); letter-spacing: .2em; color: var(--c); transition: color .5s; }
.value:hover .n { color: rgba(0,0,0,.6); }
.value small { margin-top: auto; font: 600 14px/1.2 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); transition: color .5s; }
.value h3 { font: 400 clamp(34px, 2.6vw, 44px)/.92 var(--f-display); letter-spacing: .02em; margin: 10px 0 14px; transition: color .5s; }
.value p { font: 500 16px/1.45 var(--f-cond); letter-spacing: .02em; color: var(--muted-dark); transition: color .5s; }
.value:hover small, .value:hover p { color: rgba(0,0,0,.72); }
.value:hover h3 { color: var(--black); }
.value:nth-child(1) { --c: var(--tangerine); } .value:nth-child(2) { --c: var(--teal); } .value:nth-child(3) { --c: var(--sun); } .value:nth-child(4) { --c: var(--flamingo); } .value:nth-child(5) { --c: #6fbf44; }

.beliefs { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.beliefs__aside { position: sticky; top: calc(var(--header-h-sm) + 110px); display: grid; gap: 24px; }
.beliefs__img { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--mist); }
.beliefs__img img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc__btn { width: 100%; display: flex; align-items: center; gap: 22px; padding: 26px 0; text-align: left; }
.acc__btn .n { font: 400 18px/1 var(--f-display); letter-spacing: .2em; color: var(--muted); width: 32px; flex: none; }
.acc__btn .t { flex: 1; font: 400 clamp(30px, 2.6vw, 42px)/1 var(--f-display); letter-spacing: .03em; text-transform: uppercase; transition: transform .5s var(--ease-out), color .3s; }
.acc__btn:hover .t { transform: translateX(8px); }
.acc__btn .plus { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .5s var(--ease-out), background .3s, color .3s, border-color .3s; }
.acc__btn .plus svg { width: 16px; height: 16px; }
.acc.is-open .acc__btn .plus { transform: rotate(135deg); background: var(--black); color: var(--white); border-color: var(--black); }
.acc.is-open .acc__btn .t { color: var(--black); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__inner { padding: 0 0 32px 54px; display: grid; gap: 18px; }
.acc__inner p { font-size: 18px; line-height: 1.75; color: var(--text-soft); max-width: 62ch; }
.refs { display: flex; flex-wrap: wrap; gap: 6px; }
.refs a { font: 600 13px/1 var(--f-cond); letter-spacing: .08em; text-transform: uppercase; padding: 8px 11px; border-radius: 999px; background: var(--mist); color: var(--text-soft); transition: background .3s, color .3s; }
.refs a:hover { background: var(--teal); color: #001316; }

.team-group + .team-group { margin-top: clamp(60px, 7vw, 110px); }
.team-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.team-grid--lg { grid-template-columns: repeat(2, minmax(0, 420px)); }
.person { display: grid; gap: 16px; }
.person__photo { position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: grayscale(.25); transition: transform 1s var(--ease-out), filter .6s; }
.person:hover .person__photo img { transform: scale(1.05); filter: none; }
.person__ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; color: var(--white); background:
  radial-gradient(120% 90% at 100% 0%, rgba(16,191,210,.35), transparent 55%),
  radial-gradient(90% 80% at 0% 100%, rgba(238,90,143,.25), transparent 60%), #161616; }
.person__ph b { font: 400 clamp(56px, 6vw, 88px)/1 var(--f-display); letter-spacing: .06em; }
.person__ph small { font: 600 12px/1 var(--f-cond); letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.person h3 { font: 400 26px/1 var(--f-display); letter-spacing: .05em; text-align: center; }
.elders { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; }
.elders li { display: flex; align-items: center; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); font: 400 clamp(26px, 2.3vw, 34px)/1 var(--f-display); letter-spacing: .03em; transition: padding .5s var(--ease-out), color .3s; }
.elders li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); flex: none; transition: transform .5s var(--ease-back); }
.elders li:hover { padding-left: 12px; }
.elders li:hover::before { transform: scale(1.6); }

/* ---------- 19. MINISTRIES ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); position: relative; margin-top: clamp(40px, 5vw, 64px); }
.timeline__line { position: absolute; left: 0; right: 0; top: 29px; height: 2px; background: var(--line-dark); overflow: hidden; }
.timeline__line::after { content: ""; position: absolute; inset: 0; background: var(--teal); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform 1.6s var(--ease-out); }
.step { position: relative; display: grid; gap: 16px; }
.step__dot { width: 60px; height: 60px; border-radius: 50%; background: var(--black); border: 2px solid var(--teal); display: grid; place-items: center; font: 400 22px/1 var(--f-display); color: var(--teal); letter-spacing: .06em; position: relative; z-index: 1; }
.step__time { font: 600 14px/1 var(--f-cond); letter-spacing: .24em; text-transform: uppercase; color: var(--teal); }
.step h3 { font: 400 clamp(32px, 2.8vw, 44px)/1 var(--f-display); letter-spacing: .02em; }
.step p { color: var(--muted-dark); font-size: 17px; line-height: 1.7; }
.students-cta { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.students-cta p { font: 400 clamp(22px, 2vw, 28px)/1.1 var(--f-display); letter-spacing: .12em; }

.o-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.o-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: var(--white); min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.o-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.o-card:hover img { transform: scale(1.06); }
.o-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.95) 0%, rgba(0,0,0,.86) 38%, rgba(0,0,0,.35) 72%, rgba(0,0,0,.08)); transition: background .6s; }
.o-card__body { padding: clamp(24px, 3vw, 40px); display: grid; gap: 12px; justify-items: start; }
.o-card__tag { font: 600 13px/1 var(--f-cond); letter-spacing: .24em; text-transform: uppercase; color: var(--teal); }
.o-card .h3 { color: var(--white); }
.o-card p { color: rgba(255,255,255,.8); font-size: 17px; line-height: 1.6; max-width: 54ch; }
.o-card__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.o-card__more > div { overflow: hidden; }
.o-card.is-open .o-card__more { grid-template-rows: 1fr; }
.o-card__more ul { margin: 6px 0 0; padding-left: 18px; color: rgba(255,255,255,.75); font-size: 16px; display: grid; gap: 4px; }
.o-card__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.more-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 400 18px/1 var(--f-display); letter-spacing: .12em; color: var(--white); padding: 0 4px; }
.more-btn svg { width: 14px; height: 14px; transition: transform .4s var(--ease-out); }
.is-open .more-btn svg { transform: rotate(45deg); }

.spanish { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--teal); color: #001316; display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; }
.spanish__body { padding: clamp(32px, 5vw, 72px); display: grid; gap: 18px; align-content: center; justify-items: start; }
.spanish__body .h2 { color: #001316; }
.spanish__body p { font-size: 18px; line-height: 1.7; color: #00363c; max-width: 50ch; }
.spanish__body a.mail { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.spanish__media { position: relative; min-height: 360px; }
.spanish__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spanish .btn { --btn-bg: #001316; --btn-fill: var(--white); --btn-fill-fg: #001316; }

/* ---------- 20. MEDIA ---------- */
.feature-video { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.yt { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; background: #111; cursor: pointer; display: block; width: 100%; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter .6s; }
.yt:hover img { transform: scale(1.04); filter: brightness(.8); }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), transparent 50%); }
.yt__play { position: absolute; left: 50%; top: 50%; z-index: 2; width: clamp(64px, 7vw, 96px); height: clamp(64px, 7vw, 96px); border-radius: 50%; background: var(--teal); color: #001316; display: grid; place-items: center; transform: translate(-50%, -50%); transition: transform .5s var(--ease-back); box-shadow: 0 0 0 0 rgba(16,191,210,.5); animation: ring 2.4s infinite; }
.yt__play svg { width: 34%; height: 34%; margin-left: 6%; }
.yt:hover .yt__play { transform: translate(-50%, -50%) scale(1.1); }
@keyframes ring { 70% { box-shadow: 0 0 0 22px rgba(16,191,210,0); } 100% { box-shadow: 0 0 0 0 rgba(16,191,210,0); } }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt.is-loaded::after, .yt.is-loaded .yt__play { display: none; }

.series + .series { margin-top: clamp(64px, 7vw, 110px); }
.series__head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px 60px; align-items: end; margin-bottom: 30px; padding-bottom: 26px; border-bottom: 1px solid var(--line-dark); }
.series__head .blurb { max-width: 60ch; }
.video-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vcard { display: grid; gap: 14px; text-align: left; }
.vcard__thumb { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #111; }
.vcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out), filter .5s; }
.vcard:hover .vcard__thumb img { transform: scale(1.06); filter: brightness(.7); }
.vcard__thumb span { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; border-radius: 50%; background: var(--teal); color: #001316; display: grid; place-items: center; transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: transform .5s var(--ease-back), opacity .3s; }
.vcard__thumb span svg { width: 18px; height: 18px; margin-left: 3px; }
.vcard:hover .vcard__thumb span, .vcard:focus-visible .vcard__thumb span { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.vcard b { font: 400 22px/1.05 var(--f-display); letter-spacing: .04em; font-weight: 400; }

.lightbox { width: min(1200px, 94vw); padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(6px); }
.lightbox[open] { animation: pop-in .5s var(--ease-out); }
.lightbox__frame { aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: #000; }
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; }
.lightbox__close { position: absolute; right: 0; top: -60px; width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: var(--black); display: grid; place-items: center; }
.lightbox__close svg { width: 18px; height: 18px; }

/* ---------- 21. CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.info-card { position: relative; padding: 30px 26px; border-radius: var(--radius-lg); background: var(--ink); color: var(--white); display: grid; gap: 12px; align-content: start; min-height: 240px; overflow: hidden; transition: transform .6s var(--ease-out); }
.info-card:hover { transform: translateY(-6px); }
.info-card__icon { width: 50px; height: 50px; border-radius: 14px; background: rgba(16,191,210,.14); color: var(--teal); display: grid; place-items: center; margin-bottom: 14px; }
.info-card__icon svg { width: 24px; height: 24px; }
.info-card small { font: 600 13px/1 var(--f-cond); letter-spacing: .24em; text-transform: uppercase; color: var(--muted-dark); }
.info-card b { font: 400 28px/1.05 var(--f-display); letter-spacing: .04em; font-weight: 400; }
.info-card a { color: var(--teal); font: 600 15px/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; margin-top: auto; display: inline-flex; gap: 8px; align-items: center; min-height: 32px; }
.info-card a:hover { text-decoration: underline; text-underline-offset: 4px; }
.map { margin-top: 14px; border-radius: var(--radius-lg); overflow: hidden; height: clamp(320px, 40vw, 460px); background: var(--mist); position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); transition: filter .6s; }
.map:hover iframe { filter: grayscale(0); }

/* shared "choose a form" connect module */
.chooser { display: grid; gap: 22px; }
.chooser__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.chooser__tab { min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); font: 400 19px/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); transition: background .35s, color .35s, border-color .35s, transform .4s var(--ease-back); }
.chooser__tab:hover { border-color: var(--black); color: var(--black); transform: translateY(-2px); }
.chooser__tab[aria-selected="true"] { background: var(--black); border-color: var(--black); color: var(--white); }
.form-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--white); height: min(78vh, 900px); }
.form-frame iframe { width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .6s; }
.form-frame.is-loaded iframe { opacity: 1; }
.form-frame__loading { position: absolute; inset: 0; padding: 36px; display: grid; gap: 16px; align-content: start; transition: opacity .4s; }
.form-frame.is-loaded .form-frame__loading { opacity: 0; pointer-events: none; }
.skel { height: 18px; border-radius: 8px; background: linear-gradient(90deg, var(--mist) 25%, #e8e8e6 50%, var(--mist) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.skel--lg { height: 52px; } .skel--w60 { width: 60%; } .skel--w40 { width: 40%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.form-note { font-size: 15px; color: var(--muted); }
.form-note a { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 22. GET CONNECTED POP-UP ---------- */
.connect-modal { width: min(1040px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 22px; background: var(--white); color: var(--text); overflow: hidden; box-shadow: 0 50px 120px -30px rgba(0,0,0,.6); }
.connect-modal::backdrop { background: rgba(0,0,0,.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.connect-modal[open] { animation: fade-up .8s var(--ease-out); }
.connect-modal[open]::backdrop { animation: fade .6s ease; }
.connect-modal.is-closing { animation: fade-down .35s var(--ease-in-out) forwards; }
.connect-modal.is-closing::backdrop { animation: fade .35s ease reverse forwards; }
@keyframes fade-up { from { opacity: 0; transform: translateY(60px) scale(.97); } }
@keyframes fade-down { to { opacity: 0; transform: translateY(40px) scale(.98); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop-in { from { opacity: 0; transform: scale(.94); } }
.cm { display: grid; grid-template-columns: 1fr 1.15fr; min-height: 580px; transition: grid-template-columns .8s var(--ease-in-out); }
.connect-modal.is-form .cm { grid-template-columns: 0fr 1fr; }
.cm__media { position: relative; overflow: hidden; background: var(--black); min-width: 0; }
.cm__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transform: scale(1.1); animation: slow-zoom 12s var(--ease-out) forwards; }
@keyframes slow-zoom { to { transform: scale(1); } }
.cm__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), transparent 60%); }
.cm__media-text { position: absolute; left: 30px; right: 30px; bottom: 28px; z-index: 2; color: var(--white); font: 400 clamp(44px, 4.4vw, 64px)/.88 var(--f-display); text-transform: uppercase; white-space: nowrap; }
.cm__media-text span { color: var(--teal); }
.cm__main { position: relative; min-width: 0; display: grid; }
.cm__stage { grid-area: 1 / 1; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 18px; transition: opacity .45s, transform .6s var(--ease-out), visibility 0s; }
.cm__stage[hidden] { display: flex; opacity: 0; visibility: hidden; transform: translateX(30px); pointer-events: none; transition: opacity .3s, transform .5s var(--ease-out), visibility 0s .5s; }
.cm__stage--intro[hidden] { transform: translateX(-30px); }
.cm__title { font: 400 clamp(46px, 4.6vw, 70px)/.9 var(--f-display); letter-spacing: .02em; text-transform: uppercase; }
.cm__text { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 42ch; }
.cm__choices { display: grid; gap: 10px; margin-top: 6px; }
.cm__choice { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 64px; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 14px; text-align: left; transition: border-color .3s, background .3s, transform .45s var(--ease-out); }
.cm__choice:hover, .cm__choice:focus-visible { border-color: var(--black); transform: translateX(6px); background: var(--paper); }
.cm__choice .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--black); color: var(--teal); display: grid; place-items: center; flex: none; transition: transform .5s var(--ease-back); }
.cm__choice:hover .ic { transform: rotate(-8deg) scale(1.08); }
.cm__choice .ic svg { width: 20px; height: 20px; }
.cm__choice b { flex: 1; font: 400 23px/1 var(--f-display); letter-spacing: .08em; font-weight: 400; }
.cm__choice .go { width: 18px; height: 18px; color: var(--muted); transition: transform .4s var(--ease-out), color .3s; }
.cm__choice:hover .go { transform: translateX(4px); color: var(--black); }
.cm__later { align-self: flex-start; margin-top: auto; font: 600 14px/1 var(--f-cond); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
.cm__later:hover { color: var(--black); text-decoration: underline; text-underline-offset: 4px; }
.cm__close { position: absolute; right: 14px; top: 14px; z-index: 5; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); transition: transform .5s var(--ease-out), background .3s; }
.cm__close:hover { transform: rotate(90deg); background: var(--line); }
.cm__close svg { width: 16px; height: 16px; }
.cm__formhead { display: flex; align-items: center; gap: 14px; padding-right: 56px; }
.cm__back { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; flex: none; transition: border-color .3s, transform .4s var(--ease-out); }
.cm__back:hover { border-color: var(--black); transform: translateX(-3px); }
.cm__back svg { width: 16px; height: 16px; }
.cm__formtitle { font: 400 clamp(30px, 3vw, 42px)/1 var(--f-display); letter-spacing: .04em; text-transform: uppercase; }
.cm__stage--form .form-frame { flex: 1; height: auto; min-height: 420px; }
.cm__stage--form { padding-bottom: 20px; }

/* ---------- 23. FOOTER ---------- */
.footer-band { background: var(--band); padding: 34px 0; }
.footer-band .social a { color: var(--black); }
.site-footer { background: var(--black); color: var(--white); padding: clamp(60px, 7vw, 100px) 0 28px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { font-size: clamp(38px, 3.4vw, 52px); padding: 0; }
.footer-brand p { margin-top: 14px; font: 500 17px/1.5 var(--f-cond); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); max-width: 24ch; }
.footer-col h3 { font: 600 13px/1 var(--f-cond); letter-spacing: .26em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.footer-col p, .footer-col li { font: 400 23px/1.3 var(--f-display); letter-spacing: .06em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-col a { position: relative; display: inline-block; padding: 2px 0; }
.footer-col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.footer-col a:hover::after, .footer-col a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.footer-col a:hover { color: var(--teal); }
.footer-word { margin-top: clamp(50px, 7vw, 100px); font: 400 clamp(90px, 22vw, 370px)/.78 var(--f-display); letter-spacing: .02em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22); white-space: nowrap; user-select: none; display: flex; justify-content: center; }
.footer-word span { display: inline-block; transition: color .5s, -webkit-text-stroke-color .5s; }
.footer-word span:hover { color: var(--teal); -webkit-text-stroke-color: var(--teal); }
.footer-bottom { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; font: 600 13px/1.4 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); }
.footer-bottom a:hover { color: var(--white); }
.to-top { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.to-top svg { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.to-top:hover svg { transform: translateY(-4px); }

/* ---------- 24. INTRO CURTAIN (home, once per visit) ---------- */
.intro { position: fixed; inset: 0; z-index: var(--z-intro); background: var(--black); color: var(--white); display: grid; place-items: center; clip-path: inset(0 0 0 0); }
.intro__word { font: 400 clamp(64px, 12vw, 180px)/1 var(--f-display); letter-spacing: .14em; display: flex; overflow: hidden; padding: 0 .1em; }
.intro__word span { display: inline-block; transform: translateY(110%); animation: intro-up .7s var(--ease-out) forwards; animation-delay: calc(var(--i) * 45ms + 100ms); }
.intro__bar { position: absolute; left: 50%; bottom: 18%; width: 140px; height: 2px; background: rgba(255,255,255,.15); transform: translateX(-50%); overflow: hidden; }
.intro__bar::after { content: ""; position: absolute; inset: 0; background: var(--teal); transform-origin: left; animation: intro-bar .9s var(--ease-in-out) forwards; }
.intro.is-out { animation: intro-out .9s var(--ease-in-out) forwards; }
@keyframes intro-up { to { transform: none; } }
@keyframes intro-bar { from { transform: scaleX(0); } }
@keyframes intro-out { to { clip-path: inset(0 0 100% 0); } }

/* ---------- 25. REVEAL SYSTEM (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(44px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-50px); }
.js [data-reveal="right"] { transform: translateX(50px); }
.js [data-reveal="scale"] { transform: scale(.92); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* photos rise, fade in and settle from a slight zoom. Only opacity and transforms animate,
   so the graphics card does the work and it stays smooth while scrolling. */
.js [data-reveal="photo"] { opacity: 0; transform: translate3d(0, 72px, 0); transition: opacity 1s var(--ease-out), transform 1.3s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="photo"] img { scale: calc(var(--zoom, 1) * 1.14); transition: scale 1.7s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="photo"].is-in { opacity: 1; transform: none; }
.js [data-reveal="photo"].is-in img { scale: var(--zoom, 1); }

.js [data-reveal="rule"] { opacity: 1; transform: scaleX(0); transition: transform 1.4s var(--ease-in-out); }
.js [data-reveal="rule"].is-in { transform: scaleX(1); }

.js [data-stagger] > * { opacity: 0; transform: translateY(50px); transition: opacity .8s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }
.js .tiles[data-stagger] > * { transform: translateY(70px) rotate(-6deg) scale(.85); transition: opacity .6s var(--ease-out), transform 1s var(--ease-back); transition-delay: calc(var(--i, 0) * 110ms); }
.js .tiles[data-stagger].is-in > * { transform: none; }

/* split headings */
.split .w { display: inline-block; overflow: clip; overflow-clip-margin: .1em; vertical-align: top; padding-bottom: .02em; }
.split .c { display: inline-block; }
.js .split .c { transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--ci) * 22ms + var(--d, 0s)); }
.js .split.is-in .c { transform: none; }

/* hero entrance (triggered by .is-ready on <body>) */
.js .hero [data-hero] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.js .is-ready .hero [data-hero] { opacity: 1; transform: none; }
.js .hero .hero__poster { transition: opacity 1.2s ease, transform 2.4s var(--ease-out); }
.js .is-ready .hero .hero__poster { transform: scale(1); }

/* ---------- 26. RESPONSIVE ---------- */
@media (max-width: 1180px) {
  .values { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .video-row { grid-template-columns: repeat(2, 1fr); }
  .event-row { grid-template-columns: 90px 1fr auto; }
  .event-row__thumb { display: none; }
}
@media (max-width: 1023px) {
  :root { --header-h: 72px; --header-h-sm: 64px; }
  .cards, .event-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .card__body { padding-inline: 0; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tiles > :nth-child(4), .tiles > :nth-child(5) { grid-column: span 1; }
  .row, .row--flip { grid-template-columns: 1fr; gap: 28px; }
  .row--flip .row__media { order: 0; }
  .row__body { padding-inline: 0; }
  .visit, .story, .beliefs, .feature-video, .spanish { grid-template-columns: 1fr; }
  .story__aside, .beliefs__aside { position: static; }
  .beliefs__img { aspect-ratio: 16/9; }
  .mission__cols, .resources, .o-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .series__head { grid-template-columns: 1fr; }
  .panels { flex-direction: column; height: auto; }
  .panel, .panel.is-active { flex: none; min-height: 440px; cursor: default; }
  .panel img { transform: none; filter: none; }
  .panel__tab, .panel__btn { display: none; }
  .panel__body { position: relative; opacity: 1; transform: none; pointer-events: auto; padding-top: 220px; }
  .panel, .panel.is-active { min-height: 0; }
  .panel::after { background: linear-gradient(to top, rgba(0,0,0,.94) 0%, rgba(0,0,0,.82) 55%, rgba(0,0,0,.2) 85%, rgba(0,0,0,.1)); }
  .timeline { grid-template-columns: 1fr; }
  .timeline__line { left: 29px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline__line::after { transform: scaleY(var(--p, 0)); transform-origin: top; }
  .step { padding-left: 84px; }
  .step__dot { position: absolute; left: 0; top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero__side .scroll-cue { display: none; }
  .cm { grid-template-columns: 1fr; min-height: 0; }
  .cm__media { height: 190px; }
  .connect-modal.is-form .cm__media { display: none; }
  .connect-modal.is-form .cm { grid-template-columns: 1fr; }
  .cm__media-text { font-size: 44px; bottom: 18px; }
  .section-head--split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .live-bar a { font-size: 14px; padding: 10px 44px 10px 14px; letter-spacing: .06em; }
  .hero__title { font-size: clamp(64px, 20vw, 110px); }
  .hero__kicker { letter-spacing: .16em; font-size: 13px; }
  .time-chip { font-size: 19px; padding: 9px 14px; }
  .hero__side { bottom: auto; top: calc(var(--bar-h) + var(--header-h) + 16px); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tiles > :last-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
  .visit__facts { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .value { min-height: 0; }
  .value small { margin-top: 26px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid--lg { grid-template-columns: repeat(2, 1fr); }
  .video-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .event-row { grid-template-columns: 1fr; gap: 12px; }
  .event-row__date { display: flex; align-items: baseline; gap: 10px; }
  .event-row__date b { font-size: 42px; }
  .acc__inner { padding-left: 0; }
  .acc__btn { gap: 14px; }
  .acc__btn .n { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn { padding: 0 30px; }
  .hero__ctas .btn { width: 100%; }
  .page-head .h1 { letter-spacing: .04em; }
  .o-card { min-height: 520px; }
  .connect-modal { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .connect-modal .cm { min-height: 100dvh; grid-template-rows: auto 1fr; }
  .connect-modal.is-form .cm { grid-template-rows: 1fr; }
  .cm__stage--form { height: 100dvh; }
  .cm__stage--form .form-frame { min-height: 0; }
  .events__head .btn { width: 100%; }
}

/* ---------- 27. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-stagger] > *, .js .split .c, .js .hero [data-hero] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js [data-reveal] img { scale: var(--zoom, 1) !important; }
  .marquee__track { animation: none; }
  .hero__grain { display: none; }
  @view-transition { navigation: none; }
}

/* ---------- 28. STATE HELPERS ---------- */
.intro { display: none; }
.js .intro { display: grid; }
.intro-seen .intro { display: none !important; }
.menu-open .site-top { z-index: 70; transform: translateY(calc(var(--bar-h) * -1)) !important; }
.menu-open .site-header { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.menu-open .site-header::after { opacity: 0; }
.btn--line { --btn-bg: transparent; --btn-fg: var(--black); border: 2px solid var(--black); }
.timeline.is-in { --p: 1; }
.acc:not(.is-open) .acc__panel > div, .o-card:not(.is-open) .o-card__more > div { visibility: hidden; transition: visibility 0s .6s; }
@media (min-width: 1024px) {
  .panel:not(.is-active) .panel__body { visibility: hidden; transition: opacity .3s, transform .6s var(--ease-out), visibility 0s .3s; }
}
@media (prefers-reduced-motion: reduce) { .js .intro { display: none; } }

/* ---------- 29. CTA BAND ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); background: var(--ink); color: var(--white); padding: clamp(40px, 6vw, 96px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px 60px; align-items: end; }
.cta-band::before { content: ""; position: absolute; z-index: -1; width: 60vw; height: 60vw; right: -20vw; top: -30vw; border-radius: 50%; background: radial-gradient(circle, rgba(16,191,210,.28), transparent 62%); animation: drift 14s ease-in-out infinite alternate; }
.cta-band::after { content: ""; position: absolute; z-index: -1; width: 40vw; height: 40vw; left: -14vw; bottom: -26vw; border-radius: 50%; background: radial-gradient(circle, rgba(238,90,143,.18), transparent 62%); animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-6vw, 4vw) scale(1.15); } }
.cta-band h2 { font: 400 clamp(54px, 7vw, 116px)/.88 var(--f-display); text-transform: uppercase; }
.cta-band h2 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--white); }
.cta-band p { margin-top: 18px; color: var(--muted-dark); font-size: 18px; max-width: 48ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 1023px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- 30. PHOTO FOCUS + ZOOM (set with the photo editor) ---------- */
img[data-img] { object-position: var(--focus, 50% 50%); transform-origin: var(--focus, 50% 50%); scale: var(--zoom, 1); }

/* ---------- 31. COMPACT NAV (small laptops & tablets) ---------- */
.nav-link { white-space: nowrap; }
@media (max-width: 1180px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__group { display: none; }
  .nav .brand { order: -1; font-size: 30px; }
  .menu-btn { display: block; }
}

/* ---------- 32. GROUPS PAGE ---------- */
.gfilter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(26px, 3vw, 40px); }
.chip-f { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font: 400 19px/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); transition: background .35s, color .35s, border-color .35s, transform .4s var(--ease-back); }
.chip-f span { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--mist); display: inline-grid; place-items: center; font: 700 12px/1 var(--f-cond); letter-spacing: 0; color: var(--muted); transition: background .35s, color .35s; }
.chip-f:hover { border-color: var(--black); color: var(--black); transform: translateY(-2px); }
.chip-f[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: var(--white); }
.chip-f[aria-pressed="true"] span { background: var(--teal); color: #001316; }

.ggrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); transition: opacity .2s ease, transform .2s ease; }
.ggrid.is-switching { opacity: 0; transform: translateY(10px); }
.gcard.is-enter { animation: gcard-in .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes gcard-in { from { opacity: 0; transform: translate3d(0, 36px, 0) scale(.97); } }
.gcard__btn { display: flex; flex-direction: column; width: 100%; height: 100%; text-align: left; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .4s; }
.gcard__btn:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); border-color: transparent; }
.gcard__btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.gcard__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.gcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.gcard__btn:hover .gcard__media img { transform: scale(1.07); }
.gcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 45%); }
.gcard__tag, .gcard__status { position: absolute; top: 14px; z-index: 1; padding: 8px 12px; border-radius: 999px; font: 600 12px/1 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; }
.gcard__tag { left: 14px; background: var(--white); color: var(--black); }
.gcard__status { right: 14px; background: var(--sun); color: #2a1d00; }
.gcard__day { position: absolute; left: 16px; bottom: 14px; z-index: 1; font: 400 26px/1 var(--f-display); letter-spacing: .06em; color: var(--white); }
.gcard__body { display: flex; flex-direction: column; gap: 9px; padding: 20px 22px 22px; flex: 1; }
.gcard__name { font: 400 clamp(26px, 2.1vw, 32px)/1 var(--f-display); letter-spacing: .02em; color: var(--text); }
.gcard__meta { display: flex; align-items: flex-start; gap: 8px; font: 500 15px/1.35 var(--f-cond); letter-spacing: .03em; color: var(--text-soft); }
.gcard__meta svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--teal-ink); }
.gcard__lead { font-size: 14px; color: var(--muted); line-height: 1.45; }
.gcard__more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font: 400 17px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.gcard__more svg { width: 16px; height: 16px; transition: transform .45s var(--ease-out); }
.gcard__btn:hover .gcard__more svg { transform: translateX(5px); }

/* details dialog */
.gdlg { width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 22px; background: var(--white); color: var(--text); overflow: hidden; box-shadow: 0 50px 120px -30px rgba(0,0,0,.6); }
.gdlg::backdrop { background: rgba(0,0,0,.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.gdlg[open] { animation: fade-up .6s var(--ease-out); }
.gdlg[open]::backdrop { animation: fade .5s ease; }
.gdlg.is-closing { animation: fade-down .3s var(--ease-in-out) forwards; }
.gdlg.is-closing::backdrop { animation: fade .3s ease reverse forwards; }
.gdlg__close { position: absolute; right: 14px; top: 14px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--black); transition: transform .5s var(--ease-out); }
.gdlg__close:hover { transform: rotate(90deg); }
.gdlg__close svg { width: 16px; height: 16px; }
.gdlg__body { max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; transition: opacity .16s ease, transform .16s ease; }
.gdlg__body.is-swap { opacity: 0; transform: translateX(-12px); }
.gdlg__hero { position: relative; height: clamp(220px, 34vh, 320px); overflow: hidden; background: var(--ink); }
.gdlg__hero img { width: 100%; height: 100%; object-fit: cover; animation: slow-zoom 9s var(--ease-out) forwards; }
.gdlg__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.1) 65%); }
.gdlg__heroText { position: absolute; left: clamp(22px, 4vw, 40px); right: clamp(22px, 4vw, 40px); bottom: 22px; z-index: 1; color: var(--white); }
.gdlg__heroText h2 { font: 400 clamp(36px, 4.4vw, 54px)/.92 var(--f-display); letter-spacing: .02em; margin: 10px 0 8px; }
.gdlg__heroText p { font: 500 15px/1.4 var(--f-cond); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.gdlg__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.gdlg__tags span { padding: 7px 11px; border-radius: 999px; background: var(--teal); color: #001316; font: 600 12px/1 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; }
.gdlg__tags .is-status { background: var(--sun); color: #2a1d00; }
.gdlg__content { padding: clamp(22px, 4vw, 40px); display: grid; gap: 24px; }
.gdlg__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin: 0; }
.gdlg__facts div { padding-top: 14px; border-top: 1px solid var(--line); }
.gdlg__facts dt { font: 600 12px/1 var(--f-cond); letter-spacing: .24em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 8px; }
.gdlg__facts dd { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text); }
.gdlg__about { font-size: 17px; line-height: 1.7; color: var(--text-soft); }
.gdlg__study { display: flex; gap: 18px; align-items: center; padding: 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.gdlg__study img { width: 84px; flex: none; border-radius: 6px; box-shadow: 0 12px 24px -12px rgba(0,0,0,.45); }
.gdlg__study small, .gdlg__reach small { display: block; font: 600 12px/1 var(--f-cond); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.gdlg__study b { display: block; font: 400 22px/1.1 var(--f-display); letter-spacing: .03em; }
.gdlg__study span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.gdlg__study p { font-size: 14px; color: var(--text-soft); margin-top: 6px; }
.gdlg__people { display: grid; gap: 10px; }
.gdlg__person { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.gdlg__person b { min-width: 76px; font: 400 20px/1 var(--f-display); letter-spacing: .06em; }
.gdlg__person .btn svg { width: 16px; height: 16px; }
.gdlg__nav { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line); font: 600 13px/1 var(--f-cond); letter-spacing: .18em; color: var(--muted); }
.gdlg__step { min-height: 44px; padding: 0 6px; font: 400 18px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.gdlg__step:hover { color: var(--teal-ink); }

/* Connect page: groups teaser */
.gteaser__tags { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 1100px) { .ggrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .ggrid { grid-template-columns: 1fr; }
  .gfilter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .gfilter::-webkit-scrollbar { display: none; }
  .chip-f { flex: none; }
  .gdlg { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .gdlg__body { max-height: 100dvh; }
  .gdlg__facts { grid-template-columns: 1fr; }
  .gdlg__person b { min-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .gcard.is-enter { animation: none; } .ggrid { transition: none; } }

/* ---------- 33. CAPTURE MODE (?capture — for portfolio screenshots) ---------- */
.capture *, .capture *::before, .capture *::after { transition: none !important; }
.capture .hero__grain { display: none; }
