/* =========================================================
   RYZE Up Youth Inc. Site styles v1
   Load order: site.css, then motion.css
   ========================================================= */

:root {
  --night: #0E0E0F;
  --bone: #EDE6DA;
  --bone-soft: rgba(237, 230, 218, 0.78);
  --bone-faint: rgba(237, 230, 218, 0.14);
  --red-earth: #A6431F;
  --ironstone: #4A2416;
  --gold: #C9A24A;
  --smoke: #2A2826;

  --font-display: "Alfa Slab One", "Rockwell", "Georgia", serif;
  --font-label: "Archivo Narrow", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-body: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
  --wrap: 1180px;
  --section: clamp(88px, 11vw, 168px);
  color-scheme: dark;
}
/* The brand lives at night, so both themes keep the same palette */
@media (prefers-color-scheme: light) { :root:not([data-theme="light"]) { color-scheme: dark; } }
:root[data-theme="dark"] { color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(80px + env(safe-area-inset-top, 0px));
  background: var(--night);
}
:root {
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
body {
  margin: 0;
  min-height: 100%;
  background: transparent;
  color: var(--bone);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
p { margin: 0 0 1em; max-width: 62ch; }
h1, h2, h3 { margin: 0; font-weight: 400; }

.skip {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--gold); color: var(--night); padding: 10px 16px;
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Layout */
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.act { position: relative; padding-block: var(--section); }

/* Type */
.display {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.display > span { display: block; }
.display--md { font-size: clamp(2rem, 5vw, 4rem); }
.kicker {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--bone-soft);
  margin: 0 0 1.4rem;
  display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--bone-soft); text-wrap: pretty; }
.hero .lede { text-wrap: balance; }

/* Buttons (motion handles the fill) */
.btn {
  font-family: var(--font-label);
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  justify-content: center;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.text-link { font-family: var(--font-label); letter-spacing: 0.04em; color: var(--bone-soft); padding: 10px 2px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  padding-top: env(safe-area-inset-top, 0px);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: none; gap: 30px; align-items: center; }
.nav__links a:not(.btn) { font-family: var(--font-label); letter-spacing: 0.04em; font-size: 1rem; padding: 10px 0; }
.nav__links .btn { min-height: 42px; }
.nav__menu-btn {
  min-height: 44px; min-width: 44px; padding: 0 6px;
  font-family: var(--font-label); letter-spacing: 0.08em; text-transform: uppercase;
}
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__menu-btn { display: none; }
}

.menu { display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px; }
.menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.menu a { font-family: var(--font-display); font-size: clamp(2.2rem, 10vw, 3.4rem); line-height: 1.15; display: inline-block; padding: 4px 0; }
.menu__close {
  position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: var(--gutter);
  min-height: 44px; min-width: 44px;
  font-family: var(--font-label); letter-spacing: 0.08em; text-transform: uppercase;
}



/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  padding: calc(96px + env(safe-area-inset-top, 0px)) 0 clamp(48px, 9vh, 110px);
}
/* Hero reel: real footage. One full-screen panel on phones, a three-panel collage on desktop */
.hero__reel {
  position: absolute; inset: 0; z-index: -2;
  display: grid; grid-template-columns: 1fr; gap: 6px;
  background: var(--night);
}
@media (min-width: 900px) { .hero__reel { grid-template-columns: repeat(3, 1fr); } }
.hero__panel { position: relative; overflow: hidden; background: var(--smoke); }
.hero__panel:nth-child(n + 2) { display: none; }
@media (min-width: 900px) { .hero__panel:nth-child(n + 2) { display: block; } }
.hero__panel img, .hero__panel video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__panel video { opacity: 0; transition: opacity 900ms ease; }
.hero__panel video.is-ready { opacity: 1; }
.hero--reel::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(14, 14, 15, 0.7) 0%, rgba(14, 14, 15, 0.35) 22%, rgba(14, 14, 15, 0.45) 50%, rgba(14, 14, 15, 0.82) 72%, var(--night) 100%);
}
.hero__line-wrap { position: relative; z-index: 0; height: 1px; }
.hero__grain {
  display: none; position: absolute; inset: -50%; z-index: 1; opacity: 0.09; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero__top { position: relative; z-index: 1; align-self: end; display: grid; justify-items: center; padding-bottom: clamp(56px, 9vw, 120px); }
.hero__top picture { display: block; }
.hero__logo { width: min(86vw, 660px); height: auto; filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.7)); }
.hero .horizon { position: absolute; left: 0; right: 0; top: 0; z-index: 2; }
.hero__copy { position: relative; z-index: 1; align-self: start; padding-top: clamp(24px, 5vh, 48px); text-align: center; }
.hero__copy .display { font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1.05; margin-inline: auto; letter-spacing: 0; }
.hero__copy .lede { margin: 1.1rem auto 1.8rem; }
.hero__copy .btn-row { justify-content: center; gap: 22px; }
.scroll-cue {
  position: absolute; right: var(--gutter); bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  font-family: var(--font-label); letter-spacing: 0.08em; font-size: 0.85rem; color: var(--bone-soft);
  display: grid; justify-items: center; gap: 8px; padding: 8px;
}
.horizon-pulse { width: 1px; height: 28px; background: var(--gold); }
@media (max-width: 899px) { .scroll-cue { display: none; } }

/* ---------- The Ground ---------- */
.ground { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .ground { grid-template-columns: 1.1fr 0.9fr; } }
.map { width: 100%; max-width: 460px; justify-self: center; }
.map .town circle.dot { fill: var(--gold); }
.map .town circle.halo { fill: none; stroke: var(--gold); stroke-opacity: 0.4; }
.map text { fill: var(--bone); font-family: var(--font-label); font-size: 15px; letter-spacing: 0.04em; }
.map .contours path { fill: none; stroke: var(--bone-faint); stroke-width: 1; }
.map .map__km { font-size: 13px; fill: var(--bone-soft); }
.map .road { fill: none; stroke: var(--gold); stroke-opacity: 0.5; stroke-width: 1; stroke-dasharray: 3 5; }
.values { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 18px; }
.values li { border-left: 2px solid var(--gold); padding: 2px 0 2px 16px; }
.values strong { display: block; font-family: var(--font-label); font-size: 1.15rem; letter-spacing: 0.03em; font-weight: 600; }
.values span { color: var(--bone-soft); }

/* ---------- Pathways ---------- */
.pathways__head { margin-bottom: clamp(36px, 6vw, 64px); }
.bands { border-top: 1px solid var(--bone-faint); }
.band-item { border-bottom: 1px solid var(--bone-faint); }
.band {
  position: relative; isolation: isolate;
  width: 100%; text-align: left;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(14px, 3vw, 40px);
  padding: clamp(22px, 3.4vw, 36px) clamp(4px, 1vw, 16px);
  min-height: 44px;
}
.band__name { font-family: var(--font-display); font-size: clamp(1.9rem, 5vw, 3.4rem); line-height: 1; display: block; }
.band__tag { display: block; margin-top: 8px; font-family: var(--font-label); letter-spacing: 0.04em; color: var(--gold); font-size: 1.05rem; }
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(201, 162, 74, 0.16), transparent 75%);
  transform: scaleX(0); transform-origin: left;
  transition: transform 520ms var(--ease-settle, ease);
}
.band:hover::before, .band[aria-expanded="true"]::before { transform: scaleX(1); }
.band__num { font-family: var(--font-label); font-weight: 600; font-size: 1rem; color: var(--gold); align-self: start; padding-top: 0.5em; font-variant-numeric: tabular-nums; }
.band__icon { position: relative; width: 44px; height: 44px; }
.band__icon::before, .band__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 1.5px; background: var(--bone);
  translate: -50% -50%;
  transition: transform 320ms var(--ease-settle, ease), background-color 200ms ease;
}
.band__icon::after { transform: rotate(90deg); }
.band[aria-expanded="true"] .band__icon::after { transform: rotate(0deg); }
.band:hover .band__icon::before, .band:hover .band__icon::after { background: var(--gold); }
.band__body { padding: 0 clamp(4px, 1vw, 16px) clamp(26px, 4vw, 40px) calc(clamp(4px, 1vw, 16px) + clamp(14px, 3vw, 40px) + 1.4rem); display: grid; gap: 20px; }
@media (min-width: 900px) { .band__body { grid-template-columns: 1.1fr 1fr; align-items: center; column-gap: clamp(28px, 4vw, 56px); } }
.band__photo { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--smoke); }
.band__photo img { width: 100%; height: 100%; object-fit: cover; }
.band__body > div > p { margin-bottom: 1.2rem; }
.band__body p { color: var(--bone-soft); }
.band__body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.band__body li::before { content: ""; display: inline-block; width: 14px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 12px; }
.pathways__cta { margin-top: clamp(32px, 5vw, 56px); }

/* ---------- Photo frames (swap the placeholder for a real <img>) ---------- */
.frame {
  position: relative; overflow: hidden; background: var(--smoke);
  aspect-ratio: 4 / 5;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--placeholder::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(237, 230, 218, 0.16); pointer-events: none;
}
.frame--placeholder::after {
  content: ""; position: absolute; inset: 0; opacity: 0.18; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.frame--placeholder {
  display: grid; place-items: end start; padding: 24px;
  background:
    radial-gradient(120% 80% at 70% 20%, rgba(201, 162, 74, 0.35), transparent 60%),
    linear-gradient(160deg, #3a1d12, var(--night));
}
.frame--placeholder span { font-family: var(--font-label); letter-spacing: 0.04em; color: var(--bone-soft); font-size: 0.95rem; }

/* ---------- Stylers ---------- */
.stylers { min-height: 220svh; padding-block: 0; }
.stylers__sticky {
  position: sticky; top: 0; min-height: 100svh;
  display: grid; align-items: center; padding-block: 96px 48px;
}
.stylers__grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .stylers__grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.stylers .crossfade { aspect-ratio: 4 / 5; max-height: 62svh; width: 100%; }
@media (min-width: 900px) { .stylers .crossfade { max-height: 76svh; } }
.stylers .crossfade > .frame { aspect-ratio: auto; height: 100%; }
@media (prefers-reduced-motion: reduce) { .stylers { min-height: 0; } .stylers__sticky { position: static; } }

/* ---------- Their Words ---------- */
.words { background: var(--night); }
.quotes { max-width: 900px; }
.quote { margin: 0; }
.quotes { display: grid; gap: 28px; max-width: none; }
@media (min-width: 900px) {
  .quotes { grid-template-columns: minmax(200px, 260px) 1fr; grid-template-rows: auto 1fr; column-gap: clamp(40px, 6vw, 96px); }
  .quotes__side { grid-column: 1; grid-row: 1; }
  .quotes__stage { grid-column: 2; grid-row: 1 / span 2; }
  .quotes__controls { grid-column: 1; grid-row: 2; align-self: end; }
}
.quotes__side .kicker { margin-bottom: 10px; }
.quotes__count { font-family: var(--font-label); color: var(--bone-soft); margin: 0; font-variant-numeric: tabular-nums; }
.quote p {
  font-family: var(--font-body); font-weight: 500;
  font-size: clamp(1.45rem, 3.1vw, 2.5rem); line-height: 1.28; letter-spacing: -0.01em;
  max-width: 30ch; margin-bottom: 1.6rem; text-wrap: pretty;
}
.quote p::before { content: "\201C"; } .quote p::after { content: "\201D"; }
.quote footer { font-family: var(--font-label); letter-spacing: 0.04em; color: var(--gold); }
.quotes__controls { display: flex; gap: 12px; }
.quotes__controls button {
  width: 48px; height: 48px; border: 1px solid var(--bone-faint); border-radius: 50%;
  display: grid; place-items: center; font-size: 1.2rem;
  transition: border-color 200ms ease;
}
.quotes__controls button:hover { border-color: var(--gold); }

/* ---------- The Road Ahead ---------- */
.journey { position: relative; }
.journey__intro { padding-top: var(--section); padding-bottom: 32px; }
.journey__viewport { padding-inline: var(--gutter); padding-bottom: 24px; scrollbar-width: none; }
.journey__viewport::-webkit-scrollbar { display: none; }
.journey.is-pinned .journey__viewport { padding-bottom: 0; padding-top: 72px; }
.journey__stop {
  border-top: 1px solid var(--gold);
  padding-top: 22px;
  display: grid; gap: 18px; align-content: start;
}
.journey__when { font-family: var(--font-label); letter-spacing: 0.04em; color: var(--gold); }
.journey__stop h3 { font-family: var(--font-display); font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1; }
.journey__stop p { color: var(--bone-soft); margin: 0; }
.journey__stop .frame { aspect-ratio: 16 / 10; }
.journey__stop--next h3 { color: var(--gold); }
.journey__end { padding-top: 40px; }

/* ---------- Stand With Us ---------- */
.partner { background: linear-gradient(to bottom, transparent, rgba(201, 162, 74, 0.12) 30%, rgba(201, 162, 74, 0.2)); }
.doors { display: grid; gap: 14px; margin: clamp(32px, 5vw, 56px) 0 28px; }
@media (min-width: 760px) { .doors { grid-template-columns: repeat(3, 1fr); } }
.door { position: relative; }
.door input { position: absolute; opacity: 0; pointer-events: none; }
.door label {
  position: relative; display: grid; gap: 6px; padding: 20px 0 22px 34px;
  border-top: 1px solid rgba(237, 230, 218, 0.28); cursor: pointer;
  transition: border-color 220ms ease, color 220ms ease;
}
.door__dot {
  position: absolute; left: 0; top: 30px; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid rgba(237, 230, 218, 0.5);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.door input:checked + label .door__dot { border-color: var(--gold); box-shadow: inset 0 0 0 4px var(--night), inset 0 0 0 9px var(--gold); }
.door input:checked + label strong { color: var(--gold); }
.door strong { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 400; line-height: 1.05; transition: color 200ms ease; }
.door span { color: var(--bone-soft); font-size: 0.98rem; }
.door label:hover { border-color: var(--gold); }
.door input:checked + label { border-top-color: var(--gold); }
.door input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 3px; }

.form { display: grid; gap: 18px; max-width: 760px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 760px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-label); letter-spacing: 0.04em; font-size: 1rem; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--bone);
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(237, 230, 218, 0.4);
  padding: 12px 0; min-height: 48px; border-radius: 0;
  transition: border-color 200ms ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(237, 230, 218, 0.45); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--gold); outline: none; box-shadow: 0 1px 0 0 var(--gold); }
.field__hint { font-size: 0.9rem; color: var(--bone-soft); }
.form__status { min-height: 1.6em; color: var(--gold); font-family: var(--font-label); letter-spacing: 0.03em; }
.form .btn { justify-self: start; }
.hidden-field { display: none; }

.also { margin-top: clamp(48px, 7vw, 80px); display: grid; gap: 22px; }
@media (min-width: 760px) { .also { grid-template-columns: repeat(2, 1fr); max-width: 760px; } }
.also a { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid rgba(237, 230, 218, 0.28); }
.also strong { font-family: var(--font-label); font-size: 1.15rem; letter-spacing: 0.03em; font-weight: 600; }
.also span { color: var(--bone-soft); font-size: 0.98rem; }

/* ---------- Footer ---------- */
.footer { background: var(--night); padding: 72px 0 calc(110px + env(safe-area-inset-bottom, 0px)); font-size: 0.98rem; }
@media (min-width: 900px) { .footer { padding-bottom: 48px; } }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; } .footer__grid--4 { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer img { height: 40px; width: auto; margin-bottom: 18px; }
.footer h2 { font-family: var(--font-label); font-size: 1rem; letter-spacing: 0.06em; color: var(--gold); margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer a { display: inline-block; padding: 6px 0; }
.footer p { color: var(--bone-soft); }
.ack { border-top: 1px solid var(--bone-faint); margin-top: 48px; padding-top: 24px; color: var(--bone-soft); }
.legal { color: rgba(237, 230, 218, 0.5); font-size: 0.88rem; margin-top: 12px; }

/* ---------- v2 polish: one continuous surface ---------- */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.words { background: transparent; isolation: isolate; }
.words::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--night) 22%, var(--night) 78%, transparent);
}
.hero .horizon { background: linear-gradient(90deg, transparent, var(--gold) 18%, var(--gold) 82%, transparent); }
.text-link { font-weight: 500; color: var(--bone); }
.pathways__cta, .journey__end .btn-row { gap: 24px; }
::selection { background: var(--gold); color: var(--night); }
html { scrollbar-color: var(--smoke) var(--night); }

/* ---------- Values: tabs on phones, staggered trio on desktop ---------- */
.values-tabs {
  display: flex; gap: 6px; margin-top: clamp(40px, 7vw, 80px);
  border-bottom: 1px solid var(--bone-faint);
}
.values-tabs button {
  flex: 1; min-height: 48px; padding: 10px 4px 12px;
  font-family: var(--font-label); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.02em;
  color: var(--bone-soft); position: relative;
  transition: color 200ms ease;
}
.values-tabs button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold);
  transform: scaleX(0); transition: transform 320ms var(--ease-settle, ease);
}
.values-tabs button[aria-selected="true"] { color: var(--bone); }
.values-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.values-strip { margin-top: 18px; display: grid; }
.values-strip figure { margin: 0; grid-area: 1 / 1; }
.values-strip figure:not(.is-active) { visibility: hidden; opacity: 0; }
.values-strip figure.is-active { animation: valueIn 450ms var(--ease-settle, ease) both; }
@keyframes valueIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.values-strip img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: var(--smoke); }
.values-strip figcaption { padding-top: 14px; display: grid; gap: 2px; }
.values-strip strong { display: none; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.values-strip span { color: var(--bone-soft); font-size: 1.02rem; }
@media (min-width: 900px) {
  .values-tabs { display: none; }
  .values-strip { margin-top: clamp(48px, 7vw, 96px); grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
  .values-strip figure { grid-area: auto; visibility: visible; opacity: 1; animation: none; }
  .values-strip figure:not(.is-active) { visibility: visible; opacity: 1; }
  .values-strip figure:nth-child(2) { transform: translateY(48px); }
  .values-strip figcaption { border-top: 1px solid var(--gold); margin-top: 14px; }
  .values-strip strong { display: block; }
}
.stylers .crossfade > .frame img { object-position: center 40%; }

/* ---------- Instagram showcase ---------- */
.insta__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: clamp(24px, 4vw, 40px); }
.insta__id { display: flex; align-items: center; gap: 16px; }
.insta__avatar {
  flex: none; width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center; background: var(--night);
  box-shadow: 0 0 0 2px var(--night), 0 0 0 4px var(--gold);
}
.insta__avatar img { width: 52px; height: auto; }
.insta__id h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1; }
.insta__bio { display: block; color: var(--bone-soft); font-size: 0.98rem; max-width: 42ch; margin-top: 4px; }
.insta__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
@media (min-width: 900px) { .insta__grid { grid-template-columns: repeat(6, 1fr); gap: 6px; } }
.insta__tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--smoke); }
.insta__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-settle, ease), filter 400ms ease; }
.insta__tile::after {
  content: ""; position: absolute; inset: 0; background: rgba(14, 14, 15, 0.35); opacity: 0; transition: opacity 300ms ease;
}
.insta__tile:hover img { transform: scale(1.05); }
.insta__tile:hover::after { opacity: 1; }

/* ---------- Action bar: quick actions, always one tap away ---------- */
.actionbar {
  position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(14, 14, 15, 0.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid rgba(201, 162, 74, 0.35);
  transition: transform 420ms var(--ease-settle, ease), opacity 300ms ease;
}
.actionbar.is-tucked { transform: translateY(110%); opacity: 0; pointer-events: none; }
.actionbar a, .actionbar button {
  display: grid; justify-items: center; gap: 4px; min-height: 52px; padding: 6px 2px;
  font-family: var(--font-label); font-weight: 500; font-size: 0.82rem; letter-spacing: 0.03em; color: var(--bone);
  border-radius: 10px; transition: color 200ms ease, background-color 200ms ease;
}
.actionbar svg { width: 23px; height: 23px; }
.actionbar a:first-child { color: var(--gold); }
.actionbar a:hover, .actionbar button:hover { background: rgba(237, 230, 218, 0.07); color: var(--gold); }
.actionbar a:active, .actionbar button:active { transform: scale(0.96); }
@media (min-width: 900px) {
  .actionbar {
    left: 50%; right: auto; bottom: 22px; translate: -50% 0;
    grid-template-columns: repeat(4, auto); gap: 2px;
    padding: 6px; border: 1px solid rgba(201, 162, 74, 0.35); border-radius: 999px;
  }
  .actionbar.is-tucked { transform: translateY(160%); }
  .actionbar a, .actionbar button { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 0.95rem; }
  .actionbar svg { width: 20px; height: 20px; }
}
.toast {
  position: fixed; z-index: 60; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); translate: -50% 0;
  margin: 0; padding: 10px 18px; border-radius: 999px;
  background: var(--bone); color: var(--night); font-family: var(--font-label); font-weight: 600;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity 250ms ease, transform 250ms ease;
}
.toast.is-on { opacity: 1; transform: none; }
.footer { padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)); }

/* =========================================================
   Inner pages
   ========================================================= */
.nav__links a[aria-current="page"], .menu a[aria-current="page"] { color: var(--gold); }

.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(78svh, 760px);
  display: grid; align-items: end;
  padding: calc(120px + env(safe-area-inset-top, 0px)) 0 clamp(48px, 8vw, 96px);
}
.page-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(14, 14, 15, 0.75) 0%, rgba(14, 14, 15, 0.35) 35%, rgba(14, 14, 15, 0.8) 75%, var(--night) 100%);
}
.page-hero .display { font-size: clamp(2.6rem, 7vw, 5.6rem); }
.page-hero .lede { margin-top: 1.2rem; color: var(--bone); }

.intro { display: grid; gap: clamp(20px, 4vw, 64px); }
@media (min-width: 900px) { .intro { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.intro .lede { margin-bottom: 1rem; }

.split__grid { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) {
  .split__grid { grid-template-columns: 1fr 1fr; }
  .split--flip .split__photo { order: 2; }
}
.split__photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--smoke); }
.split__photo img { width: 100%; height: 100%; object-fit: cover; }
.split__num { font-family: var(--font-label); font-weight: 600; color: var(--gold); margin: 0 0 10px; }
.split__tag { font-family: var(--font-label); font-weight: 500; font-size: 1.15rem; color: var(--gold); margin: 10px 0 1.4rem; }
.split__who strong { color: var(--bone); font-weight: 600; }
.split__text p { color: var(--bone-soft); }
.split__text .lede { margin-top: 1.4rem; }
.split__h3 { font-family: var(--font-label); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.03em; margin: 1.6rem 0 0.8rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; }
.ticks li::before { content: ""; flex: none; width: 14px; height: 1px; background: var(--gold); transform: translateY(-4px); }

.steps { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { border-top: 1px solid var(--gold); padding: 18px 20px 22px 0; display: grid; gap: 4px; }
.steps__n { font-family: var(--font-label); font-weight: 600; color: var(--gold); }
.steps strong { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.steps li > span:last-child { color: var(--bone-soft); }

.trio { display: grid; gap: clamp(24px, 3vw, 40px); margin-top: clamp(32px, 5vw, 56px); }
@media (min-width: 900px) { .trio { grid-template-columns: repeat(3, 1fr); } .trio--two { grid-template-columns: repeat(2, 1fr); } }
.trio > div { border-top: 1px solid rgba(237, 230, 218, 0.28); padding-top: 20px; }
.trio h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.1; margin-bottom: 10px; }
.trio p { color: var(--bone-soft); }

.mosaic { display: grid; gap: 12px; margin-top: clamp(32px, 5vw, 56px); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .mosaic { grid-template-columns: repeat(4, 1fr); gap: 18px; } .mosaic figure:nth-child(even) { transform: translateY(40px); } }
.mosaic figure { margin: 0; }
.mosaic img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--smoke); }
.mosaic figcaption { margin-top: 10px; color: var(--bone-soft); font-size: 0.95rem; line-height: 1.45; }

.season { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; }
@media (min-width: 900px) { .season { grid-template-columns: repeat(3, 1fr); } }
.season li { border-top: 1px solid var(--gold); padding: 18px 20px 26px 0; display: grid; gap: 4px; }
.season__when { font-family: var(--font-label); font-weight: 600; color: var(--gold); }
.season strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; }
.season li > span:last-child { color: var(--bone-soft); }

.events { list-style: none; margin: clamp(28px, 5vw, 48px) 0 0; padding: 0; }
.event {
  display: grid; grid-template-columns: 84px 1fr; gap: 18px 20px; align-items: start;
  border-top: 1px solid rgba(237, 230, 218, 0.22); padding: 22px 0;
}
@media (min-width: 760px) { .event { grid-template-columns: 120px 1fr auto; } }
.event__date { margin: 0; display: grid; line-height: 1.05; }
.event__date strong { font-family: var(--font-display); font-weight: 400; font-size: 2.2rem; color: var(--gold); }
.event__date span { font-family: var(--font-label); font-weight: 500; color: var(--bone-soft); }
.event h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.1; }
.event__place { font-family: var(--font-label); font-weight: 500; color: var(--gold); margin: 4px 0 8px; }
.event p:last-child { color: var(--bone-soft); margin-bottom: 0; }
.event__tag {
  grid-column: 2; justify-self: start;
  font-family: var(--font-label); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid rgba(201, 162, 74, 0.6); color: var(--gold); padding: 6px 12px; border-radius: 999px;
}
@media (min-width: 760px) { .event__tag { grid-column: 3; grid-row: 1; } }
.events--past .event h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }

.gallery { display: grid; gap: 10px; margin-top: clamp(32px, 5vw, 56px); grid-template-columns: repeat(2, 1fr); }
.gallery figure { margin: 0; overflow: hidden; background: var(--smoke); aspect-ratio: 3 / 4; }
.gallery__wide { grid-column: span 2; aspect-ratio: 16 / 10 !important; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(220px, 22vw, 320px); gap: 14px; }
  .gallery figure { aspect-ratio: auto !important; }
  .gallery figure:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
  .gallery figure:nth-child(4) { grid-column: 3 / 5; }
}
.gallery img { width: 100%; height: 100%; object-fit: cover; }

.mv { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 900px) { .mv { grid-template-columns: 1fr 1fr; } }
.mv > div { border-top: 1px solid var(--gold); padding-top: 22px; }
.mv__text { font-family: var(--font-body); font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.32; letter-spacing: -0.01em; max-width: 30ch; }

.people { display: grid; gap: clamp(32px, 5vw, 56px); margin-top: clamp(32px, 5vw, 56px); }
@media (min-width: 760px) { .people { grid-template-columns: repeat(2, 1fr); } }
.person__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--smoke); margin-bottom: 18px; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__photo--empty { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #2a1a12, var(--night) 70%); }
.person__photo--empty img { width: 60%; height: auto; opacity: 0.85; }
.person h3 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1.05; }
.person__role { font-family: var(--font-label); font-weight: 500; color: var(--gold); margin: 6px 0 12px; }
.person p:last-child { color: var(--bone-soft); }

.cta-band { background: linear-gradient(to bottom, transparent, rgba(201, 162, 74, 0.14) 35%, rgba(201, 162, 74, 0.22)); }
.cta-band .lede { margin: 1.4rem 0 2rem; }
.cta-band .btn-row { gap: 24px; }

/* ---------- Programs inside each pathway ---------- */
.programs { margin-top: clamp(28px, 4vw, 40px); }
.programs__title { font-family: var(--font-label); font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.programs__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.programs__list li { border: 1px solid var(--bone-faint); border-left: 4px solid var(--gold); padding: 14px 16px; }
.programs__list h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; letter-spacing: .01em; text-transform: uppercase; margin: 0 0 4px; }
.programs__list p { margin: 0; color: var(--bone-soft); font-size: .95rem; line-height: 1.5; }
.band__programs { margin-top: 14px; font-size: .92rem; color: var(--bone-soft); }
.band__programs strong { display: block; font-family: var(--font-label); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--gold); margin-bottom: 2px; }

/* ---------- Partner strip in footer ---------- */
.partners { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: clamp(28px, 4vw, 40px); padding-top: 22px; border-top: 1px solid var(--bone-faint); }
.partners__label { margin: 0; font-family: var(--font-label); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--bone-soft); }
.partners__link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bone); min-height: 44px; }
.partners__link img { width: 52px; height: 52px; object-fit: cover; border-radius: 6px; }
.partners__link span { font-weight: 600; line-height: 1.25; }
.partners__link small { display: block; font-weight: 400; color: var(--bone-soft); font-size: .85rem; }
.partners__link:hover span { text-decoration: underline; }
.footer .partners { flex-direction: column; align-items: flex-start; }
.footer .partners__link { display: inline-flex; flex-direction: row; flex-wrap: nowrap; }
.footer .partners__link img { width: 52px; height: 52px; margin: 0; flex: none; }

/* ---------- Proudly supported by ---------- */
.supporters { background: var(--paper, #F5F2EB); color: var(--ink, #1D1723); padding: clamp(40px, 6vw, 72px) 0; overflow: hidden; }
.supporters .kicker { margin-bottom: clamp(18px, 3vw, 28px); }
.marquee { display: flex; width: max-content; }
.marquee__track { display: flex; gap: 14px; padding: 0 7px; margin: 0; list-style: none; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { flex: none; width: 168px; height: 104px; background: #fff; border: 1px solid rgba(29,23,35,.14); display: grid; place-items: center; padding: 12px; }
.marquee__track img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (max-width: 600px) { .marquee__track li { width: 132px; height: 84px; padding: 10px; } .marquee__track { animation-duration: 38s; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { width: auto; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: var(--wrap, 100%); margin: 0 auto; }
  .marquee__track[aria-hidden="true"] { display: none; }
}
.supporters { padding-top: 0; }
.marquee__track li img { width: auto !important; height: auto !important; max-width: 144px; max-height: 80px; }
@media (max-width: 600px) { .marquee__track li img { max-width: 112px; max-height: 62px; } }

/* ---------- Program funder acknowledgement ---------- */
.funder { margin-top: 22px; }
.funder__label { margin: 0 0 8px; font-family: var(--font-label); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--bone-soft); }
.funder__logo { background: #fff; display: inline-block; padding: 14px 18px; }
.funder__logo img { display: block; width: 260px; max-width: 100%; height: auto; }
.funder__note { margin: 8px 0 0; font-size: .9rem; color: var(--bone-soft); }
.marquee__track li a { display: grid; place-items: center; width: 100%; height: 100%; }
.marquee__track li:has(a):hover { border-color: var(--ink, #1D1723); }
.marquee__track li a:focus-visible { outline: 2px solid var(--ink, #1D1723); outline-offset: 4px; }
