/* LIFT website. Design rules are in DESIGN.md. Read that before changing anything here. */

:root {
  --bg: #0A0A0A;
  --surface: #121212;
  --line: #262626;
  --line-2: #3A3A3A;
  --text: #EDEAE3;
  --muted: #B3AFA7;
  --dim: #8A867F;
  --gold: #C79A33;
  --gold-2: #DDB45A;
  --up: #089981;
  --down: #F23645;

  --display: "Big Shoulders", "Arial Narrow", sans-serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, sans-serif;
  --mono: "IBM Plex Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --nav-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 18.5px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p, figure, dl, dd { margin: 0; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); }
.gold { color: var(--gold); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 15.5px; }
.up { color: var(--up); }
.down { color: var(--down); }

/* Headlines: Big Shoulders, big, uppercase */
.h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.9rem, 7vw, 6rem);
  line-height: .88;
  text-transform: uppercase;
  letter-spacing: -.005em;
}
.h2--sm { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
.lead { font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.5; color: var(--text); max-width: 680px; }

/* Blanks Sid still needs to fill in */
.tbd {
  display: inline-block;
  padding: 0 .45em;
  border: 1px dashed var(--gold);
  color: var(--gold-2);
  font: 500 .82em/1.5 var(--mono);
  white-space: nowrap;
  vertical-align: baseline;
}
.tbd-block {
  display: grid;
  place-items: center;
  border: 1px dashed rgba(199, 154, 51, .55);
  color: var(--gold);
  font: 500 12px var(--mono);
}

/* Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid var(--gold);
  font: 600 15px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn--gold { background: var(--gold); color: var(--bg); }
.btn--gold:hover { background: var(--text); border-color: var(--text); }
.btn--line { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--line:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.textlink {
  color: var(--gold-2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  font-weight: 500;
}
.textlink:hover { color: var(--text); }

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 32px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background .2s, border-color .2s;
}
.nav.is-scrolled { background: var(--bg); border-color: var(--line); }
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-size: 15.5px; font-weight: 500; color: var(--muted); text-decoration: none; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a.is-active { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 8px; text-decoration-thickness: 2px; }
.nav__burger { display: none; margin-left: auto; padding: 9px 14px; border: 1px solid var(--line-2); background: var(--bg); font: 500 13px var(--mono); cursor: pointer; }

.menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 45;
  display: flex; flex-direction: column; gap: 4px;
  padding: 24px var(--gutter);
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.menu a {
  font: 900 clamp(2.4rem, 11vw, 3.4rem)/1.05 var(--display);
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.menu .menu__cta { color: var(--gold); border: 0; margin-top: 12px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: -10% 0 -10% 0; z-index: -3; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.6); }
.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.1) 30%, rgba(10,10,10,.6) 62%, var(--bg) 100%);
}
.hero__chart { position: absolute; left: 0; right: 0; top: 11%; height: 50%; width: 100%; z-index: -1; }
.hero__inner { align-self: flex-end; padding-top: 30vh; padding-bottom: 56px; }
.hero__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3.3rem, 10.4vw, 10.5rem);
  line-height: .86;
  text-transform: uppercase;
  letter-spacing: -.005em;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; }
.hero__title b { font-weight: inherit; color: var(--gold); }
.hero__foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid rgba(237, 234, 227, .25);
}
.hero__lead { max-width: 560px; font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.45; }
.hero__ctas { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero__caption {
  position: absolute; bottom: 14px; right: var(--gutter);
  font-size: 12.5px; line-height: 1.5; color: var(--dim);
}

/* Live market strip (TradingView widget) */
.markets { border-block: 1px solid var(--line); min-height: 46px; background: var(--bg); }
.markets .tradingview-widget-copyright { padding: 0 var(--gutter) 6px; text-align: right; font: 400 10px var(--mono); }
.markets .tradingview-widget-copyright a { color: var(--dim); text-decoration: none; }

/* =========================================================
   Sections
   ========================================================= */
.section { position: relative; padding: clamp(80px, 10vw, 140px) 0; }

/* About */
.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.defs { margin-top: 44px; border-bottom: 1px solid var(--line); }
.defs > div { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); }
.defs dt { font: 800 30px/1 var(--display); text-transform: uppercase; color: var(--gold); }
.defs dd { color: var(--muted); }
.about__note { margin-top: 24px; color: var(--muted); font-size: 16.5px; }

/* What we teach: a watchlist */
.learn { background: var(--surface); border-block: 1px solid var(--line); }
.learn__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.watch { border-bottom: 1px solid var(--line); }
.watch__row {
  display: grid;
  grid-template-columns: minmax(200px, 1.1fr) 2fr 130px minmax(160px, 220px);
  gap: 28px;
  align-items: center;
  padding: 22px 12px;
  border-top: 1px solid var(--line);
  transition: background .15s;
}
.watch__row:not(.watch__row--head):hover { background: var(--bg); }
.watch__row:not(.watch__row--head):hover .watch__name { color: var(--gold); }
.watch__row--head { padding-block: 12px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.watch__chart-h { text-align: right; }
.watch__name { font-weight: 600; font-size: 21px; transition: color .15s; }
.watch__desc { color: var(--muted); font-size: 16.5px; }
.watch__tf { font-size: 14px; color: var(--text); }
.spark { width: 100%; height: 54px; overflow: visible; }
.spark .s-line { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spark .s-line--2 { stroke: #6F6B64; stroke-width: 1.2; }
.spark .s-line--3 { stroke: #9A958C; stroke-width: 1.2; }
.spark .s-stop { stroke: var(--down); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }

/* =========================================================
   Get set up on TradingView
   ========================================================= */
.setup__head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.setup__head .lead { margin-top: 22px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 4vw, 48px); }
.step {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.steps > .step:first-child { padding-top: 0; border-top: 0; }
.step:nth-child(even) .step__copy { order: 2; }
.step__num { display: block; font-size: 15px; color: var(--gold); margin-bottom: 14px; letter-spacing: .04em; }
.step__title { font: 900 clamp(2rem, 4vw, 3rem)/.95 var(--display); text-transform: uppercase; margin-bottom: 16px; }
.step__copy p { color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.18rem); max-width: 42ch; }
.step__copy .btn { margin-top: 24px; }
/* Screenshot in a window frame */
.step__shot { border: 1px solid var(--line-2); background: var(--surface); }
.step__shot img { width: 100%; height: auto; display: block; }
.winbar {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; font-size: 13px; color: var(--dim);
  background: var(--bg); border-bottom: 1px solid var(--line-2);
}
.winbar__dots { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); box-shadow: 16px 0 var(--line-2), 32px 0 var(--line-2); margin-right: 26px; }
.setup__foot { margin-top: clamp(40px, 5vw, 64px); font: 900 clamp(1.5rem, 3.4vw, 2.6rem)/1 var(--display); text-transform: uppercase; color: var(--gold); }
/* Standalone TradingView page */
.setup--page { padding-top: clamp(116px, 15vh, 180px); }
.tvpage__back { margin-bottom: 18px; font-size: 13px; }
.tvpage__cta { margin-top: clamp(40px, 5vw, 64px); display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.tvpage__cta .setup__foot { margin-top: 0; }

/* Resources: collapsible groups */
.resources__head { max-width: 760px; margin-bottom: 28px; }
.resources__head .muted { margin-top: 14px; }
.resnote { margin-bottom: 28px; padding: 16px 20px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); }
.resbook { border-top: 1px solid var(--line); }
.resgroup { border-bottom: 1px solid var(--line); }
.resgroup > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font: 900 clamp(1.5rem, 3vw, 2.3rem)/1 var(--display); text-transform: uppercase;
  transition: color .15s;
}
.resgroup > summary::-webkit-details-marker { display: none; }
.resgroup > summary:hover { color: var(--gold); }
.resgroup__sign { position: relative; flex: none; width: 20px; height: 20px; }
.resgroup__sign::before, .resgroup__sign::after { content: ""; position: absolute; background: var(--gold); transition: transform .2s; }
.resgroup__sign::before { left: 0; right: 0; top: 9px; height: 2px; }
.resgroup__sign::after { top: 0; bottom: 0; left: 9px; width: 2px; }
.resgroup[open] .resgroup__sign::after { transform: scaleY(0); }
.reslist { list-style: none; margin: 0; padding: 0 4px 24px; display: grid; gap: 2px; }
.reslist li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.reslist__type { font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); }
.reslist li a { font-size: 18px; font-weight: 600; }
.reslist__why { display: block; margin-top: 4px; color: var(--muted); font-size: 16px; }

/* Parallax band */
.band { position: relative; min-height: 86vh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.band__bg { position: absolute; inset: -18% 0; z-index: -2; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.7); }
.band__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(10,10,10,.15) 25%, rgba(10,10,10,.25) 55%, rgba(10,10,10,.9) 100%); }
.band__inner { padding-bottom: clamp(48px, 7vw, 96px); }
.band__text { font: 900 clamp(3rem, 8.4vw, 8rem)/.88 var(--display); text-transform: uppercase; max-width: 13ch; }
.band__caption { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

/* =========================================================
   Story (pinned chart)
   ========================================================= */
.story { position: relative; background: var(--bg); border-top: 1px solid var(--line); }
.story__pin { position: relative; height: 100vh; height: 100svh; display: flex; flex-direction: column; overflow: hidden; padding-top: calc(var(--nav-h) + 32px); }
.story__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.story__cards { position: relative; width: min(500px, 100%); min-height: 130px; }
.mile {
  position: absolute; inset: 0 0 auto 0;
  display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center;
  padding: 12px; background: var(--surface); border: 1px solid var(--line);
  opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.mile.is-on { opacity: 1; visibility: visible; }
.mile img { width: 150px; height: 104px; object-fit: cover; }
.mile figcaption { font-size: 16.5px; line-height: 1.45; }
.mile figcaption .mono { display: block; font-size: 13px; margin-bottom: 4px; }
.mile--text { grid-template-columns: 1fr; padding: 20px; }
.story__chart { position: relative; flex: 1; margin: 24px var(--gutter) 40px; }
.story__chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.story__grid line { stroke: #1C1C1C; stroke-width: 1; vector-effect: non-scaling-stroke; }
.story__line { stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.story__labels { position: absolute; inset: 0; pointer-events: none; }
.story__dot { position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; background: var(--bg); border: 2px solid var(--line-2); transition: background .2s, border-color .2s; }
.story__dot.is-on { background: var(--gold); border-color: var(--gold); }
.story__tag { position: absolute; transform: translate(-50%, 14px); font: 500 12px var(--mono); color: var(--dim); white-space: nowrap; transition: color .2s; }
.story__tag.is-on { color: var(--text); }
.story__tag--end { transform: translate(-88%, 14px); }
.story__head { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: var(--text); opacity: 0; }
.story__axis { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-2); }

/* =========================================================
   Competition
   ========================================================= */
.compete__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.compete__copy .lead { margin-top: 32px; }
.compete__copy .muted { margin-top: 18px; max-width: 600px; }
.spec { border: 1px solid var(--line); background: var(--surface); }
.spec__title { padding: 14px 18px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--line); }
.spec dl > div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.spec dl > div:last-child { border-bottom: 0; }
.spec dt { font: 400 14px/1.5 var(--mono); color: var(--dim); }
.spec dd { font-size: 16.5px; }

.standings { margin-top: clamp(72px, 9vw, 120px); }
.standings__head { display: flex; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 20px; }
.standings__head [data-updated] { margin-left: auto; }
.tabs { display: flex; flex-wrap: wrap; gap: 20px; }
.tabs button { border: 0; background: none; padding: 4px 0; font: 500 14px var(--sans); color: var(--dim); cursor: pointer; border-bottom: 2px solid transparent; }
.tabs button[aria-selected="true"] { color: var(--text); border-color: var(--gold); }

.board { border-top: 2px solid var(--text); border-bottom: 1px solid var(--line); }
.board__row { display: grid; grid-template-columns: 70px 1.6fr 1fr 120px; gap: 12px; align-items: center; padding: 15px 4px; }
.board__row--head { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); padding-block: 10px; border-bottom: 1px solid var(--line); }
.board__row .r { text-align: right; }
.board__body .board__row + .board__row { border-top: 1px solid var(--line); }
.rank { font: 500 15px var(--mono); }
.rank--1 { color: var(--gold); }
.trader { font-weight: 600; }
.chap { color: var(--muted); font-size: 16px; }
.ret { font: 500 16px var(--mono); text-align: right; }
.board__empty { padding: 20px 4px; border-top: 1px solid var(--line); color: var(--muted); }
.skel { display: block; height: 12px; background: #1A1A1A; }
.skel--r { margin-left: auto; width: 56px; }

.sponsors { margin-top: clamp(64px, 8vw, 100px); display: flex; align-items: center; gap: 20px 32px; flex-wrap: wrap; }
.sponsors__title { font: 800 28px/1 var(--display); text-transform: uppercase; }
.sponsors__row { display: flex; gap: 12px; flex-wrap: wrap; }
.sponsor { width: 180px; height: 72px; }

/* =========================================================
   Gallery
   ========================================================= */
.gallery { position: relative; padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 6vw, 80px); overflow: hidden; border-top: 1px solid var(--line); }
.gallery__head { margin-bottom: 48px; }
.gallery__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0 var(--gutter); max-width: 1500px; margin: 0 auto; }
.gallery__col { display: flex; flex-direction: column; gap: 28px; }
.gallery__col:nth-child(2) { margin-top: 110px; }
.gallery::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.shot button { display: block; width: 100%; padding: 0; border: 0; background: var(--surface); cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; }
.shot--tall button { aspect-ratio: 3 / 4; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .5s var(--ease); filter: saturate(.92); }
.shot button:hover img, .shot button:focus-visible img { transform: scale(1.05); filter: saturate(1.05); }
.shot figcaption { margin-top: 8px; font-size: 13px; color: var(--dim); }

.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; overflow: visible; color: var(--text); }
.lightbox::backdrop { background: rgba(10, 10, 10, .94); }
.lightbox img { max-width: 100%; max-height: 82vh; margin: 0 auto; }
.lightbox__cap { margin-top: 10px; font-size: 12px; color: var(--muted); }
.lightbox__close { position: absolute; top: -44px; right: 0; padding: 7px 12px; border: 1px solid var(--line-2); background: var(--bg); font: 500 12px var(--mono); cursor: pointer; }

/* =========================================================
   Chapters
   ========================================================= */
.chapters__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.chapters .lead { margin-top: 32px; }
.ctable { width: 100%; margin-top: 44px; border-collapse: collapse; }
.ctable th { text-align: left; font-size: 11px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); padding: 0 12px 10px 0; border-bottom: 2px solid var(--text); }
.ctable td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ctable__logo { display: inline-block; width: 28px; height: auto; margin-right: 8px; vertical-align: middle; }
.ctable__open td { color: var(--dim); }

/* =========================================================
   Forms
   ========================================================= */
.panel { background: var(--surface); border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); }
.cta-card { display: grid; gap: 18px; align-content: start; }
.cta-card .btn { justify-self: start; }
.cta-card .btn--block { justify-self: stretch; }
.cta-card__note { font-size: 13px; color: var(--dim); }
.form { display: grid; gap: 16px; align-content: start; }
.form__title { font: 900 34px/1 var(--display); text-transform: uppercase; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.form input:not([type="checkbox"]), .form select, .form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.4 var(--sans);
  appearance: none; -webkit-appearance: none;
}
.form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23B3AFA7' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 11px; padding-right: 38px;
}
.form textarea { resize: vertical; min-height: 90px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form .is-invalid { border-color: var(--down) !important; }
.form__status { font-size: 14px; min-height: 1.4em; }
.form__status.is-ok { color: var(--up); }
.form__status.is-err { color: var(--down); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.checks { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.checks legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.checks label { display: flex; align-items: center; gap: 10px; font-size: 16.5px; color: var(--text); font-weight: 400; cursor: pointer; }
.checks input { width: 16px; height: 16px; margin: 0; accent-color: var(--gold); }

.form-done { display: grid; gap: 10px; }
.form-done h3 { font: 900 34px/1 var(--display); text-transform: uppercase; color: var(--gold); }
.form-done p { color: var(--muted); }

/* =========================================================
   Team
   ========================================================= */
.team__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.person img, .person__ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.person figcaption { display: grid; gap: 2px; margin-top: 12px; }
.person strong { font-weight: 600; font-size: 18.5px; }
.person .mono { font-size: 13px; color: var(--gold); }

/* =========================================================
   Join
   ========================================================= */
.join { border-top: 1px solid var(--line); }
.join__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.join__copy .lead { margin-top: 28px; }
.todo { list-style: none; padding: 0; margin: 28px 0 0; border-bottom: 1px solid var(--line); }
.todo li { position: relative; padding: 16px 0 16px 34px; border-top: 1px solid var(--line); color: var(--muted); }
.todo li strong { color: var(--text); font-weight: 600; }
.todo li::before { content: ""; position: absolute; left: 0; top: 21px; width: 16px; height: 16px; border: 1.5px solid var(--gold); }
.join__photo { margin-top: 36px; }
.join__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.join__photo figcaption { margin-top: 8px; font-size: 13px; color: var(--dim); }

/* =========================================================
   FAQ, contact, footer
   ========================================================= */
.qa { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 5vw, 80px); margin-top: 44px; }
.qa > div { padding: 20px 0; border-top: 1px solid var(--line); }
.qa dt { font-weight: 600; font-size: 20px; }
.qa dd { margin-top: 8px; color: var(--muted); }

.contact { border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.contact__grid .lead { margin: 28px 0 20px; }
.contact__grid p + p { margin-top: 12px; }

.footer { border-top: 1px solid var(--line); padding: 36px 0 28px; }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__row img { height: 28px; width: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__links a { text-decoration: none; color: var(--muted); font-size: 15.5px; }
.footer__links a:hover { color: var(--text); }
.footer__legal { margin-top: 24px; font-size: 14.5px; color: var(--dim); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__burger { display: block; margin-left: 0; }
  .about__grid, .compete__grid, .chapters__grid, .join__grid, .contact__grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 20px; }
  .step:nth-child(even) .step__copy { order: 0; }
  .step__copy p { max-width: none; }
  .watch__row { grid-template-columns: 1fr 120px; gap: 6px 20px; padding: 18px 4px; }
  .watch__row--head { display: none; }
  .watch__name { grid-column: 1; }
  .watch__tf { grid-column: 2; grid-row: 1; text-align: right; }
  .watch__desc { grid-column: 1 / -1; }
  .spark { grid-column: 1 / -1; height: 44px; margin-top: 6px; }
  .team__row { grid-template-columns: repeat(2, 1fr); }
  .hero__caption { display: none; }
}

@media (max-width: 700px) {
  body { font-size: 17px; }
  .hero__chart { top: 13%; height: 36%; }
  .hero__foot { gap: 20px; }
  .defs > div { grid-template-columns: 1fr; gap: 4px; }
  .qa { grid-template-columns: 1fr; }
  .form__row, .checks { grid-template-columns: 1fr; }
  .gallery__cols { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery__col { gap: 18px; }
  .gallery__col:nth-child(3) { display: none; }
  .gallery__col:nth-child(2) { margin-top: 60px; }
  .board__row { grid-template-columns: 48px 1fr 90px; }
  .board__row > :nth-child(3) { display: none; }
  .standings__head [data-updated] { margin-left: 0; width: 100%; }
  .story__top { flex-direction: column; gap: 16px; }
  .story__cards { min-height: 112px; }
  .mile { grid-template-columns: 96px 1fr; gap: 12px; padding: 8px; }
  .mile img { width: 96px; height: 80px; }
  .mile figcaption { font-size: 14px; }
  .mile--text { grid-template-columns: 1fr; padding: 16px; }
  .story__chart { margin-inline: 16px; }
  .story__tag { font-size: 10px; }
  .spec dl > div { grid-template-columns: 1fr; gap: 2px; }
  .sponsor { width: calc(50% - 6px); }
  .ctable th:nth-child(3), .ctable td:nth-child(3) { display: none; }
  .reslist li { grid-template-columns: 1fr; gap: 2px; }
  .reslist__type { font-size: 11.5px; }
}

/* Motion off: story shows everything at once */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
html.reduced .story__pin { height: auto; padding-bottom: 40px; }
html.reduced .story__cards { position: static; display: grid; gap: 10px; width: 100%; }
html.reduced .mile { position: relative; opacity: 1; visibility: visible; }
html.reduced .story__chart { min-height: 320px; }
