/* Bell — YOU vs YOU · site styles
   Tokens lifted from the Bell design system. One accent colour only.

   Two surfaces, one set of variables:
   · the landing runs the dark ladder (--l0 … --l3);
   · the blog index and the article run the paper theme, and so does the light
     inset inside the landing. Both re-declare the *same* variables instead of
     duplicating rules — see "surfaces" below.

   The ladder is carried by the hairline, not by the fill: the WCAG contrast
   between two neighbouring steps is 1.06–1.19, below the 1.15 a border needs to
   read. Drop a `border-block` and the section disappears. */

:root {
  /* dark ladder — page, inset, card, raised */
  --l0:#0D0B0A;            /* page. #0B0B0B with ~2% of our own orange mixed in */
  --l1:#17130F;            /* inset section */
  --l2:#1C1C1E;            /* card */
  --l3:#2A2A2C;            /* raised element, rules */
  --hair:rgba(255,255,255,.07);
  --hair-strong:rgba(255,255,255,.12);
  --veil:13,11,10;         /* the page colour as an rgb triplet, for overlays */

  /* accent + neutrals */
  --orange:#F36D0A; --orange-tint:#FFB066; --orange-ember:#6B3C12;
  --white:#FFFFFF; --cream:#F2EAE6; --gray-1:#C7C7CC; --gray-2:#8E8E93;

  /* semantic */
  --bg:var(--l0);
  --text-display:var(--white);
  --text-body:var(--cream);
  --text-soft:var(--gray-1);
  --text-muted:var(--gray-2);
  --text-accent:var(--orange);      /* accent as *text* — recoloured on paper */
  --rule:var(--orange);             /* accent as a line — decorative, may be low contrast */
  --rule-strong:var(--orange);      /* a line that IS the border of a component (WCAG 1.4.11 ≥3) */
  --lead:var(--orange-tint);
  --focus:var(--orange);
  --shadow:0 24px 60px rgba(0,0,0,.55);

  /* type families */
  --font-display:'Bevan', Georgia, serif;      /* poster headlines, CAPS only */
  --font-poster:'Benne', Georgia, serif;       /* fight cards, subheads */
  --font-ui:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* fluid type scale — mobile → desktop */
  --t-hero:  clamp(3.25rem, 10vw, 8rem);
  --t-h1:    clamp(2.2rem, 7.2vw, 5rem);
  --t-h2:    clamp(1.7rem, 4.6vw, 3.1rem);
  --t-h3:    clamp(1.15rem, 2.4vw, 1.6rem);
  --t-lead:  clamp(1.1rem, 2.1vw, 1.5rem);
  --t-body:  clamp(1rem, 1.35vw, 1.125rem);
  --t-small: clamp(0.82rem, 1.1vw, 0.92rem);
  --t-kicker:clamp(0.7rem, 1.15vw, 0.82rem);

  --track-kicker:.32em;
  --track-card:.12em;
  --track-callout:.14em;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --maxw: 1180px;
  --section-y: clamp(4.5rem, 11vw, 9rem);
}

/* ── paper: the blog, the article, and the light inset on the landing ──
   Same variable names, different values. Measured contrasts on cream #F2EAE6:
   body #2A2A2C 12.06 · muted #5C5551 6.31 · accent #6B3C12 7.76.
   #F36D0A on cream is 2.53 — it must never carry text here, only fill. */
[data-theme="paper"], .light {
  --l0:#F2EAE6;
  --l1:#FBF8F6;
  --l2:#FFFFFF;
  --l3:#E4DAD4;
  --hair:rgba(0,0,0,.12);
  --hair-strong:rgba(0,0,0,.22);
  --veil:242,234,230;
  --bg:var(--l0);
  --text-display:#0B0B0B;
  --text-body:#2A2A2C;
  --text-soft:#3B3735;
  --text-muted:#5C5551;
  --text-accent:var(--orange-ember);
  /* #F36D0A as a 3px border is 2.53 on cream / 2.84 on #FBF8F6 — below the 3.0
     WCAG 1.4.11 asks of a border that carries meaning. The ember does 7.76/8.71. */
  --rule-strong:var(--orange-ember);
  --lead:var(--orange-ember);
  --focus:var(--orange-ember);
  --shadow:0 20px 44px rgba(20,18,17,.18);
}

/* ---------- reset ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto} }
body{
  margin:0; background:var(--bg); color:var(--text-body);
  font-family:var(--font-ui); font-size:var(--t-body); line-height:1.6;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
img,svg{max-width:100%; height:auto; display:block}
picture{display:block}
a{color:inherit}

/* ---------- focus, one rule for every interactive element ---------- */
:where(a, button, summary, [tabindex]):focus-visible{
  outline:2px solid var(--focus);
  outline-offset:3px;
  border-radius:4px;
}
.btn:focus-visible{outline-offset:4px}
/* Off-screen by clipping, not by a negative offset: `left:-9999px` grows the
   document 10 000px wide, and in RTL that pushes the whole page out of the
   captured viewport (the scroll origin sits at the right edge). */
.skip{position:absolute; width:1px; height:1px; overflow:hidden;
  clip-path:inset(50%); white-space:nowrap}
.skip:focus{
  position:fixed; width:auto; height:auto; clip-path:none;
  inset-inline-start:var(--gutter); top:.5rem; z-index:99;
  background:var(--orange); color:#0B0B0B; padding:.7rem 1.2rem; border-radius:6px;
  text-decoration:none; font-weight:600;
}

/* ---------- layout ---------- */
.wrap{max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter)}
.section{padding-block:var(--section-y); position:relative}
.section--inset{background:var(--l1); border-block:1px solid var(--hair)}
.measure{max-width:min(54ch,100%)}

/* ---------- type ---------- */
.display{
  font-family:var(--font-display); text-transform:uppercase;
  line-height:.92; letter-spacing:-0.005em; color:var(--text-display);
  margin:0; font-weight:400; overflow-wrap:break-word;
}
.h1{font-size:var(--t-h1)}
.h2{font-size:var(--t-h2)}
.kicker{
  font-family:var(--font-ui); font-size:var(--t-kicker); font-weight:500;
  text-transform:uppercase; letter-spacing:var(--track-kicker);
  color:var(--text-muted); margin:0 0 1.25rem;
}
.lead{font-family:var(--font-poster); font-size:var(--t-lead); line-height:1.45; color:var(--lead)}
.muted{color:var(--text-muted)}
.soft{color:var(--text-soft)}
.small{font-size:var(--t-small)}
p{margin:0 0 1.1em}
p:last-child{margin-bottom:0}
.close{margin-top:2.2rem; font-family:var(--font-poster); color:var(--text-accent);
  font-size:var(--t-lead); line-height:1.45; max-width:min(48ch,100%)}
.more{margin-top:2rem}
.more a{color:var(--text-accent); text-decoration:none; font-family:var(--font-ui); font-weight:600;
  display:inline-flex; align-items:center; min-height:44px}
.more a:hover{text-decoration:underline}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.6rem;
  font-family:var(--font-ui); font-weight:600; font-size:var(--t-small);
  text-transform:uppercase; letter-spacing:.08em; text-decoration:none;
  padding:.95rem 1.6rem; border-radius:6px; border:2px solid transparent;
  min-height:44px;
  transition:transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn--primary{background:var(--orange); color:#0B0B0B}   /* fill, not text: 6.56 */
.btn--ghost{border-color:var(--hair-strong); color:var(--text-display)}
.btn:hover{transform:translateY(-2px)}
.btn--ghost:hover{border-color:var(--orange)}
@media (prefers-reduced-motion: reduce){ .btn:hover{transform:none} }

/* ---------- light and grain, exactly two places each ---------- */
.beam::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(105deg,transparent 34%,rgba(243,109,10,.13) 50%,transparent 66%);
}
.grain::after{
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.055;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- cards ---------- */
.card{
  background:var(--l2); border:1px solid var(--hair); border-radius:14px;
  padding:clamp(1.25rem,2.6vw,1.9rem); color:var(--text-body);
}
.card--lit{border-color:rgba(243,109,10,.4)}
.card__num{font-family:var(--font-display); color:var(--text-accent);
  font-size:1.9rem; line-height:1; margin:0 0 .8rem}
.card__h{font-family:var(--font-display); text-transform:uppercase; font-size:1.1rem;
  line-height:1.15; color:var(--text-display); margin:0 0 .7rem; font-weight:400}
.card__b{font-size:var(--t-small); color:var(--text-soft); margin:0}
.grid{display:grid; gap:clamp(1rem,2.4vw,1.6rem)}
.grid--3{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
.cards{margin-top:2.6rem}

/* ---------- screenshots ---------- */
.shot{
  border-radius:22px; overflow:hidden;
  border:1px solid var(--hair-strong);
  box-shadow:var(--shadow);
}
/* screenshots ship as <picture>, so the frame is on the wrapper */
.shot img{width:100%; height:auto; border-radius:inherit}

/* ---------- reveal on scroll ---------- */
.js .reveal{opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease}
.js .reveal.is-in{opacity:1; transform:none}
@media (prefers-reduced-motion: reduce){
  .js .reveal{opacity:1; transform:none; transition:none}
}

/* ══════════ page sections ══════════ */

/* top ribbon — "what is this" on one side, where to go on the other */
.ribbon{
  position:relative; z-index:50;
  background:var(--l1); border-bottom:1px solid var(--hair);
  font-family:var(--font-ui); font-size:var(--t-kicker); font-weight:500;
  text-transform:uppercase; letter-spacing:.18em; color:var(--text-soft);
  text-align:center; padding:.35rem var(--gutter); line-height:1.7;
}
.ribbon__home{color:inherit; text-decoration:none;
  display:inline-flex; align-items:center; min-height:44px; padding-block:.7rem}
.ribbon__home:hover{color:var(--text-accent)}
/* the slogan keeps the start of the row, navigation takes the end; both wrap
   onto their own lines when the row runs out — nothing overlaps at 320px */
.ribbon__grid{max-width:var(--maxw); margin-inline:auto;
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:0 1.4rem; text-align:start}
.ribbon__line{margin:0; padding-block:.4rem; flex:1 1 16ch; min-width:0}
/* margin-inline-start:auto keeps navigation at the end of its line even when
   it wraps onto a line of its own — otherwise a short "train tonight" pulls
   the language button to the start and its menu opens off the screen */
.ribbon__nav{display:flex; align-items:center; gap:.3rem; flex:0 0 auto;
  margin-inline-start:auto}
.ribbon__link{display:inline-flex; align-items:center; min-height:44px;
  padding-inline:.55rem; border-radius:6px; color:inherit; text-decoration:none;
  border:1px solid transparent}
.ribbon__link:hover{color:var(--text-accent); border-color:var(--hair-strong)}

/* the language menu: <details>, so it opens with the browser and not with us */
.langpick{position:relative; flex:0 0 auto}
.langpick__btn{
  list-style:none; cursor:pointer;
  min-width:44px; min-height:44px; padding-inline:.5rem; gap:.3rem;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--hair-strong); border-radius:6px; color:var(--text-body);
}
.langpick__btn::-webkit-details-marker{display:none}
.langpick__btn::after{content:"▾"; letter-spacing:0}
.langpick[open] .langpick__btn{border-color:var(--rule-strong); color:var(--text-accent)}
.langpick__menu{
  position:absolute; inset-inline-end:0; top:calc(100% + .4rem); z-index:60;
  display:grid; grid-template-columns:repeat(4,44px); gap:.15rem; padding:.5rem;
  background:var(--l1); border:1px solid var(--hair-strong); border-radius:10px;
  box-shadow:var(--shadow);
}
.langpick__menu a{color:var(--text-soft); text-decoration:none}

/* ---------- 1 · hero ---------- */
.hero{position:relative; overflow:hidden; border-bottom:1px solid var(--hair)}
.hero__grid{display:grid; grid-template-columns:1.05fr .95fr; align-items:stretch}
.hero__text{padding:clamp(3rem,7vw,6rem) clamp(1.5rem,5vw,5rem);
  display:flex; flex-direction:column; justify-content:center; position:relative; z-index:2}
.hero__title{font-size:var(--t-hero); display:flex; flex-direction:column;
  align-items:flex-start; gap:.06em}
.vs{background:var(--orange); color:#0B0B0B; font-family:var(--font-display);
  font-size:.34em; padding:.1em .5em; align-self:flex-start; letter-spacing:.06em}
.hero__lead{margin-top:1.6rem; max-width:34ch}
.hero__cta{margin-top:2rem; margin-bottom:.7rem}
.hero__media{position:relative; min-height:640px}
.hero__bg, .hero__bg img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
/* the photograph feathers into the page instead of ending in a rectangle.
   Gradients have no logical keywords — `to inline-end` is invalid and gets
   dropped silently — so the direction is physical, mirrored under [dir=rtl]. */
.hero__media::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:
    linear-gradient(90deg, var(--l0) 0%, rgba(var(--veil),.55) 22%, transparent 55%),
    linear-gradient(0deg, var(--l0) 0%, transparent 30%);
}
[dir="rtl"] .hero__media::after{
  background:
    linear-gradient(270deg, var(--l0) 0%, rgba(var(--veil),.55) 22%, transparent 55%),
    linear-gradient(0deg, var(--l0) 0%, transparent 30%);
}
.hero__shot{position:absolute; inset-inline-start:-110px; bottom:-40px; width:250px; z-index:4}
.hud{
  position:absolute; inset-inline-end:clamp(1rem,3vw,3rem); bottom:clamp(1.5rem,4vw,3rem);
  z-index:3; margin:0; display:flex; gap:1.4rem; align-items:center;
  background:rgba(var(--veil),.72); backdrop-filter:blur(6px);
  border:1px solid var(--hair-strong); border-radius:12px; padding:.9rem 1.2rem;
}
.hud b{font-family:var(--font-display); color:var(--orange); font-size:1.6rem;
  display:block; line-height:1; font-weight:400}
.hud i{font-style:normal; font-size:.68rem; letter-spacing:.2em;
  text-transform:uppercase; color:var(--gray-2)}

/* ---------- 2 · fight card ---------- */
.fightcard{
  background:var(--l1); border-block:2px solid var(--rule);
  margin:0; padding:1.1rem var(--gutter);
  font-family:var(--font-poster); text-transform:uppercase;
  letter-spacing:var(--track-card); font-size:var(--t-small);
  color:var(--text-body); text-align:center; overflow-wrap:break-word;
}
.fightcard b{font-weight:400; color:var(--text-accent)}

/* ---------- 4 · mirror: media leads, text follows ---------- */
.mirror{display:grid; gap:clamp(2rem,5vw,4.5rem); align-items:stretch;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
/* the photograph fills its column instead of floating in the middle of it —
   that column was the emptiest part of the page in the measurement */
.mirror__media{position:relative; min-height:clamp(340px,42vw,620px)}
.mirror__media picture{position:absolute; inset:0}
.mirror__media img{border-radius:16px; border:1px solid var(--hair);
  width:100%; height:100%; object-fit:cover}
/* the anatomy plate is the App Store slide: its callouts are printed type, so
   it needs room to stay readable — 300px made them illegible */
.anatomy__plate{display:block; width:100%; max-width:520px; margin:2rem 0 0}
.anatomy__plate img{width:100%; height:auto; border-radius:16px;
  border:1px solid var(--hair)}
/* a legend, not a numbered key: the numbers are printed on the plate itself
   and there are five of them, so repeating 1-4 here would contradict it */
.anatomy__list{list-style:none; margin:1.4rem 0 0; padding:0; display:grid}
.anatomy__list li{display:flex; gap:.8rem; align-items:baseline;
  border-top:1px solid var(--hair); padding:.8rem 0;
  font-family:var(--font-ui); font-size:var(--t-small); text-transform:uppercase;
  letter-spacing:var(--track-callout); color:var(--text-soft)}
.anatomy__list li:last-child{border-bottom:1px solid var(--hair)}

/* ---------- 5 · full-bleed photo band ---------- */
.band{position:relative; height:clamp(240px,34vw,460px); overflow:hidden;
  border-block:1px solid var(--hair)}
.band--tall{height:clamp(200px,26vw,340px)}
.band picture, .band img{width:100%; height:100%; object-fit:cover}
.band__line{
  position:absolute; inset-inline:0; bottom:0; margin:0;
  background:linear-gradient(0deg, rgba(var(--veil),.92), rgba(var(--veil),0));
  padding:2.6rem var(--gutter) 1.6rem; text-align:center;
  font-family:var(--font-poster); text-transform:uppercase;
  letter-spacing:var(--track-card); font-size:var(--t-small); color:var(--text-body);
}

/* ---------- 6 · the light inset ---------- */
.light{background:var(--l0); color:var(--text-body); border-block:1px solid var(--hair)}
/* the screenshot leads the section, the cards read to its side */
.presets{display:grid; grid-template-columns:minmax(0,.4fr) minmax(0,1fr);
  gap:clamp(1.6rem,4vw,3rem); margin-top:2.6rem; align-items:start}
.presets__lead{position:sticky; top:1.5rem}
.presets__device{width:100%; max-width:300px; margin-inline:auto; display:block}
/* one format for every cell: equal rows, so a long preset cannot stretch its
   neighbour into a column and the photographs fill the same box as a card */
.lightgrid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  grid-auto-rows:1fr; gap:1.2rem; align-items:stretch}
.photo{margin:0; border-radius:14px; overflow:hidden; border:1px solid var(--hair); min-height:200px}
.photo picture, .photo img{width:100%; height:100%; object-fit:cover; min-height:200px}
.presets__cta{margin-top:2.4rem}
.preset{background:var(--l2); border-radius:14px; padding:1.5rem;
  border:1px solid var(--hair); transition:border-color .12s ease}
.preset:hover{border-color:var(--orange)}
.preset__sig{width:52px; height:52px; margin-bottom:1rem}
.preset__name{font-family:var(--font-display); text-transform:uppercase;
  font-size:var(--t-h3); color:var(--text-accent); margin:0 0 .3rem; line-height:1.05; font-weight:400}
.preset__spec{font-family:var(--font-ui); font-size:var(--t-kicker); text-transform:uppercase;
  letter-spacing:var(--track-card); color:var(--text-muted); margin:0 0 .8rem}
.preset__body{font-size:var(--t-small); color:var(--text-soft); margin:0}

/* ---------- 7 · two text columns ---------- */
.cols2{display:grid; gap:clamp(1.4rem,3.4vw,3rem); margin-top:2rem;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}

/* ---------- 8 · quote plate over the photograph ---------- */
.plate{position:relative; overflow:hidden; min-height:clamp(360px,48vw,560px);
  display:grid; align-items:center; border-block:1px solid var(--hair)}
.plate picture, .plate img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
.plate::after{content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(90deg, rgba(var(--veil),.85), rgba(var(--veil),.15))}
[dir="rtl"] .plate::after{
  background:linear-gradient(270deg, rgba(var(--veil),.85), rgba(var(--veil),.15))}
.plate__box{position:relative; z-index:2; margin:0; background:var(--orange); color:#0B0B0B;
  padding:clamp(1.6rem,3.4vw,2.6rem); max-width:min(620px,86%);
  margin-inline-start:var(--gutter)}
.plate__box p{font-family:var(--font-display); text-transform:uppercase;
  font-size:clamp(1.2rem,2.6vw,2rem); line-height:1.1; margin:0}

/* ---------- 9 · show up daily ---------- */
.split{display:grid; gap:clamp(2rem,5vw,4.5rem); align-items:start;
  grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
/* a poster H1 inside a half-width column needs its own ceiling, otherwise
   Bevan breaks words mid-syllable */
.split .h1{font-size:clamp(1.9rem,3.6vw,3.3rem)}
.split--even{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
/* the history screen is the subject of this section, not a footnote at the
   bottom of a column: it holds the middle, the copy and the week stand around */
.history{display:grid; gap:clamp(1.6rem,3.4vw,3rem); align-items:start;
  grid-template-columns:minmax(0,1fr) minmax(280px,.9fr) minmax(0,.72fr)}
.history .h1{font-size:clamp(1.7rem,3vw,2.7rem)}
.history__lead{position:sticky; top:1.5rem; justify-self:center; width:100%}
.history__lead .shot{width:min(100%,360px); margin-inline:auto; display:block}
.history__side{display:grid; gap:2rem; justify-items:start; align-content:start}
.miss{margin:0; padding:1.4rem; width:100%}
.miss picture img, .miss img{border-radius:10px; width:100%}
.miss figcaption{margin-top:1rem; font-size:var(--t-small); color:var(--text-soft)}
.miss figcaption b{display:block; font-family:var(--font-ui); font-weight:600;
  font-size:var(--t-kicker); letter-spacing:var(--track-card);
  text-transform:uppercase; color:var(--text-display); margin-bottom:.4rem}
.streaks{margin:0; border-top:2px solid var(--rule); padding-top:1.2rem; width:100%}
.care{margin-top:1.6rem; font-size:var(--t-small); color:var(--text-muted);
  border-inline-start:2px solid var(--hair-strong); padding-inline-start:1rem;
  max-width:min(52ch,100%)}

/* volume arithmetic: a week of daily rounds vs one big session */
.math{margin:2.4rem 0 0; padding:0; display:grid; gap:.9rem; max-width:560px}
.math__row{display:flex; align-items:center; gap:1rem}
.math__bars{display:flex; gap:.65rem; flex-wrap:wrap}
.math__grp{display:flex; gap:3px}
.math__grp i{width:7px; height:30px; border-radius:2px; background:var(--orange)}
.math__row--dim .math__grp i{background:var(--l3)}
.math__sum{font-family:var(--font-display); font-size:1.6rem; color:var(--text-accent);
  line-height:1; font-variant-numeric:tabular-nums; font-weight:400}
.math__row--dim .math__sum{color:var(--text-muted)}
.math figcaption{font-size:var(--t-kicker); text-transform:uppercase;
  letter-spacing:var(--track-card); color:var(--text-muted)}

/* the training week: Monday wipes the board */
.weekbar{margin:0; padding:0; display:flex; gap:.55rem; align-items:flex-end;
  width:100%; max-width:340px; height:132px}
.wk{flex:1; display:flex; flex-direction:column; align-items:center; gap:.5rem; height:100%;
  justify-content:flex-end}
.wk u{display:block; width:100%; border-radius:5px; background:var(--orange); text-decoration:none}
.wk.is-rest u{background:var(--l3)}
.wk em{font-style:normal; font-family:var(--font-ui); font-size:var(--t-kicker);
  color:var(--text-muted); text-transform:uppercase}

/* ---------- 10 · the week ---------- */
.week__grid{display:grid; gap:clamp(2rem,5vw,4.5rem); align-items:center;
  grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
.week__grid .shot{width:min(80%,300px); justify-self:center}
.honest{margin-top:1.2rem; max-width:52ch; font-family:var(--font-poster);
  color:var(--text-body); border-top:2px solid var(--rule); padding-top:1rem}

/* ---------- 11 · the fine print ---------- */
.fine{list-style:none; margin:2.5rem 0 0; padding:0; display:grid; gap:0;
  grid-template-columns:repeat(3,minmax(0,1fr))}
.fine li{border-top:1px solid var(--rule); padding:1.1rem 1rem 1.1rem 0;
  font-family:var(--font-poster); text-transform:uppercase;
  letter-spacing:.1em; font-size:var(--t-small); color:var(--text-body);
  overflow-wrap:break-word; hyphens:auto}

/* ---------- 12 · FAQ ---------- */
.faq__list{margin-top:2.4rem; display:grid; gap:0}
.faq__list--2{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));
  column-gap:clamp(1.5rem,4vw,3rem)}
.faq__item{border-top:1px solid var(--l3)}
.faq__item summary{
  cursor:pointer; list-style:none; padding:1.15rem 2rem 1.15rem 0; position:relative;
  font-family:var(--font-ui); font-weight:600; font-size:clamp(1.05rem,1.9vw,1.35rem);
  color:var(--text-display);
}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item summary::after{
  content:"+"; position:absolute; inset-inline-end:0; top:50%; transform:translateY(-50%);
  color:var(--text-accent); font-size:1.4rem; font-weight:400; line-height:1;
}
.faq__item[open] summary::after{content:"–"}
.faq__item summary:hover{color:var(--text-accent)}
.faq__a{padding:0 2rem 1.4rem 0; color:var(--text-soft); max-width:min(62ch,100%)}

/* ---------- 13 · blog cards ---------- */
.posts{display:grid; gap:1.4rem; margin-top:2.6rem}
.posts--rows .post__link{grid-template-columns:min(38%,420px) 1fr}
.posts--grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
.post{background:var(--l2); border:1px solid var(--hair); border-radius:14px; overflow:hidden}
.post__link{display:grid; text-decoration:none; color:inherit; height:100%}
.post:hover{border-color:var(--rule)}
.post__cover{display:block; position:relative; overflow:hidden; background:var(--l3)}
.posts--rows .post__cover{aspect-ratio:5/4}
.posts--grid .post__cover{aspect-ratio:16/9}
.post__cover picture, .post__cover img{width:100%; height:100%; object-fit:cover}
.post__fallback{position:absolute; inset:0; background:var(--l1);
  display:flex; align-items:flex-end; padding:1.2rem; border-bottom:3px solid var(--orange)}
.post__fallback span{font-family:var(--font-display); text-transform:uppercase;
  color:rgba(128,128,128,.35); font-size:clamp(1.6rem,3.4vw,2.2rem); line-height:.9}
.post__b{display:flex; flex-direction:column; gap:.6rem;
  padding:clamp(1.2rem,2.4vw,1.8rem)}
.post__cat{font-size:.68rem; letter-spacing:.2em; text-transform:uppercase; color:var(--text-accent)}
.post h2{font-family:var(--font-poster); font-size:1.25rem; line-height:1.25;
  color:var(--text-display); margin:0; font-weight:400}
.post__lead{font-size:.9rem; color:var(--text-soft);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
.post time{font-size:.75rem; color:var(--text-muted); margin-top:auto}
.posts__wrap{padding-block:clamp(1rem,3vw,2rem) var(--section-y)}
.crumbs{display:flex; flex-wrap:wrap; gap:.5rem; margin:0 0 1.6rem;
  font-size:var(--t-kicker); text-transform:uppercase; letter-spacing:var(--track-card);
  color:var(--text-muted)}
.crumbs a{color:var(--text-accent); text-decoration:none;
  display:inline-flex; align-items:center; min-height:44px}
.crumbs a:hover{text-decoration:underline}
.crumbs a::after{content:" →"; color:var(--text-muted); padding-inline-start:.5rem}
.crumbs span{display:inline-flex; align-items:center; min-height:44px}
.rss{display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; vertical-align:middle; color:var(--text-accent)}
.rss svg{fill:currentColor}

/* ---------- 14 · get it ---------- */
.get{background:var(--l1); border-top:1px solid var(--hair)}
.get__icon{width:80px; border-radius:18px; margin-bottom:1.6rem}
.get .h1{font-size:clamp(1.9rem,3.4vw,3.1rem); max-width:14ch}
.spec{margin:0; display:grid; gap:0}
.spec div{display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap;
  border-top:1px solid var(--hair); padding:.85rem 0}
.spec div:last-child{border-bottom:1px solid var(--hair)}
.spec dt{font-family:var(--font-ui); font-size:var(--t-small); text-transform:uppercase;
  letter-spacing:var(--track-card); color:var(--text-muted); margin:0}
.spec dd{margin:0; font-size:var(--t-small); color:var(--text-display); text-align:end}

/* ---------- footer ---------- */
.footer{background:var(--l0); border-top:1px solid var(--hair); padding-block:2.2rem}
.footer__grid{display:flex; flex-wrap:wrap; gap:1rem 2rem; justify-content:space-between;
  align-items:center}
.footer a{color:var(--text-soft); text-decoration:none}
.footer a:hover{color:var(--text-accent)}
.footer__links{display:flex; flex-wrap:wrap; gap:.25rem 1.4rem}
.footer__links a{display:inline-flex; align-items:center; min-height:44px}
/* WCAG 2.5.8: the label keeps its size, the target grows to 44×44 */
.footer__langs{color:var(--text-muted); display:flex; flex-wrap:wrap; gap:.25rem}
.footer__langs a, .footer__langs span,
.langpick__menu a, .langpick__menu span{
  min-width:44px; min-height:44px;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid transparent; border-radius:6px;
  font-size:var(--t-kicker); text-transform:uppercase; letter-spacing:.1em;
}
.footer__langs a:hover, .langpick__menu a:hover{
  border-color:var(--hair-strong); color:var(--text-body)}
/* the current language is marked by the frame, the underline and the weight —
   never by colour alone */
.footer__langs [aria-current], .langpick__menu [aria-current]{
  border-color:var(--rule-strong); color:var(--text-accent);
  text-decoration:underline; text-underline-offset:3px; font-weight:600}

/* ═══════ article and blog index (paper) ═══════ */
.article__head{padding-block:clamp(2rem,5vw,3.5rem) 0}
.article__head .h1{max-width:18ch}
.article__lead{margin-top:1.4rem; max-width:min(52ch,100%)}
.article__body{padding-block:clamp(2rem,4vw,3rem); display:grid; gap:clamp(2.4rem,5vw,4rem)}
.article__body > section > h2{margin-bottom:1.1rem}
.article__body p{max-width:min(62ch,100%)}
.article h3{font-family:var(--font-ui); font-weight:600; font-size:var(--t-h3);
  color:var(--text-accent); margin:1.6rem 0 .5rem}

.tldr, .checklist, .outro{
  background:var(--l1); border-radius:14px;
  border:1px solid var(--hair);
  border-inline-start:3px solid var(--rule-strong);
  padding:clamp(1.1rem,2.4vw,1.6rem);
}
.tldr p:last-child{margin:0; font-family:var(--font-poster); font-size:var(--t-lead); line-height:1.45}
.checklist{margin-top:1.8rem}
.checklist ul{list-style:none; margin:.4rem 0 0; padding:0; display:grid; gap:.45rem}
.checklist li{padding-inline-start:1.5rem; position:relative; font-size:var(--t-small); color:var(--text-soft)}
.checklist li::before{content:"□"; position:absolute; inset-inline-start:0; color:var(--text-accent)}
.callout__label{
  font-family:var(--font-ui); text-transform:uppercase;
  letter-spacing:var(--track-callout); font-size:var(--t-small);
  color:var(--text-display); font-weight:600; margin:0 0 .35rem;
}
.outro{margin-top:.6rem}
.outro p:first-child{font-family:var(--font-poster); font-size:var(--t-lead); line-height:1.45;
  color:var(--text-body); margin:0}

/* rounds table. Below 620px it stops being a table (see the media query) */
.tablewrap{
  overflow-x:auto; margin-bottom:.6rem; scrollbar-color:var(--orange) var(--l1);
  -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 48px),transparent);
          mask-image:linear-gradient(90deg,#000 calc(100% - 48px),transparent);
}
[dir="rtl"] .tablewrap{
  -webkit-mask-image:linear-gradient(270deg,#000 calc(100% - 48px),transparent);
          mask-image:linear-gradient(270deg,#000 calc(100% - 48px),transparent);
}
.rounds{width:100%; border-collapse:collapse; font-size:var(--t-small); min-width:520px}
.rounds th{font-family:var(--font-ui); text-transform:uppercase; letter-spacing:var(--track-card);
  color:var(--text-muted); font-weight:500; text-align:start;
  border-bottom:2px solid var(--rule-strong); padding:.6rem .8rem}
.rounds td{border-bottom:1px solid var(--hair); padding:.7rem .8rem; color:var(--text-soft);
  vertical-align:top}
.rounds td:first-child{font-family:var(--font-display); color:var(--text-accent);
  font-variant-numeric:tabular-nums}

.article__cols{display:grid; gap:clamp(1.6rem,4vw,3rem);
  grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr); align-items:start}
.article__shot{margin:0; position:sticky; top:1.5rem}
.article__shot .shot{width:min(100%,280px); margin-inline:auto}

.mistakes{list-style:none; margin:0; padding:0; display:grid; gap:1.4rem; counter-reset:mk}
.mistakes li{counter-increment:mk; position:relative; padding-inline-start:3.4rem}
.mistakes li::before{
  content:counter(mk); position:absolute; inset-inline-start:0; top:.1rem;
  width:40px; height:40px; border-radius:50%; border:3px solid var(--rule);
  color:var(--text-accent); display:grid; place-items:center;
  font-family:var(--font-ui); font-weight:600;
}
.mistakes h3{margin-top:0}

/* ── narrow screens ── */
.wrap > *, .grid > *, .mirror > *, .split > *, .week__grid > *, .hero__grid > *{min-width:0}
@media (max-width:1180px){
  /* two columns: copy and phone, with the week band under both */
  .history{grid-template-columns:minmax(0,1fr) minmax(0,.85fr)}
  .history__side{grid-column:1/-1; grid-auto-flow:column;
    grid-auto-columns:minmax(0,1fr); align-items:start; gap:1.6rem}
}
@media (max-width:900px){
  .hero__grid{grid-template-columns:1fr}
  .hero__media{min-height:420px; order:-1}
  .hero__media::after{background:linear-gradient(0deg,var(--l0) 0%,rgba(var(--veil),.4) 40%,transparent 75%)}
  .hero__shot{inset-inline-start:auto; inset-inline-end:1rem; bottom:-30px; width:150px}
  /* below 900px the hero columns collapse and the phone shot lands on top of the
     HUD plate (.hero__shot z-index 4 over .hud 3). Park the plate in the opposite
     corner — top inline-start — so the two never share a pixel at any width,
     in either writing direction. */
  .hud{inset-inline-end:auto; inset-inline-start:1rem; bottom:auto; top:1rem}
  .mirror, .split, .week__grid, .spec{grid-template-columns:1fr}
  .history{grid-template-columns:1fr}
  /* the phone goes first on a phone */
  .history__lead{position:static; order:-1}
  .history__side{grid-auto-flow:row}
  .presets{grid-template-columns:1fr}
  .presets__lead{position:static}
  .week__grid .shot{order:2}
  .plate__box{max-width:calc(100% - 2*var(--gutter)); margin-inline:var(--gutter)}
  .article__cols{grid-template-columns:1fr}
  .article__shot{position:static}
}
@media (max-width:720px){
  .posts--rows .post__link{grid-template-columns:1fr}
}
@media (max-width:620px){
  /* the table becomes a list of blocks — no horizontal scroll to discover */
  .rounds, .rounds tbody, .rounds tr, .rounds td{display:block; width:100%}
  .rounds thead{position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%)}
  .rounds{min-width:0}
  .tablewrap{-webkit-mask-image:none; mask-image:none}
  .rounds tr{border:1px solid var(--hair); border-radius:12px; background:var(--l2);
    padding:.9rem 1.1rem; margin-bottom:.8rem}
  .rounds td{border:0; padding:.35rem 0}
  .rounds td::before{content:attr(data-label) " ";
    font-family:var(--font-ui); font-size:var(--t-kicker); text-transform:uppercase;
    letter-spacing:var(--track-card); color:var(--text-muted); display:block}
  .rounds td:first-child{font-family:var(--font-display); color:var(--text-accent)}
}
@media (max-width:860px){
  .fine{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:520px){
  :root{--t-h2:clamp(1.45rem,7vw,2rem); --t-h1:clamp(1.9rem,8.5vw,2.6rem)}
  /* two preset cards side by side stop being readable here */
  .lightgrid{grid-template-columns:1fr; grid-auto-rows:auto}
  .fine{grid-template-columns:1fr}
  .fine li{font-size:1rem}
}

/* ---------- rtl ---------- */
[dir="rtl"] .crumbs a::after{content:" ←"}
[dir="rtl"] .fine li{padding:1.1rem 0 1.1rem 1rem}

/* ---------- non-Latin display faces ---------- */
:lang(ru) .display, :lang(ja) .display, :lang(ko) .display, :lang(zh) .display, :lang(ar) .display{
  font-weight:700; letter-spacing:0; line-height:1.05;
}
:lang(ar) .kicker, :lang(ar) .fightcard, :lang(ar) .anatomy__list li,
:lang(ar) .callout__label, :lang(ar) .preset__spec, :lang(ar) .ribbon,
:lang(ar) .btn, :lang(ar) .crumbs{letter-spacing:0}
:lang(ja) .ribbon, :lang(ko) .ribbon, :lang(zh) .ribbon{letter-spacing:.08em}
/* single-glyph hero words need more size to carry the poster */
:lang(ja) .hero__title, :lang(ko) .hero__title, :lang(zh) .hero__title{
  font-size:clamp(4rem,13vw,11rem); line-height:1
}
:lang(ar) .hero__title{font-size:clamp(3rem,9vw,7rem)}
:lang(pt) .hero__title{font-size:clamp(3rem,9.5vw,7rem)}

/* ---------- print ---------- */
@media print{
  body{background:#fff; color:#000}
  .hero__media, .band, .plate, .grain::after, .beam::before{display:none}
  .display{color:#000}
  .ribbon, .footer, .fightcard{border-color:#000}
}
