/* decks.pro house site. Livery on a normal scrolling page: nothing pins,
   nothing is driven by scroll position. Motion answers the visitor's hand. */

@font-face {
  font-family: "Sofia Sans";
  src: url("assets/fonts/SofiaSans.ttf") format("truetype");
  font-weight: 1 1000; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sofia Sans Extra Condensed";
  src: url("assets/fonts/SofiaSansExtraCondensed-Italic.ttf") format("truetype");
  font-weight: 1 1000; font-style: italic; font-display: swap;
}

:root {
  --white: #ffffff;
  --navy: #0f2340;
  --navy-2: #1b3357;
  --sky: #a9d8ea;
  --orange: #f2851a;
  --flag-green: #35c27a;
  --flag-yellow: #f7c61b;
  --flag-red: #ff6b5e;
  --ink-soft: #3f4f66;

  /* day paint; [data-theme=dark] below swaps in night paint (livery-ui LiveryColors.night) */
  --ground: var(--white);
  --plate: var(--white);
  --ink: var(--navy);
  --thin: var(--navy);
  --paper: #fbf8f1;
  --glass: color-mix(in oklab, var(--navy) 72%, transparent);

  --font-display: "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif;
  --font-text: "Sofia Sans", system-ui, sans-serif;
  --loud: italic 900 1em/0.86 var(--font-display);

  /* names kept from the first build so tools/ keeps working */
  --sc-gutter: clamp(1.25rem, 5vw, 5.5rem);
  --sc-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --sc-e2: 0 2px 4px hsl(215 62% 15% / .14), 0 8px 18px -4px hsl(215 62% 15% / .2);
  --sc-e3: 0 4px 8px hsl(215 62% 15% / .12), 0 18px 40px -8px hsl(215 62% 15% / .24), 0 48px 90px -24px hsl(215 62% 15% / .2);
  --spring: cubic-bezier(.34, 1.4, .64, 1);

  --bar-h: 64px;
  --maxw: 82rem;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --ground: var(--navy);
  --plate: var(--navy-2);
  --ink: var(--white);
  --ink-soft: var(--sky);
  --thin: var(--sky);
  --paper: #172d4f;
  --glass: color-mix(in oklab, var(--navy-2) 62%, transparent);
  --sc-e2: 0 2px 4px rgb(0 0 0 / .2), 0 8px 18px -4px rgb(0 0 0 / .35);
  --sc-e3: 0 4px 8px rgb(0 0 0 / .2), 0 18px 40px -8px rgb(0 0 0 / .4), 0 48px 90px -24px rgb(0 0 0 / .35);
  color-scheme: dark;
}
:root[data-theme="dark"] :focus-visible { outline-color: var(--orange); }
:root[data-theme="dark"] .call { border-block: 1px solid color-mix(in oklab, var(--sky) 18%, transparent); }
:root[data-theme="dark"] .sunday { background: var(--navy-2); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--bar-h); }
body {
  margin: 0;
  font-family: var(--font-text); font-size: 1.0625rem; line-height: 1.5;
  color: var(--ink); background: var(--ground);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
::selection { background: var(--navy); color: var(--white); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 99; background: var(--navy); color: var(--white); padding: .6rem 1rem; border-radius: 6px; }
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--sc-gutter); }
.sec { padding-block: clamp(5rem, 11vw, 9.5rem); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
/* mirrored so the stripes cross behind the sheet, never behind the copy */
.night .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.night .tool { order: 2; }

/* arrive once, when seen; scrolling itself stays the browser's */
.js [data-in] { opacity: 0; translate: 0 24px; transition: opacity 600ms var(--sc-ease-out), translate 700ms var(--sc-ease-out); }
.js [data-in].in { opacity: 1; translate: none; }
.js .split > [data-in]:nth-child(2) { transition-delay: 90ms; }

/* ---------------------------------------------------------------- voice -- */
.loud { font: var(--loud); text-transform: uppercase; letter-spacing: -0.005em; margin: 0; }
.head { font-size: clamp(3rem, 6vw, 5.75rem); text-wrap: balance; margin-bottom: 1.75rem; }
.no {
  flex: none; width: 2.1em; height: 2.1em; border-radius: 50%;
  border: 0.13em solid currentColor;
  display: inline-grid; place-items: center;
  font: var(--loud); padding-right: 0.12em; line-height: 1;
}

/* ------------------------------------------------------------------ bar -- */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--bar-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-inline: var(--sc-gutter);
  background: color-mix(in oklab, var(--plate) 94%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 10%, transparent);
}
.bar__home { display: flex; align-items: center; flex: none; margin-right: auto; }

/* day/night switch; theme.js adds it and runs the reveal */
.paint {
  flex: none; width: 40px; height: 40px; border-radius: 50%; padding: 0;
  display: grid; place-items: center; border: 2px solid var(--ink); background: none; color: var(--ink);
  transition: background-color 160ms var(--sc-ease-out), transform 160ms var(--spring);
}
.paint:active { transform: scale(.9); }
@media (hover: hover) and (pointer: fine) { .paint:hover { background: var(--orange); border-color: var(--orange); color: var(--navy); } }
.paint svg { grid-area: 1 / 1; width: 20px; height: 20px; transition: rotate 500ms var(--spring), scale 400ms var(--spring), opacity 200ms; }
.paint .moon, [data-theme="dark"] .paint .sun { opacity: 0; rotate: -90deg; scale: .4; }
[data-theme="dark"] .paint .moon { opacity: 1; rotate: 0deg; scale: 1; }
::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none; mix-blend-mode: normal; }
.pulse { position: fixed; z-index: 100; border-radius: 50%; pointer-events: none; border: 6px solid var(--orange); }
.pulse + .pulse { border-width: 3px; border-color: var(--sky); }
.bar__logo { height: 34px; width: auto; }
.bar__symbol { display: none; height: 36px; width: 36px; }
.order ol { display: flex; gap: clamp(.25rem, 1.2vw, 1.25rem); list-style: none; margin: 0; padding: 0; }
.order a { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--ink); padding: .35rem .25rem; }
.order .no { font-size: 16px; transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out); }
.order__when { font-size: .8125rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.order a[aria-current="step"] .no { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.order a[aria-current="step"] .order__when { color: var(--ink); }
.order a.is-called .no { background: var(--f); border-color: var(--f); color: var(--navy); }
@media (hover: hover) and (pointer: fine) { .order a:not([aria-current]):hover .no { background: var(--sky); } }
.progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: var(--orange); transform-origin: left; transform: scaleX(var(--page-p, 0));
}

/* --------------------------------------------------------------- button -- */
.btn {
  display: inline-block; background: var(--orange); color: var(--navy); text-decoration: none;
  padding: .7rem 1.5rem .62rem 1.35rem; transform: skewX(-8deg); border-radius: 3px;
  box-shadow: var(--sc-e2);
  transition: background-color 140ms var(--sc-ease-out), transform 160ms var(--sc-ease-out);
}
.btn > span { display: block; transform: skewX(8deg); font: var(--loud); font-size: 1.75rem; text-transform: uppercase; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: #ff9631; transform: skewX(-8deg) translateY(-2px); } }
.btn:active { transform: skewX(-8deg) translateY(1px) scale(.98); }
.tool .btn { margin-top: 1.5rem; }
.btn--line { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px currentColor; margin-top: 1.5rem; }
.btn--line > span { font-size: 1.4rem; }
@media (hover: hover) and (pointer: fine) { .btn--line:hover { background: var(--navy-2); } }

/* ---------------------------------------------------------------- tools -- */
.tool__id { display: flex; align-items: center; gap: .7rem; margin: 0; }
.tool__id .no { font-size: 1.5rem; }
.tool__name { font-size: clamp(2rem, 3.2vw, 2.75rem); }
.tool__line { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.45rem); font-weight: 600; line-height: 1.36; margin: .9rem 0 0; max-width: 30ch; text-wrap: balance; }
.tool__body { color: var(--ink-soft); margin: .75rem 0 0; max-width: 42ch; text-wrap: pretty; }
.addr { display: inline-block; margin-top: 1rem; font-weight: 600; font-size: .95rem; }

.shot { margin: 0; background: var(--plate); border: 10px solid var(--plate); border-radius: 20px; box-shadow: var(--sc-e3); overflow: hidden; }
.shot img { width: 100%; height: auto; border-radius: 10px; }
/* pointer tilt: site.js writes --rx/--ry */
.tilt { transform: perspective(900px) rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg)) rotate(-3deg); transition: transform 500ms var(--sc-ease-out); }

/* ----------------------------------------------------------------- hero -- */
.hero {
  min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center;
  padding: calc(var(--bar-h) + 2rem) var(--sc-gutter) 3rem;
}
.stripes {
  /* page-long: site.js aims it from the top right to off the left edge inside the Can I Draw? section */
  position: absolute; z-index: 1; left: var(--sx, 80vw); top: var(--sy, -30vh);
  width: clamp(110px, 12vw, 190px); height: var(--sl, 160vh); rotate: var(--sa, 14deg);
  transform-origin: 0 0; margin-left: calc(clamp(110px, 12vw, 190px) / -2);
  background: linear-gradient(90deg, var(--thin) 0 22%, transparent 22% 30%, var(--orange) 30% 78%, transparent 78% 86%, var(--thin) 86%);
}
.js .stripes { clip-path: inset(0 0 100% 0); animation: drop 1400ms var(--sc-ease-out) 120ms forwards; }
@keyframes drop { to { clip-path: inset(0); } }
/* layers: section grounds, then the stripes (z 1), then glass and content (z 2) */
main > section { position: relative; }
main > section > .wrap { position: relative; z-index: 2; }
.hero__copy { position: relative; z-index: 2; max-width: 40rem; }
.hero__title { font-size: clamp(4.5rem, 10.5vw, 10.5rem); line-height: .82; }
.hero__lede { font-size: clamp(1.15rem, 1rem + .55vw, 1.4rem); line-height: 1.4; max-width: 31ch; margin: 1.6rem 0 2rem; text-wrap: pretty; }
.js .hero__copy > * { opacity: 0; translate: 0 20px; animation: rise 800ms var(--sc-ease-out) forwards; }
.js .hero__lede { animation-delay: 120ms !important; }
.js .hero__copy .btn { animation-delay: 220ms !important; }
@keyframes rise { to { opacity: 1; translate: none; } }

.hero__hand { position: relative; z-index: 2; display: grid; justify-items: center; gap: 1.5rem; }
.fan {
  --w: clamp(130px, 16vw, 290px);
  position: relative; width: var(--w); aspect-ratio: 240 / 335;
  margin: calc(var(--w) * .2) 0 calc(var(--w) * .45);
  padding: 0; border: 0; background: none;
  perspective: 1000px;
  --open: 1;
}
.fan:hover, .fan:focus-visible { --open: 1.5; }
.fan img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: 5% / 3.6%; box-shadow: var(--sc-e2);
  transform-origin: 50% 170%;
  /* --i: slot from the left (-2..2), set by site.js; --rx/--ry from the pointer */
  transform: rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg)) rotate(calc(var(--i, 0) * 11deg * var(--open))) translateY(calc(var(--lift, 0) * -14px));
  transition: transform 520ms var(--spring), translate 240ms var(--sc-ease-out);
  pointer-events: none;
}
/* lift up and out to the right, clear of the stack, so the move to the back is hidden */
.fan img.cut { translate: 110% -30%; }
.js .fan img { animation: deal 700ms var(--spring) backwards; animation-delay: calc(300ms + var(--n, 0) * 90ms); }
@keyframes deal { from { opacity: 0; transform: translate(-40vw, 30vh) rotate(-40deg); } }
.fan__cap { position: relative; margin: 0; font-size: .95rem; color: var(--ink-soft); background: var(--plate); padding: .35rem .85rem; border-radius: 99px; box-shadow: var(--sc-e2); }
.fan__cap b { color: var(--ink); }
html:not(.js) .fan__hint { display: none; }

/* ------------------------------------------------------------- sideboard -- */
.wipe {
  position: relative; border-radius: 18px; overflow: hidden;
  box-shadow: var(--sc-e3), inset 0 0 0 1px color-mix(in oklab, var(--ink) 8%, transparent);
  background: var(--paper); min-height: 30rem;
  touch-action: pan-y;
}
.wipe__notes, .wipe__sheet { position: absolute; inset: 0; padding: 1.75rem; }
.wipe__notes { font-size: 1.1rem; line-height: 1.55; color: var(--ink-soft); }
.wipe__notes p { margin: 0 0 .55rem; max-width: 34ch; }
.notes__meta { font-weight: 600; font-size: .85rem; color: var(--ink); margin-bottom: 1rem !important; }
.notes__late { color: var(--ink); font-weight: 600; margin-top: 1rem !important; }
.wipe__notes s { text-decoration-thickness: 2px; }
.wipe__sheet {
  background: var(--plate);
  clip-path: inset(0 calc((100 - var(--x)) * 1%) 0 0);
  display: flex; flex-direction: column; gap: .8rem;
}
.sb__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: .75rem; background: var(--navy); color: var(--white); margin: -1.75rem -1.75rem .25rem; padding: 1rem 1.75rem; }
.sb__top .loud { font-size: 1.6rem; }
.seg { display: inline-flex; background: var(--navy-2); border-radius: 8px; padding: 3px; }
.seg button { border: 0; background: none; color: var(--white); padding: .35rem .7rem; border-radius: 6px; font-size: .85rem; font-weight: 600; transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out); }
.seg button[aria-pressed="true"] { background: var(--sky); color: var(--navy); }
.mu { border: 1px solid color-mix(in oklab, var(--ink) 16%, transparent); border-radius: 12px; padding: .8rem 1rem; }
.mu__t { font-size: 1.25rem; }
.mu dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: .5rem 0 0; }
.mu dt { font: var(--loud); text-transform: uppercase; font-size: 1rem; }
.mu dd { margin: .2rem 0 0; font-size: .95rem; line-height: 1.4; }
.mu dd.flash { animation: flash 600ms var(--sc-ease-out); }
@keyframes flash { from { background: var(--sky); } }
.wipe__handle {
  position: absolute; top: 0; bottom: 0; left: calc(var(--x) * 1%); width: 4px; margin-left: -2px;
  background: var(--orange); pointer-events: none;
}
.wipe__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; background: var(--orange); box-shadow: var(--sc-e2);
  background-image: linear-gradient(90deg, transparent 13px, var(--navy) 13px 16px, transparent 16px 28px, var(--navy) 28px 31px, transparent 31px);
  background-size: 100% 16px; background-position: center; background-repeat: no-repeat;
}
.wipe__range { position: absolute; left: 0; right: 0; top: 50%; width: 100%; height: 56px; margin: -28px 0 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.wipe__range:focus-visible + .wipe__hint { outline: 3px solid var(--ink); }
.wipe__hint { position: absolute; left: 50%; bottom: 1rem; translate: -50% 0; margin: 0; padding: .35rem .8rem; border-radius: 99px; background: var(--navy); color: var(--white); font-size: .8rem; font-weight: 600; pointer-events: none; transition: opacity 300ms; white-space: nowrap; }
.wipe.used .wipe__hint { opacity: 0; }

/* --------------------------------------------------------- can I draw? -- */
/* tinted glass: the stripes run on underneath */
.call { background: var(--navy); color: var(--white); --ink-soft: #b8c4d6; }
.call::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--glass); -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4); }
.call :focus-visible { outline-color: var(--white); }
.call__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 34rem); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.call__round { margin-bottom: .5rem; }
.call__lede { font-size: 1.2rem; margin: 0 0 2rem; color: var(--ink-soft); }
.call .no { color: var(--orange); }
.call .tool__line { color: var(--ink-soft); }
.points { border: 0; padding: 0; margin: 2rem 0 0; }
.points legend { font-size: .9rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .6rem; padding: 0; }
.points__set { display: flex; gap: .5rem; }
.points button {
  font: var(--loud); font-size: 1.6rem; min-width: 3.5rem; min-height: 3rem;
  background: var(--navy-2); color: var(--white);
  border: 2px solid color-mix(in oklab, var(--white) 22%, transparent); border-radius: 6px;
  transition: background-color 140ms var(--sc-ease-out), transform 160ms var(--spring);
}
@media (hover: hover) and (pointer: fine) { .points button:hover { border-color: var(--white); } }
.points button:active { transform: scale(.94); }
.points button[aria-pressed="true"] { background: var(--white); color: var(--navy); border-color: var(--white); }
.verdict { margin-top: 1.75rem; }
.verdict__call { font-size: clamp(3rem, 6vw, 6.5rem); line-height: .84; color: var(--f, var(--flag-red)); text-wrap: balance; transition: color 300ms; }
.verdict__sub { font-size: clamp(1.8rem, 3vw, 3rem); margin-top: 1rem; color: var(--orange); rotate: -6deg; transform-origin: left bottom; width: max-content; }
.verdict__why { color: var(--ink-soft); max-width: 44ch; margin: 1rem 0 0; }
.verdict.swap > * { animation: swap 460ms var(--sc-ease-out) backwards; }
.verdict.swap > :nth-child(2) { animation-delay: 70ms; }
.verdict.swap > :nth-child(3) { animation-delay: 120ms; }
@keyframes swap { from { opacity: 0; translate: 0 14px; } }
.call__note { margin: 1.25rem 0 0; font-size: .85rem; color: var(--ink-soft); }

.standings { width: 100%; border-collapse: collapse; font-size: .95rem; }
.standings th { background: var(--navy-2); font: var(--loud); font-size: 1.05rem; text-transform: uppercase; text-align: left; padding: .55rem .75rem .45rem; }
.standings .num { text-align: right; }
.standings td { padding: .34rem .75rem; border-bottom: 1px solid rgb(255 255 255 / .1); }
.standings tbody tr { transition: translate 520ms var(--sc-ease-out); }
.standings td:first-child { width: 2.5rem; color: var(--ink-soft); }
.standings tr.me td { background: var(--navy-2); font-weight: 700; }
.standings tr.me td:first-child { color: var(--orange); }
.standings tr.cut td { border-bottom: 0; box-shadow: inset 0 -3px 0 var(--orange); }
.standings .proj { color: var(--ink-soft); }
.standings tr.can .proj { color: var(--white); font-weight: 700; }

/* ---------------------------------------------------------------- scout -- */
.split--top { align-items: start; }
.room__count { margin: 0 0 1rem; font-weight: 600; }
.room__count b { font: var(--loud); font-size: 1.6rem; display: inline-block; }
.room__count b.bump { animation: bump 500ms var(--spring); }
@keyframes bump { 50% { scale: 1.5; color: var(--orange); } }
.tables { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid color-mix(in oklab, var(--ink) 15%, transparent); }
.table-log { padding: 1.5rem 1.25rem; border-left: 1px solid color-mix(in oklab, var(--ink) 20%, transparent); border-bottom: 1px solid color-mix(in oklab, var(--ink) 15%, transparent); }
.table-log h3 { font-size: clamp(2rem, 3vw, 2.75rem); }
.table-log p { margin: .6rem 0 0; font-size: 1.1rem; font-weight: 600; }
.table-log p span { font-weight: 400; color: var(--ink-soft); }
.table-log .by { font-size: .9rem; font-weight: 400; color: var(--ink-soft); margin-top: .3rem; }
.table-log--open { background: color-mix(in oklab, var(--sky) 35%, var(--ground)); }
.table-log--open h3 { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .6rem; }
.chips button { border: 2px solid var(--ink); background: var(--plate); border-radius: 99px; padding: .3rem .75rem; font-size: .9rem; font-weight: 600; transition: transform 160ms var(--spring), background-color 140ms; }
.chips button:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .chips button:hover { background: var(--sky); } }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--plate); }
.table-log.done { animation: stamp 600ms var(--spring); background: var(--plate); }
@keyframes stamp { 0% { scale: 1; } 40% { scale: 1.06; background: var(--sky); } 100% { scale: 1; } }
.room__end { margin: clamp(3rem, 7vw, 5rem) 0 0 auto; width: min(52rem, 100%); }
.room__end figcaption { margin-top: 1.4rem; font-weight: 600; }

/* --------------------------------------------------------------- sealed -- */
.builds__cap { margin: 0 0 .75rem; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.tabs button {
  display: grid; gap: .2rem; justify-items: start; text-align: left;
  border: 2px solid color-mix(in oklab, var(--ink) 15%, transparent); background: var(--plate); border-radius: 12px; padding: .75rem .9rem;
  font-size: .9rem; font-weight: 600; transition: border-color 160ms, background-color 160ms, transform 160ms var(--spring);
}
.tabs .loud { font-size: 2rem; }
.tabs button:active { transform: scale(.97); }
.tabs button[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: var(--ground); }
@media (hover: hover) and (pointer: fine) { .tabs button[aria-selected="false"]:hover { border-color: var(--ink); } }
.build { margin-top: 1rem; border-radius: 16px; background: color-mix(in oklab, var(--sky) 30%, var(--ground)); padding: 1.5rem; }
.curve { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; align-items: end; height: 11rem; }
.curve div { display: grid; grid-template-rows: 1fr auto; height: 100%; align-items: end; gap: .35rem; }
.curve span { display: block; height: calc(var(--n) * 16%); min-height: 4px; background: var(--ink); border-radius: 6px 6px 2px 2px; transition: height 600ms var(--spring); }
.curve div:nth-child(2) span { transition-delay: 40ms; } .curve div:nth-child(3) span { transition-delay: 80ms; }
.curve div:nth-child(4) span { transition-delay: 120ms; } .curve div:nth-child(5) span { transition-delay: 160ms; }
.curve div:nth-child(6) span { transition-delay: 200ms; }
.curve i { font-style: normal; font-size: .85rem; font-weight: 600; text-align: center; }
.build__stats { display: flex; gap: 2rem; margin: 1.25rem 0 0; }
.build__stats dt { font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.build__stats dd { margin: 0; font: var(--loud); font-size: 2.2rem; }
.build__say { margin: 1rem 0 0; font-size: 1.05rem; }
.build__say b { margin-right: .4rem; }

/* ------------------------------------------------------------------ rcq -- */
.rcq { background: color-mix(in oklab, var(--sky) 22%, var(--ground)); }
.drive__q { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-weight: 600; font-size: 1.1rem; }
.drive__q b { font: var(--loud); font-size: 2rem; }
.drive__range { width: 100%; margin: 1rem 0; accent-color: var(--orange); height: 2rem; }
.drive__n { margin: 0 0 1rem; font-size: .9rem; color: var(--ink-soft); font-weight: 600; }
.rcqs { list-style: none; margin: 0; padding: 0; display: grid; }
.rcqs li {
  display: grid; grid-template-columns: 6.5rem 1fr auto 4.5rem; gap: 1rem; align-items: center;
  padding: .85rem 1rem; border-bottom: 1px solid color-mix(in oklab, var(--ink) 14%, transparent); background: var(--plate);
  transition: opacity 300ms var(--sc-ease-out), translate 400ms var(--spring), filter 300ms;
}
.rcqs li:first-child { border-radius: 12px 12px 0 0; } .rcqs li:last-child { border-radius: 0 0 12px 12px; border: 0; }
.rcqs time { font-weight: 600; }
.rcqs span { font: var(--loud); font-size: 1.5rem; text-transform: uppercase; }
.rcqs em { font-style: normal; font-size: .9rem; color: var(--ink-soft); }
.rcqs i { font-style: normal; text-align: right; font-weight: 600; font-size: .9rem; }
.rcqs li.far { opacity: .35; translate: 12px 0; filter: grayscale(1); }
.rcqs li.far span { text-decoration: line-through; text-decoration-thickness: 2px; }

/* ---------------------------------------------------------- fantasy draft -- */
.sunday { background: var(--sky); }
.draft__q { margin: 0 0 1rem; font-size: 1.15rem; }
.pros { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.pros button {
  width: 100%; display: grid; justify-items: start; gap: .1rem; text-align: left;
  border: 0; border-radius: 12px; background: var(--plate); padding: .8rem .9rem;
  font-weight: 700; box-shadow: var(--sc-e2);
  transition: transform 260ms var(--spring), background-color 160ms, color 160ms;
}
.pros .loud { font-size: 1.6rem; }
.pros small { font-weight: 400; font-size: .8rem; color: var(--ink-soft); }
@media (hover: hover) and (pointer: fine) { .pros button:not(:disabled):hover { transform: translateY(-3px) rotate(-1deg); } }
.pros button[aria-pressed="true"] { background: var(--ink); color: var(--ground); transform: translateY(-4px) rotate(-2deg); }
.pros button[aria-pressed="true"] small { color: color-mix(in oklab, var(--ground) 72%, var(--ink)); }
.pros button:disabled:not([aria-pressed="true"]) { opacity: .5; cursor: default; }
.pros button[data-show]::after { content: attr(data-show); font: var(--loud); font-size: 1.3rem; color: var(--orange); }
.draft__score { min-height: 5rem; margin-top: 1.25rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.draft__score .loud { font-size: clamp(2rem, 4vw, 3rem); }
.draft__score .loud:not(:empty) { animation: swap 500ms var(--spring); }
.draft__again { border: 2px solid var(--ink); background: none; border-radius: 99px; padding: .4rem 1rem; font-weight: 700; }

/* ----------------------------------------------------------------- next -- */
.next__t { font-size: clamp(3.5rem, 7vw, 6.5rem); }
.next .tool__line { max-width: none; }
.grid { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.grid a {
  display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center;
  padding: 1.25rem; border-radius: 14px; background: var(--plate);
  box-shadow: var(--sc-e2), inset 0 0 0 1px color-mix(in oklab, var(--ink) 6%, transparent);
  text-decoration: none; color: var(--ink);
  transition: transform 260ms var(--spring), box-shadow 200ms, background-color 200ms, color 200ms;
}
.grid .no { grid-row: span 2; font-size: 1.4rem; transition: background-color 200ms, color 200ms; }
.grid b { font: var(--loud); font-size: 1.8rem; text-transform: uppercase; }
.grid small { font-size: .9rem; color: var(--ink-soft); }
@media (hover: hover) and (pointer: fine) {
  .grid a:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: var(--sc-e3); }
  .grid a:hover .no { background: var(--orange); border-color: var(--orange); }
}
.next__go { margin-top: 3rem; }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2rem; margin-top: 5rem; padding-top: 1.25rem; border-top: 1px solid color-mix(in oklab, var(--ink) 12%, transparent); font-size: .85rem; color: var(--ink-soft); }
.foot img { height: 26px; width: auto; }
.foot p { margin: 0; }

/* --------------------------------------------------------------- phones -- */
@media (max-width: 860px) {
  :root { --bar-h: 56px; }
  .bar { gap: .5rem; }
  .bar__logo { display: none; }
  .bar__symbol { display: block; }
  .order__when { display: none; }
  .order a[aria-current="step"] .order__when { display: inline; font-size: .75rem; }
  .order ol { gap: .3rem; }
  .order a { padding-inline: 0; gap: .35rem; }

  .split, .night .split, .call__grid { grid-template-columns: 1fr; }
  .night .tool { order: 0; }

  .hero { grid-template-columns: 1fr; align-content: end; gap: 1rem; padding-bottom: 6svh; }
  .hero__hand { grid-row: 1; }
  .fan { --w: min(30vw, 20svh); }
  .hero__title { font-size: clamp(3.9rem, 19vw, 6rem); }
  .hero__lede { margin: 1.1rem 0 1.5rem; }

  .wipe { min-height: 33rem; }
  .wipe__notes, .wipe__sheet { padding: 1.25rem; }
  .sb__top { margin: -1.25rem -1.25rem .25rem; padding: .9rem 1.25rem; }
  .tables { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .table-log--open { grid-column: span 2; }
  .tabs button { padding: .6rem; font-size: .8rem; }
  .curve { height: 8rem; }
  .rcqs li { grid-template-columns: 5.5rem 1fr auto; padding: .75rem; }
  .rcqs em { display: none; }
  .pros { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: 1fr; }
}
@media (max-width: 440px) { .order a[aria-current="step"] .order__when { display: none; } .paint { width: 34px; height: 34px; } }
@media (max-width: 360px) { .order .no { font-size: 13px; } .order ol { gap: .2rem; } }
@media (max-width: 860px) and (max-height: 720px) {
  .fan { --w: min(26vw, 18svh); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
  .js [data-in], .js .hero__copy > * { opacity: 1; translate: none; }
  .js .stripes { translate: none; }
  .tilt { transform: rotate(-3deg); }
}
