/* Sports Center King of the Sky — site styles
   Flat on purpose: no shadows, no gradients, no pills. Square UI; only photos get soft corners. */

:root {
  --sky: #2da3e6;
  --sky-soft: #e4f3fc;
  --sun: #ffc83d;
  --sun-pale: #ffe9a6;
  --ink: #0e0e0e;
  --muted: #59636d;
  --line: #e3e6e9;
  --grey: #eef0f2;
  --paper: #ffffff;

  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .75, .15, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 18px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.display { font-size: clamp(2.6rem, 6.2vw, 6rem); }
.h2 { font-size: clamp(2rem, 4.2vw, 3.8rem); }
.h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: -0.025em; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: var(--muted); max-width: 34ch; }
.muted { color: var(--muted); }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; }
.on-sky .eyebrow::before { background: var(--ink); }
.on-sky .lead, .on-sky .muted { color: rgba(14, 14, 14, .78); }

/* ---------- Buttons: square, same size everywhere ---------- */
.btn {
  --bg: var(--sky); --fg: var(--ink); --fill: var(--ink); --fill-fg: var(--paper);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  min-width: 190px; height: 58px; padding: 0 22px;
  background: var(--bg); color: var(--fg);
  font: 700 1rem/1 var(--font); letter-spacing: -0.01em; text-decoration: none;
  border: 0; cursor: pointer;
  transition: color .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fill); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.btn:hover, .btn:focus-visible { color: var(--fill-fg); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn .arr { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ink { --bg: var(--ink); --fg: var(--paper); --fill: var(--sun); --fill-fg: var(--ink); }
.btn--grey { --bg: var(--grey); --fg: var(--ink); --fill: var(--ink); --fill-fg: var(--paper); }
.btn--white { --bg: var(--paper); --fg: var(--ink); --fill: var(--ink); --fill-fg: var(--paper); }
.btn--sun { --bg: var(--sun); --fg: var(--ink); --fill: var(--ink); --fill-fg: var(--paper); }
.btn--sm { min-width: 0; height: 46px; padding: 0 18px; font-size: .95rem; }
.btn-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; max-width: 620px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .4s var(--ease);
}
.link-arrow:hover { background-size: 100% 2px; }
.link-arrow .arr { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper); border-bottom: 1px solid var(--line);
  transition: transform .45s var(--ease);
}
.topbar.is-hidden { transform: translateY(-100%); }
.topbar__inner { display: flex; align-items: center; justify-content: flex-end; gap: 28px; height: var(--header-h); }
.nav { display: flex; gap: 26px; margin-right: auto; }
.nav a {
  position: relative; text-decoration: none; font-weight: 600; font-size: .98rem; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--sky);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__mark { width: 50px; height: 50px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; text-align: right; }
.brand__text small { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.brand__text strong { font-size: 1.22rem; font-weight: 800; letter-spacing: -0.03em; margin-top: 4px; }
.brand .sun-rays { transform-origin: 32px 32px; animation: spin 40s linear infinite; }

.menu-btn {
  display: none; align-items: center; gap: 10px; height: 46px; padding: 0 16px;
  background: var(--ink); color: var(--paper); border: 0; font: 700 .95rem var(--font); cursor: pointer;
}
.menu-btn__bars { position: relative; width: 18px; height: 12px; }
.menu-btn__bars::before, .menu-btn__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-btn__bars::before { top: 1px; }
.menu-btn__bars::after { top: 9px; }
.menu-open .menu-btn__bars::before { top: 5px; transform: rotate(45deg); }
.menu-open .menu-btn__bars::after { top: 5px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--sky); padding: 32px var(--gutter);
  display: flex; flex-direction: column; gap: 6px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .55s var(--ease), visibility 0s linear .55s;
}
.menu-open .mobile-nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .55s var(--ease); }
.mobile-nav a:not(.btn) {
  font-size: clamp(2rem, 9vw, 3rem); font-weight: 800; letter-spacing: -0.04em; text-decoration: none; line-height: 1.15;
  opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .5s var(--ease);
}
.menu-open .mobile-nav a { opacity: 1; transform: none; }
.mobile-nav a:nth-child(2) { transition-delay: .04s; } .mobile-nav a:nth-child(3) { transition-delay: .08s; }
.mobile-nav a:nth-child(4) { transition-delay: .12s; } .mobile-nav a:nth-child(5) { transition-delay: .16s; }
.mobile-nav a:nth-child(6) { transition-delay: .2s; }
.mobile-nav .btn { margin-top: 24px; align-self: flex-start; }
body.menu-open { overflow: hidden; }

/* ---------- Split layout (colour panel + white panel) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.split--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.split--reverse .split__color { order: 2; }
.split__color { position: relative; background: var(--sky); overflow: hidden; display: flex; flex-direction: column; }
.split__white { display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: clamp(40px, 6vw, 96px) var(--gutter); }
.split__head { padding: clamp(40px, 6vw, 88px) var(--gutter) 0; position: relative; z-index: 2; }
.split--hero { min-height: calc(100svh - var(--header-h)); }
.split--page { min-height: min(760px, calc(100svh - var(--header-h))); }

/* Stage: overlapping whole photos (white border, soft corners, slight tilt) + hand-drawn doodles */
.stage { position: relative; flex: 1; min-height: 360px; margin-top: 16px; display: grid; place-items: end center; padding: 40px var(--gutter) clamp(40px, 5vw, 72px); }
.collage { position: relative; width: min(100%, 600px); aspect-ratio: 4 / 3; }
.split--hero .collage, .split--page .collage, .program .collage { width: min(100%, 540px); }
.split--hero .stage { margin-top: 0; padding-top: 22px; padding-bottom: 34px; }
.split--hero .collage { aspect-ratio: 16 / 10; width: min(100%, 480px); }
.program .collage { width: min(100%, 460px); }
.program .collage--none { aspect-ratio: 16 / 9; }

.ph { position: absolute; margin: 0; border: clamp(6px, .7vw, 9px) solid var(--paper); border-radius: 18px; overflow: hidden; background: var(--paper); transition: transform .7s var(--ease); }
.ph img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; transition: transform 1.2s var(--ease); }
.ph:hover { transform: rotate(0deg) scale(1.03); z-index: 5; }
.ph:hover img { transform: scale(1.06); }
.collage--three .ph--1 { left: 2%; top: 14%; width: 50%; height: 80%; transform: rotate(-4deg); z-index: 2; }
.collage--three .ph--2 { right: 3%; top: 0; width: 46%; height: 50%; transform: rotate(3deg); z-index: 1; }
.collage--three .ph--3 { right: 8%; bottom: 0; width: 45%; height: 47%; transform: rotate(-2deg); z-index: 3; }
.collage--two .ph--1 { left: 3%; top: 2%; width: 60%; height: 80%; transform: rotate(-3deg); z-index: 1; }
.collage--two .ph--2 { right: 2%; bottom: 0; width: 48%; height: 56%; transform: rotate(4deg); z-index: 2; }
.collage--one .ph--1 { left: 9%; top: 6%; width: 82%; height: 88%; transform: rotate(-2deg); }

/* Number tag sitting on the photos */
.tag { position: absolute; z-index: 4; left: -3%; bottom: 4%; margin: 0; display: flex; flex-direction: column; background: var(--paper); padding: 14px 20px 14px 16px; border-left: 6px solid var(--sun); }
.tag strong { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.tag span { font-size: .85rem; color: var(--muted); max-width: 18ch; line-height: 1.3; margin-top: 4px; }

/* Doodles */
.dd { position: absolute; pointer-events: none; overflow: visible; }
.dd--star { width: 17%; left: -5%; top: -9%; fill: var(--sun); z-index: 4; animation: spin 26s linear infinite; }
.dd--star-sm { width: 11%; right: 6%; top: 4%; fill: var(--paper); animation: spin 18s linear infinite reverse; }
.dd--scribble { width: 22%; right: -3%; top: -12%; fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; z-index: 4; }
.dd--swoosh { width: 42%; left: 18%; bottom: -10%; fill: var(--sun); z-index: 0; }
.dd--rings { width: 7%; left: 50%; top: 0; fill: none; stroke: var(--ink); stroke-width: 2.5; z-index: 4; }
.dd--orbit { width: 92%; left: 4%; top: -12%; fill: none; stroke: var(--paper); stroke-width: 1.6; stroke-dasharray: 3 8; opacity: .8; z-index: 0; animation: spin 90s linear infinite; }
.dd--sun { width: 56%; left: 22%; top: 8%; }
.dd--sun g { stroke: var(--sun-pale); stroke-width: 4; stroke-linecap: round; transform-origin: 50px 50px; animation: spin 40s linear infinite; }
.dd--sun circle { fill: var(--sun); }
.collage--none .dd--scribble { right: 8%; top: auto; bottom: 6%; }
.collage--none .dd--rings { left: 12%; top: 20%; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 2px solid var(--ink); }
.stats > div { padding: 18px 16px 0 0; }
.stats dt { order: 2; font-size: .9rem; color: var(--muted); line-height: 1.35; }
.stats dd { margin: 0 0 6px; font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }

/* ---------- Marquee ---------- */
.marquee { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; padding: 34px 0; }
.marquee::before, .marquee::after, .band::before { content: ""; position: absolute; left: 0; right: 0; height: 16px; z-index: 2; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22600%22 height=%2224%22 viewBox=%220 0 600 24%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0 24 L0 14 L6.4 4.4 L14.3 5.2 L19.0 8.6 L32.2 14.2 L43.8 6.1 L53.2 6.9 L58.9 4.5 L65.1 16.0 L77.3 14.3 L89.3 5.7 L96.4 11.8 L107.8 15.0 L120.6 4.2 L130.6 12.4 L139.7 5.5 L148.4 4.3 L161.8 15.1 L171.2 7.2 L184.3 11.0 L197.2 14.9 L206.2 8.8 L216.2 9.0 L221.8 7.3 L234.0 3.6 L238.4 11.8 L245.2 10.5 L253.9 7.8 L267.9 5.7 L276.0 5.8 L286.4 6.9 L293.9 13.5 L301.1 10.8 L314.2 4.4 L318.8 6.2 L330.4 11.6 L336.8 7.6 L342.6 9.4 L347.0 12.8 L360.0 16.4 L371.3 16.4 L375.5 7.0 L389.2 13.9 L397.3 16.2 L407.5 14.5 L414.4 5.7 L422.9 4.9 L430.7 16.5 L438.0 3.1 L442.4 5.4 L454.3 8.1 L461.2 4.4 L475.0 8.9 L481.1 3.8 L485.6 5.4 L496.4 5.1 L500.8 9.9 L507.3 17.0 L512.5 10.4 L524.3 8.7 L538.1 9.7 L544.6 8.7 L548.9 8.9 L555.4 15.5 L567.7 10.0 L572.0 6.6 L578.5 5.9 L584.8 15.2 L590.2 3.7 L600.0 10.9 L600 14 L600 24Z%22 fill=%22%23ffffff%22/%3E%3C/svg%3E") repeat-x 0 0 / 600px 16px; pointer-events: none; }
.marquee::before, .band::before { top: -1px; transform: scaleY(-1); }
.marquee::after { bottom: -1px; }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { display: flex; align-items: center; gap: 40px; padding-right: 40px; font-size: clamp(1.6rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.marquee__track span::after { content: ""; width: 18px; height: 18px; background: var(--sun); flex: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 150px) 0; }
.section--tight { padding: clamp(56px, 7vw, 100px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head .lead { margin: 0; }

.intro { display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px 80px; }
.intro__big { font-size: clamp(1.5rem, 2.6vw, 2.4rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.025em; margin: 0; }

/* Rows list (programs overview) — ruled rows, not cards */
.rows { border-top: 2px solid var(--ink); }
.row {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 90px 1.1fr 1.4fr 40px; gap: 24px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--sky);
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease);
}
.row:hover::before, .row:focus-visible::before { transform: scaleY(1); transform-origin: top; }
.row__num { font-weight: 700; font-size: .95rem; color: var(--muted); transition: color .3s; }
.row:hover .row__num { color: var(--ink); }
.row__title { font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.row__text { color: var(--muted); margin: 0; transition: color .3s; }
.row:hover .row__text { color: var(--ink); }
.row__arr { width: 32px; height: 32px; transition: transform .45s var(--ease); }
.row:hover .row__arr { transform: translateX(6px) rotate(-45deg); }

/* Band (colour call-to-action strip) */
.band { background: var(--sky); position: relative; overflow: hidden; }
.band--sun { background: var(--sun); }
.band--ink { background: var(--ink); color: var(--paper); }
.band__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px 64px; align-items: end; padding: clamp(64px, 9vw, 130px) 0; position: relative; z-index: 1; }
.band .btn-row { max-width: none; }
.band__sun { position: absolute; right: -6%; top: -30%; width: clamp(260px, 36vw, 560px); aspect-ratio: 1; pointer-events: none; opacity: .9; }
.band__sun .disc { fill: var(--sun); }
.band--sun .band__sun .disc { fill: var(--paper); opacity: .5; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(120px, 14vw, 210px); gap: 10px; }
.gallery figure { margin: 0; overflow: hidden; position: relative; background: var(--grey); border-radius: 16px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; bottom: 0; background: var(--paper); padding: 8px 14px; font-size: .85rem; font-weight: 700;
  transform: translateY(100%); transition: transform .45s var(--ease);
}
.gallery figure:hover figcaption { transform: none; }
.g-a { grid-column: span 7; grid-row: span 2; }
.g-b { grid-column: span 5; grid-row: span 2; }
.g-c { grid-column: span 4; grid-row: span 2; }
.g-d { grid-column: span 4; grid-row: span 2; }
.g-e { grid-column: span 4; grid-row: span 2; }
.g-f { grid-column: span 12; grid-row: span 2; }
.gallery--even { grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(220px, 24vw, 360px); }
.gallery--even figure { grid-column: span 1; grid-row: span 1; }
.bignum { display: flex; flex-direction: column; gap: 6px; border-top: 2px solid var(--ink); padding-top: 18px; }
.bignum strong { font-size: clamp(5rem, 11vw, 9.5rem); font-weight: 800; letter-spacing: -0.065em; line-height: .85; color: var(--sky); }
.bignum span { font-size: 1.15rem; font-weight: 700; }
.panel-photo { position: relative; flex: 1; min-height: 340px; margin: 32px var(--gutter) var(--gutter); }
.panel-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__color .on-sky-text { color: rgba(14,14,14,.82); max-width: 40ch; margin: 22px 0 0; font-size: 1.12rem; }
.gallery .is-filtered { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.filters button {
  position: relative; background: none; border: 0; padding: 12px 0; font: 700 1rem var(--font); color: var(--muted); cursor: pointer;
}
.filters button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--ink); transform: scaleX(0); transition: transform .35s var(--ease); }
.filters button[aria-pressed="true"] { color: var(--ink); }
.filters button[aria-pressed="true"]::after { transform: scaleX(1); }

/* Two columns split by a rule (mission/vision) */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); }
.cols-2 > div { padding: 40px 48px 0 0; }
.cols-2 > div + div { padding-left: 48px; border-left: 1px solid var(--line); }
.cols-2 p { font-size: clamp(1.2rem, 1.9vw, 1.6rem); line-height: 1.4; letter-spacing: -0.015em; margin: 18px 0 0; }

/* Numbered grid (objectives) — top rules, no boxes */
.numgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 32px; counter-reset: n; list-style: none; padding: 0; margin: 0; }
.numgrid li { counter-increment: n; border-top: 2px solid var(--ink); padding-top: 18px; font-size: 1.08rem; line-height: 1.45; }
.numgrid li::before { content: counter(n, decimal-leading-zero); display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.05em; color: var(--sky); line-height: 1; margin-bottom: 14px; }

/* Ruled list */
.ruled { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.ruled li { display: flex; gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
.ruled li::before { content: ""; width: 10px; height: 10px; background: var(--sky); flex: none; transform: translateY(-2px); }
.on-sky .ruled { border-color: var(--ink); }
.on-sky .ruled li { border-color: rgba(14,14,14,.18); }
.on-sky .ruled li::before { background: var(--ink); }
.ruled--3 { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; border-top: 0; }
.ruled--3 li { border-top: 2px solid var(--ink); border-bottom: 0; padding-top: 18px; }

/* Program blocks */
.program { border-top: 1px solid var(--line); }
.program .split__color { min-height: 560px; }
.program__num { font-size: clamp(4rem, 9vw, 8rem); font-weight: 800; letter-spacing: -0.06em; line-height: .8; color: var(--paper); }

/* Photo with a hard-edged cut (no radius) */
.photo-cut { position: relative; overflow: hidden; }
.photo-cut img { width: 100%; height: 100%; object-fit: cover; }
.photo-cut--slant { clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }

/* Quotes */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.quote { margin: 0; border-top: 2px solid var(--ink); padding-top: 28px; }
.quote__mark { width: 46px; height: 36px; color: var(--sky); margin-bottom: 18px; }
.quote blockquote { margin: 0; font-size: clamp(1.4rem, 2.3vw, 2rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.025em; }
.quote figcaption { margin-top: 20px; color: var(--muted); }
.quote figcaption strong { color: var(--ink); }

/* Donate keypad */
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.keypad button {
  position: relative; height: 96px; border: 2px solid var(--ink); background: var(--paper); cursor: pointer;
  font: 800 clamp(1.3rem, 2vw, 1.7rem)/1 var(--font); letter-spacing: -0.03em; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  transition: background .25s, color .25s, transform .15s;
}
.keypad button small { font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.keypad button:hover { background: var(--sky-soft); }
.keypad button:active { transform: scale(.97); }
.keypad button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.keypad button[aria-pressed="true"] small { color: var(--sun); }

.pay { border-top: 2px solid var(--ink); margin-top: 32px; }
.pay__row { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.pay__label { font-weight: 700; }
.pay__num { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; display: block; margin-bottom: 12px; }
.pay__code { display: none; margin-top: 14px; padding: 16px 18px; background: var(--sun-pale); }
.pay__code.is-on { display: block; animation: rise .5s var(--ease); }
.pay__code code { font: 800 1.15rem var(--font); letter-spacing: .02em; }
.pay__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Help options (big square buttons) */
.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.help-grid .btn { height: 76px; font-size: 1.1rem; }
.help-grid .btn:first-child { grid-column: span 2; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 2px solid var(--ink); background: var(--grey);
  padding: 14px 16px; font: 500 1.05rem var(--font); color: var(--ink); border-radius: 0; -webkit-appearance: none; appearance: none;
  transition: background .25s, border-color .25s;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230e0e0e' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; background: var(--sky-soft); border-color: var(--sky); }
.form__note { grid-column: 1 / -1; font-size: .92rem; color: var(--muted); margin: 0; }
.form__status { grid-column: 1 / -1; font-weight: 700; margin: 0; min-height: 1.5em; }

/* Contact lines */
.contact-lines { border-top: 2px solid var(--ink); }
.contact-lines div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-lines dt { font-weight: 700; }
.contact-lines dd { margin: 0; font-size: 1.2rem; font-weight: 600; }
.contact-lines a { text-decoration: none; }
.contact-lines a:hover { color: var(--sky); }

/* Jump links (in white panels) */
.jumps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 560px; }
.jumps--5 { grid-template-columns: repeat(2, 1fr); }
.jumps--5 .btn:last-child { grid-column: span 2; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 40px 64px; align-items: start; }
.footer__line { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.015em; max-width: 34ch; margin: 20px 0 0; }
.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; list-style: none; margin: 0; padding: 0; }
.footer__links a { text-decoration: none; font-weight: 600; }
.footer__links a:hover { color: var(--sky); }
.footer__base { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); text-align: center; font-size: .88rem; color: var(--muted); }

/* ---------- Motion ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes fill-bar { to { transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Only hide things for animation when JS is running, so the page never ends up blank. */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="wipe"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="wipe"] img { transform: scale(1.15); transition: transform 1.6s var(--ease); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.js [data-reveal="wipe"].is-in img { transform: none; }
.js [data-reveal="photo-cut--slant"].is-in { clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }

.js [data-words] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-words] .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 70ms + .1s); }
.js [data-words].is-in .w > span { transform: none; }

.js .stage .ph { opacity: 0; translate: 0 48px; transition: opacity .8s var(--ease), translate 1.1s var(--ease), transform .7s var(--ease); }
.js .stage .ph--2 { transition-delay: .15s; } .js .stage .ph--3 { transition-delay: .3s; }
.js .stage.is-in .ph { opacity: 1; translate: 0 0; }
.js .stage .dd, .js .stage .tag { opacity: 0; scale: .7; transition: opacity .6s .5s, scale .8s var(--ease) .5s; }
.js .stage.is-in .dd, .js .stage.is-in .tag { opacity: 1; scale: 1; }
.js .stage.is-in .dd--orbit { opacity: .8; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .topbar__inner { justify-content: space-between; gap: 12px; }
  .topbar__inner > .btn { display: none; }
  .brand { order: 2; }
  .menu-btn { order: 1; }
  .numgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  body { font-size: 17px; }
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__color { order: 0; }
  .split--hero, .split--page { min-height: 0; }
  .stage { min-height: 0; flex: none; padding: 48px var(--gutter) 48px; }
  .split--hero .collage, .split--page .collage, .program .collage { width: min(100%, 520px); }
  .split--hero .collage { aspect-ratio: 4 / 3; }
  .program .split__color { min-height: 0; }
  .section-head, .intro, .band__inner, .footer__top, .quotes { grid-template-columns: 1fr; }
  .row { grid-template-columns: 48px 1fr 32px; gap: 8px 16px; }
  .row__text { grid-column: 2 / 3; }
  .row__arr { grid-row: 1; grid-column: 3; width: 26px; height: 26px; }
  .cols-2 { grid-template-columns: 1fr; }
  .cols-2 > div, .cols-2 > div + div { padding: 32px 0; border-left: 0; }
  .cols-2 > div + div { border-top: 1px solid var(--line); }
  .ruled--3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
  .gallery figure { grid-column: span 1 !important; grid-row: span 1 !important; }
  .gallery figure:first-child:not(.is-filtered) { grid-column: span 2 !important; }
  .pay__row, .contact-lines div { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 560px) {
  .numgrid { grid-template-columns: 1fr; gap: 32px; }
  .stats > div { padding-right: 8px; }
  .stats dt { font-size: .8rem; }
  .form { grid-template-columns: 1fr; }
  .btn-row { grid-template-columns: 1fr; }
  .brand__mark { width: 42px; height: 42px; }
  .brand__text strong { font-size: 1.05rem; }
  .keypad button { height: 80px; }
  .tag { left: 0; padding: 10px 14px 10px 12px; }
  .tag span { font-size: .75rem; }
  .help-grid { grid-template-columns: 1fr; }
  .help-grid .btn:first-child { grid-column: auto; }
}
