/* ==========================================================================
   LINCOLN BASKETBALL CIC — Nike-strict monochrome system
   Art direction: about.nike.com discipline. Anton display + the Helvetica
   Neue system stack, black/white/grey only, colour arrives via photography.
   Fluid 1440 artboard: 1rem = 16px at 1440w, everything in rem.
   ========================================================================== */

/* ------------------------------------------------------------------
   0. Tokens
   ------------------------------------------------------------------ */
:root {
  --ink: #111111;
  --paper: #ffffff;
  --grey: #808080;        /* deks and secondary text */
  --grey-dim: #3d3d3d;    /* dimmed display type on black */
  --line-dark: #262626;   /* hairlines on black */
  --line-light: #e2e2e2;  /* hairlines on white */
  --panel: #f5f5f5;

  /* Nike's own text stack: Helvetica Neue everywhere it exists, Arial after */
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-text: 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.76, 0, 0.24, 1);

  --nav-h: 4rem;
  --gutter: 4rem;

  --z-page: 1;
  --z-nav: 40;
  --z-menu: 50;
  --z-loader: 60;
}

/* ------------------------------------------------------------------
   1. Reset + base
   ------------------------------------------------------------------ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  /* fluid artboard: design at 1440, scale like a zoomed frame */
  font-size: calc(16 / 1440 * 100vw);
  scroll-behavior: auto;
}

body {
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--ink); /* hero is black; avoids white flash at boot */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--ink); color: var(--paper); }

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

/* ------------------------------------------------------------------
   2. Type system
   ------------------------------------------------------------------ */
.label {
  font-family: var(--font-text);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.3;
}

.sec-eyebrow { color: var(--grey); margin-bottom: 2.2rem; }

.sec-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 4.4rem;
  line-height: 0.86;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 2.2rem;
}

.sec-dek {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--grey);
  max-width: 32rem;
  margin-bottom: 3rem;
}
.sec-dek-ink { color: var(--grey); }

/* text reveals start hidden; JS reveals. Tier CSS re-shows them. */
html.js [data-reveal],
html.js [data-reveal-label],
html.js [data-reveal-fade] { visibility: hidden; }

/* ------------------------------------------------------------------
   3. Buttons — Nike pill + rolling label
   ------------------------------------------------------------------ */
.btn-roll { display: inline-block; overflow: hidden; position: relative; }
.btn-roll-inner { display: block; position: relative; }
.btn-roll-inner span { display: block; white-space: nowrap; }
.btn-roll-inner span:last-child { position: absolute; top: 100%; left: 0; opacity: 0; }

.pill {
  font-family: var(--font-text);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.95rem 1.9rem;
  border-radius: 10rem;
  transition: opacity 0.3s var(--ease-out);
}
.pill:hover { opacity: 0.85; }
.pill-ink { background: var(--ink); color: var(--paper); }
.pill-ghost { border: 1px solid var(--line-light); color: var(--ink); }
.pill-white { background: var(--paper); color: var(--ink); }
.btn-big { font-size: 1rem; padding: 1.25rem 2.6rem; }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ------------------------------------------------------------------
   4. Chrome: nav bar
   ------------------------------------------------------------------ */
.chrome { position: relative; z-index: var(--z-nav); }

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  z-index: var(--z-nav);
  color: var(--ink);
  transition: color 0.35s var(--ease-out);
  pointer-events: none;
}
.nav .island { pointer-events: auto; }

.nav-brand { display: flex; align-items: center; gap: 0.8rem; }
.nav-logo { height: 2.1rem; width: auto; transition: filter 0.35s var(--ease-out); }

/* the mark is black-on-transparent; reverse it to white over dark zones */
.nav.on-dark .nav-logo,
.chrome.menu-open .nav .nav-logo { filter: invert(1); }

.nav-wordmark {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.nav-right { display: flex; align-items: center; gap: 1.6rem; }
.nav-link { transition: opacity 0.25s; }
.nav-link:hover { opacity: 0.6; }

.nav-join { background: var(--ink); color: var(--paper); font-size: 0.72rem;
  font-weight: 600; letter-spacing: 0.08em; padding: 0.7rem 1.4rem; border-radius: 10rem;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out); }

.nav-burger { display: flex; flex-direction: column; gap: 0.4rem; padding: 0.5rem 0; }
.nav-burger span { display: block; width: 1.9rem; height: 2px; background: currentColor;
  transition: transform 0.4s var(--ease-inout), opacity 0.3s; }
.chrome.menu-open .nav-burger span:first-child { transform: translateY(0.25rem) rotate(45deg); }
.chrome.menu-open .nav-burger span:last-child { transform: translateY(-0.25rem) rotate(-45deg); }

/* chrome over dark zones */
.chrome .nav.on-dark, .chrome.menu-open .nav { color: var(--paper); }
.chrome .nav.on-dark .nav-join, .chrome.menu-open .nav .nav-join { background: var(--paper); color: var(--ink); }

/* ------------------------------------------------------------------
   5. Overlay menu
   ------------------------------------------------------------------ */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  visibility: hidden;
  /* closed = click-transparent, whatever the animation state. Without this
     the invisible link rows can swallow clicks after the menu closes. */
  pointer-events: none;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--gutter);
}
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu-bg { position: absolute; inset: 0; background: var(--ink);
  clip-path: inset(0 0 100% 0); }
.menu-list { position: relative; display: flex; flex-direction: column; gap: 0.4rem; }
.menu-list a { display: flex; align-items: baseline; gap: 1.4rem; overflow: hidden; }
.menu-list em { font-style: normal; font-family: var(--font-text); font-size: 0.72rem;
  font-weight: 600; color: var(--grey); letter-spacing: 0.08em; }
.menu-word {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 3.8rem; line-height: 1;
  text-transform: uppercase; color: var(--paper);
  transition: color 0.3s;
}
.menu-list a:hover .menu-word { color: var(--grey); }
.menu-foot { position: absolute; bottom: 2.4rem; left: var(--gutter); right: var(--gutter);
  display: flex; gap: 2.4rem; color: var(--grey); }
.menu-foot a:hover { color: var(--paper); }

/* ------------------------------------------------------------------
   5b. Floating contact launcher — white disc with an ink stroke, so it
   reads on both black and white sections with zero theme logic
   ------------------------------------------------------------------ */
.fab { position: fixed; right: 1.6rem; bottom: 1.6rem; z-index: 45;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.8rem; }

.fab-btn { width: 3.4rem; height: 3.4rem; border-radius: 50%;
  background: var(--paper); color: var(--ink); border: 1px solid var(--ink);
  display: flex; align-items: center; justify-content: center; position: relative;
  transition: transform 0.3s var(--ease-out); }
.fab-btn:hover { transform: scale(1.07); }
.fab-btn svg { width: 1.35rem; height: 1.35rem; transition: opacity 0.2s; }
.fab-x { position: absolute; inset: 0; opacity: 0; transition: opacity 0.2s; }
.fab-x::before, .fab-x::after { content: ''; position: absolute; top: 50%; left: 50%;
  width: 1.2rem; height: 2px; background: currentColor; }
.fab-x::before { transform: translate(-50%, -50%) rotate(45deg); }
.fab-x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.fab.is-open .fab-btn svg { opacity: 0; }
.fab.is-open .fab-x { opacity: 1; }

.fab-panel { background: var(--paper); color: var(--ink); border: 1px solid var(--ink);
  padding: 1.2rem 1.4rem; min-width: 15rem;
  display: flex; flex-direction: column; gap: 0.55rem;
  opacity: 0; transform: translateY(0.5rem); pointer-events: none;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out); }
.fab.is-open .fab-panel { opacity: 1; transform: none; pointer-events: auto; }
.fab-title { color: var(--grey); margin-bottom: 0.3rem; }
.fab-panel a { font-size: 0.9rem; transition: opacity 0.2s; }
.fab-panel a:hover { opacity: 0.55; }

/* ------------------------------------------------------------------
   6. Preloader — shot clock, monochrome
   ------------------------------------------------------------------ */
.loader { position: fixed; inset: 0; z-index: var(--z-loader);
  display: flex; align-items: center; justify-content: center; }
.loader-bg { position: absolute; inset: 0; background: var(--ink); }
.loader-core { position: relative; text-align: center; color: var(--paper); }
.loader-clock {
  font-family: var(--font-display);
  font-size: 13rem; line-height: 0.85;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.loader-tag { margin-top: 1.6rem; position: relative; height: 1.2rem; overflow: hidden; }
.loader-tag .label { display: block; color: var(--grey); }
.loader-tip { position: absolute; top: 0; left: 0; right: 0; opacity: 0; color: var(--paper); }
.loader-bar { width: 16rem; height: 1px; background: var(--line-dark); margin: 1.4rem auto 0; }
.loader-bar span { display: block; height: 100%; background: var(--paper);
  transform: scaleX(0); transform-origin: left center; }

/* ------------------------------------------------------------------
   7. Scroll stages — sticky, never ScrollTrigger pin
   ------------------------------------------------------------------ */
.stage { position: relative; }
.stage-view { position: sticky; top: 0; height: 100vh; height: calc(var(--vh, 1vh) * 100);
  overflow: clip; }

/* ------------------------------------------------------------------
   8. HERO — the roll call
   ------------------------------------------------------------------ */
.roll-stage { height: 320vh; background: var(--ink); color: var(--paper); }
.roll-view { display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 1rem) var(--gutter) 2rem; }

/* the faint ball loop behind the roll call */
.roll-bg { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.07; filter: grayscale(1); z-index: 0; }
.roll-eyebrow, .roll-list, .roll-note, .roll-scrolldown { position: relative; z-index: 1; }

.roll-eyebrow { color: var(--grey); margin-bottom: 2.2rem; }

.roll-row { display: flex; align-items: baseline; gap: 1.6rem; overflow: hidden; }
.roll-idx { color: var(--grey-dim); width: 1.6rem; flex: none;
  transition: color 0.3s; }
.roll-word {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 5.8rem;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--grey-dim);
  white-space: nowrap;
}
.roll-row.is-lit .roll-idx { color: var(--grey); }
.roll-star { font-style: normal; color: var(--grey); }

.roll-note { color: var(--grey); font-size: 1rem; margin-top: 2rem; opacity: 0; }
.roll-scrolldown { position: absolute; bottom: 2rem; right: var(--gutter); color: var(--grey); }

/* ------------------------------------------------------------------
   9. TAKEOVER — video frame grows full bleed
   ------------------------------------------------------------------ */
.take-stage { height: 300vh; background: var(--ink); color: var(--paper); }
.take-view { display: flex; align-items: center; justify-content: center; }

.take-frame {
  position: relative;
  width: 44rem; aspect-ratio: 16 / 9;
  overflow: hidden;
  will-change: transform;
}
/* grayscale keeps the warm gym footage inside the monochrome system */
.take-frame video { width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(0.92); }

.take-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.45) 32%, rgba(0,0,0,0) 62%); }

.take-stamp {
  position: absolute; left: var(--gutter); bottom: 4.5rem;
  display: flex; flex-direction: column;
  z-index: 2;
}
.take-line {
  display: block; overflow: hidden;
  font-family: var(--font-display);
  font-size: 7.8rem; line-height: 0.88;
  text-transform: uppercase; color: var(--paper);
}
.take-caption { position: absolute; top: calc(var(--nav-h) + 1rem); left: var(--gutter);
  color: var(--grey); z-index: 2; }

/* ------------------------------------------------------------------
   9b. PILLARS — the three areas, as a jump index
   ------------------------------------------------------------------ */
.pil { background: var(--paper); padding: 8rem 0 6rem; }
.pil-list { border-top: 1px solid var(--line-light); display: block; }
.pil-row {
  display: grid; grid-template-columns: 4rem 22rem 1fr auto;
  gap: 2rem; align-items: baseline;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--line-light);
  transition: padding 0.35s var(--ease-out);
}
.pil-row:hover { padding-left: 1rem; }
.pil-num { color: var(--grey); }
.pil-name { font-family: var(--font-display); font-weight: 400; font-size: 3.6rem;
  line-height: 0.9; text-transform: uppercase; }
.pil-dek { color: var(--grey); font-size: 0.95rem; }
.pil-arrow { font-size: 1.6rem; line-height: 1; transition: transform 0.35s var(--ease-out); }
.pil-row:hover .pil-arrow { transform: translateX(0.5rem); }

/* ------------------------------------------------------------------
   10. COACHING — Saturday mornings
   ------------------------------------------------------------------ */
.sat { background: var(--paper); padding: 9rem 0 8rem; }

.sat-list { border-top: 1px solid var(--line-light); }
.sat-row {
  display: grid;
  grid-template-columns: 11rem 1fr 10rem;
  gap: 2.4rem; align-items: start;
  padding: 2.6rem 0;
  border-bottom: 1px solid var(--line-light);
}
.sat-time { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.1; }
.sat-time i { display: block; font-style: normal; color: var(--grey); font-size: 0.95rem; }
.sat-name { font-family: var(--font-display); font-weight: 400; font-size: 2.4rem;
  line-height: 0.95; text-transform: uppercase; margin-bottom: 0.7rem; }
/* age repeated in the name itself: the pills below get overlooked */
.sat-age { font-size: 0.55em; color: var(--grey); letter-spacing: 0.02em;
  white-space: nowrap; }
.sat-dek { color: var(--grey); font-size: 0.95rem; max-width: 32rem; }
.sat-tags { justify-self: end; display: flex; flex-direction: column;
  gap: 0.4rem; align-items: flex-end; }
.sat-tag { color: var(--ink); border: 1px solid var(--line-light);
  border-radius: 10rem; padding: 0.45rem 0.9rem; white-space: nowrap; }

.sat-start { margin-top: 4.6rem; display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 3rem; align-items: start; }
.sat-start-lead { font-size: 1.25rem; font-weight: 500; max-width: 16rem; line-height: 1.3; }
.sat-steps { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 2.2rem; }
.sat-steps li { display: flex; gap: 1.1rem; color: var(--grey); max-width: 34rem; }
.sat-steps li span { font-family: var(--font-display); color: var(--ink); font-size: 1rem; }
.sat-note { color: var(--grey); font-size: 0.9rem; max-width: 34rem; margin-bottom: 2rem;
  padding-left: 1rem; border-left: 1px solid var(--line-light); }

/* ------------------------------------------------------------------
   11. LEAGUES
   ------------------------------------------------------------------ */
.lg { background: var(--ink); color: var(--paper); padding: 9rem 0 8rem; }
.lg .sec-eyebrow { color: var(--grey); }

.lg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.lg-card { display: flex; flex-direction: column; min-width: 0; }
.lg-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #1a1a1a;
  margin-bottom: 1.4rem; }
.lg-media img { width: 100%; height: 112%; object-fit: cover; }
.lg-badge { position: absolute; top: 1rem; left: 1rem; background: var(--paper);
  color: var(--ink); padding: 0.45rem 0.9rem; border-radius: 10rem; }

.lg-media-type { display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 0.6rem; border: 1px solid var(--line-dark); }
.lg-type-big { font-family: var(--font-display); font-size: 6.4rem; line-height: 0.9; }
.lg-type-sub { color: var(--grey); }

.lg-name { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem;
  line-height: 1.1; text-transform: uppercase; margin-bottom: 0.7rem; }
.lg-dek { color: var(--grey); font-size: 0.9rem; margin-bottom: 1.2rem; flex: 1; }
.lg-link { color: var(--paper); transition: opacity 0.25s; }
.lg-link:hover { opacity: 0.6; }

.lg-wide { margin-top: 4rem; display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  padding: 2rem 0; transition: padding 0.35s var(--ease-out); }
.lg-wide:hover { padding-left: 1rem; padding-right: 1rem; }
.lg-wide-title { font-family: var(--font-display); font-size: 1.8rem;
  text-transform: uppercase; line-height: 1; }
.lg-wide-arrow { font-size: 1.8rem; line-height: 1; }

/* ------------------------------------------------------------------
   12. WEEKNIGHTS
   ------------------------------------------------------------------ */
.week { background: var(--paper); padding: 9rem 0 8rem; }
.week-list { border-top: 1px solid var(--line-light); }
.week-row { display: grid; grid-template-columns: 8rem 1fr; gap: 2.4rem;
  align-items: center; padding: 2.4rem 0; border-bottom: 1px solid var(--line-light); }
.week-logo { width: 5.4rem; height: auto; }
.week-mark { font-family: var(--font-display); font-size: 2.2rem; line-height: 1;
  color: var(--ink); }
.week-name { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem;
  line-height: 1; text-transform: uppercase; margin-bottom: 0.5rem; }
.week-dek { color: var(--grey); font-size: 0.95rem; max-width: 36rem; }
.week-cta { margin-top: 2.6rem; }
.week-link { color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; }
.week-link:hover { opacity: 0.6; }

/* ------------------------------------------------------------------
   13. SCHEDULE
   ------------------------------------------------------------------ */
.sched { background: var(--paper); padding: 4rem 0 9rem; }
.sched-head { display: flex; justify-content: space-between; align-items: baseline; }
.sched-ext { color: var(--grey); transition: color 0.25s; }
.sched-ext:hover { color: var(--ink); }
/* frame within a frame: a visible ink stroke, breathing room, then the embed */
.sched-frame { border: 1px solid var(--ink); background: var(--paper); padding: 1rem; }
.sched-frame iframe { display: block; width: 100%; height: 58rem; border: 1px solid var(--line-light); }

/* ------------------------------------------------------------------
   14. COURTSIDE — horizontal gallery
   ------------------------------------------------------------------ */
.gal-stage { background: var(--ink); color: var(--paper); }
.gal-view { display: flex; align-items: center; }
.gal-track { display: flex; align-items: center; gap: 3rem; padding: 0 var(--gutter);
  will-change: transform; }
.gal-intro { flex: none; width: 30rem; }
.gal-intro .sec-title { margin-bottom: 1.6rem; }
.gal-intro .sec-dek { margin-bottom: 0; }
.gal-item { flex: none; width: 34rem; overflow: hidden; position: relative; }
.gal-item-tall { width: 24rem; }
.gal-item-sq { width: 26rem; }
.gal-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gal-item-tall img { aspect-ratio: 4 / 5; }
.gal-item-sq img { aspect-ratio: 1 / 1; }
.gal-item figcaption { margin-top: 0.8rem; color: var(--grey); }

/* ------------------------------------------------------------------
   15. HONOURS
   ------------------------------------------------------------------ */
.hon { background: var(--paper); padding: 8rem 0; }
.hon-list { border-top: 1px solid var(--line-light); }
.hon-row { display: grid; grid-template-columns: 6rem 1fr 1fr; gap: 2.4rem;
  align-items: baseline; padding: 2.2rem 0; border-bottom: 1px solid var(--line-light); }
.hon-num { color: var(--grey); }
.hon-name { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem;
  line-height: 1; text-transform: uppercase; }
.hon-dek { color: var(--grey); }

/* ------------------------------------------------------------------
   17. FAQ
   ------------------------------------------------------------------ */
.faq { background: var(--paper); padding: 8rem 0 9rem; }
.faq-list { border-top: 1px solid var(--line-light); max-width: 60rem; }
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-q { display: flex; justify-content: space-between; align-items: center;
  width: 100%; text-align: left; padding: 1.5rem 0;
  font-size: 1rem; font-weight: 500; }
.faq-x { position: relative; width: 1rem; height: 1rem; flex: none; margin-left: 2rem; }
.faq-x::before, .faq-x::after { content: ''; position: absolute; background: var(--ink);
  transition: transform 0.4s var(--ease-inout); }
.faq-x::before { left: 0; right: 0; top: 50%; height: 1.5px; }
.faq-x::after { top: 0; bottom: 0; left: 50%; width: 1.5px; }
.faq-item.is-open .faq-x::after { transform: rotate(90deg) scaleY(0); }
.faq-a { height: 0; overflow: hidden; }
.faq-a p { color: var(--grey); padding-bottom: 1.6rem; max-width: 46rem; }
.faq-a a { text-decoration: underline; color: var(--ink); }

/* ------------------------------------------------------------------
   18. CLOSE + FOOTER
   ------------------------------------------------------------------ */
.close { position: relative; background: var(--ink); color: var(--paper);
  padding: 11rem 0 0; overflow: clip; }
.close-media { position: absolute; inset: 0; opacity: 0.28; }
.close-media video { width: 100%; height: 100%; object-fit: cover; }
.close-inner { position: relative; text-align: center; padding: 0 var(--gutter) 9rem; }
.close-title { font-family: var(--font-display); font-weight: 400; font-size: 7.2rem;
  line-height: 0.86; text-transform: uppercase; margin-bottom: 3rem; }

.footer { position: relative; border-top: 1px solid var(--line-dark);
  padding: 3.4rem var(--gutter) 2.6rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { color: var(--grey); font-size: 0.95rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--paper); }
.footer-h { color: var(--paper); margin-bottom: 0.4rem; }
.footer-meta { color: var(--grey); gap: 0.9rem; }
.footer-meta a { font-size: inherit; text-decoration: underline; }
.footer-logo { height: 3.2rem; width: auto; align-self: flex-start; margin-bottom: 0.4rem;
  filter: invert(1); /* footer is always ink */ }

/* ==================================================================
   19. DEGRADATION TIERS — no-js, reduced-motion, loader-timeout.
   Flatten every stage, open every mask, everything reachable.
   ================================================================== */
html:not(.js) .loader,
html.loader-timeout .loader,
html.reduced-motion .loader { display: none; }

html:not(.js) [data-reveal], html:not(.js) [data-reveal-label], html:not(.js) [data-reveal-fade],
html.loader-timeout [data-reveal], html.loader-timeout [data-reveal-label], html.loader-timeout [data-reveal-fade],
html.reduced-motion [data-reveal], html.reduced-motion [data-reveal-label], html.reduced-motion [data-reveal-fade] {
  visibility: visible !important; opacity: 1 !important; transform: none !important;
}

html:not(.js) .stage, html.reduced-motion .stage, html.loader-timeout .stage { height: auto !important; }
html:not(.js) .stage-view, html.reduced-motion .stage-view, html.loader-timeout .stage-view { position: relative; height: auto; }

html:not(.js) .roll-view, html.reduced-motion .roll-view, html.loader-timeout .roll-view { padding-top: 7rem; padding-bottom: 4rem; }
html:not(.js) .roll-word, html.reduced-motion .roll-word, html.loader-timeout .roll-word { color: var(--paper) !important; }
html:not(.js) .roll-row, html.reduced-motion .roll-row, html.loader-timeout .roll-row { opacity: 1 !important; transform: none !important; }
html:not(.js) .roll-note, html.reduced-motion .roll-note, html.loader-timeout .roll-note { opacity: 1 !important; }

html:not(.js) .take-view, html.reduced-motion .take-view, html.loader-timeout .take-view { padding: 4rem 0; }
html:not(.js) .take-frame, html.reduced-motion .take-frame, html.loader-timeout .take-frame { width: 100%; transform: none !important; }
html:not(.js) .take-stamp, html.reduced-motion .take-stamp, html.loader-timeout .take-stamp { position: relative; left: auto; bottom: auto;
  padding: 2rem var(--gutter) 0; }
html:not(.js) .take-line, html.reduced-motion .take-line, html.loader-timeout .take-line { transform: none !important; }
html:not(.js) .take-scrim, html.reduced-motion .take-scrim, html.loader-timeout .take-scrim { display: none; }
html:not(.js) .take-caption, html.reduced-motion .take-caption, html.loader-timeout .take-caption { opacity: 1 !important; }

html:not(.js) .gal-view, html.reduced-motion .gal-view, html.loader-timeout .gal-view { display: block; }
html:not(.js) .gal-track, html.reduced-motion .gal-track, html.loader-timeout .gal-track { flex-wrap: wrap; padding: 4rem var(--gutter); transform: none !important; }
html:not(.js) .gal-item, html.reduced-motion .gal-item, html.loader-timeout .gal-item { width: 44%; }
html:not(.js) .gal-intro, html.reduced-motion .gal-intro, html.loader-timeout .gal-intro { width: 100%; }

html:not(.js) .nav, html.reduced-motion .nav { color: var(--paper); }
html:not(.js) .nav-logo, html.reduced-motion .nav-logo { filter: invert(1); }
html:not(.js) .nav-brand, html:not(.js) .nav-right,
html.loader-timeout .nav-brand, html.loader-timeout .nav-right,
html.reduced-motion .nav-brand, html.reduced-motion .nav-right { opacity: 1 !important; transform: none !important; }

/* ==================================================================
   20. MOBILE — re-anchor the artboard at 375, simplify layout
   ================================================================== */
@media (max-width: 700px) {
  /* 12px base at 375, HARD-CAPPED at 13px: the old uncapped formula grew
     linearly with viewport width, so a 650px window rendered "mobile" text
     at 172% size. The cap means every mobile width reads small. */
  html { font-size: clamp(10px, calc(12 / 375 * 100vw), 13px); }

  :root { --gutter: 1.3rem; --nav-h: 3.4rem; }

  .wrap { padding: 0 var(--gutter); }
  .sec-title { font-size: 2.2rem; }
  .sec-dek { font-size: 0.82rem; margin-bottom: 1.8rem; }
  .label { font-size: 0.58rem; }

  .nav-wordmark { font-size: 0.8rem; }
  .nav-logo { height: 1.55rem; }
  .nav-link { display: none; }
  .nav-right { gap: 1rem; }

  .menu-word { font-size: 1.8rem; }
  .menu-foot { flex-wrap: wrap; gap: 1.2rem; }

  .loader-clock { font-size: 5.2rem; }
  .loader-bar { width: 10rem; }

  /* hero */
  .roll-stage { height: 300vh; }
  .roll-word { font-size: 2.05rem; }
  .roll-row { gap: 0.7rem; }
  .roll-idx { width: 1.1rem; font-size: 0.52rem; }
  .roll-eyebrow { margin-bottom: 1.3rem; max-width: 17rem; }
  .roll-note { font-size: 0.72rem; }

  /* takeover */
  .take-stage { height: 260vh; }
  .take-frame { width: 17rem; }
  .take-line { font-size: 2.2rem; }
  .take-stamp { bottom: 3rem; }

  /* pillars */
  .pil { padding: 4.5rem 0 3.5rem; }
  .pil-row { grid-template-columns: 2rem 1fr auto; gap: 0.9rem; padding: 1.5rem 0; }
  .pil-name { font-size: 1.6rem; }
  .pil-dek { display: none; }
  .pil-arrow { font-size: 1.1rem; }

  .sat { padding: 4.5rem 0 4rem; }
  .sat-row { grid-template-columns: 1fr; gap: 0.7rem; padding: 1.5rem 0; }
  .sat-time { display: flex; gap: 0.5rem; align-items: baseline; font-size: 1rem; }
  .sat-time i { font-size: 0.78rem; }
  .sat-name { font-size: 1.4rem; }
  .sat-age { font-size: 0.62em; }
  .sat-dek { font-size: 0.8rem; }
  .sat-tags { justify-self: start; flex-direction: row; align-items: center; }
  .sat-start { grid-template-columns: 1fr; gap: 1.4rem; margin-top: 2.4rem; }
  .sat-start-lead { font-size: 0.95rem; }
  .sat-note { font-size: 0.78rem; }
  .sat-steps li { font-size: 0.8rem; }

  .lg { padding: 4.5rem 0 4rem; }
  .lg-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .lg-type-big { font-size: 4.4rem; }
  .lg-name { font-size: 0.95rem; }
  .lg-dek { font-size: 0.78rem; }
  .lg-wide { margin-top: 2.4rem; }
  .lg-wide-title { font-size: 1rem; }
  .lg-wide-arrow { font-size: 1rem; }

  .week { padding: 4.5rem 0 4rem; }
  .week-row { grid-template-columns: 4rem 1fr; gap: 1rem; padding: 1.6rem 0; }
  .week-logo { width: 3.4rem; }
  .week-mark { font-size: 1.3rem; }
  .week-name { font-size: 1.2rem; }
  .week-dek { font-size: 0.8rem; }

  .sched { padding: 1.5rem 0 4.5rem; }
  .sched-frame { padding: 0.6rem; }
  .sched-frame iframe { height: 40rem; }

  /* gallery scrolls natively on touch */
  .gal-stage { height: auto !important; }
  .gal-view { position: relative; height: auto; display: block; }
  .gal-track { overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding: 4rem var(--gutter); gap: 1.3rem; transform: none !important; }
  .gal-intro { width: 15rem; }
  .gal-item { width: 18rem; }
  .gal-item-tall { width: 13.5rem; }
  .gal-item-sq { width: 14.5rem; }

  .hon { padding: 4rem 0; }
  .hon-row { grid-template-columns: 2.2rem 1fr; gap: 0.9rem; padding: 1.6rem 0; }
  .hon-dek { grid-column: 2; font-size: 0.8rem; }
  .hon-name { font-size: 1.1rem; }

  .faq { padding: 4rem 0 4.5rem; }
  .faq-q { font-size: 0.82rem; }
  .faq-a p { font-size: 0.8rem; }

  .fab { right: 1rem; bottom: 1rem; }
  .fab-btn { width: 3rem; height: 3rem; }
  .fab-panel { min-width: 12rem; padding: 1rem 1.1rem; }
  .fab-panel a { font-size: 0.78rem; }

  .close { padding-top: 5.5rem; }
  .close-title { font-size: 2.8rem; }
  .close-inner { padding-bottom: 4.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem 1rem; }
  .footer-col a { font-size: 0.78rem; }
  .footer-meta { grid-column: 1 / -1; }
  .footer-logo { height: 2.3rem; }
}

/* ==================================================================
   21. TABLET — 701px to 1099px keeps the desktop layout but pulls the
   whole artboard down ~9%, so it reads tighter than plain scaling
   ================================================================== */
@media (min-width: 701px) and (max-width: 1099px) {
  html { font-size: calc(14.5 / 1440 * 100vw); }
}

/* ==================================================================
   22. NEWS + ARTICLES (generated pages: /news/ and /news/<slug>/)
   These are plain documents, no scroll engine, so they get their own
   static chrome. Same tokens, same type discipline as everything else.
   ================================================================== */
body.doc { background: var(--paper); color: var(--ink); }

.doc-nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); padding: 0 var(--gutter);
  background: var(--paper); border-bottom: 1px solid var(--line-light);
}
.doc-nav-right { display: flex; align-items: center; gap: 1.6rem; }
.doc-nav .nav-join { display: inline-block; background: var(--ink); color: var(--paper);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.7rem 1.4rem; border-radius: 10rem; }

.doc-main { min-height: 60vh; }

/* --- news index --- */
.news-page { padding: 5rem 0 6rem; }
.news-list { border-top: 1px solid var(--line-light); }
.news-row {
  display: grid; grid-template-columns: 6rem 1fr auto;
  gap: 2rem; align-items: baseline;
  padding: 2rem 0; border-bottom: 1px solid var(--line-light);
  transition: padding 0.35s var(--ease-out);
}
.news-row:hover { padding-left: 1rem; }
.news-date { color: var(--grey); }
.news-main { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.news-title { font-family: var(--font-display); font-weight: 400; font-size: 2rem;
  line-height: 1; text-transform: uppercase; }
.news-dek { color: var(--grey); font-size: 0.95rem; max-width: 38rem; }
.news-arrow { font-size: 1.4rem; line-height: 1; transition: transform 0.35s var(--ease-out); }
.news-row:hover .news-arrow { transform: translateX(0.5rem); }

/* --- single article --- */
.art { max-width: 46rem; margin: 0 auto; padding: 5rem var(--gutter) 6rem; }
.art-head { margin-bottom: 3rem; }
.art-meta { color: var(--grey); margin-bottom: 1.6rem; }
.art-meta a { color: var(--grey); }
.art-meta a:hover { color: var(--ink); }
.art-title { font-family: var(--font-display); font-weight: 400; font-size: 3.6rem;
  line-height: 0.92; text-transform: uppercase; letter-spacing: 0.01em; }
.art-standfirst { margin-top: 1.6rem; font-size: 1.15rem; line-height: 1.5; color: var(--grey); }

.art-figure { margin: 0 0 3rem; }
.art-figure img { width: 100%; height: auto; display: block; }
.art-figure figcaption { margin-top: 0.8rem; color: var(--grey); }

/* body copy: ink, not grey. This is the one place people read at length. */
.art-body { font-size: 1.05rem; line-height: 1.7; }
.art-body > * + * { margin-top: 1.4rem; }
.art-body h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem;
  line-height: 1; text-transform: uppercase; margin-top: 3rem; }
.art-body h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem;
  line-height: 1.05; text-transform: uppercase; margin-top: 2.4rem; }
.art-body a { text-decoration: underline; text-underline-offset: 0.2em; }
.art-body a:hover { opacity: 0.6; }
.art-body strong { font-weight: 600; }
.art-body ul, .art-body ol { padding-left: 1.2rem; }
.art-body li + li { margin-top: 0.5rem; }
.art-body ul li { list-style: disc; }
.art-body ol li { list-style: decimal; }
.art-body blockquote { border-left: 2px solid var(--ink); padding-left: 1.4rem;
  font-size: 1.2rem; line-height: 1.45; }
.art-body img { width: 100%; height: auto; }
.art-body hr { border: 0; border-top: 1px solid var(--line-light); margin: 2.4rem 0; }

.art-foot { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line-light); }
.art-foot .pill { display: inline-block; }

.doc-footer { background: var(--ink); color: var(--paper);
  padding: 3.4rem var(--gutter) 2.6rem; }

@media (max-width: 700px) {
  .doc-nav .nav-link { display: none; }
  .news-page { padding: 3rem 0 4rem; }
  .news-row { grid-template-columns: 4.2rem 1fr auto; gap: 1rem; padding: 1.5rem 0; }
  .news-title { font-size: 1.35rem; }
  .news-dek { font-size: 0.8rem; }
  .news-arrow { font-size: 1.1rem; }
  .art { padding: 3rem var(--gutter) 4rem; }
  .art-title { font-size: 2.1rem; }
  .art-standfirst { font-size: 0.95rem; }
  .art-body { font-size: 0.95rem; line-height: 1.65; }
  .art-body h2 { font-size: 1.35rem; }
  .art-body h3 { font-size: 1.1rem; }
}

/* ------------------------------------------------------------------
   22b. NEWS HERO + LEAD STORY (added after Jim's "needs a hero" note)
   ------------------------------------------------------------------ */
.news-hero { background: var(--ink); color: var(--paper);
  padding: 7rem 0 5rem; }
.news-hero-eyebrow { color: var(--grey); margin-bottom: 2rem; }
.news-hero-title { font-family: var(--font-display); font-weight: 400;
  font-size: 9rem; line-height: 0.86; text-transform: uppercase;
  letter-spacing: 0.01em; }
.news-hero-dek { margin-top: 1.8rem; color: var(--grey); max-width: 30rem; }

.news-page { padding: 4.5rem 0 6rem; }

/* the featured latest story */
.news-lead { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem;
  align-items: center; margin-bottom: 5rem; }
.news-lead-media { display: block; overflow: hidden; background: var(--panel); }
.news-lead-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  transition: transform 0.7s var(--ease-out); }
.news-lead:hover .news-lead-media img { transform: scale(1.04); }
.news-lead-media-type { aspect-ratio: 3 / 2; display: flex; align-items: center;
  justify-content: center; border: 1px solid var(--line-light); background: var(--paper); }
.news-lead-mark { font-family: var(--font-display); font-size: 7rem;
  line-height: 1; color: var(--ink); }
.news-lead-main { display: flex; flex-direction: column; align-items: flex-start;
  gap: 1.1rem; min-width: 0; }
.news-lead-meta { color: var(--grey); }
.news-lead-title { font-family: var(--font-display); font-weight: 400;
  font-size: 2.9rem; line-height: 0.95; text-transform: uppercase; }
.news-lead-dek { color: var(--grey); font-size: 1rem; max-width: 30rem; }
.news-lead-cta { color: var(--ink); border-bottom: 1px solid var(--ink);
  padding-bottom: 0.25rem; transition: opacity 0.25s; }
.news-lead:hover .news-lead-cta { opacity: 0.55; }

.news-more-label { margin-bottom: 1.6rem; }

/* article hero image wrapper so the settle never spills */
.art-figure-frame { display: block; overflow: hidden; }

@media (max-width: 700px) {
  .news-hero { padding: 4.5rem 0 3.2rem; }
  .news-hero-title { font-size: 4.6rem; }
  .news-hero-dek { font-size: 0.85rem; }
  .news-page { padding: 2.8rem 0 4rem; }
  .news-lead { grid-template-columns: 1fr; gap: 1.4rem; margin-bottom: 3.2rem; }
  .news-lead-title { font-size: 1.8rem; }
  .news-lead-dek { font-size: 0.85rem; }
  .news-lead-mark { font-size: 4rem; }
}
