/* ==========================================================================
   Tileo, home (six locales). Redline document: the page is one document under
   revision. Seven real versions of its own headline are struck on load; every
   later claim is shown as a diff (what gets skipped, struck, then what the loop
   does); a thin spine of version tags runs down the page and ends at v8, the
   door the visitor chooses. Frame (nav, footer, tokens) lives in frame.css.
   ========================================================================== */
html { scroll-padding-top: 104px; }
/* Load shift (21/10): body text first paints in a local face sized like Instrument Sans (Arial metrics, overrides computed
   from the woff2 with fontTools), so the swap to the web font does not reflow the hero; the latin file is also preloaded. */
@font-face { font-family: "Instrument Sans Fallback"; src: local("Arial"), local("Liberation Sans"), local("Helvetica"); size-adjust: 103.15%; ascent-override: 94.04%; descent-override: 24.24%; line-gap-override: 0%; }
body.home { --body: "Instrument Sans", "Instrument Sans Fallback", system-ui, sans-serif; --gut: clamp(16px, 4vw, 64px); --ind: clamp(36px, 4vw, 58px); --faint: #8D96AC; --soft: #C9CEDB; --bg: #091020; --hi: var(--gold-hi); background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.home a { color: inherit; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--gut); }

/* ---- revision strip (appears after the hero, names the current clause) ---- */
.rev { position: fixed; top: 64px; left: 0; right: 0; z-index: 70; height: 30px; display: flex; align-items: center; gap: 14px; padding-inline: clamp(16px, 3.4vw, 56px); background: rgba(5, 8, 15, .94); border-bottom: 1px solid var(--line); font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.rev.on { opacity: 1; transform: none; }
.rev b { color: var(--gold-hi); font-weight: 500; }

/* ---- 1. hero: seven real versions of the headline ---- */
.hero { padding: clamp(18px, 2.2vw, 28px) 0 0; }
.cap-note { margin: 0 0 12px; padding-left: var(--ind); font: 500 12px var(--mono); letter-spacing: .03em; color: var(--faint); }
.versions { list-style: none; margin: 0 0 clamp(14px, 2.2vw, 26px); padding: 0; display: grid; gap: 3px; }
.versions li { position: relative; display: block; padding-left: var(--ind); font: 600 calc(.82rem + var(--i) * .1rem)/1.2 var(--display); letter-spacing: -.005em; }
.versions li::before, .v7wrap::before { content: attr(data-v); position: absolute; left: 0; top: .55em; font: 500 11.5px var(--mono); letter-spacing: .04em; color: var(--faint); }
.versions li.more { display: none; }
.versions del { text-decoration: none; color: var(--soft); background: linear-gradient(var(--red), var(--red)) 0 56% / 0% 2px no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; animation: strike .55s var(--ease) both, unlight .4s linear both; animation-delay: calc(.45s + var(--i) * .42s); }
.versions time { display: inline-block; margin-left: 20px; font: 500 11.5px var(--mono); letter-spacing: .08em; color: var(--faint); white-space: nowrap; }
@keyframes strike { to { background-size: 100% 2px; } }
@keyframes unlight { to { color: #A3ABC0; } }

.v7wrap { position: relative; padding-left: var(--ind); }
.v7wrap::before { top: .4em; color: var(--gold-hi); }
.v7wrap::after { content: attr(data-date); position: absolute; right: 0; bottom: .3em; font: 500 11.5px var(--mono); letter-spacing: .08em; color: var(--faint); }
.v7 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(31px, 5.9vw, 88px); line-height: 1; letter-spacing: -.04em; }
.v7 mark { color: var(--navy); background: linear-gradient(var(--gold), var(--gold)) 0 0 / 0% 100% no-repeat; padding: .02em .1em .06em; margin: 0 -.1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; animation: hl .8s var(--ease) both; animation-delay: calc(.45s + var(--n, 6) * .42s + .25s); }
@keyframes hl { from { color: var(--text); } to { color: var(--navy); background-size: 100% 100%; } }

.hero-row { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 30px; padding: clamp(18px, 2.6vw, 30px) 0 0 var(--ind); }
.who { display: flex; align-items: center; gap: 14px; max-width: 58ch; }
.who .av { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--gold); }
.who p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.who strong { color: var(--text); font-weight: 600; }

.strip-doors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; margin-top: clamp(16px, 2.2vw, 28px); }
.strip-doors a { position: relative; display: block; text-decoration: none; overflow: hidden; background: var(--navy-2); }
.strip-doors img { display: block; width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 50% 42%; filter: saturate(.85) brightness(.88); transition: filter .4s, transform .8s var(--ease); }
.strip-doors a:hover img, .strip-doors a:focus-visible img { filter: none; transform: scale(1.04); }
.strip-doors .cap { position: absolute; z-index: 3; inset: 0 0 auto 0; display: flex; flex-direction: column; gap: 1px; padding: 12px 14px 34px; background: linear-gradient(rgba(5, 8, 15, .92), rgba(5, 8, 15, 0)); }
.strip-doors strong { font: 700 15px var(--display); letter-spacing: -.01em; }
.strip-doors .cap span { font-size: 12.5px; color: var(--soft); }

@media (min-width: 861px) {
  .versions li { display: flex; align-items: baseline; gap: 14px; }
  .versions del { flex: 0 1 auto; }
  .versions time { flex: 1; display: flex; justify-content: flex-end; align-items: baseline; margin: 0; }
  .versions time::before { content: ""; flex: 1; margin: 0 14px 0 4px; border-bottom: 1px dotted var(--line-strong); transform: translateY(-.28em); }
}
/* ---- the spine: a hairline of version tags down the page, v7 to v8 ---- */
.sec, .doors { position: relative; }
.sec::before, .doors::before { content: ""; position: absolute; left: calc(var(--gut) + 17px); top: 0; bottom: 0; width: 1px; background: var(--line-strong); }
.sec .wrap, .doors .wrap { position: relative; padding-left: calc(var(--gut) + var(--ind)); }
.sec h2::before, .doors h2::before { content: attr(data-v); position: absolute; left: calc(var(--gut) - 2px); margin-top: .32em; padding: 2px 6px 2px 0; background: var(--bg); font: 500 11.5px var(--mono); letter-spacing: .04em; color: var(--gold-hi); }
.doors { --bg: #02040A; }

/* ---- the paper block: the loop and the public work are the printed document ---- */
.paper { --bg: #E4E7EA; --text: #0B1020; --muted: #3E465A; --faint: #5A6278; --soft: #2B3347; --hi: #7A560F; --line: rgba(11, 16, 32, .16); --line-strong: rgba(11, 16, 32, .42); --red: #B6402F; background: var(--bg); color: var(--text); }
.paper .sec:first-child { border-top: 0; }
.paper .sec::before { background: var(--line-strong); }
.paper .v-gold, .paper .sec h2::before { color: #7A560F; }
.paper mark, .paper .src { color: var(--text); }
.paper .ring .node circle { fill: var(--bg); }

/* ---- shared section type ---- */
.sec { padding: clamp(68px, 9vw, 128px) 0; border-top: 1px solid var(--line); }
.sec h2, .doors h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.6vw, 66px); line-height: 1.02; letter-spacing: -.035em; max-width: 20ch; text-wrap: balance; }
.intro { margin: 18px 0 0; max-width: 54ch; color: var(--muted); font-size: 1.08rem; }

/* ---- 2. the loop, as a diff ---- */
.loop-body { display: grid; grid-template-columns: minmax(260px, 440px) 1fr; gap: clamp(28px, 6vw, 96px); align-items: start; margin-top: clamp(34px, 4vw, 56px); }
.legend { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font: 500 12.5px var(--mono); letter-spacing: .03em; color: var(--faint); }
.legend .m { color: var(--red); font-weight: 700; margin-right: 4px; }
.legend .p { color: var(--hi); font-weight: 700; margin: 0 4px 0 12px; }
.ring-col { position: sticky; top: 120px; }
.ring { width: 100%; height: auto; overflow: visible; }
.ring .base { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 2 5; }
.ring .arc { fill: none; stroke: var(--line-strong); stroke-width: 2; stroke-linecap: round; transition: stroke .5s; }
.ring .arc.on { stroke: var(--gold); }
.ring .node circle { fill: var(--bg); stroke: var(--line-strong); stroke-width: 2; transition: fill .4s, stroke .4s; }
.ring .node text { fill: var(--faint); font: 500 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: fill .4s; }
.ring .node.on circle { fill: var(--gold); stroke: var(--gold); }
.ring .node.on text { fill: var(--text); }
.ring-col .back { margin-top: 18px; font-size: .98rem; }
.clauses { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.clauses li { display: grid; gap: 8px; padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.clauses h3 { margin: 0 0 4px; font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 2.8vw, 2.5rem); line-height: 1.02; letter-spacing: -.03em; }
.clauses del { position: relative; display: block; padding: 4px 8px 4px 18px; margin: 0; background: rgba(182, 64, 47, .07); text-decoration: none; color: var(--faint); font: 600 1.05rem var(--display); }
.clauses del::before { content: "\2212"; position: absolute; left: 1px; top: 4px; color: var(--red); font: 700 1.1rem var(--mono); }
.clauses del span { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-decoration-skip-ink: none; transition: text-decoration-color .7s var(--ease) .15s; }
.clauses ins { position: relative; display: block; padding: 6px 8px 6px 18px; margin: 0; background: rgba(201, 154, 60, .12); text-decoration: none; font-size: 1.14rem; line-height: 1.4; color: var(--text); transition: opacity .5s .55s, transform .5s var(--ease) .55s; }
.clauses ins span { font-weight: 600; transition: opacity .6s var(--ease) 1s; }
.entry dl > div:last-child dd { background: linear-gradient(var(--gold), var(--gold)) 0 90% / 100% .5em no-repeat; color: var(--navy); }
.js .clauses li:not(.in) ins span { opacity: .55; }
.clauses ins::before { content: "+"; position: absolute; left: 1px; top: -.05em; color: var(--hi); font: 700 1.2rem var(--mono); }
.clauses .src { justify-self: start; margin-left: 18px; font: 500 12px var(--mono); letter-spacing: .06em; color: var(--hi); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.clauses .src:hover { color: var(--text); }
.js .clauses li:not(.in) del span { text-decoration-color: transparent; }
.js .clauses li:not(.in) ins { opacity: 0; transform: translateY(8px); }

/* ---- 3. public work, as log entries ---- */
.entries { margin-top: clamp(34px, 4vw, 52px); border-top: 1px solid var(--line-strong); }
.entry { display: grid; grid-template-columns: 150px 1.6fr 1fr; gap: 18px clamp(24px, 4vw, 64px); padding: clamp(26px, 3.2vw, 44px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.entry .kind { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); padding-top: .5em; }
.entry h3 { margin: 0 0 12px; font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2.5rem); line-height: 1.04; letter-spacing: -.03em; max-width: 22ch; }
.entry p { margin: 0; color: var(--soft); max-width: 54ch; }
.entry dl { margin: 0; display: grid; gap: 18px; align-content: start; padding-top: .4em; }
.entry dt { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--hi); }
.entry dd { margin: 4px 0 0; font-size: 1.04rem; color: var(--text); }
.entry dl > div:last-child dd { display: inline; padding: 0 .15em; margin-left: -.15em; }
.errata { margin-top: clamp(28px, 3.4vw, 44px); max-width: 760px; }
.errata ul { margin: 0; padding: 0 0 0 18px; list-style: none; border-left: 1px solid var(--line-strong); font: 500 13.5px/1.65 var(--mono); color: var(--muted); }
.errata li + li { margin-top: 6px; }
.errata time { color: var(--hi); margin-right: 8px; white-space: nowrap; }
.errata a { color: var(--text); text-underline-offset: 3px; }
.limit { margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: baseline; color: var(--muted); font-size: .98rem; }
.limit a { color: var(--hi); font-weight: 600; text-underline-offset: 4px; }

/* ---- 4. the operator ---- */
.operator { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.operator p { margin: 18px 0 0; max-width: 56ch; font-size: 1.1rem; color: var(--soft); }
.operator .links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 26px; }
.operator .links a { color: var(--gold-hi); font-weight: 600; text-underline-offset: 4px; }
.operator .note { margin-top: 18px; font: 500 12px var(--mono); letter-spacing: .03em; color: var(--faint); }
.portrait { margin: 0; justify-self: end; width: min(100%, 360px); }
.portrait img { display: block; width: 100%; height: auto; border-radius: 50%; border: 1.5px solid var(--gold); }
.portrait figcaption { margin-top: 10px; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }

/* ---- 5. the doors: one stage, the one dark block (the peak) ---- */
.doors { background: var(--bg); padding: clamp(48px, 5vw, 72px) 0 clamp(60px, 8vw, 110px); border-top: 1px solid var(--line); }
.picker { margin-top: clamp(22px, 2.6vw, 34px); }
.doors h2 { font-size: clamp(28px, 3.6vw, 52px); max-width: 28ch; }
.doors .intro { margin-top: 12px; }
.picker > input { position: absolute; opacity: 0; pointer-events: none; }
.stage { display: grid; grid-template-columns: 1.15fr minmax(260px, .85fr); gap: clamp(28px, 5vw, 84px); align-items: start; }
.shots { position: relative; height: min(66vh, 620px); min-height: 360px; width: 100%; overflow: hidden; border-radius: var(--radius); background: #000; }
.shots::after, .strip-doors a::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(rgba(9, 16, 32, .22), rgba(9, 16, 32, .22)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.05); opacity: 0; transform: scale(1.05); transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.list { display: grid; border-top: 1px solid var(--line-strong); }
.list label { display: grid; grid-template-columns: minmax(150px, .9fr) 1.1fr; gap: 4px 18px; align-items: baseline; padding: 11px 0 11px 18px; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; color: var(--muted); transition: color .2s, background-color .2s; }
.list label::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: transparent; border: 1px solid var(--line-strong); }
.list label strong { font: 800 clamp(1.05rem, 1.7vw, 1.4rem)/1.1 var(--display); letter-spacing: -.02em; color: var(--soft); }
.list label span { font-size: .95rem; }
.list label:hover strong { color: var(--text); }
.detail { display: none; padding: 0 0 18px 18px; border-bottom: 1px solid var(--line); }
.detail p { margin: 4px 0 16px; max-width: 52ch; color: var(--soft); font-size: 1.08rem; }
.detail a:not(.btn) { color: var(--gold-hi); text-underline-offset: 3px; }
.logbox { margin-top: 18px; }
.log-label { margin: 0 0 10px; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.log { margin: 0; padding: 0 0 0 18px; list-style: none; font: 500 13px/1.7 var(--mono); color: var(--muted); border-left: 1px solid var(--line-strong); }
.log li + li { margin-top: 4px; }
.log b { color: var(--gold-hi); font-weight: 500; }
.log li.struck { color: var(--faint); }
.log li.struck .t { background: linear-gradient(var(--red), var(--red)) 0 56% / 0% 2px no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; animation: strikeline .6s var(--ease) forwards; }
@keyframes strikeline { to { background-size: 100% 2px; } }
.log .new { color: var(--text); font: 800 clamp(1.2rem, 1.8vw, 1.6rem)/1.2 var(--display); letter-spacing: -.02em; margin-top: 10px; animation: fadein .6s var(--ease) both .3s; }
.log .new b { font: 500 .8rem var(--mono); letter-spacing: .04em; margin-right: 6px; vertical-align: .15em; }
.badge { position: absolute; left: 14px; top: 14px; z-index: 3; padding: 7px 12px; background: var(--gold); color: var(--navy); font: 700 12.5px var(--mono); letter-spacing: .04em; border-radius: var(--radius); opacity: 0; transform: translateY(-6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.badge.on { opacity: 1; transform: none; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } }
.free { margin: clamp(30px, 3.6vw, 48px) 0 0; color: var(--faint); font-size: .95rem; }
#door-aij:checked ~ .stage .shot-aij { opacity: 1; transform: none; }
#door-aij:checked ~ .stage .list label[for="door-aij"] { color: var(--text); background: rgba(201, 154, 60, .09); }
#door-aij:checked ~ .stage .list label[for="door-aij"] strong { color: var(--text); }
#door-aij:checked ~ .stage .list label[for="door-aij"]::before { background: var(--gold); border-color: var(--gold); }
#door-aij:checked ~ .stage .d-aij { display: block; }
#door-aij:focus-visible ~ .stage .list label[for="door-aij"] { outline: 2px dashed var(--gold-hi); outline-offset: -2px; }
#door-roots:checked ~ .stage .shot-roots { opacity: 1; transform: none; }
#door-roots:checked ~ .stage .list label[for="door-roots"] { color: var(--text); background: rgba(201, 154, 60, .09); }
#door-roots:checked ~ .stage .list label[for="door-roots"] strong { color: var(--text); }
#door-roots:checked ~ .stage .list label[for="door-roots"]::before { background: var(--gold); border-color: var(--gold); }
#door-roots:checked ~ .stage .d-roots { display: block; }
#door-roots:focus-visible ~ .stage .list label[for="door-roots"] { outline: 2px dashed var(--gold-hi); outline-offset: -2px; }
#door-lait:checked ~ .stage .shot-lait { opacity: 1; transform: none; }
#door-lait:checked ~ .stage .list label[for="door-lait"] { color: var(--text); background: rgba(201, 154, 60, .09); }
#door-lait:checked ~ .stage .list label[for="door-lait"] strong { color: var(--text); }
#door-lait:checked ~ .stage .list label[for="door-lait"]::before { background: var(--gold); border-color: var(--gold); }
#door-lait:checked ~ .stage .d-lait { display: block; }
#door-lait:focus-visible ~ .stage .list label[for="door-lait"] { outline: 2px dashed var(--gold-hi); outline-offset: -2px; }
#door-mah:checked ~ .stage .shot-mah { opacity: 1; transform: none; }
#door-mah:checked ~ .stage .list label[for="door-mah"] { color: var(--text); background: rgba(201, 154, 60, .09); }
#door-mah:checked ~ .stage .list label[for="door-mah"] strong { color: var(--text); }
#door-mah:checked ~ .stage .list label[for="door-mah"]::before { background: var(--gold); border-color: var(--gold); }
#door-mah:checked ~ .stage .d-mah { display: block; }
#door-mah:focus-visible ~ .stage .list label[for="door-mah"] { outline: 2px dashed var(--gold-hi); outline-offset: -2px; }
#door-gia:checked ~ .stage .shot-gia { opacity: 1; transform: none; }
#door-gia:checked ~ .stage .list label[for="door-gia"] { color: var(--text); background: rgba(201, 154, 60, .09); }
#door-gia:checked ~ .stage .list label[for="door-gia"] strong { color: var(--text); }
#door-gia:checked ~ .stage .list label[for="door-gia"]::before { background: var(--gold); border-color: var(--gold); }
#door-gia:checked ~ .stage .d-gia { display: block; }
#door-gia:focus-visible ~ .stage .list label[for="door-gia"] { outline: 2px dashed var(--gold-hi); outline-offset: -2px; }


/* ---- responsive ---- */
@media (max-width: 1100px) {
  .loop-body { grid-template-columns: 1fr; }
  .ring-col { position: static; max-width: 340px; }
  .entry { grid-template-columns: 1.6fr 1fr; }
  .entry .kind { grid-column: 1 / -1; padding-top: 0; }
}
@media (max-width: 860px) {
  body.home { --ind: 0px; }
  .loop-head { grid-template-columns: 1fr; }
  .ring { max-width: 300px; }
  .sec::before, .doors::before, .sec h2::before, .doors h2::before { display: none; }
  .sec .wrap, .doors .wrap { padding-left: var(--gut); }
  .entry { grid-template-columns: 1fr; }
  .operator { grid-template-columns: 1fr; }
  .portrait { justify-self: start; width: 200px; }
  .stage { grid-template-columns: 1fr; }
  .shots { order: -1; height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .list label { grid-template-columns: 1fr; }
  /* 20/10/2026: a grid, not a sideways scroller, so no door caption sits past the screen edge (3 + 2 here, 2 + 2 + 1 under 521px) */
  .strip-doors { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .strip-doors > * { grid-column: span 2; }
  .strip-doors > :nth-child(n+4) { grid-column: span 3; }
  .strip-doors img { height: auto; aspect-ratio: 4 / 3; }
  .strip-doors > :nth-child(n+4) img { aspect-ratio: 2 / 1; }
  .v7wrap::after { position: static; display: block; margin-top: 8px; }
  .versions li { font-size: .95rem; }
  .versions li, .cap-note, .v7wrap, .hero-row { padding-left: 34px; }
  /* the older headlines stay for screen readers, hidden inside the column: a 1px nowrap box ran their text past the screen edge */
  .versions { position: relative; }
  .versions li.old { position: absolute; left: 0; right: 0; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); padding: 0; }
  .versions li.more { display: block; color: var(--faint); font: 500 12px var(--mono); letter-spacing: .06em; padding-bottom: 6px; }
}
@media (max-width: 520px) {
  .who .lede { display: none; }
  .hero-row .btn { width: 100%; justify-content: center; }
  .versions li { margin-bottom: 4px; }
  .versions time { display: block; margin: 2px 0 0; }
  .strip-doors > *, .strip-doors > :nth-child(n+4) { grid-column: span 3; }
  .strip-doors > :last-child { grid-column: 1 / -1; }
  .strip-doors img, .strip-doors > :nth-child(n+4) img { aspect-ratio: 4 / 4.2; }
  .strip-doors > :last-child img { aspect-ratio: 8 / 3; }
  .strip-doors .cap { padding: 10px 11px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .ring .arc, .ring .node circle, .ring .node text { transition: none; }
  .versions del { animation: none; background-size: 100% 2px; color: #A3ABC0; }
  .v7 mark { animation: none; background-size: 100% 100%; color: var(--navy); }
  .js .clauses li:not(.in) del span { text-decoration-color: var(--red); }
  .js .clauses li:not(.in) ins { opacity: 1; transform: none; }
  .js .clauses li:not(.in) ins span { opacity: 1; }
  .strip-doors img, .shot { transition: none; }
  .log li.struck .t { animation: none; background-size: 100% 2px; }
  .log .new { animation: none; }
}

/* ---- gauntlet R2 (12/10/2026): identity card in the hero, then what I run and the router ---- */
.idcard { margin: clamp(20px, 2.4vw, 30px) 0 0; padding: 16px 0 0 var(--ind); border-top: 1px solid var(--line); }
.idcard h2 { margin: 0; font: 500 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.id-line { margin: 8px 0 0; max-width: 70ch; font-size: 1.05rem; line-height: 1.5; color: var(--text); }
.idcard dl { margin: 14px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 30px; }
.idcard dt { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.idcard dd { margin: 3px 0 0; font-size: .95rem; line-height: 1.5; color: var(--soft); overflow-wrap: anywhere; }
body.home .idcard a, body.home .who-sec figcaption a, body.home .fit-static a { color: var(--gold-hi); text-underline-offset: 3px; }
.who-sec { padding: clamp(52px, 6vw, 88px) 0; }
.who-grid { display: grid; grid-template-columns: minmax(280px, 440px) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.who-sec h2 { font-size: clamp(26px, 3vw, 42px); max-width: 18ch; }
.run-fig { margin: 22px 0 0; }
.run-map { display: block; width: 100%; max-width: 440px; height: auto; }
.run-map text { font-family: var(--body); fill: var(--text); }
.run-map .nm { font: 800 17px var(--display); letter-spacing: -.01em; }
.run-map .nm.big { font-size: 20px; }
.run-map .nd { font-size: 14px; fill: var(--soft); }
.run-map .en { font: 500 13px var(--mono); fill: var(--gold-hi); }
.run-map .ent { fill: none; stroke: var(--line-strong); }
.run-map .sp, .run-map .br { stroke: var(--line-strong); stroke-width: 1.5; }
.run-map .dot { fill: var(--bg); stroke: var(--gold); stroke-width: 2; }
.run-map .hub { fill: var(--gold); }
.run-map .t { font: 800 18px var(--display); fill: var(--navy); }
.run-map a:hover .dot, .run-map a:focus-visible .dot { fill: var(--gold); }
.run-map a:hover .nm, .run-map a:focus-visible .nm { text-decoration: underline; }
.run-fig figcaption { margin-top: 14px; max-width: 54ch; font-size: .98rem; line-height: 1.55; color: var(--soft); }
.run-fig figcaption strong { color: var(--text); }
.fit-static { margin: 18px 0 0; padding-left: 18px; color: var(--soft); }
.fit-static li + li { margin-top: 6px; }
.who-fit .aij-quiz { margin-top: 20px; }
@media (max-width: 1100px) { .idcard dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .idcard { padding-left: 34px; }
  .who-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .idcard dl { grid-template-columns: 1fr; } }
.clauses .diff { margin: 0; display: grid; gap: 8px; }
/* Gauntlet R3 (12/10/2026), EN and FR homes: the headline comes first; its history folds into one line under it. */
.versions-fold { margin: 14px 0 0; }
.versions-fold > summary { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; margin-left: var(--ind); padding: 4px 0; list-style: none; cursor: pointer; font: 500 12.5px var(--mono); letter-spacing: .06em; color: var(--soft); text-decoration: underline dotted var(--line-strong); text-underline-offset: 5px; }
.versions-fold > summary::-webkit-details-marker { display: none; }
.versions-fold > summary::before { content: "+"; display: inline-grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--gold-hi); font-size: 14px; line-height: 1; }
.versions-fold[open] > summary::before { content: "\2212"; }
.versions-fold > summary:hover { color: var(--text); }
.versions-fold .versions { margin: 12px 0 4px; }
.versions-fold .versions del { animation-delay: calc(.05s + var(--i) * .07s); }
.versions-fold .versions li.now span { color: var(--gold-hi); font: 500 12.5px var(--mono); letter-spacing: .04em; }
.versions-fold .versions li.now::before { color: var(--gold-hi); }
body.home.r3 .hero { padding-top: clamp(26px, 3.4vw, 48px); }
body.home.r3 .idcard { margin-bottom: clamp(8px, 2vw, 24px); }
.who-fit .aij-quiz__why { color: var(--text); }
@media (max-width: 860px) {
  .versions-fold > summary { margin-left: 34px; }
}
/* R3: the section strip under the nav hid content on phones (labels of the loop, top of the router); anchors land below it on desktop. */
html:has(body.home) { scroll-padding-top: 104px; }
@media (max-width: 860px) { .rev { display: none; } html:has(body.home) { scroll-padding-top: 76px; } }
/* Gauntlet R4 (13/10/2026), EN and FR homes: the five ventures named under the headline; no version tag or date at the
   headline (its history is folded in the operator section); the section strip is opaque; the loop is a without / with table. */
.rev { background: #05080F; }
body.home.r3 .v7wrap::before, body.home.r3 .v7wrap::after { display: none; }
.ventures { margin: 16px 0 0; padding-left: var(--ind); max-width: 92ch; font-size: 1.05rem; line-height: 1.6; color: var(--soft); }
body.home .ventures a { white-space: nowrap; color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
body.home .ventures a:hover { color: var(--gold-hi); }
.ventures span { margin: 0 2px; color: var(--gold-hi); }
.operator .versions-fold { margin-top: 22px; }
.operator .versions-fold > summary { margin-left: 0; }
.loop-table { width: 100%; margin-top: clamp(28px, 3.4vw, 44px); border-collapse: collapse; table-layout: fixed; }
.loop-table thead th { padding: 0 18px 10px 0; border-bottom: 1px solid var(--line-strong); text-align: left; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.loop-table thead th:nth-child(1) { width: 17%; } .loop-table thead th:nth-child(2) { width: 22%; } .loop-table thead th:nth-child(3) { width: 30%; }
.loop-table tbody th, .loop-table td { padding: 20px 18px 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; font-size: 1rem; line-height: 1.5; }
.loop-table .step { display: block; font: 800 clamp(1.3rem, 2vw, 1.75rem)/1.05 var(--display); letter-spacing: -.03em; color: var(--text); }
.loop-table .src { display: inline-block; margin-top: 8px; font: 500 12px/1.4 var(--mono); letter-spacing: .04em; color: var(--hi); text-decoration: underline; text-underline-offset: 3px; }
.loop-table .without { color: var(--muted); }
.loop-table .with { color: var(--text); font-weight: 600; }
.loop-table .ex { color: var(--soft); }
.loop-table .ex a { color: var(--text); text-decoration-color: var(--hi); text-underline-offset: 3px; }
.loop-back { margin: 18px 0 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) {
  body.home.r3 .v7wrap, body.home.r3 .hero-row, body.home.r3 .idcard, body.home.r3 .ventures { padding-left: 0; }
  .loop-table, .loop-table tbody, .loop-table tr, .loop-table th, .loop-table td { display: block; width: auto; }
  .loop-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .loop-table tr { padding: 18px 0 16px; border-bottom: 1px solid var(--line-strong); }
  .loop-table tbody th, .loop-table td { padding: 0; border: 0; }
  .loop-table td { margin-top: 10px; }
  .loop-table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
}
/* Gauntlet R5 (13/10/2026), EN and FR homes: "What stayed human" carries a gold rule and bold type instead of a highlight band
   (the band crossed the words and read as a strike-through); no version tags in the margin; one avatar; the loop drawn as a cycle. */
.entry dl > div:last-child dd { display: block; margin: 6px 0 0; padding: 1px 0 1px 12px; background: none; border-left: 3px solid var(--gold); color: var(--text); font-weight: 700; }
body.home.r3 .sec h2::before { display: none; }
.operator.solo { grid-template-columns: minmax(0, 1fr); }
.loop-fig { margin: clamp(26px, 3.2vw, 40px) 0 0; }
.loop-svg { display: block; width: 100%; height: auto; overflow: visible; }
.loop-svg-tall { display: none; max-width: 440px; }
.loop-svg text { font-family: var(--body); fill: var(--text); }
.loop-svg .step { font: 800 20px var(--display); letter-spacing: -.02em; }
.loop-svg .ex { font-size: 16px; fill: var(--soft); }
.loop-svg .when { font-size: 15px; font-weight: 600; fill: var(--faint); }
.loop-svg .hand { font-size: 15px; font-style: italic; fill: var(--hi); }
.loop-svg .decide { font-size: 16px; font-weight: 700; fill: var(--hi); }
.loop-svg .backlab { font-size: 15px; font-style: italic; fill: var(--hi); }
.loop-svg .backbg { fill: var(--bg); }
.loop-svg .num { font: 700 15px var(--mono); fill: var(--text); }
.loop-svg .num.dec { fill: var(--navy); }
.loop-svg .node { fill: var(--bg); stroke: var(--gold); stroke-width: 2; }
.loop-svg .node.dec { fill: var(--gold); }
.loop-svg .flow, .loop-svg .back { fill: none; stroke: var(--line-strong); stroke-width: 1.6; }
.loop-svg .back { stroke: var(--gold); stroke-dasharray: 5 5; }
.loop-svg .ah { fill: #7A560F; }
.loop-fig figcaption { margin-top: 16px; max-width: 70ch; color: var(--soft); font-size: 1rem; line-height: 1.55; }
@media (max-width: 999px) {
  .loop-svg-wide { display: none; }
  .loop-svg-tall { display: block; }
  .loop-svg .step { font-size: 18px; }
  .loop-svg .ex { font-size: 14.5px; }
  .loop-svg .when, .loop-svg .hand, .loop-svg .backlab { font-size: 14px; }
  .loop-svg .decide { font-size: 15px; }
  .loop-svg .num { font-size: 14px; }
}
/* 19/10/2026: each venture's published entry price and published result, with the page each comes from */
.vent-table thead th:nth-child(1) { width: 18%; } .vent-table thead th:nth-child(2) { width: 24%; } .vent-table thead th:nth-child(3) { width: 42%; }
.vent-table a.step { text-decoration: none; }
.vent-table a.step:hover { text-decoration: underline; text-decoration-color: var(--hi); text-underline-offset: 4px; }
.vent-table .srcs .src { margin: 0 12px 0 0; }
.vent-wrap { margin-top: clamp(40px, 5vw, 64px); }
.vent-wrap .vent-h { margin: 0 0 12px; }
