/* =========================================================
   Teens Corridor — Varsity palette
   Display: Marcellus (≈ TF Arrow) · Text: Urbanist (≈ Pliant) · Accent: Mrs Saint Delafield
   ========================================================= */
:root {
  --white: #ffffff;   /* main canvas */
  --ink: #111111;     /* headings, body text */
  --paper: #f5f5f2;   /* secondary surfaces, cards */
  --lime: #aee76e;    /* accent */
  --pink: #ffc6ef;    /* secondary accent */
  --red: #ef2d11;     /* editorial accent */
  --blue: #a6c0da;    /* supporting accent */
  --brand: #020494;   /* logo blue: the logo, CTA buttons, signature */
  --brand-hi: #2a2fd4;
  --muted: rgba(17, 17, 17, .58);
  --line: rgba(17, 17, 17, .14);

  --display: "Marcellus", "Times New Roman", serif;
  --display-stroke: .02em;                /* Marcellus has one weight: a hairline outline gives it Varsity's heavier display weight */
  --text: "Urbanist", "Helvetica Neue", Arial, sans-serif;
  --script: "Mrs Saint Delafield", cursive;

  /* one type scale for the whole site */
  --fs-h2: clamp(36px, 4.4vw, 76px);      /* section headings */
  --fs-h3: clamp(26px, 3vw, 50px);        /* card titles, band headings */
  --fs-lead: clamp(16px, 1.4vw, 20px);    /* large body copy */
  --fs-body: 13.5px;                      /* body copy */
  --fs-label: 11px;                       /* uppercase labels, buttons, nav */
  --lh-display: .94;
  --track-label: .14em;
  --track-display: -0.035em;
  --track-title: -0.02em;
  --bar-h: 56px;
  --gutter: clamp(16px, 1.6vw, 24px);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--white); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--text);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .02em;
  overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
/* photos: the <picture> wrapper (AVIF, JPEG fallback) stays out of layout */
.pic { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--lime); color: var(--ink); }

/* film grain */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  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%) } }

/* logo (white PNG used as a mask, painted in the logo blue) */
.logo-mark, .logo-full {
  display: inline-block; background: var(--brand);
  -webkit-mask: url("../assets/img/logo-mark.png") center / contain no-repeat;
          mask: url("../assets/img/logo-mark.png") center / contain no-repeat;
}
.logo-full { -webkit-mask-image: url("../assets/img/logo-full.png"); mask-image: url("../assets/img/logo-full.png"); }

/* arrows */
.arw { width: 14px; height: 14px; display: inline-block; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M10.78 7.33 7.2 3.76l.95-.95L13.33 8l-5.18 5.19-.95-.95 3.58-3.58H2.67V7.33z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M10.78 7.33 7.2 3.76l.95-.95L13.33 8l-5.18 5.19-.95-.95 3.58-3.58H2.67V7.33z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.arw.ne { transform: rotate(-45deg); }

/* line-mask reveal helper */
.ln { display: block; overflow: clip; overflow-clip-margin: .08em; padding-bottom: .02em; }
.ln > span { display: block; will-change: transform; }

/* ================= HEADER ================= */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--bar-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter); background: var(--white); border-bottom: 1px solid var(--line);
  transition: transform .55s cubic-bezier(.7,0,.2,1);
}
.topbar.is-hidden { transform: translateY(-101%); }
.topbar__burger { display: none; color: var(--ink); }
.topbar__date { font-size: 10.5px; line-height: 1.3; letter-spacing: .06em; color: var(--muted); text-transform: none; }
.topbar__date span { color: var(--ink); }
.topbar__brand { display: flex; align-items: center; gap: 10px; justify-self: center; }
.topbar__brand .logo-mark { width: 26px; height: 26px; }
.topbar__name { font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: 22px; letter-spacing: var(--track-display); color: var(--ink); }
.topbar__contact {
  justify-self: end; font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--track-label); color: var(--white);
  background: var(--brand); padding: 9px 14px 8px; transition: background .3s;
}
.topbar__contact:hover { background: var(--brand-hi); }

.menu { position: fixed; inset: 0; z-index: 45; background: var(--white); display: flex; align-items: center; padding: 0 24px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s cubic-bezier(.7,0,.2,1); }
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu a { font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: clamp(40px, 11vw, 72px); letter-spacing: var(--track-display); line-height: 1.05; color: var(--ink); }
.menu a:hover { color: var(--red); }

/* ================= 1. HERO ================= */
.hero { position: relative; height: 100vh; height: 100svh; }
.stage { position: relative; height: 100%; overflow: hidden; background: var(--white); }
.hero-media, .hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media img { object-position: 50% 42%; }
/* scrim: keeps the white nav labels and headline readable over the photo */
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,.34) 0%, rgba(17,17,17,.06) 26%, rgba(17,17,17,.12) 44%, rgba(17,17,17,.34) 56%, rgba(17,17,17,.2) 70%, rgba(17,17,17,.72) 100%); }
.hero-shade { position: absolute; inset: 0; background: var(--white); opacity: 0; }
.hero-glow { position: absolute; inset: 0; opacity: 0;
  background: var(--white); }

.cells { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); }
/* grid lines: bolder than varsity.vc's hairlines, drawn in on arrival (js/main.js "entry") */
.gl { position: absolute; background: rgba(255, 255, 255, .78); box-shadow: 0 0 6px rgba(17, 17, 17, .18); pointer-events: none; }
.gl--v { top: 0; bottom: 0; width: 2px; margin-left: -1px; transform-origin: 50% 0; }
.gl--h { left: 0; right: 0; height: 2px; margin-top: -1px; transform-origin: 0 50%; }
.gl-a { left: 33.333%; }
.gl-b { left: 66.667%; }
.gl-c { top: 50%; }
.gl-d { display: none; }
/* until the entry starts: lines, headline and section labels wait (no flash of the end state) */
.intro .gl, .intro .hero-title, .intro .navrow { visibility: hidden; }
.intro .topbar { transform: translateY(-101%); }

.navrow {
  position: absolute; height: 40px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px; font-size: 14px; font-weight: 700; letter-spacing: var(--track-label); color: var(--white);
  text-shadow: 0 1px 2px rgba(17, 17, 17, .7), 0 0 14px rgba(17, 17, 17, .55); z-index: 3;
}
.navrow .arw { width: 16px; height: 16px; filter: drop-shadow(0 1px 2px rgba(17, 17, 17, .7)); }
/* a soft shade under each label keeps it readable over bright parts of the photo */
.navrow::before { content: ""; position: absolute; inset: -26px 0 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, rgba(17, 17, 17, .5), rgba(17, 17, 17, 0)); opacity: var(--shade, 1); }
.navrow:hover .arw { transform: translateX(4px); }
.navrow:hover span { color: var(--lime); }

.hero-title {
  position: absolute; left: var(--gutter); bottom: clamp(10px, 2vh, 22px); z-index: 3;
  font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: clamp(44px, 6.6vw, 128px); line-height: .9; letter-spacing: var(--track-display);
  color: var(--white); text-shadow: 0 2px 24px rgba(17, 17, 17, .35);
  pointer-events: none; /* its box overlaps the bottom row's section labels */
}

.tags { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.tag {
  position: absolute; left: var(--x); top: var(--y);
  display: flex; align-items: center; justify-content: center; white-space: nowrap;
  font-size: clamp(10.5px, .8vw, 14px); font-weight: 600; letter-spacing: .12em; line-height: 1; padding: .6em .9em .5em;
  background: var(--bg); color: var(--fg); opacity: 0; will-change: transform;
}
.tag b { font-weight: inherit; }
.tag.morph { padding: 1.1em 1.7em 1em; }
.tag.big { padding: 1.6em 2.6em 1.5em; font-size: clamp(11.5px, .9vw, 15px); }
.t-lime    { --bg: var(--lime);  --fg: var(--ink); }
.t-pink    { --bg: var(--pink);  --fg: var(--ink); }
.t-red     { --bg: var(--red);   --fg: var(--white); }
.t-ink     { --bg: var(--ink);   --fg: var(--white); }
.t-blue    { --bg: var(--blue);  --fg: var(--ink); }
.t-brand   { --bg: var(--brand); --fg: var(--white); }
.t-outline { --bg: var(--white); --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.manifest-title {
  position: absolute; left: 50%; top: 50%; z-index: 5; text-align: center; /* centred via GSAP xPercent/yPercent */
  font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: clamp(40px, 5.3vw, 104px); line-height: .92; letter-spacing: var(--track-display);
  color: var(--ink); white-space: nowrap; will-change: filter, opacity;
  pointer-events: none; /* text only: its (still hidden) lines sit over the cover's section labels */
}
.js .manifest-title .ln > span { visibility: hidden; }
.js.is-ready .manifest-title .ln > span { visibility: visible; }

/* ================= 2. PARTNERS ================= */
.partners { position: relative; height: 100vh; height: 100svh; background: var(--white); z-index: 2; }
.partners__inner { position: relative; height: 100%; overflow: hidden; }
.ropes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.partners__side {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: clamp(28px, 3.1vw, 56px); line-height: .95; letter-spacing: var(--track-display); color: var(--ink);
}
.partners__side span { display: block; }
.partners__side--l { left: 4vw; }
.partners__side--r { right: 4vw; text-align: right; }
.partners__list { position: absolute; left: 50%; top: 0; width: 22vw; margin-left: -11vw; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 13vh; padding: 100vh 0; }
.partners__list li { display: flex; align-items: center; justify-content: center; gap: .55em; text-align: center; color: var(--ink); line-height: 1.05; white-space: nowrap; will-change: opacity, transform; }
/* each partner's emblem, taken from its official website */
.p-logo { flex: none; width: auto; height: clamp(30px, 2.7vw, 46px); max-width: clamp(44px, 3.6vw, 60px); object-fit: contain; }
.p-2l { text-align: left; line-height: 1.1; } /* long names break onto two lines so they stay between the ropes */
.p-logo--wide { max-width: none; height: clamp(24px, 2vw, 34px); } /* lockups whose emblem is part of the wordmark */
.p-serif { font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: clamp(20px, 2vw, 34px); letter-spacing: -.01em; }
.p-sans { font-family: var(--text); font-weight: 600; font-size: clamp(14px, 1.3vw, 21px); letter-spacing: .02em; }
.p-caps { text-transform: uppercase; letter-spacing: .14em; font-size: clamp(13px, 1.15vw, 18px); }
.p-bold { font-weight: 600; letter-spacing: -.01em; font-size: clamp(16px, 1.5vw, 24px); }

/* ================= 3. PRINCIPLES ================= */
.principles { position: relative; z-index: 1; padding: 26vh var(--gutter) 22vh; background: var(--white); }
.principles__col { margin-left: 30%; width: min(470px, 100%); }
.principles__title { font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: var(--fs-h2); line-height: var(--lh-display); letter-spacing: var(--track-display); margin-bottom: 4.5vh; }
.principles__body p { font-size: var(--fs-body); line-height: 1.5; letter-spacing: .015em; margin: 0 0 1.25em; color: rgba(17, 17, 17, .14); }
.signature { width: min(340px, 74%); margin: 4vh 0 0 auto; overflow: visible; }
.signature text { font-family: var(--script); -webkit-text-stroke: 0; font-size: 104px; }
.sig-ink { fill: var(--brand); }
.sig-trace { fill: none; stroke: var(--brand); stroke-width: 1.2; }
.sig-swash { fill: none; stroke: var(--brand); stroke-width: 2.4; stroke-linecap: round; }

/* ================= 4. PILLARS ================= */
.pillars { position: relative; padding: 6vh var(--gutter) 34vh; background: var(--white); }
.pillar {
  position: sticky; height: 48vh; min-height: 300px; margin-bottom: 14vh; padding: 2.2vh 1.6vw 2.4vh;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; overflow: hidden; background: var(--bg); color: var(--fg);
}
.pillar h3 { grid-column: 1 / -1; grid-row: 1; }
.pillar__meta { grid-column: 1; grid-row: 2; }
.pillar__desc { grid-column: 2; grid-row: 2; }
.pillar:nth-child(1) { top: calc(var(--bar-h) + 2vh); }
.pillar:nth-child(2) { top: calc(var(--bar-h) + 2vh + 7.5vh); }
.pillar:nth-child(3) { top: calc(var(--bar-h) + 2vh + 15vh); }
.pillar:nth-child(4) { top: calc(var(--bar-h) + 2vh + 22.5vh); }
.pillar:nth-child(5) { top: calc(var(--bar-h) + 2vh + 30vh); margin-bottom: 0; }
.pillar h3 { order: -1; font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: clamp(76px, 12.5vw, 250px); line-height: .82; letter-spacing: -.035em; color: var(--word); padding-top: .02em; }
.pillar__meta { display: flex; gap: 2.4vw; font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; align-self: end; opacity: .85; }
.pillar__desc { justify-self: end; max-width: 360px; font-size: var(--fs-body); line-height: 1.45; text-align: right; align-self: end; opacity: .85; }
.c1 { --bg: var(--lime);  --fg: var(--ink);   --word: var(--ink); }
.c2 { --bg: var(--brand); --fg: var(--white); --word: var(--lime); }
.c3 { --bg: var(--red);   --fg: var(--white); --word: var(--white); }
.c4 { --bg: var(--blue);  --fg: var(--ink);   --word: var(--ink); }
.c5 { --bg: var(--pink);  --fg: var(--ink);   --word: var(--red); }

/* ================= 4b. VISION · PROGRAM AREAS (after krackerz.com) ================= */
:root {
  --scallop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50.00 4.50A6.24 6.24 0 0 1 61.78 6.05A6.24 6.24 0 0 1 72.75 10.60A6.24 6.24 0 0 1 82.17 17.83A6.24 6.24 0 0 1 89.40 27.25A6.24 6.24 0 0 1 93.95 38.22A6.24 6.24 0 0 1 95.50 50.00A6.24 6.24 0 0 1 93.95 61.78A6.24 6.24 0 0 1 89.40 72.75A6.24 6.24 0 0 1 82.17 82.17A6.24 6.24 0 0 1 72.75 89.40A6.24 6.24 0 0 1 61.78 93.95A6.24 6.24 0 0 1 50.00 95.50A6.24 6.24 0 0 1 38.22 93.95A6.24 6.24 0 0 1 27.25 89.40A6.24 6.24 0 0 1 17.83 82.17A6.24 6.24 0 0 1 10.60 72.75A6.24 6.24 0 0 1 6.05 61.78A6.24 6.24 0 0 1 4.50 50.00A6.24 6.24 0 0 1 6.05 38.22A6.24 6.24 0 0 1 10.60 27.25A6.24 6.24 0 0 1 17.83 17.83A6.24 6.24 0 0 1 27.25 10.60A6.24 6.24 0 0 1 38.22 6.05A6.24 6.24 0 0 1 50.00 4.50Z'/%3E%3C/svg%3E");
  --bump: 24px; /* scalloped section edges */
}
.kz-wrap { padding: 0 var(--gutter); }
.kz-title { position: relative; text-align: center; font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: var(--fs-h2); line-height: var(--lh-display); letter-spacing: var(--track-display); color: var(--ink); }
.kz-title > span { display: block; }
.kz-title em { font-family: var(--script); -webkit-text-stroke: 0; font-style: normal; text-transform: none; letter-spacing: 0; font-size: 1.32em; line-height: .5; color: var(--red); padding: 0 .06em; }
.kz-sticker {
  display: inline-block; position: relative; vertical-align: .06em; margin-left: .12em; padding: .14em .34em .06em;
  font-size: .86em; color: var(--lime); background: var(--brand); border-radius: .16em;
  box-shadow: 0 0 0 .06em var(--white), .06em .1em 0 .06em rgba(17, 17, 17, .22); transform: rotate(var(--r, -4deg));
}
.kz-sticker b { font-weight: 400; display: block; }
.kz-sticker--lg { font-size: .9em; }
.kz-chip {
  display: inline-block; margin-bottom: 18px; padding: 7px 12px 6px; font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--track-label);
  color: var(--white); background: var(--red); border-radius: 6px; box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px rgba(239, 45, 17, .45);
  transform: rotate(var(--r, -4deg));
}

/* button with rolling label */
.kz-btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 20px 15px; border-radius: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--white); background: var(--brand);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--line); transition: background .3s;
}
.kz-btn:hover { background: var(--brand-hi); }
.kz-btn__txt { display: block; height: 1.15em; line-height: 1.15; overflow: hidden; }
.kz-btn__txt > span { display: block; text-shadow: 0 1.3em 0 currentColor; transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
.kz-btn:hover .kz-btn__txt > span { transform: translateY(-1.3em); }
.kz-btn .arw { transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
.kz-btn:hover .arw { transform: translateX(4px); }
.kz-btn--sm { font-size: var(--fs-label); padding: 13px 16px 12px; box-shadow: none; }
.kz-cta { text-align: center; margin-top: 7vh; }

/* -- vision & mission: notes peel off the photo and settle into their slots -- */
.kz-why { position: relative; padding: 16vh 0 18vh; background: var(--white); overflow-x: clip; }
.kz-why .kz-title { margin-bottom: 6vh; }
.kz-media { position: relative; z-index: 1; aspect-ratio: 2.58; max-height: 72vh; width: 100%; border-radius: 20px; overflow: hidden; background: var(--paper); }
.kz-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kz-slots { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 7vh; }
.kz-slot { border-radius: 20px; background: var(--paper); min-height: clamp(220px, 21vw, 300px); display: flex; }
.kz-note {
  flex: 1; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 40px); border-radius: 20px;
  background: var(--bg); color: var(--fg); transform-origin: 50% 50%; will-change: transform;
  /* the "bitten" top-right corner */
  -webkit-mask: radial-gradient(circle 17px at calc(100% - 64px) -3px, transparent 96%, #000), radial-gradient(circle 21px at calc(100% - 28px) 9px, transparent 96%, #000), radial-gradient(circle 16px at calc(100% + 3px) 44px, transparent 96%, #000);
  -webkit-mask-composite: source-in;
          mask: radial-gradient(circle 17px at calc(100% - 64px) -3px, transparent 96%, #000), radial-gradient(circle 21px at calc(100% - 28px) 9px, transparent 96%, #000), radial-gradient(circle 16px at calc(100% + 3px) 44px, transparent 96%, #000);
          mask-composite: intersect;
}
.kz-note--a { --bg: var(--red); --fg: var(--white); }
.kz-note--b { --bg: var(--blue); --fg: var(--ink); }
.kz-note h3 { font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: var(--fs-h3); line-height: 1; letter-spacing: var(--track-title); }
.kz-note h3 em { font-family: var(--script); -webkit-text-stroke: 0; font-style: normal; font-size: 1.45em; line-height: .5; letter-spacing: 0; padding-left: .04em; }
.kz-note p { font-size: var(--fs-lead); line-height: 1.4; max-width: 34ch; }

/* -- program areas: folder cards with offset tabs, stacked by CSS sticky -- */
.kz-how { position: relative; overflow-x: clip; padding: 14vh 0 4vh; background: var(--paper) radial-gradient(rgba(17, 17, 17, .1) 1px, transparent 1.5px) 0 0 / 22px 22px; }
.kz-how::before, .programs::before {
  content: ""; position: absolute; left: 0; right: 0; top: calc(1px - var(--bump)); height: var(--bump); pointer-events: none;
  background: radial-gradient(circle at 50% 100%, var(--edge) calc(var(--bump) - .5px), transparent var(--bump)) 0 0 / calc(var(--bump) * 2) var(--bump) repeat-x;
}
.kz-how::before { --edge: var(--paper); }
.kz-how__head { text-align: center; margin-bottom: 9vh; }
.kz-folders { --tab-h: 52px; --tab-w: min(236px, calc(100% / 5.4)); }
/* spacing sits on the top: a bottom margin would unpin each card before the last one lands */
.kz-folder { position: sticky; top: calc(var(--bar-h) + 3vh); padding-top: var(--tab-h); }
.kz-folder + .kz-folder { margin-top: 14vh; }
.kz-folders::after { content: ""; display: block; height: 24vh; } /* the full stack rests on the last card before leaving */
.f1 { --bg: var(--red);  --fg: var(--white); }
.f2 { --bg: var(--lime); --fg: var(--ink); }
.f3 { --bg: var(--blue); --fg: var(--ink); }
.f4 { --bg: var(--pink); --fg: var(--ink); }
.f5 { --bg: var(--ink);  --fg: var(--white); }
.kz-tab {
  position: absolute; top: 0; left: calc(var(--i) * var(--tab-w)); width: var(--tab-w); height: calc(var(--tab-h) + 1px);
  display: flex; align-items: center; gap: 10px; padding: 0 18px; border-radius: 16px 16px 0 0;
  background: var(--bg); color: var(--fg); font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--track-label); white-space: nowrap;
}
.kz-tab::before, .kz-tab::after { content: ""; position: absolute; bottom: 0; width: 16px; height: 16px; }
.kz-tab::before { left: -16px; background: radial-gradient(circle at 0 0, transparent 15.5px, var(--bg) 16px); }
.kz-tab::after { right: -16px; background: radial-gradient(circle at 100% 0, transparent 15.5px, var(--bg) 16px); }
.f1 .kz-tab::before { display: none; }
.kz-tab svg, .kz-badge svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.kz-card {
  position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(20px, 3vw, 48px);
  height: clamp(440px, calc(100svh - var(--bar-h) - 3vh - var(--tab-h) - 6vh), 640px);
  padding: clamp(22px, 2.8vw, 40px); border-radius: 24px; background: var(--bg); color: var(--fg); transform-origin: 50% 0;
}
.f1 .kz-card { border-top-left-radius: 0; }
.kz-card__body { display: flex; flex-direction: column; min-height: 0; }
.kz-card h3 { font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: var(--fs-h3); line-height: 1; letter-spacing: var(--track-title); text-transform: uppercase; }
.kz-points { margin-top: clamp(16px, 3vh, 30px); display: grid; gap: 10px; }
.kz-points li { position: relative; padding-left: 24px; font-size: var(--fs-lead); line-height: 1.3; }
.kz-points li::before { content: "✱"; position: absolute; left: 0; top: .02em; font-size: .9em; }
.kz-card__note { margin-top: 18px; font-size: var(--fs-body); line-height: 1.45; max-width: 46ch; opacity: .78; }
.kz-card__body .kz-btn { margin-top: auto; align-self: flex-start; }
.kz-card__img { position: relative; margin: 0; min-height: 0; }
.kz-card__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; border: 5px solid var(--white); }
.kz-badge {
  position: absolute; left: -42px; top: 50%; width: 84px; height: 84px; margin-top: -42px; display: grid; place-items: center;
  background: var(--brand); color: var(--lime); -webkit-mask: var(--scallop) center / contain no-repeat; mask: var(--scallop) center / contain no-repeat;
}
.kz-badge svg { width: 34px; height: 34px; }

/* ================= 5. PROGRAMS ================= */
.programs { position: relative; padding: 18vh 0 12vh; background: var(--white); }
.programs::before { --edge: var(--white); }
.section-title { text-align: center; font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: var(--fs-h2); line-height: var(--lh-display); letter-spacing: var(--track-display); margin-bottom: 9vh; }
.filter { position: relative; display: flex; gap: 34px; padding: 0 4vw 18px; z-index: 3; }
.filter__group { position: relative; }
.filter__btn { display: inline-flex; gap: 8px; align-items: center; font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--track-label); color: var(--ink); }
.filter__label { color: var(--red); }
.filter__menu { position: absolute; left: 0; top: 26px; min-width: 210px; background: var(--white); box-shadow: 0 12px 30px rgba(17, 17, 17, .08); border: 1px solid var(--line); padding: 6px 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .3s; }
.filter__group.is-open .filter__menu { opacity: 1; visibility: visible; transform: none; }
.filter__menu li { display: flex; justify-content: space-between; gap: 18px; padding: 9px 16px; font-size: 12px; letter-spacing: .06em; cursor: pointer; }
.filter__menu li::after { content: attr(data-n); color: var(--muted); font-variant-numeric: tabular-nums; }
.filter__menu li.is-empty { color: var(--muted); }
.filter__menu li:hover, .filter__menu li[aria-selected="true"] { background: var(--lime); color: var(--ink); }
.plist { border-bottom: 1px solid var(--line); }
.plist li { border-top: 1px solid var(--line); overflow: hidden; }
.plist li.is-out { display: none; }
.plist__empty { display: none; padding: 26px 4vw; font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); }
.plist.is-empty .plist__empty { display: block; }
.plist a { display: grid; grid-template-columns: 34% 1fr 180px 32px; gap: 2vw; align-items: center; padding: 20px 4vw; transition: background .25s, color .25s; }
.pmeta { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; }
.pmeta b { font-weight: 600; }

/* status pills: ongoing (lime, pulsing dot) · completed (ink outline) · upcoming (powder blue) */
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 4px; border-radius: 99px; font-size: 10px; font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; white-space: nowrap; line-height: 1.2; }
.status-pill.is-ongoing { background: var(--lime); color: var(--ink); }
.status-pill.is-ongoing::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: pulse 1.8s ease-out infinite; }
.status-pill.is-completed { box-shadow: inset 0 0 0 1px currentColor; }
.status-pill.is-upcoming { background: var(--blue); color: var(--ink); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(2, 4, 148, .55); } 70%, 100% { box-shadow: 0 0 0 6px rgba(2, 4, 148, 0); } }
.plist a:hover .status-pill.is-ongoing { background: var(--white); }
.pname { font-size: 15px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; line-height: 1.2; }
.pname small { display: block; margin-top: 5px; font-size: 10px; font-weight: 500; letter-spacing: var(--track-label); color: var(--muted); transition: color .25s; }
.pdesc { font-size: 11px; letter-spacing: .07em; line-height: 1.5; text-transform: uppercase; color: var(--muted); max-width: 560px; transition: color .25s; }
.plist .arw { justify-self: end; }
.plist a:hover { background: var(--row, var(--lime)); color: var(--ink); }
.plist a:hover small, .plist a:hover .pdesc { color: rgba(17, 17, 17, .72); }
.plist a:hover .arw { transform: rotate(-45deg) translateX(3px); }

/* ================= 6. IMPACT ================= */
.impact { position: relative; padding: 16vh 0 0; background: var(--white); }
.xgrid { display: grid; grid-template-columns: repeat(3, 1fr); }
.xcell { position: relative; aspect-ratio: 1.62; margin: 0; overflow: hidden; }
.xcell.empty { background: var(--white); }
.xcell.title { display: flex; align-items: center; justify-content: center; background: var(--paper); text-align: center; }
.xcell.title h2 { font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: var(--fs-h2); line-height: var(--lh-display); letter-spacing: var(--track-display); }
.person img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.person:hover img, .person:focus-visible img { transform: scale(1.0); }
.person figcaption { position: absolute; left: 14px; bottom: 12px; font-size: 11px; line-height: 1.35; letter-spacing: .06em; color: var(--white); text-shadow: 0 1px 8px rgba(17, 17, 17, .45); }
.person figcaption b { display: block; font-weight: 600; color: var(--lime); }
.xcard { position: absolute; inset: 0; padding: clamp(14px, 1.6vw, 26px); display: flex; flex-direction: column; gap: 10px; background: var(--k); color: var(--kf);
  clip-path: inset(100% 0 0 0); transition: clip-path .6s cubic-bezier(.7,0,.2,1); }
.person:hover .xcard, .person:focus-visible .xcard, .person.is-active .xcard { clip-path: inset(0 0 0 0); }
.xstat { font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: clamp(40px, 4.6vw, 86px); line-height: .9; letter-spacing: -.03em; }
.xcard p:not(.xstat) { font-size: var(--fs-body); line-height: 1.45; max-width: 34ch; }
.xsrc { margin-top: auto; font-size: 10px; letter-spacing: var(--track-label); text-transform: uppercase; opacity: .75; }
.k1 { --k: var(--lime); --kf: var(--ink); }
.k2 { --k: var(--red);  --kf: var(--white); }
.k3 { --k: var(--blue); --kf: var(--ink); }
.k4 { --k: var(--pink); --kf: var(--ink); }

/* ================= 7. INVOLVE ================= */
.involve { background: var(--lime); color: var(--ink); padding: 10vh 4vw 9vh; }
.involve h2 { text-align: center; font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: var(--fs-h3); line-height: 1; letter-spacing: var(--track-title); }
.involve__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5vw; margin-top: 8vh; }
.involve__cols p { font-size: var(--fs-body); line-height: 1.45; max-width: 34ch; margin-bottom: 18px; }
.involve__cols a { display: inline-flex; gap: 10px; align-items: center; padding: 12px 16px 11px; border-radius: 10px; font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--track-label);
  color: var(--white); background: var(--brand); transition: background .3s; }
.involve__cols a:hover { background: var(--brand-hi); }
.involve__cols a:hover .arw { transform: rotate(-45deg) translate(2px, 0); }

/* ================= 8. STORIES ================= */
.stories { position: relative; padding: 32vh 0 10vh; background: var(--white); overflow: clip; }
.stories__title {
  position: sticky; top: calc(50vh - 1.45em); z-index: 1; text-align: center; margin: 0 auto;
  font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: var(--fs-h2); line-height: var(--lh-display); letter-spacing: var(--track-display);
}
.scards { position: relative; height: 230vh; margin-top: -42vh; z-index: 2; }
/* each card is solid (image + white caption), so the sticky title passes behind its words, not through them */
.scard { position: absolute; width: clamp(180px, 19vw, 330px); display: block; padding-bottom: 12px; background: var(--white); will-change: transform; }
.scard img { width: 100%; aspect-ratio: var(--ar, 1.33); object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.scard:hover img { transform: scale(1.03); }
.scard p { padding: 10px 22px 0 0; font-size: var(--fs-body); line-height: 1.4; max-width: calc(30ch + 22px); color: var(--ink); }
.scard .arw { position: absolute; right: 0; bottom: 14px; color: var(--red); transform: rotate(-45deg); }
.stag { position: absolute; left: -18px; top: 0; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 9.5px; letter-spacing: var(--track-label); text-transform: uppercase;
  padding: 8px 3px; background: var(--red); color: var(--white); }
.scard.solid .sblock { aspect-ratio: 1.33; display: flex; align-items: center; justify-content: center; gap: 14px; background: var(--lime); }
.scard.solid .sblock b { font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-weight: 400; font-size: clamp(30px, 2.6vw, 48px); letter-spacing: var(--track-title); color: var(--brand); }
.scard.solid .logo-mark { width: 38px; height: 38px; }
.scard.solid.alt .sblock { background: var(--pink); }
.scard.solid.alt .sblock b { color: var(--ink); }
.s1 { left: 5%;  top: 0;    --ar: 1.33; }
.s2 { right: 7%; top: 6%; }
.s3 { left: 33%; top: 24%;  --ar: .8; width: clamp(160px, 15vw, 270px); }
.s4 { right: 24%; top: 36%; --ar: 1; }
.s5 { left: 4%;  top: 50%; }
.s6 { right: 5%; top: 60%;  --ar: .8; width: clamp(160px, 15vw, 270px); }
.s7 { left: 28%; top: 76%;  --ar: .8; width: clamp(160px, 15vw, 270px); }

/* ================= 9. FUTURE ================= */
.future { position: relative; margin: 0 var(--gutter); height: 78vh; min-height: 460px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
/* the media is taller than the band and drifts against the scroll (varsity.vc parallax) */
.future__media { position: absolute; left: 0; right: 0; top: -16%; bottom: -16%; will-change: transform; }
.future__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; will-change: transform; }
.future__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 50%, rgba(17,17,17,.48), rgba(17,17,17,.26) 70%, rgba(17,17,17,.4)); }
.future__content { position: relative; z-index: 2; padding: 0 20px; max-width: 860px; color: var(--white); }
.future h2 { font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: var(--fs-h2); line-height: var(--lh-display); letter-spacing: var(--track-display); text-shadow: 0 2px 30px rgba(17, 17, 17, .4); }
.subscribe { position: relative; margin: 30px auto 0; display: flex; max-width: 420px; border-bottom: 1px solid var(--white); }
.subscribe input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--white); font: inherit; font-size: 13px; letter-spacing: .04em; padding: 12px 4px; }
.subscribe input::placeholder { color: rgba(255, 255, 255, .7); }
.subscribe button { font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--track-label); padding: 9px 14px 8px; margin: 4px 0; background: var(--brand); color: var(--white); transition: background .3s; }
.subscribe button:hover { background: var(--brand-hi); }
.subscribe__msg { position: absolute; left: 0; right: 0; top: calc(100% + 10px); font-size: 12px; color: var(--lime); }

/* ================= 10. FOOTER ================= */
.footer { position: relative; background: var(--paper); padding: 12vh var(--gutter) 18px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 4vw; }
.footer__links li { font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--track-label); line-height: 2.1; }
.footer__links a:hover { color: var(--brand); }
.footer__links--r { text-align: right; color: var(--muted); }
.footer__logo img { width: 130px; height: 130px; object-fit: contain; }
.social { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
/* each network in its own colours */
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--white); transition: transform .3s, box-shadow .3s; }
.social a:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(17, 17, 17, .16); }
.social .ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social .li { background: #0a66c2; }
.social .em { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.social .em:hover { box-shadow: inset 0 0 0 1px var(--line), 0 6px 14px rgba(17, 17, 17, .16); }
.social .em .flap { stroke: #ea4335; }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social .fill { fill: currentColor; stroke: none; }
.footer__word {
  margin: 6vh 0 2vh; font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; line-height: .78; letter-spacing: -.03em; white-space: nowrap; color: var(--ink);
  font-size: 13vw; /* refined by JS fit */
  overflow: clip; overflow-clip-margin: 0; padding-top: .06em; /* letters rise from behind this edge */
}
.fw-l { display: inline-block; will-change: transform; }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 10px; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .principles__col { margin-left: 18%; }
  .plist a { grid-template-columns: 36% 1fr 150px 28px; }
}

@media (max-width: 900px) {
  .kz-card { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: 18px; }
  .kz-card__img { order: -1; }
  .kz-badge { left: auto; right: 14px; top: auto; bottom: -30px; margin: 0; width: 64px; height: 64px; }
  .kz-badge svg { width: 26px; height: 26px; }
  .kz-points { grid-template-columns: 1fr 1fr; gap: 8px 20px; }
}

@media (max-width: 767px) {
  :root { --bar-h: 52px; }
  body { font-size: 13px; }
  .topbar { grid-template-columns: 40px 1fr auto; }
  .topbar__burger { display: block; }
  .topbar__date { display: none; }
  .topbar__brand { justify-self: center; }
  .topbar__name { font-size: 18px; }
  .topbar__contact { padding: 8px 10px 7px; font-size: 10px; }

  .cells { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); }
  .gl-a { left: 50%; }
  .gl-b { display: none; }
  .gl-c { top: 33.333%; }
  .gl-d { display: block; top: 66.667%; }
  .navrow { font-size: 12px; padding: 0 10px; height: 34px; letter-spacing: .1em; }
  .navrow .arw { width: 14px; height: 14px; }
  .hero-title { font-size: clamp(38px, 12vw, 64px); }
  .tag { font-size: 9px; padding: 5px 7px 4px; left: var(--mx, var(--x)); top: var(--my, var(--y)); }
  .tag.big { font-size: 9.5px; }
  .manifest-title { font-size: clamp(34px, 11vw, 60px); }

  .partners__side { top: auto; left: 0; right: 0; text-align: center; font-size: clamp(20px, 6.2vw, 34px); }
  .partners__side span { display: inline-block; }
  .partners__side span + span { margin-left: .25em; }
  .partners__side--l { top: calc(var(--bar-h) + 18px); }
  .partners__side--r { bottom: 26px; text-align: center; }
  .partners__list { width: 44vw; margin-left: -22vw; gap: 11vh; }
  .p-serif { font-size: 20px; } .p-sans { font-size: 14px; } .p-caps { font-size: 12px; } .p-bold { font-size: 16px; }

  .principles { padding: 20vh 16px 16vh; }
  .principles__col { margin-left: 0; }

  .pillars { padding: 4vh 12px 26vh; }
  .pillar { height: 44vh; min-height: 280px; padding: 16px 14px; margin-bottom: 10vh; }
  .pillar { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
  .pillar h3 { font-size: clamp(48px, 12.6vw, 100px); }
  .pillar__meta { grid-column: 1; grid-row: 2; gap: 12px; }
  .pillar__desc { grid-column: 1; grid-row: 3; justify-self: start; text-align: left; max-width: 34ch; margin-top: 8px; }
  .pillar:nth-child(2) { top: calc(var(--bar-h) + 2vh + 5.5vh); }
  .pillar:nth-child(3) { top: calc(var(--bar-h) + 2vh + 11vh); }
  .pillar:nth-child(4) { top: calc(var(--bar-h) + 2vh + 16.5vh); }
  .pillar:nth-child(5) { top: calc(var(--bar-h) + 2vh + 22vh); }

  .kz-wrap { padding: 0 12px; }
  .kz-why { padding: 12vh 0 12vh; }
  .kz-why .kz-title { margin-bottom: 4vh; }
  .kz-media { aspect-ratio: 4 / 5; border-radius: 16px; }
  .kz-media img { object-position: 44% 50%; }
  .kz-slots { grid-template-columns: 1fr; gap: 14px; margin-top: 5vh; }
  .kz-slot { min-height: 0; }
  .kz-note { padding: 22px 20px 26px; }
  .kz-cta { margin-top: 5vh; }

  .kz-how { padding: 11vh 0 2vh; }
  .kz-how__head { margin-bottom: 6vh; }
  .kz-folders { --tab-h: 44px; --tab-w: calc(100% / 5); }
  .kz-folder { top: calc(var(--bar-h) + 10px); }
  .kz-folder + .kz-folder { margin-top: 10vh; }
  .kz-tab { justify-content: center; padding: 0; }
  .kz-tab span { display: none; }
  .kz-tab::before, .kz-tab::after { width: 12px; height: 12px; }
  .kz-tab::before { left: -12px; background: radial-gradient(circle at 0 0, transparent 11.5px, var(--bg) 12px); }
  .kz-tab::after { right: -12px; background: radial-gradient(circle at 100% 0, transparent 11.5px, var(--bg) 12px); }
  .f5 .kz-tab::after { display: none; }
  .f5 .kz-card { border-top-right-radius: 0; }
  .kz-card { height: calc(100svh - var(--bar-h) - 10px - var(--tab-h) - 3vh); min-height: 560px; max-height: 760px; padding: 14px 14px 18px; border-radius: 18px; gap: 14px; }
  .kz-card h3 { font-size: clamp(23px, 6.6vw, 30px); } /* tighter than --fs-h3 so the points still fit the card */
  .kz-points { grid-template-columns: 1fr; margin-top: 12px; gap: 6px; }
  .kz-points li { font-size: 14.5px; padding-left: 20px; }
  .kz-card__note { margin-top: 10px; font-size: 12.5px; }
  .kz-card__body .kz-btn { margin-top: 14px; }
  .kz-card__img img { border-width: 4px; border-radius: 10px; }
  .kz-badge { width: 54px; height: 54px; bottom: -24px; }


  .plist a { grid-template-columns: 1fr 22px; gap: 8px 12px; padding: 18px 16px; }
  .pname { grid-column: 1; }
  .pdesc { grid-column: 1; grid-row: 2; font-size: 10.5px; }
  .plist .arw { grid-column: 2; grid-row: 1; }
  .pmeta { grid-column: 1; grid-row: 3; justify-content: flex-start; }
  .filter { padding: 0 16px 16px; gap: 24px; }
  .filter__group:last-child .filter__menu { left: auto; right: 0; }

  .xgrid { grid-template-columns: repeat(2, 1fr); }
  .xcell.empty { display: none; }
  .xcell.title { grid-column: 1 / -1; order: -1; aspect-ratio: 2.2; }
  .xcell { aspect-ratio: .95; }
  .xcard p:not(.xstat) { font-size: 12px; }

  .involve { padding: 9vh 16px 8vh; }
  .involve__cols { grid-template-columns: 1fr; gap: 30px; margin-top: 5vh; }

  .scards { height: 330vh; margin-top: -40vh; }
  .scard { width: 44vw; }
  .s1 { left: 6%; top: 0; } .s2 { right: 5%; top: 9%; } .s3 { left: 8%; top: 22%; width: 38vw; }
  .s4 { right: 6%; top: 36%; } .s5 { left: 6%; top: 50%; } .s6 { right: 5%; top: 63%; } .s7 { left: 10%; top: 78%; width: 38vw; }
  .stag { left: -14px; }

  .future { margin: 0 12px; height: 82vh; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__logo { grid-column: 1 / -1; grid-row: 1; }
  .footer__logo img { width: 96px; height: 96px; }
  .footer__legal { flex-direction: column; gap: 6px; }
}

/* ================= DETAIL PANEL (programs & stories) ================= */
[hidden] { display: none !important; }
html { scrollbar-gutter: stable; } /* no layout jump when the page scroll locks */
html.sheet-open { overflow: hidden; }

.sheet { position: fixed; inset: 0; z-index: 60; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(17, 17, 17, .58); cursor: pointer; }
.sheet__panel {
  --sheet-r: 22px; --sheet-pad: clamp(20px, 4.4vw, 72px); --band: var(--lime);
  position: absolute; top: max(28px, 4.5vh); bottom: 0; left: clamp(0px, 2vw, 32px); right: clamp(0px, 2vw, 32px);
  display: flex; flex-direction: column; overflow: hidden; outline: none;
  background: var(--band); border-radius: var(--sheet-r) var(--sheet-r) 0 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, .18);
}
.sheet__bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center;
  padding: 14px var(--sheet-pad); transition: background .3s, box-shadow .3s;
}
.sheet__bar.is-stuck { background: var(--band); box-shadow: 0 1px 0 var(--line); }
.sheet__count { font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; }
.sheet__nav { display: flex; gap: 8px; }
.sheet__arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .35); transition: background .25s, color .25s; }
.sheet__arrow:hover { background: var(--ink); color: var(--white); }
.sheet__arrow--prev .arw { transform: rotate(180deg); }
.sheet__close, .lb__close {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px 11px; border-radius: 99px;
  font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--track-label); background: var(--ink); color: var(--white); transition: background .25s;
}
.sheet__close:hover { background: var(--brand); }
.sheet__close i, .lb__close i { position: relative; width: 11px; height: 11px; transition: transform .4s cubic-bezier(.7, 0, .2, 1); }
.sheet__close i::before, .sheet__close i::after, .lb__close i::before, .lb__close i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg);
}
.sheet__close i::after, .lb__close i::after { transform: translate(-50%, -50%) rotate(-45deg); }
.sheet__close:hover i, .lb__close:hover i { transform: rotate(90deg); }
.sheet__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sheet__body > :not(.sh-head) { background: var(--white); }

/* header band */
.sh-head { padding: calc(var(--sheet-pad) + 64px) var(--sheet-pad) clamp(30px, 4vw, 60px); }
.sh-eyebrow { font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; }
.sh-title { margin: clamp(14px, 2vw, 26px) 0 clamp(26px, 4vw, 54px); font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: clamp(44px, 8vw, 150px); line-height: .92; letter-spacing: var(--track-display); text-transform: uppercase; }
.sh-title--story { max-width: 17ch; font-size: clamp(36px, 5.2vw, 92px); line-height: .98; text-transform: none; }
.sh-head__foot { display: grid; grid-template-columns: 1fr minmax(0, 46ch); gap: 18px 5vw; align-items: end; }
.sh-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; }
.sh-meta li { display: inline-flex; align-items: center; gap: 8px; }
.sh-pin { width: 10px; height: 13px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 13'%3E%3Cpath d='M5 0a5 5 0 0 0-5 5c0 3.6 5 8 5 8s5-4.4 5-8a5 5 0 0 0-5-5zm0 7a2 2 0 1 1 0-4 2 2 0 0 1 0 4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 13'%3E%3Cpath d='M5 0a5 5 0 0 0-5 5c0 3.6 5 8 5 8s5-4.4 5-8a5 5 0 0 0-5-5zm0 7a2 2 0 1 1 0-4 2 2 0 0 1 0 4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.sh-head .status-pill.is-ongoing { background: var(--white); }
.sh-dek { font-size: var(--fs-lead); line-height: 1.45; }

/* hero photo (click opens the viewer) */
.sh-hero { display: block; width: 100%; height: min(76vh, 52vw); overflow: hidden; cursor: zoom-in; background: var(--paper); }
.sh-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transform: scale(1.08); will-change: transform; }

/* fact sheet + paragraphs */
.sh-intro { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: clamp(30px, 6vw, 110px); padding: clamp(50px, 7vw, 120px) var(--sheet-pad); }
.sh-facts { position: sticky; top: 84px; align-self: start; }
.sh-facts dl { margin: 0; }
.sh-facts dl > div { display: grid; gap: 7px; padding: 14px 0 15px; border-top: 1px solid var(--line); }
.sh-facts dl > div:last-child { border-bottom: 1px solid var(--line); }
.sh-facts dt { font-size: 10px; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); }
.sh-facts dd { margin: 0; font-size: 14px; line-height: 1.4; }
.sh-partners { display: grid; gap: 10px; margin-top: 4px; }
.sh-partners li { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.sh-partners img { flex: none; width: 34px; height: 26px; object-fit: contain; }
.sh-text p { max-width: 64ch; margin-bottom: 1.25em; font-size: clamp(15px, 1.12vw, 18px); line-height: 1.68; }
.sh-text .sh-lede { max-width: 30ch; margin-bottom: 1.1em; font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: clamp(22px, 2.2vw, 36px); line-height: 1.22; letter-spacing: var(--track-title); }
.sh-tbc { padding: 14px 16px; border: 1px dashed rgba(17, 17, 17, .3); border-radius: 10px; font-size: 13px !important; color: var(--muted); }

/* impact numbers */
.sheet__body > .sh-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px clamp(20px, 3vw, 48px); padding: clamp(54px, 7vw, 120px) var(--sheet-pad); background: var(--brand); color: var(--white); }
.sh-stats[data-n="1"] { grid-template-columns: minmax(0, 1fr); }
.sh-stats[data-n="2"] { grid-template-columns: repeat(2, 1fr); }
.sh-stat { display: grid; gap: 14px; align-content: start; padding-left: clamp(14px, 1.6vw, 24px); border-left: 1px solid rgba(255, 255, 255, .25); }
.sh-stat b { font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-weight: 400; font-size: clamp(60px, 8.4vw, 150px); line-height: .9; letter-spacing: var(--track-display); color: var(--lime); font-variant-numeric: tabular-nums; }
.sh-stat span { max-width: 28ch; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .84); }

/* justified gallery: every photo keeps its shape, rows share one height */
.sh-gal { padding: clamp(54px, 7vw, 120px) var(--sheet-pad); }
.sh-gal__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sh-gal__head h3 { font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: var(--fs-h3); letter-spacing: var(--track-title); text-transform: uppercase; }
.sh-gal__head span { font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; }
.sh-gal__head p { flex-basis: 100%; font-size: 12px; color: var(--muted); }
.gal { --row-h: clamp(150px, 17vw, 300px); display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.gal::after { content: ""; flex-grow: 10; }
.gal__item { position: relative; flex-grow: var(--ar); flex-basis: calc(var(--ar) * var(--row-h)); aspect-ratio: var(--ar); overflow: hidden; border-radius: 6px; background: var(--paper); cursor: zoom-in; }
.gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.gal__item:hover img { transform: scale(1.05); }
.gal--few { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gal--few::after { content: none; }
.gal--few .gal__item { aspect-ratio: 4 / 3; }
.gal--few[data-n="3"] .gal__item:first-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.gal__item::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--lime); transition: box-shadow .3s; border-radius: inherit; }
.gal__item:focus-visible::after, .gal__item:hover::after { box-shadow: inset 0 0 0 3px var(--lime); }

/* testimonials */
.sh-quotes { display: grid; gap: 16px; padding: 0 var(--sheet-pad) clamp(54px, 7vw, 120px); }
.sh-quote { margin: 0; padding: clamp(28px, 4.4vw, 72px); border-radius: 18px; background: var(--pink); }
.sh-quote blockquote { margin: 0; max-width: 34ch; font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: clamp(22px, 2.5vw, 42px); line-height: 1.24; letter-spacing: var(--track-title); }
.sh-quote figcaption { margin-top: 26px; font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); }
.sh-quote figcaption b { display: block; margin-bottom: 4px; font-weight: 600; color: var(--ink); }

/* next item + calls to action */
.sh-foot { display: grid; gap: clamp(34px, 4vw, 56px); padding: clamp(40px, 5vw, 80px) var(--sheet-pad) clamp(50px, 6vw, 96px); border-top: 1px solid var(--line); }
.sh-next { display: grid; grid-template-columns: 1fr auto; gap: 12px 30px; align-items: end; }
.sh-next__label { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); }
.sh-next__title { grid-row: 2; font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: clamp(34px, 5.4vw, 96px); line-height: .95; letter-spacing: var(--track-display); text-transform: uppercase; transition: color .3s; }
.sh-next__thumb { grid-column: 2; grid-row: 1 / 3; width: clamp(110px, 15vw, 240px); aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; }
.sh-next__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.sh-next:hover .sh-next__title { color: var(--brand); }
.sh-next:hover .sh-next__thumb img { transform: scale(1.06); }
.sh-next:hover .arw { transform: translateX(4px); }
.sh-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* story article */
.sh-article { max-width: calc(68ch + 2 * var(--sheet-pad)); margin: 0 auto; padding: clamp(50px, 7vw, 120px) var(--sheet-pad); }
.sheet__body > .sh-article { background: var(--white); max-width: none; padding-inline: max(var(--sheet-pad), calc((100% - 68ch) / 2)); }
.sh-article > p { margin-bottom: 1.3em; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.72; }
.sh-drop::first-letter { float: left; margin: .1em .12em 0 0; font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: 4.4em; line-height: .78; color: var(--brand); }
.sh-pull { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; margin: 2.4em 0; padding: 26px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.sh-pull b { font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-weight: 400; font-size: clamp(54px, 6vw, 104px); line-height: .9; letter-spacing: var(--track-display); color: var(--brand); }
.sh-pull span { font-size: var(--fs-lead); line-height: 1.4; }
.sh-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 2.6em -14%; }
.sh-pair button { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; cursor: zoom-in; }
.sh-pair img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.sh-pair button:hover img { transform: scale(1.05); }
.sh-partof { display: flex; align-items: center; gap: 16px; margin-top: 2.6em; padding: 20px 22px; border-radius: 12px; background: var(--paper); transition: background .25s; }
.sh-partof span { font-size: 10px; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); }
.sh-partof b { font-size: 14px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.sh-partof .arw { margin-left: auto; }
.sh-partof:hover { background: var(--lime); }

/* photo viewer */
.lb { position: fixed; inset: 0; z-index: 70; background: rgba(10, 10, 10, .96); color: var(--white); touch-action: pan-y; }
.lb__stage { position: absolute; inset: 70px 90px 64px; display: flex; align-items: center; justify-content: center; }
.lb__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 100%; max-height: 100%; }
.lb__fig img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 190px); max-height: calc(100svh - 190px); object-fit: contain; border-radius: 4px; user-select: none; -webkit-user-drag: none; }
.lb__fig figcaption { max-width: 70ch; font-size: 13px; line-height: 1.45; text-align: center; color: rgba(255, 255, 255, .78); }
.lb__count { position: absolute; left: 24px; top: 26px; font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--track-label); font-variant-numeric: tabular-nums; }
.lb__close { position: absolute; right: 20px; top: 16px; background: var(--white); color: var(--ink); }
.lb__close:hover { background: var(--lime); }
.lb__btn { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; display: grid; place-items: center; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); transition: background .25s, color .25s; }
.lb__btn:hover { background: var(--white); color: var(--ink); }
.lb__prev { left: 22px; } .lb__prev .arw { transform: rotate(180deg); }
.lb__next { right: 22px; }

@media (max-width: 900px) {
  .sh-intro { grid-template-columns: 1fr; }
  .sh-facts { position: static; }
  .sh-facts dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .sh-pair { margin-inline: 0; }
}
@media (max-width: 767px) {
  .sheet__panel { --sheet-r: 16px; top: 10px; left: 0; right: 0; }
  .sheet__bar { grid-template-columns: 1fr auto; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .sheet__nav { display: none; }
  .sheet__close { padding: 10px 13px 9px; }
  .sh-head { padding-top: 76px; }
  .sh-head__foot { grid-template-columns: 1fr; }
  .sh-hero { height: 62vw; }
  .sh-facts dl { grid-template-columns: 1fr; }
  .sheet__body > .sh-stats, .sh-stats[data-n="2"] { grid-template-columns: 1fr; }
  .gal { --row-h: 104px; gap: 6px; }
  .sh-next { grid-template-columns: 1fr; }
  .sh-next__thumb { grid-column: 1; grid-row: 3; width: 100%; aspect-ratio: 16 / 9; }
  .sh-pull { grid-template-columns: 1fr; gap: 10px; }
  .lb__stage { inset: 64px 10px 96px; }
  .lb__btn { top: auto; bottom: 22px; margin-top: 0; }
  .lb__prev { left: calc(50% - 64px); } .lb__next { right: calc(50% - 64px); }
}

/* ================= CONTACT DIALOG (js/contact.js) ================= */
.cx { position: fixed; inset: 0; z-index: 65; display: grid; place-items: center; padding: clamp(12px, 3vw, 40px); }
.cx__scrim { position: absolute; inset: 0; background: rgba(17, 17, 17, .58); cursor: pointer; }
.cx__box {
  --cx-pad: clamp(26px, 3.4vw, 48px);
  position: relative; width: min(1040px, 100%); max-height: calc(100dvh - 2 * clamp(12px, 3vw, 40px)); overflow: auto; overscroll-behavior: contain;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); outline: none;
  background: var(--white); border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
}
.cx__close { position: absolute; top: 16px; right: 16px; z-index: 2; }

/* left: how to reach us, over a globe turned to Mwanza */
.cx__side { position: relative; display: flex; flex-direction: column; gap: 18px; min-height: 580px; padding: var(--cx-pad); overflow: hidden; background: var(--brand); color: var(--white); }
.cx__tag { align-self: flex-start; padding: 7px 12px 6px; border-radius: 99px; background: var(--lime); color: var(--ink); font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--track-label); }
.cx__title { font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: clamp(46px, 5.4vw, 80px); line-height: var(--lh-display); letter-spacing: var(--track-display); }
.cx__lead { max-width: 26ch; font-size: var(--fs-lead); line-height: 1.35; color: rgba(255, 255, 255, .78); }
.cx__links { position: relative; z-index: 1; display: grid; gap: 10px; margin-top: 6px; }
.cx__link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: .02em; color: rgba(255, 255, 255, .86); transition: color .25s; }
a.cx__link:hover { color: var(--white); }
.cx__ico { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); transition: background .25s, color .25s, box-shadow .25s; }
a.cx__link:hover .cx__ico { background: var(--lime); color: var(--ink); box-shadow: none; }
.cx__links li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.cx__link small { display: block; margin-top: 2px; font-size: 12px; color: rgba(255, 255, 255, .62); }
.cx__wa { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 5px; border-radius: 99px; font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--track-label); background: #25d366; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.cx__wa:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0, 0, 0, .25); }
.cx__wa svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cx__ico svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cx__globe { position: relative; height: 240px; margin: auto calc(-1 * var(--cx-pad)) calc(-1 * var(--cx-pad)); overflow: hidden; }
.cx__globe canvas { position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 1; cursor: grab; touch-action: pan-y; }
.cx__globe canvas.is-drag { cursor: grabbing; }
.cx__globe::after { content: ""; position: absolute; inset: 58% 0 0; pointer-events: none; background: linear-gradient(to bottom, rgba(2, 4, 148, 0), var(--brand) 85%); }
.cx__pin { position: absolute; left: 0; top: 0; z-index: 1; padding: 5px 8px 4px; border-radius: 6px; background: var(--pink); color: var(--ink); font-size: 10px; font-weight: 600; letter-spacing: var(--track-label); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .3s; }

/* right: the form */
.cx__main { position: relative; display: grid; padding: calc(var(--cx-pad) + 30px) var(--cx-pad) var(--cx-pad); }
.cx__form { display: grid; gap: 18px; align-content: start; }
.cx__head h3 { font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: clamp(26px, 2.4vw, 34px); line-height: 1; letter-spacing: var(--track-title); }
.cx__head p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.cx__dots {
  height: 10px; background-image: radial-gradient(circle, rgba(17, 17, 17, .32) .9px, transparent 1.1px); background-size: 7px 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.cx__topics { min-width: 0; margin: 0; padding: 0; border: 0; }
.cx__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cx__topics legend, .cx__field > span { padding: 0; margin-bottom: 9px; font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); }
.cx__field > span em { font-style: normal; text-transform: none; letter-spacing: .02em; opacity: .75; }
.cx__topics label { position: relative; cursor: pointer; }
.cx__topics input { position: absolute; opacity: 0; pointer-events: none; }
.cx__topics span { display: block; padding: 9px 15px 8px; border-radius: 99px; font-size: 13px; box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, box-shadow .25s; }
.cx__topics label:hover span { background: var(--paper); }
.cx__topics input:checked + span { background: var(--lime); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .5); }
.cx__topics input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.cx__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cx__field { display: flex; flex-direction: column; min-width: 0; }
.cx__field input, .cx__field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; outline: 0; font: inherit; font-size: 15px; letter-spacing: .01em; color: var(--ink);
  background: var(--paper); border: 1px solid transparent; transition: border-color .25s, background .25s, box-shadow .25s;
}
.cx__field textarea { resize: none; line-height: 1.45; }
.cx__field input::placeholder, .cx__field textarea::placeholder { color: rgba(17, 17, 17, .38); }
.cx__field input:focus, .cx__field textarea:focus { border-color: var(--brand); background: var(--white); box-shadow: 0 0 0 4px rgba(2, 4, 148, .1); }
.cx__field.is-bad input, .cx__field.is-bad textarea { border-color: var(--red); }
.cx__field.is-bad > span { color: var(--red); }
.cx__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cx__send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; }
.cx__send .kz-btn { box-shadow: none; }
.cx__send .kz-btn[disabled] { opacity: .6; pointer-events: none; }
.cx__err { font-size: 13px; color: var(--red); }

/* after sending */
.cx__done { display: grid; place-content: center; justify-items: center; gap: 14px; padding: 40px 0; text-align: center; }
.cx__done h3 { font-family: var(--display); -webkit-text-stroke: var(--display-stroke) currentColor; font-size: clamp(44px, 4.6vw, 68px); line-height: 1; letter-spacing: var(--track-display); }
.cx__done p { max-width: 30ch; font-size: var(--fs-lead); line-height: 1.4; color: var(--muted); }
.cx__tick { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--lime); }
.cx__tick svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; }
.cx__done.is-on .cx__tick svg { animation: cx-tick .6s .25s cubic-bezier(.7, 0, .2, 1) forwards; }
@keyframes cx-tick { to { stroke-dashoffset: 0; } }

@media (max-width: 767px) {
  .cx { padding: 0; place-items: end stretch; }
  .cx__box { grid-template-columns: 1fr; max-height: calc(100dvh - 10px); border-radius: 16px 16px 0 0; }
  .cx__close { top: 12px; right: 12px; padding: 10px 13px 9px; }
  .cx__side { min-height: 0; gap: 14px; padding-top: 30px; }
  .cx__title { font-size: 48px; }
  .cx__globe { height: 150px; margin-top: 4px; }
  .cx__main { padding-top: var(--cx-pad); }
  .cx__row { grid-template-columns: 1fr; }
  .cx__field input, .cx__field textarea { font-size: 16px; } /* no zoom-on-focus on iOS */
}

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .status-pill.is-ongoing::before { animation: none; }
  .cx__done.is-on .cx__tick svg { animation: none; stroke-dashoffset: 0; }
  .intro .gl, .intro .hero-title, .intro .navrow { visibility: visible; }
  .intro .topbar { transform: none; }
}
