/* TOTALED site styles: the show's world laid flat (amber halftone sky, asphalt with a lane line, hazard tape,
   ink outlines), set in the show's two faces. Tokens come from .prism/style-lock.md and ep1/assets/kit.js.
   @author Thomas G. and Sophia, SOPHIA XT LLC (sophiaxt.com)
   @sophia-mark sx1 df5ae605af70 51482dc3e328 8gtRDXWkzq2j2pQr1J6tMNuRCSh0FaXnNZP4MbAAp1zNF9_o7MAASlBCt0nxOKEWuNMDe4QJmzhXk2OuyCT2Dg
*/

/* ---------- type ---------- */
@font-face { font-family: 'Big Shoulders Display'; src: url('/fonts/big-shoulders-display-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/fonts/archivo-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  color-scheme: light;
  --ink: #1B1416; --ink-2: #2A2226; --asph: #3A3438; --asph-l: #4C4449;
  --paper: #FFF1C9; --white: #FFFFFF; --sky: #F7B455; --glow: #FFD98C; --sun: #FFF1C9;
  --teal: #3F6B6E; --teal-d: #2F5558; --olive: #7E8A4E; --olive-d: #6A7642;
  --haz: #FFD23F; --dum: #F2C230; --red: #B92D24; --red-hot: #D9362B; --pass: #2E7D4A;
  --muted: #5E5052; --muted-d: #CFC3B0; --concrete: #A9A49C;
  --di: #1F4A96; --di-sky: #E9F1F7; --bagel: #C9853F;
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --fs-xs: 0.8125rem; --fs-s: 0.9375rem; --fs-m: 1.0625rem; --fs-l: 1.3125rem;
  --fs-xl: clamp(1.75rem, 1.3rem + 2.2vw, 2.625rem);
  --fs-2xl: clamp(2.5rem, 1.6rem + 4.6vw, 4.5rem);
  --fs-3xl: clamp(3.25rem, 1.8rem + 7.5vw, 7rem);
  --gut: clamp(16px, 4vw, 40px);
  --wrap: 1240px;
  --ease-slam: cubic-bezier(0.3, 1.6, 0.5, 1);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --line: 3px;
  --lift: 5px 5px 0 var(--ink);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--fs-m)/1.55 var(--body); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 900; line-height: 0.95; margin: 0; text-wrap: balance; letter-spacing: -0.01em; text-transform: uppercase; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--haz); }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--haz); box-shadow: 0 0 0 6px var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--haz); padding: 10px 14px; border: var(--line) solid var(--ink); font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- grounds: sky, road, paper, ink, field ---------- */
.sky { position: relative; background: var(--sky); isolation: isolate; }
.sky::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, var(--glow) 0 3.2px, transparent 3.6px) 0 0 / 15px 15px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 72% 18%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 72% 18%, #000 20%, transparent 75%); }
.road { background: var(--asph); color: var(--paper); }
.ink { background: var(--ink); color: var(--paper); }
.teal { background: var(--teal); color: var(--paper); }
.field { background: var(--olive); color: var(--ink); }
.lane { height: 10px; background: repeating-linear-gradient(90deg, var(--haz) 0 64px, transparent 64px 112px); }
.road-edge { height: 14px; background: var(--asph); border-block: 4px solid var(--paper); }
.tape { height: 18px; background: repeating-linear-gradient(-45deg, var(--haz) 0 14px, var(--ink) 14px 28px); border-block: var(--line) solid var(--ink); }
.trees { height: 46px; background:
  radial-gradient(circle at 50% 100%, var(--teal) 0 34px, transparent 35px) 0 100% / 88px 46px repeat-x,
  radial-gradient(circle at 50% 100%, var(--teal-d) 0 26px, transparent 27px) 44px 100% / 88px 40px repeat-x; }
.band { padding-block: clamp(48px, 8vw, 104px); }
.band--tight { padding-block: clamp(32px, 5vw, 56px); }

/* ---------- ticker ---------- */
.ticker { background: var(--ink); color: var(--haz); overflow: hidden; border-bottom: var(--line) solid var(--ink); }
.ticker__row { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker:hover .ticker__row { animation-play-state: paused; }
.ticker__list { display: flex; list-style: none; }
.ticker__list li { font: 800 0.95rem/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; padding: 9px 22px; white-space: nowrap; display: flex; align-items: center; gap: 22px; }
.ticker__list li::after { content: ''; width: 8px; height: 8px; background: var(--haz); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: var(--line) solid var(--ink); }
.top__in { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.top__logo { display: block; width: 132px; margin-right: auto; }
.top__nav { display: none; }
.top__nav ul { display: flex; list-style: none; gap: 2px; }
.top__nav a { display: block; padding: 10px 11px; font: 800 1.05rem/1 var(--display); letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; }
.top__nav a:hover { background: var(--haz); }
.top__nav a[aria-current='page'] { background: var(--ink); color: var(--haz); }
.iconbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 48px; min-height: 48px; padding: 0 10px; background: var(--white); color: var(--ink); border: var(--line) solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font: 800 1rem/1 var(--display); letter-spacing: 0.05em; text-transform: uppercase; }
.iconbtn:active { transform: translate(3px, 3px); box-shadow: none; }
.iconbtn svg { width: 22px; height: 22px; }
.cart-count { min-width: 22px; height: 22px; padding: 0 4px; display: inline-grid; place-items: center; background: var(--haz); border: 2px solid var(--ink); font: 800 0.85rem/1 var(--body); }
.top__sub { display: none; }

/* the phone menu */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--paper); padding: 20px var(--gut) 40px; display: flex; flex-direction: column; gap: 24px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__head { display: flex; justify-content: space-between; align-items: center; }
.menu ul { list-style: none; display: grid; gap: 4px; }
.menu a { display: block; padding: 8px 0; font: 900 clamp(2.4rem, 11vw, 3.5rem)/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none; }
.menu a[aria-current='page'] { color: var(--haz); }
.menu .iconbtn { color: var(--ink); }

/* ---------- buttons, tags ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; background: var(--haz); color: var(--ink); border: var(--line) solid var(--ink); box-shadow: var(--lift); font: 900 1.2rem/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; transition: transform 120ms var(--ease-out), box-shadow 120ms var(--ease-out); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }
.btn--ink { background: var(--ink); color: var(--haz); }
.btn--white { background: var(--white); }
.btn--yt { background: var(--red-hot); color: var(--white); }
.btn--yt svg { width: 26px; height: 18px; }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 8px 14px; font-size: 1.05rem; box-shadow: 3px 3px 0 var(--ink); }
.on-dark .btn { border-color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.tag { display: inline-block; padding: 5px 10px 4px; background: var(--ink); color: var(--haz); font: 800 0.85rem/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.tag--haz { background: var(--haz); color: var(--ink); }
.tag--red { background: var(--red); color: var(--white); }
.tag--pass { background: var(--pass); color: var(--white); }
.tag--paper { background: var(--paper); color: var(--ink); }
.kicker { font: 800 0.95rem/1.2 var(--display); letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- section heads ---------- */
.head { display: grid; gap: 12px; margin-bottom: clamp(24px, 4vw, 40px); max-width: 46rem; }
.head h2 { font-size: var(--fs-2xl); }
.head p { font-size: var(--fs-l); line-height: 1.4; }
.lede { font-size: var(--fs-l); line-height: 1.45; max-width: 38rem; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(28px, 5vw, 64px); overflow: hidden; }
.hero__grid { display: grid; gap: 8px; }
.hero__copy { display: grid; gap: 18px; align-content: start; justify-items: start; }
.hero__logo { width: min(100%, 520px); margin-left: -6px; }
.hero h1 { font-size: var(--fs-xl); max-width: 16ch; }
.hero__stage { position: relative; height: clamp(250px, 62vw, 470px); }
.hero__stage img { position: absolute; width: auto; max-width: none; }
.hero__stage .hero__board { height: auto; }
.hero__board { width: 62%; right: -16%; bottom: 24px; }
.hero__dent { height: 64%; right: 14%; bottom: 18px; }
.hero__gunner { height: 92%; left: -2%; bottom: 0; }
.hero__road { position: absolute; left: -50vw; right: -50vw; bottom: 0; height: 46px; background: var(--asph); border-top: 4px solid var(--paper); }
.hero__road::after { content: ''; position: absolute; left: 0; right: 0; top: 18px; height: 6px; background: repeating-linear-gradient(90deg, var(--haz) 0 54px, transparent 54px 96px); }

/* ---------- cards ---------- */
.card { background: var(--white); color: var(--ink); border: var(--line) solid var(--ink); box-shadow: var(--lift); }
.on-dark .card { box-shadow: 5px 5px 0 #000; }

/* the episode */
.ep { display: grid; gap: 0; }
.ep__thumb { position: relative; display: block; border-bottom: var(--line) solid var(--ink); background: var(--ink); }
.ep__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ep__time { position: absolute; right: 10px; bottom: 10px; background: var(--ink); color: var(--white); padding: 4px 7px; font: 700 0.85rem/1 var(--body); }
.ep__play { position: absolute; inset: 0; margin: auto; width: 84px; height: 60px; background: var(--red-hot); border: var(--line) solid var(--ink); display: grid; place-items: center; box-shadow: 4px 4px 0 var(--ink); }
.ep__play::after { content: ''; border-left: 22px solid var(--white); border-block: 13px solid transparent; margin-left: 6px; }
.ep__thumb:hover .ep__play { background: var(--ink); }
.ep__body { padding: clamp(18px, 3vw, 30px); display: grid; gap: 14px; align-content: start; }
.ep__body h3 { font-size: var(--fs-xl); }
.ep iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.tests { list-style: none; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.tests li { display: grid; grid-template-columns: 2.2rem 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 2px solid var(--ink); }
.tests b { font: 900 1.6rem/1 var(--display); }
.tests span { font-weight: 700; line-height: 1.25; }
.tests small { display: block; font-weight: 400; color: var(--muted); font-size: var(--fs-s); }

/* the numbers */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: var(--line) solid var(--paper); }
.stat { padding: 18px 16px; border: 1.5px solid var(--paper); display: grid; gap: 6px; align-content: start; }
.stat b { font: 900 clamp(2.4rem, 9vw, 4.25rem)/0.9 var(--display); color: var(--haz); font-variant-numeric: tabular-nums; }
.stat span { font-size: var(--fs-s); line-height: 1.35; }
.stat--grade { grid-column: 1 / -1; background: var(--haz); color: var(--ink); }
.stat--grade b { color: var(--ink); }

/* ---------- products ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 12px; margin: 0 -4px 20px; scrollbar-width: thin; }
.filters button { flex: none; min-height: 44px; padding: 8px 14px; background: var(--white); border: var(--line) solid var(--ink); font: 800 1rem/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; }
.filters button[aria-pressed='true'] { background: var(--ink); color: var(--haz); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 3vw, 28px); }
.product { display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.product[hidden] { display: none; }
.product__img--fit img { object-fit: contain; padding: 12% ; }
.product__img { position: relative; background: var(--paper); border-bottom: var(--line) solid var(--ink); padding: 10px; }
.product__img img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform 200ms var(--ease-out); }
.product:hover .product__img img { transform: rotate(-3deg) scale(1.04); }
.product__img .tag { position: absolute; left: 8px; top: 8px; }
.product__body { padding: 12px 12px 14px; display: grid; gap: 8px; align-content: start; }
.product h2, .product h3 { font-size: clamp(1.35rem, 1rem + 1.6vw, 1.9rem); }
.chapters summary { list-style: none; width: max-content; }
.chapters summary::-webkit-details-marker { display: none; }
.price { font: 900 1.45rem/1 var(--display); font-variant-numeric: tabular-nums; }
.price s { font-weight: 600; color: var(--muted); font-size: 0.8em; margin-left: 4px; }
.product p { font-size: var(--fs-s); line-height: 1.4; }
.product .btn { margin-top: 4px; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.sizes legend { font: 700 var(--fs-xs)/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; padding: 0; }
.sizes button { min-width: 44px; min-height: 44px; border: 2px solid var(--ink); background: var(--white); font: 800 1rem/1 var(--display); }
.sizes button[aria-pressed='true'] { background: var(--ink); color: var(--haz); }
.quote { margin: 0; border-left: 6px solid var(--haz); padding: 4px 0 4px 12px; font-size: var(--fs-s); display: grid; gap: 2px; }
.quote cite { font: 800 var(--fs-xs)/1.2 var(--display); letter-spacing: 0.1em; text-transform: uppercase; font-style: normal; color: var(--muted); }

/* ---------- the slam ---------- */
.slam { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: var(--gut); pointer-events: none; }
.slam[hidden] { display: none; }
.slam__card { display: grid; justify-items: center; gap: 14px; transform: rotate(-5deg); animation: slam 240ms var(--ease-slam) both; pointer-events: auto; cursor: pointer; }
.slam__text { font: 900 clamp(3.6rem, 17vw, 9rem)/0.88 var(--display); color: var(--haz); text-transform: uppercase; letter-spacing: 0.02em; text-align: center; max-width: 12ch;
  -webkit-text-stroke: 0.09em var(--ink); paint-order: stroke fill; text-shadow: 0.05em 0.06em 0 var(--ink); }
.slam__sub { background: var(--ink); color: var(--paper); padding: 8px 14px; font: 700 var(--fs-m)/1.3 var(--body); max-width: 30ch; text-align: center; }
.slam__shade { position: fixed; inset: 0; background: rgba(27, 20, 22, 0.6); animation: fade 120ms linear both; }
@keyframes slam { from { transform: rotate(-5deg) scale(1.7); opacity: 0; } 40% { opacity: 1; } to { transform: rotate(-5deg) scale(1); opacity: 1; } }
@keyframes fade { from { opacity: 0; } }

/* ---------- dialogs: cart and the count ---------- */
dialog { border: var(--line) solid var(--ink); padding: 0; background: var(--paper); color: var(--ink); box-shadow: 8px 8px 0 var(--ink); width: min(100% - 24px, 480px); max-height: calc(100dvh - 24px); }
dialog::backdrop { background: rgba(27, 20, 22, 0.6); }
.dlg__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 18px; background: var(--ink); color: var(--haz); }
.dlg__head h2 { font-size: 1.9rem; }
.dlg__head .iconbtn { box-shadow: none; }
.dlg__body { padding: 18px; display: grid; gap: 16px; }
.cart-lines { list-style: none; display: grid; gap: 10px; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; background: var(--white); border: 2px solid var(--ink); padding: 8px; }
.cart-line img { width: 64px; height: 64px; }
.cart-line b { font: 900 1.3rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; }
.cart-sum { display: grid; gap: 6px; font-size: var(--fs-s); border-top: 2px solid var(--ink); padding-top: 12px; }
.cart-sum div { display: flex; justify-content: space-between; gap: 12px; }
.cart-sum .total { font: 900 1.5rem/1 var(--display); }
.cart-empty { display: grid; gap: 14px; justify-items: start; }
.count { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; }
.count__n { font: 900 clamp(3.5rem, 16vw, 5.5rem)/0.9 var(--display); font-variant-numeric: tabular-nums; }
.count__note { min-height: 2.8em; font-weight: 700; }
.meter { height: 22px; border: var(--line) solid var(--ink); background: var(--white); }
.meter > i { display: block; height: 100%; background: repeating-linear-gradient(-45deg, var(--haz) 0 10px, var(--dum) 10px 20px); border-right: var(--line) solid var(--ink); transform-origin: left; transition: transform 120ms var(--ease-out); }

/* ---------- people we hit ---------- */
.board { width: 100%; border-collapse: collapse; background: var(--white); color: var(--ink); border: var(--line) solid var(--ink); box-shadow: 5px 5px 0 #000; }
.board caption { text-align: left; padding: 0 0 14px; color: var(--paper); font-size: var(--fs-s); caption-side: top; }
.board th { font: 800 var(--fs-xs)/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; text-align: left; padding: 10px 8px; background: var(--ink); color: var(--haz); }
.board td { padding: 10px 8px; border-top: 2px solid var(--ink); vertical-align: middle; font-size: var(--fs-s); line-height: 1.3; }
.board .rank { font: 900 1.9rem/1 var(--display); width: 2.2rem; text-align: center; }
.board .status { display: none; }
.board .who { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; }
.board .who b { font: 900 1.25rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; display: block; }
.board .why { color: var(--muted); }
.board .times { font: 900 1.6rem/1 var(--display); text-align: center; }
.board .hide-s { display: none; }
.board tr.dq td { background: #F4F1EA; }
.board tr.dq .who b { text-decoration: line-through 4px var(--red-hot); }
.board tfoot td { background: var(--haz); font: 900 1.6rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; border-top: var(--line) solid var(--ink); }
.marker { font: 900 1.6rem/1 var(--display); color: var(--red-hot); transform: rotate(-4deg); display: inline-block; }
.mosaic { position: relative; width: 56px; height: 56px; border: 2px solid var(--ink); background: var(--sky); padding: 0; overflow: visible; }
.mosaic img { width: 100%; height: 100%; image-rendering: pixelated; }
.mosaic__hand { position: absolute; left: 50%; bottom: 40%; width: 30px; transform: translate(-50%, 30%) scale(0.4); opacity: 0; transition: transform 240ms var(--ease-slam), opacity 120ms linear; pointer-events: none; z-index: 2; }
.mosaic[aria-pressed='true'] .mosaic__hand { transform: translate(-50%, 0) scale(1); opacity: 1; }
.fine { display: inline-flex; align-items: center; gap: 6px; font: 800 0.95rem/1 var(--display); letter-spacing: 0.08em; }
.fine::before { content: ''; width: 10px; height: 10px; background: #3FBF6A; border: 2px solid var(--ink); }
.sorts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; align-items: center; }
.sorts span { font: 800 var(--fs-xs)/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; margin-right: 4px; }
.sorts button { min-height: 44px; padding: 8px 12px; background: var(--paper); color: var(--ink); border: var(--line) solid var(--ink); font: 800 1rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.05em; }
.sorts button[aria-pressed='true'] { background: var(--haz); }
.fridge { border: var(--line) solid var(--ink); box-shadow: 5px 5px 0 #000; }

/* ---------- tour ---------- */
.dates { list-style: none; display: grid; gap: 0; border-top: var(--line) solid var(--paper); }
.date { display: grid; grid-template-columns: 5.2rem 1fr; gap: 6px 14px; padding: 18px 0; border-bottom: 2px solid var(--asph-l); align-items: start; }
.date__when { font: 900 1.5rem/0.95 var(--display); color: var(--haz); text-transform: uppercase; letter-spacing: 0.03em; }
.date__when small { display: block; font: 700 var(--fs-xs)/1.2 var(--body); color: var(--muted-d); letter-spacing: 0.06em; margin-top: 4px; }
.date__what { display: grid; gap: 6px; justify-items: start; }
.date__what h3 { font-size: 1.6rem; }
.date__what p { color: var(--paper); font-size: var(--fs-s); }
.date .btns { grid-column: 2; }

/* ---------- sponsors ---------- */
.di { background: var(--di-sky); color: var(--ink); }
.di-head { background: var(--di); color: var(--white); }
.logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.logo-tile { background: var(--white); border: 2px solid var(--ink); min-height: 132px; padding: 14px; display: grid; place-items: center; text-align: center; gap: 6px; position: relative; }
.logo-tile img { width: 34px; }
.logo-tile b { font: 900 1.45rem/0.95 var(--display); color: var(--di); text-transform: uppercase; letter-spacing: 0.03em; overflow-wrap: anywhere; }
.logo-tile small { font-size: var(--fs-xs); color: var(--muted); }
.logo-tile.alt { background: var(--di); }
.logo-tile.alt b { color: var(--white); }
.logo-tile.alt small { color: var(--di-sky); }
.logo-tile.gold b { color: #8A6A14; }
.logo-tile.serif b { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; text-transform: none; letter-spacing: 0; }
.logo-tile.mono b { font-family: var(--body); font-weight: 900; letter-spacing: -0.04em; text-transform: lowercase; font-size: clamp(1.05rem, 4.6vw, 1.6rem); }
.logo-tile.deleted { background: repeating-linear-gradient(-45deg, #EEE 0 8px, #E2E2E2 8px 16px); }
.logo-tile.deleted b { color: var(--bagel); text-decoration: line-through 4px var(--ink); }
.plans { display: grid; gap: 18px; }
.plan { padding: 22px 18px; display: grid; gap: 12px; align-content: start; position: relative; }
.plan h3 { font-size: 2.2rem; color: var(--di); }
.plan .price { font-size: 2.6rem; }
.plan .price small { font: 700 var(--fs-s)/1 var(--body); }
.plan ul { list-style: none; display: grid; gap: 6px; font-size: var(--fs-s); }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.plan li::before { content: '✕'; font-weight: 900; color: var(--red); }
.plan li.yes::before { content: '✓'; color: var(--pass); }
.plan--top { outline: 5px solid var(--di); outline-offset: -1px; }
.plan--top .tag { position: absolute; top: -14px; right: 14px; }
.code-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- claims ---------- */
.claims { list-style: none; display: grid; gap: 14px; counter-reset: c; }
.claim { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding: 14px; align-items: start; }
.claim__no { font: 900 1.9rem/1 var(--display); color: var(--di); grid-row: span 3; }
.claim h3 { font-size: 1.5rem; }
.claim p { font-size: var(--fs-s); }
.claim .tag { justify-self: start; }
.claim--soon { background: repeating-linear-gradient(-45deg, #F4F1EA 0 12px, #ECE7DD 12px 24px); }
.redact { display: inline-block; background: var(--ink); color: var(--haz); padding: 4px 8px; font-size: 0.8em; letter-spacing: 0.06em; }
.parts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; list-style: none; }
.parts li { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; background: var(--white); border: 2px solid var(--ink); font-weight: 700; font-size: var(--fs-s); }
.parts li span { font: 800 0.9rem/1.3 var(--display); letter-spacing: 0.06em; text-transform: uppercase; }
.parts .gone span { color: var(--red); }
.parts .taped span { color: #8A6A14; }

/* ---------- crew and faq ---------- */
.crew { display: grid; gap: 22px; }
.mate { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 14px; align-items: start; }
.mate__pic { background: var(--sky); border: 2px solid var(--ink); height: 140px; display: grid; place-items: end center; overflow: hidden; }
.mate__pic img { height: 132px; width: auto; max-width: none; }
.mate h3 { font-size: 1.8rem; }
.mate .role { font: 800 var(--fs-xs)/1.3 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.mate p { font-size: var(--fs-s); }
.mate__body { display: grid; gap: 8px; align-content: start; }
.mate__body > .tag, .mate__body > .btn { justify-self: start; }
.mate h2 { font-size: 1.8rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sheet { margin: 0; border-top: 2px solid var(--ink); }
.sheet div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 2px solid var(--ink); }
.sheet dt { font: 800 var(--fs-xs)/1.3 var(--display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sheet dd { margin: 0; font-weight: 800; font-size: var(--fs-s); text-align: right; }
.mate--rip .mate__pic { place-items: center; background: #D9CFE4; }
.mate--rip .mate__pic img { width: 100%; height: auto; max-width: 100%; }
.faq { display: grid; gap: 10px; max-width: 46rem; }
.faq details { background: var(--white); border: var(--line) solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 14px 16px; min-height: 52px; font: 800 1.3rem/1.15 var(--display); text-transform: uppercase; letter-spacing: 0.03em; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.7rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details[open] summary { background: var(--haz); }
.faq details p { padding: 14px 16px 18px; border-top: 2px solid var(--ink); font-size: var(--fs-l); line-height: 1.4; }
.money { font: 900 var(--fs-3xl)/0.85 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }

/* ---------- misc blocks ---------- */
.split { display: grid; gap: clamp(24px, 5vw, 56px); align-items: center; }
.seen { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
.seen span { font: 900 1.25rem/1 var(--display); text-transform: uppercase; color: var(--muted-d); letter-spacing: 0.04em; }
.seen img { height: 30px; width: auto; filter: grayscale(1); opacity: 0.75; }
.exchange { display: grid; gap: 10px; max-width: 34rem; }
.exchange p { font-size: var(--fs-l); line-height: 1.35; }
.exchange b { font: 800 0.9rem/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; display: block; color: var(--muted); margin-bottom: 2px; }
.on-dark .exchange b { color: var(--muted-d); }
.mosaics { display: flex; gap: 6px; flex-wrap: wrap; }
.mosaics img { width: 52px; height: 52px; image-rendering: pixelated; border: 2px solid var(--ink); }
.empty-quote { font: 900 var(--fs-xl)/1 var(--display); letter-spacing: 0.04em; color: var(--muted); }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--paper); padding-block: 48px 28px; }
.foot__grid { display: grid; gap: 32px; }
.foot__logo { width: 180px; }
.foot h2 { font-size: 1.1rem; letter-spacing: 0.14em; color: var(--haz); margin-bottom: 10px; }
.foot ul { list-style: none; display: grid; gap: 2px; }
.foot li a, .foot li button { display: inline-flex; align-items: center; min-height: 40px; background: none; border: 0; padding: 0; text-decoration: none; font-size: var(--fs-s); text-align: left; }
.foot li a:hover, .foot li button:hover { text-decoration: underline; color: var(--haz); }
.foot__fine { border-top: 2px solid var(--asph-l); margin-top: 36px; padding-top: 20px; display: grid; gap: 12px; font-size: var(--fs-xs); line-height: 1.5; color: var(--muted-d); max-width: 70rem; }
.stack-credit { color: var(--paper); font-size: var(--fs-s); }
.stack-credit a { color: var(--haz); }

/* the cookie bar: bagels */
.bagels { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; background: var(--white); border: var(--line) solid var(--ink); box-shadow: var(--lift); padding: 12px; display: grid; grid-template-columns: 44px 1fr; gap: 10px 12px; align-items: center; max-width: 560px; }
.bagels[hidden] { display: none; }
.bagels img { width: 44px; }
.bagels p { font-size: var(--fs-s); line-height: 1.35; }
.bagels .btns { grid-column: 1 / -1; gap: 10px; }

/* ---------- reveal (the one entrance: things stamp in once) ---------- */
.js .stamp { opacity: 0; transform: rotate(-6deg) scale(1.5); }
.js .stamp.in { opacity: 1; transform: rotate(-6deg) scale(1); transition: transform 240ms var(--ease-slam), opacity 120ms linear; }

/* ---------- phones: one product a row, the picture beside the words ---------- */
@media (max-width: 559px) {
  .grid { grid-template-columns: 1fr; }
  .product { grid-template-columns: 40% 1fr; grid-template-rows: none; align-items: start; }
  .product__img { border-bottom: 0; border-right: var(--line) solid var(--ink); height: 100%; padding: 6px; }
  .product__img .tag { left: 4px; top: 4px; font-size: 0.7rem; }
  .product .sizes, .product [data-size-note], .product .btn { grid-column: 1 / -1; }
}

/* ---------- wider screens ---------- */
@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat--grade { grid-column: span 1; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .board .hide-s, .board .status { display: table-cell; }
  .parts { grid-template-columns: repeat(3, 1fr); }
  .crew { grid-template-columns: repeat(2, 1fr); }
  .date { grid-template-columns: 7rem 1fr auto; }
  .date .btns { grid-column: 3; grid-row: 1; }
}
@media (min-width: 1180px) {
  .top__nav { display: block; margin-right: auto; }
  .top__menu { display: none; }
  .top__sub { display: inline-flex; }
  .top__logo { width: 150px; margin-right: 12px; }
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; align-items: end; }
  .hero__copy { padding-bottom: 48px; }
  .hero__stage { height: 500px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ep { grid-template-columns: 1.2fr 1fr; }
  .ep__thumb { border-bottom: 0; border-right: var(--line) solid var(--ink); }
  .stats { grid-template-columns: repeat(5, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .foot__grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .crew { grid-template-columns: repeat(3, 1fr); }
  .mate { grid-template-columns: 1fr; }
  .mate__pic { height: 220px; }
  .mate__pic img { height: 210px; }
  .claims { grid-template-columns: repeat(2, 1fr); }
  .bagels { left: auto; right: 20px; bottom: 20px; }
}
@media (min-width: 560px) {
  .product--wide { grid-column: span 2; grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .product--wide .product__img { border-bottom: 0; border-right: var(--line) solid var(--ink); display: grid; align-items: center; }
}
@media (min-width: 1280px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- reduced motion: everything shows finished ---------- */
@media (prefers-reduced-motion: reduce) {
  .ticker__row { animation: none; }
  .slam__card, .slam__shade { animation: none; }
  .js .stamp, .js .stamp.in { opacity: 1; transform: rotate(-6deg); transition: none; }
  .btn, .product__img img, .mosaic__hand, .meter > i { transition: none; }
  .product:hover .product__img img { transform: none; }
}
