/* FEED THE UNDERDOG · feedtheunderdog.com · shared styles for every page (18 Oct 2026, multi-page; round 2).
   One continuous Tide Scan ground behind everything, drawn once on a fixed layer the size of the screen. No boxes, panel edges, borders, glows, halos or shadows around
   pictures, and no separator lines between sections or blocks. Tables and the form sit on .shade: a partial
   darkening of the ground (the lines stay faintly visible) whose radial mask fades to nothing well before its own
   edge, so it has no outline. Every text colour passes WCAG AA on the brightest Tide Scan line without it
   (--mute #8B8695 on #1D1C22 = 4.79:1). Marks: official WAVE + STACK. */
:root{
  --ink:#0B0B0D; --cream:#F2EBDD; --cream-dim:#C9C2B5; --lav:#C7B9F2; --purple:#4B2E83; --gold:#D6A93C;
  --mute:#8B8695; --grey:#9A93A6; --gold-hi:#E7BE55;
  --disp:"Anton",Impact,"Arial Narrow Bold",sans-serif;
  --body:"Archivo",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --gut:clamp(16px,4vw,64px); --max:1240px; --ease:cubic-bezier(.2,.7,.2,1);
  --bleed:min(16px,var(--gut));
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;background:var(--ink)}
/* The Tide Scan ground (18 Oct 2026, round 2 review: a repeating tile brought the same swirl back while scrolling a
   long page). It is painted ONCE, on a layer fixed to the screen, from a field larger than the screen at one image
   px per CSS px (2560 x 1600; 1000 x 1000 on phones), so nothing can repeat and the line pitch is the same on every
   page. A screen larger than the field scales it up to cover. 100lvh: the layer never resizes as a phone's toolbar
   slides, so the lines never jump. The page itself has no background; the layer sits behind everything. */
body{color:var(--cream);font-family:var(--body);
  font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased;overflow-x:hidden;overflow-x:clip;min-height:100vh;
  display:flex;flex-direction:column}
body::before{content:"";position:fixed;top:0;left:0;width:100%;height:100vh;height:100lvh;z-index:-1;pointer-events:none;
  background:var(--ink) url("/assets/bg/tide_field_2560x1600.webp") 50% 0/cover no-repeat;
  background-size:max(2560px,100vw,160vh) auto}
@media (max-width:700px),(max-height:500px){
  body::before{background-image:url("/assets/bg/tide_field_1000.webp");background-size:cover;
    background-size:max(1000px,100vw,100vh) auto}
}
main{flex:1 0 auto}
img,svg{display:block;max-width:100%}
a{color:inherit}
::selection{background:var(--purple);color:var(--cream)}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.wrap{max-width:var(--max);margin-inline:auto;padding-inline:var(--gut);width:100%}
.mono{font-family:var(--mono);font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--mute);font-weight:500}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.skip{position:absolute;top:-100px;left:var(--gut);z-index:200;background:var(--cream);color:var(--ink);padding:12px 18px;
  font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase}
.skip:focus{top:12px}
.shade{position:relative;isolation:isolate}
/* 18 Oct 2026 review: the old shade was a solid ink rectangle with a 22 px blur, which erased the Tide Scan inside it
   and showed its outline. Now: 60% ink, masked by a radial gradient that is full only in the middle and reaches 0
   at its own edge (feather = half of each radius: 130 px and more on every table, fact list and form). Sideways it
   never reaches past the page margin (min(44px, --gut)), so it cannot widen the page on a touch screen. */
@supports (mask-image:radial-gradient(#000,transparent)) or (-webkit-mask-image:radial-gradient(#000,transparent)){
  .shade::before{content:"";position:absolute;inset:-150px calc(-1 * min(44px, var(--gut)));background:rgba(11,11,13,.6);
    -webkit-mask-image:radial-gradient(closest-side,#000 50%,transparent 100%);mask-image:radial-gradient(closest-side,#000 50%,transparent 100%);
    z-index:-1;pointer-events:none}
}
/* what sits next to a shade stays above its feathered edge */
.ph,.jump,.pn,.sh2,.stage,.globe,.note,.foot,.q-grid > div:first-child{position:relative;z-index:1}

/* header: transparent, the ground runs under it */
.nav{display:flex;align-items:center;gap:18px;height:72px}
.brand img{height:30px;width:auto}
.links{display:flex;gap:2px;margin-left:auto}
.links a{position:relative;white-space:nowrap;font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--cream-dim);
  text-decoration:none;padding:10px 12px;transition:color .25s}
.links a::after{content:"";position:absolute;left:12px;right:12px;bottom:5px;height:1px;background:var(--gold);transform:scaleX(0);
  transform-origin:0 50%;transition:transform .3s var(--ease)}
.links a:hover,.links a[aria-current]{color:var(--cream)}
.links a:hover::after,.links a[aria-current]::after{transform:scaleX(1)}
.btn{display:inline-flex;align-items:center;gap:10px;font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;
  padding:13px 20px;border:1px solid var(--cream);color:var(--cream);text-decoration:none;background:none;cursor:pointer;
  transition:background .25s,color .25s,border-color .25s;white-space:nowrap}
.btn .ar{transition:transform .3s var(--ease)}
.btn:hover .ar{transform:translateX(4px)}
.btn:hover{background:var(--cream);color:var(--ink)}
.btn.solid{background:var(--cream);color:var(--ink)}
.btn.solid:hover{background:var(--gold);border-color:var(--gold);color:var(--ink)}
.btn.sm{padding:10px 14px}
.btn[aria-current]{border-color:var(--gold);color:var(--gold)}
.btn[aria-current]:hover{background:var(--gold);color:var(--ink)}

/* type. Anton's capitals stand .875 em tall (cap height .859 + overshoot), so a display line-height under about .95
   makes two lines of capitals touch (18 Oct 2026, round 3 review: "PAGE NOT / FOUND.", "SENT / THANK YOU.", and on a
   phone "COMPETITION / SINGLET", "WORLDWIDE / SHIPPING"). 1 leaves .125 em between the lines at every size. */
h1{font-family:var(--disp);font-weight:400;text-transform:uppercase;font-size:clamp(44px,6.4vw,92px);line-height:1;letter-spacing:-.005em}
h2,h3{font-family:var(--disp);font-weight:400;text-transform:uppercase;line-height:.95}
.sh2{font-size:clamp(28px,3.6vw,44px);margin-bottom:clamp(18px,2.6vw,30px)}
.ph{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px 22px;padding-top:clamp(28px,5vw,64px);margin-bottom:clamp(26px,4vw,48px)}
.ph .pr{margin-left:auto;text-decoration:none;transition:color .2s}
.ph .pr:hover{color:var(--gold)}
.tag{font-family:var(--mono);font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--lav);font-weight:500}

/* home */
.hero{padding-block:clamp(48px,9vw,120px) clamp(40px,6vw,80px)}
.hero h1{margin:0;line-height:0}
.hero h1 img{width:min(100%,820px);height:auto}
.hero p{margin-top:clamp(22px,3vw,34px);font-size:clamp(17px,1.6vw,21px);color:var(--cream-dim);max-width:44ch}
.hero .btn{margin-top:26px}
.sportsrow{padding-bottom:clamp(48px,7vw,96px)}
.sports{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,2.4vw,32px)}
.sports li{display:grid;justify-items:center;gap:14px;text-align:center}
.sports img{width:min(100%,200px);height:auto}
.sports span{font-family:var(--mono);font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:var(--cream)}

/* the line: ONE long page (19 Oct 2026, Justin: "a scroll down page with all of the items listed"). A single compact
   row of anchor links to the products, then every product in full: its name (+ Training tag), its FEED design
   mockups and its size chart, the same blocks the separate product pages carried until 19 Oct. Products are set
   apart by space alone (no separator lines); an anchor jump stops just above the product's name. */
.jump{display:flex;flex-wrap:wrap;gap:0 16px;font-size:10.5px;letter-spacing:.1em;margin:calc(-1 * clamp(6px,1.4vw,20px)) 0 clamp(44px,6vw,80px)}
.jump a{text-decoration:none;padding-block:6px;transition:color .2s}
.jump a:hover{color:var(--gold)}
.prod{scroll-margin-top:20px}
.prod + .prod{padding-top:clamp(28px,4vw,56px)}
.pn{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 20px;margin-bottom:clamp(22px,3vw,36px)}
.pn h2{font-size:clamp(36px,5vw,72px);line-height:1}

/* a product on the line: design mockups, then the size chart */
.designs{display:grid;gap:clamp(36px,5vw,64px)}
.pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,2.4vw,40px)}
.mk-fig{display:grid;justify-items:center;gap:8px}
.mk-fig img{width:100%;height:auto;max-height:640px;object-fit:contain}
figcaption{font-family:var(--mono);font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:var(--mute)}
.sizing{padding-block:clamp(56px,8vw,104px) clamp(48px,7vw,96px)}
.sgrid{display:grid;grid-template-columns:minmax(0,.62fr) minmax(0,1.38fr);gap:clamp(24px,4vw,64px);align-items:start}
.stage{display:flex;justify-content:center;align-items:flex-start;gap:clamp(8px,1.6vw,20px)}
.stage.col{flex-direction:column;align-items:center}
/* a plate's box is known before the picture arrives (19 Oct 2026): the figure spans the stage (the plate stays centred
   in it, where a content-sized figure centred by the stage put it) and the plate is as wide as its own pixels, the
   column and its height cap (--mh) allow, the same size the old width:auto + max-height rule gave once loaded; so a
   lazy plate no longer opens from zero height and shoves the page down under an anchor link */
.pl{margin:0;min-width:0;width:100%;display:grid;justify-items:center;gap:8px}
.stage.row.n2 .pl{flex:1 1 0}
.pl img{--mh:380px;width:min(100%,calc(var(--w) * 1px),calc(var(--mh) * var(--w) / var(--h)));max-height:var(--mh);height:auto}
.stage.col .pl img{--mh:260px}
.cap{font-family:var(--mono);font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--cream);font-weight:500;
  display:flex;gap:10px;flex-wrap:wrap}
.cap .gt{color:var(--gold)}
.sz + .sz{margin-top:20px}
table{border-collapse:collapse;font-variant-numeric:tabular-nums}
/* position:relative makes the scroller the containing block of the visually hidden unit text (.vh is absolute), so
   it stays inside the scroller instead of widening the page */
/* the scroller reaches --bleed px past the column on both sides (to the screen edge on a phone), with the same
   padding inside, so a table that fits sits exactly where it did; on a phone a scrolled table is cut only by the
   screen's own edges */
.scroll{position:relative;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;
  margin-inline:calc(-1 * var(--bleed));padding:10px var(--bleed)}
.scroll:focus-visible{outline-offset:-2px}
.size{width:100%;font-family:var(--mono);font-size:12px}
.size th,.size td{padding:7px 5px;text-align:center;white-space:nowrap;transition:background .15s,color .15s;vertical-align:middle}
.size thead th{font-weight:700;color:var(--gold);letter-spacing:.04em}
.size thead th.mh{text-align:left;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--mute);font-weight:500}
.uh{display:block;font-size:10px;letter-spacing:.06em;text-transform:none;color:var(--mute);margin-top:2px}
.size tbody th{text-align:left;font-weight:500;color:var(--cream);font-family:var(--body);font-size:13px;white-space:normal;min-width:8.6em}
.size .mh,.size tbody th{padding-left:2px;padding-right:10px}
/* No sticky label column (18 Oct 2026, round 3 review). Round 2 pinned the labels while a table scrolled and hid the
   figures passing under them behind a dark fill; on a phone that fill still showed as a panel, with a vertical edge
   where the Tide Scan stopped and a top edge above MEASUREMENT (Justin: everything sits straight on the ground, no
   panels or lines). Now the label column scrolls with the figures, like any other column, and nothing is drawn
   behind it: every label and figure sits on the Tide Scan itself, where every text colour passes WCAG AA without a
   fill (--mute 4.79:1 on the brightest line). site.js still marks a table that scrolls (.is-scroll) so the
   "Scroll for all sizes" hint shows only there. */
.mk{display:flex;gap:8px;align-items:flex-start}
.ltr{flex:0 0 auto;width:18px;height:18px;display:grid;place-items:center;background:var(--lav);color:var(--ink);font-family:var(--mono);font-size:10.5px;font-weight:700;margin-top:1px}
.ltr.none{background:none}
.rn{display:block;font-weight:600;line-height:1.25}
.rs{display:block;font-style:normal;font-family:var(--mono);font-size:9.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--mute);margin-top:2px;line-height:1.3}
.size td{color:var(--cream);line-height:1.2}
.size .v{display:block;font-size:13px}
.size .c{display:block;font-size:10px;color:var(--mute);margin-top:2px}
.size.rng .v{font-size:12px}
.size.rng.wide th,.size.rng.wide td{padding:7px 3px}
.size.rng.wide tbody th{min-width:8.1em}
.size.rng.wide .v{font-size:11.5px}
.size.rng.wide .c{font-size:9px}
.size .ru{font-family:var(--mono);font-size:9.5px;letter-spacing:.04em;color:var(--gold);font-weight:500}
.size tbody tr:hover th .rn{color:var(--gold)}
@media (hover:hover){
.size:has(tbody td:nth-child(2):hover) :is(td,th):nth-child(2){background:rgba(214,169,60,.14);color:var(--cream)}
.size:has(tbody td:nth-child(3):hover) :is(td,th):nth-child(3){background:rgba(214,169,60,.14);color:var(--cream)}
.size:has(tbody td:nth-child(4):hover) :is(td,th):nth-child(4){background:rgba(214,169,60,.14);color:var(--cream)}
.size:has(tbody td:nth-child(5):hover) :is(td,th):nth-child(5){background:rgba(214,169,60,.14);color:var(--cream)}
.size:has(tbody td:nth-child(6):hover) :is(td,th):nth-child(6){background:rgba(214,169,60,.14);color:var(--cream)}
.size:has(tbody td:nth-child(7):hover) :is(td,th):nth-child(7){background:rgba(214,169,60,.14);color:var(--cream)}
.size:has(tbody td:nth-child(8):hover) :is(td,th):nth-child(8){background:rgba(214,169,60,.14);color:var(--cream)}
.size:has(tbody td:nth-child(9):hover) :is(td,th):nth-child(9){background:rgba(214,169,60,.14);color:var(--cream)}
.size:has(tbody td:nth-child(10):hover) :is(td,th):nth-child(10){background:rgba(214,169,60,.14);color:var(--cream)}
}
.note{margin-top:16px;font-size:12.5px;color:var(--cream-dim);max-width:72ch}
.note a{text-decoration:underline;text-underline-offset:3px;transition:color .2s}
.note a:hover{color:var(--gold)}
.hint{display:none;margin-left:auto;color:var(--mute)}
.sz.ovf .hint{display:inline}

/* shipping */
.ship{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,5vw,72px);align-items:center}
.globe{max-width:460px;width:100%;margin-inline:auto}
svg.tech-globe{margin-top:0}
.facts{list-style:none;display:grid;gap:22px}
.facts li{display:grid;grid-template-columns:28px 1fr;gap:12px;align-items:baseline}
.facts li span{font-family:var(--mono);font-size:11px;color:var(--gold);letter-spacing:.12em}
.facts li b{font-weight:600;color:var(--cream)}
.facts li p{color:var(--cream-dim)}
.terms{padding-block:clamp(56px,8vw,104px) clamp(48px,7vw,96px)}
.terms ul{list-style:none;max-width:760px;display:grid;gap:14px}
.terms li{color:var(--cream-dim)}
.terms li b{color:var(--cream);font-weight:600}

/* quote */
.quote{padding-block:clamp(28px,5vw,64px) clamp(56px,8vw,104px)}
.q-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:clamp(28px,5vw,72px);align-items:start}
.quote .lead{color:var(--cream-dim);margin-top:18px;max-width:40ch;font-size:clamp(16px,1.4vw,19px)}
form{display:grid}
.f2{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}
/* labels sit in the flow above their field (18 Oct 2026, round 3 review: an absolutely placed label had room for
   ONE line, so at about 1024 px "Approximate quantity (optional)" wrapped onto the "e.g. 24" placeholder). A label
   that wraps now pushes its field down. In a two-field row both fields share the row's tracks (subgrid: label row,
   field row, message row), so the two inputs stay level and each label stands just above its own field. The 6 px
   under a label keeps it clear of the field's focus ring too (2 px ring, 2 px offset). */
.field{position:relative;padding-top:8px}
.field label{display:block;margin-bottom:6px;line-height:1.45;font-family:var(--mono);font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--cream-dim);transition:color .25s}
@supports (grid-template-rows:subgrid){
  .f2 > .field{display:grid;grid-row:span 3;grid-template-rows:subgrid}
  .f2 > .field label{align-self:end}
}
.field input,.field select,.field textarea{width:100%;border:0;border-bottom:1px solid #6E6878;background:none;font-family:var(--body);font-size:16px;
  color:var(--cream);padding:8px 0 11px;outline:none;border-radius:0;transition:border-color .25s}
.field select{appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:22px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23C9C2B5'/%3E%3C/svg%3E") right 4px center/10px 6px no-repeat}
.field select option{background:var(--ink);color:var(--cream)}
.field textarea{resize:vertical;min-height:84px}
.field input::placeholder,.field textarea::placeholder{color:#8F8999;opacity:1}
/* focus has its own look, never the error's (18 Oct 2026, round 2 review: a gold underline + gold label was both the
   focus and the error style, so after a failed submit four fields looked alike): a cream ring, the label in cream.
   Errors stay gold (a 2 px gold underline, gold label, gold message). */
.field:focus-within input,.field:focus-within select,.field:focus-within textarea{border-bottom-color:var(--cream)}
.field:focus-within label{color:var(--cream)}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible{outline:2px solid var(--cream);outline-offset:2px}
.ferr{display:block;font-family:var(--mono);font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--gold);padding:6px 0 4px;font-weight:700}
.ferr:empty{display:none}
.field.bad input,.field.bad select,.field.bad textarea{border-bottom:2px solid var(--gold)}
.field.bad label{color:var(--gold)}
.qnote{font-size:13px;color:var(--cream-dim);max-width:40ch}
.qnote.err{color:var(--gold);font-weight:600;max-width:none}
.qnote a{text-decoration:underline;text-underline-offset:3px}
.qsub{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin-top:28px}
.qalt{margin-top:14px}
.hp{display:none}

/* team sizes (10 Nov 2026): /team-sizes, one form for a whole team (Netlify form "team-sizes", assets/js/team-sizes.js).
   The quote form's fields, underlines and errors. On a wide screen the athletes read as a compact table: a header and
   one grid row per athlete, the columns set by the ticked products (team-sizes.js writes --cols and --minw). At 900 px
   and under, and wherever the ticked products make that table wider than the block, team-sizes.js puts .ts-cards on
   the Athletes block and each athlete is a card of labelled fields, so nothing ever sits in a hidden sideways scroll.
   Space alone separates the blocks and the cards. */
.ts{padding-block:clamp(28px,5vw,64px) clamp(56px,8vw,104px)}
.ts [hidden]{display:none!important}
.ts-head{position:relative;z-index:1}
.ts .lead{color:var(--cream-dim);margin-top:18px;max-width:52ch;font-size:clamp(16px,1.4vw,19px)}
.ts form{color-scheme:dark}
.ts .qnote{max-width:64ch}
.ts-blk{margin-top:clamp(40px,5vw,64px);min-width:0}
fieldset.ts-blk{border:0}
.ts-narrow{max-width:760px}
.ts-h{font-family:var(--disp);font-weight:400;text-transform:uppercase;font-size:clamp(24px,2.8vw,34px);line-height:1;color:var(--cream);margin-bottom:6px}
.ts-blk.bad .ts-h{color:var(--gold)}
.ts-prods{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:0 32px;margin-top:10px}
.ts-prods li{display:flex;align-items:center;gap:12px;min-height:44px}
.ts input[type=checkbox]{flex:0 0 auto;width:18px;height:18px;margin:0;accent-color:var(--gold);cursor:pointer}
.ts-prods label{cursor:pointer;font-size:15px}
.ts-guide{margin-left:auto;font-size:10px;letter-spacing:.14em;padding-block:8px;text-decoration:underline;text-underline-offset:3px;transition:color .2s}
.ts-guide:hover{color:var(--gold)}
.ts-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;margin:6px calc(-1 * var(--bleed)) 0;padding:12px var(--bleed) 6px}
.ts-grid{min-width:var(--minw,0px)}
.ts-hd,.ts-row{display:grid;grid-template-columns:var(--cols);column-gap:10px;align-items:start}
.ts-hd{align-items:end;font-family:var(--mono);font-size:9.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--cream-dim);line-height:1.35}
.ts-row > *{min-width:0}
.ts-row .field{padding-top:0}
.ts-row .field input,.ts-row .field select{font-size:15px;padding:9px 0}
.ts-row .field select{padding-right:20px;background-position:right 2px center}
.ts-num{font-family:var(--mono);font-size:11px;color:var(--mute);padding-top:12px}
.ts-x{display:grid;place-items:center;width:30px;height:40px;background:none;border:0;color:var(--mute);font-size:20px;line-height:1;cursor:pointer;transition:color .2s}
.ts-x:hover{color:var(--gold)}
.ts-rerr{grid-column:1/-1}
.ts-hint{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:6px;font-size:12px;line-height:1.35;color:var(--gold)}
.btn.xs{padding:5px 8px;font-size:10px;letter-spacing:.12em}
.ts-add{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.ts-tot{display:grid;gap:6px;margin-top:20px;font-family:var(--mono);font-size:12px;letter-spacing:.04em;color:var(--cream-dim)}
.ts-tot p:first-child{color:var(--cream)}
.ts-ticks{display:grid;gap:14px}
.ts-tick{display:grid;grid-template-columns:18px minmax(0,1fr);gap:14px;align-items:start}
.ts-tick input{margin-top:3px}
.ts-tick label{font-size:14.5px;color:var(--cream-dim);cursor:pointer}
.ts-tick.bad label{color:var(--gold)}
.ts .field input[type=file]{padding:10px 0 12px;font-size:14px;color:var(--cream-dim);cursor:pointer}
.ts .field input[type=file]::file-selector-button{margin-right:14px;padding:9px 14px;border:0;background:var(--cream);color:var(--ink);font-family:var(--mono);font-size:10px;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}
.ts-blk:not(.ts-cards) .ts-row .ts-l{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.ts-cards .ts-hd{display:none}
.ts-cards .ts-scroll{overflow:visible;margin:0;padding:0}
.ts-cards .ts-grid{min-width:0}
.ts-cards .ts-row{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:16px;align-items:end;padding-block:22px 4px}
.ts-cards .ts-num{grid-column:1/4;grid-row:1;align-self:center;padding-top:0;color:var(--gold);letter-spacing:.16em;text-transform:uppercase}
.ts-cards .ts-num::before{content:"Athlete "}
.ts-cards .ts-x{grid-column:4;grid-row:1;justify-self:end;width:40px;height:40px}
.ts-cards .ts-c-name,.ts-cards .ts-c-print,.ts-cards .ts-c-hint{grid-column:span 2}
.ts-cards .ts-c-m1{grid-column-start:1}        /* the measurements start their own line */
.ts-cards .ts-row .field{padding-top:8px}
@media (max-width:900px){
  .ts-row .field input,.ts-row .field select{font-size:16px}   /* 16 px: no zoom on focus on a phone */
}
@media (max-width:560px){
  .ts-cards .ts-row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ts-cards .ts-num{grid-column:1}
  .ts-cards .ts-x{grid-column:2}
}

/* legal pages, 404, thanks */
.doc{padding-block:clamp(40px,7vw,96px)}
.doc-head{display:grid;grid-template-columns:auto 1fr;gap:clamp(18px,3vw,44px);margin-bottom:clamp(34px,5vw,64px)}
.folio{font-family:var(--mono);font-size:11px;letter-spacing:.2em;color:var(--gold);padding-top:6px;text-transform:uppercase}
.lede{font-size:clamp(16px,1.35vw,19px);color:var(--cream-dim);margin-top:16px;max-width:60ch}
.lede a{text-decoration:underline;text-underline-offset:3px}
.meta{margin-top:18px}
.doc .body{display:grid;gap:34px;max-width:760px}
.doc .body h2{font-size:clamp(22px,2.6vw,30px);letter-spacing:-.01em;line-height:1;margin-bottom:12px}
.doc .body p,.doc .body li{color:var(--cream-dim);max-width:66ch}
.doc .body p+p{margin-top:12px}
.doc .body ul{margin:12px 0 0 1.1em}
.doc .body li{margin-bottom:6px}
.doc .body li::marker{color:var(--gold)}
.doc .body a{color:var(--cream);text-decoration:underline;text-underline-offset:3px}
.doc .body strong{color:var(--cream);font-weight:600}
dl.kv{display:grid;grid-template-columns:minmax(120px,190px) minmax(0,1fr);gap:14px 0;margin-top:10px}
dl.kv dt{font-family:var(--mono);font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);padding:3px 12px 0 0}
dl.kv dd{color:var(--cream-dim)}
.nf{min-height:calc(100svh - 72px - 180px);display:flex;align-items:flex-end;padding-block:clamp(48px,8vw,112px)}
.nf h1{font-size:clamp(64px,15vw,210px);line-height:1}
.nf h1 span{display:block;color:var(--lav)}
.nf .cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}

/* footer: the ground runs under it, no rule above it */
.foot{padding-block:clamp(36px,6vw,64px) 30px}
.frow{display:flex;flex-wrap:wrap;gap:12px 28px;justify-content:space-between}
.frow a{display:inline-block;padding-block:6px;text-decoration:underline;text-underline-offset:3px;transition:color .2s}
.frow a:hover{color:var(--cream)}
.legal{font-size:12px;color:var(--mute);max-width:76ch;margin-top:14px;line-height:1.6}

@media (max-width:960px){
  .sgrid{grid-template-columns:minmax(0,1fr);gap:28px}
  .pl img{--mh:300px}
  .stage.col{flex-direction:row;align-items:flex-start}
  .stage.col .pl{flex:1 1 0}
  .stage.col .pl img{--mh:240px}
  .ship{grid-template-columns:minmax(0,1fr)}
  .q-grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:700px){
  .doc-head{grid-template-columns:minmax(0,1fr);gap:10px}
  dl.kv{grid-template-columns:minmax(0,1fr);gap:4px 0}
  dl.kv dd{margin-bottom:12px}
}
@media (max-width:640px){
  :root{--bleed:var(--gut)}                    /* table scrollers reach the screen edge on a phone */
  .nav{gap:10px;height:auto;flex-wrap:wrap;padding-top:12px;padding-bottom:2px;row-gap:2px}   /* phone: logo + quote button, then the menu (11 Nov 2026: 3 links) */
  .brand img{height:26px}
  .links{gap:0;order:3;flex-basis:100%;margin-left:-6px}
  .btn.sm{margin-left:auto}
  .links a{font-size:10px;letter-spacing:.08em;padding:8px 6px}
  .links a::after{left:6px;right:6px}
  .btn.sm{font-size:10px;letter-spacing:.08em;padding:9px 10px}
  .btn.sm .ar{display:none}
  .ph .pr{margin-left:0;flex-basis:100%}
  .sports{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:28px}
  .sports img{width:min(100%,150px)}
  .pair{grid-template-columns:minmax(0,1fr);gap:22px}
  .pair.tall{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .mk-fig img{max-height:72vh}
  .f2{grid-template-columns:1fr}
  .size th,.size td{padding:7px 4px}
  .size tbody th{min-width:7.8em}
  .size .mh,.size tbody th{padding-right:8px}
}
@media (max-width:360px){
  .links a{letter-spacing:.04em;padding:8px 4px}
  .btn.sm{letter-spacing:.04em;padding:9px 8px}
}
@media (prefers-reduced-motion:reduce){
  .btn .ar,.links a::after{transition:none}
}
@media print{.top,.skip,.quote form{display:none}body{background:#fff;color:#000}body::before,.shade::before{display:none}}
