/* Mannai: cinematic scroll film. Tokens come from CONTENT.brand (set on :root by site.js). */
:root {
  --accent: #8ea2ff;
  --ink: #0a0c15;
  --paper: #f3efe6;
  --stone: #cfcabd;
  --muted: #8d90a3;
  --line: rgba(243, 239, 230, 0.16);
  --line-ink: rgba(10, 12, 21, 0.16);
  --navy: #12162a;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overscroll-behavior: contain; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--paper); color: var(--ink); padding: 10px 16px; transition: top .2s; }
.skip:focus { top: 12px; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1; }
.label { font: 500 11px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.mono { font-variant-numeric: tabular-nums; }
em.acc { font-style: italic; color: var(--accent); }
.ulink { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s cubic-bezier(.2,.8,.2,1); }
.ulink:hover, .ulink:focus-visible { background-size: 100% 1px; }

/* ------------------------------------------------------------ living world (behind post-film sections) */
#world { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: var(--ink); }
#world .field { position: absolute; inset: -20%; background:
  radial-gradient(60% 50% at 20% 30%, rgba(88, 106, 200, .22), transparent 70%),
  radial-gradient(50% 45% at 80% 70%, rgba(142, 162, 255, .12), transparent 70%),
  radial-gradient(40% 40% at 60% 10%, rgba(210, 180, 120, .06), transparent 70%);
  animation: field 34s ease-in-out infinite alternate; will-change: transform; }
@keyframes field { from { transform: translate3d(-3%, -2%, 0) scale(1); } to { transform: translate3d(3%, 3%, 0) scale(1.06); } }
#world .grid { position: absolute; left: 0; right: 0; top: -10%; height: 130%; opacity: .5; will-change: transform; }
#world .light { position: absolute; left: 0; top: 0; width: 70vmax; height: 70vmax; margin: -35vmax 0 0 -35vmax; background: radial-gradient(closest-side, rgba(142, 162, 255, .13), transparent); will-change: transform; }
#world canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ------------------------------------------------------------ nav */
#nav { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--pad); pointer-events: none; }
#nav > * { pointer-events: auto; }
.wordmark { font: 400 28px/1 var(--serif); letter-spacing: -.01em; }
.wordmark img { height: 28px; width: auto; }
.pill { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(10, 12, 21, .72); }
.pill .it { position: relative; z-index: 1; padding: 9px 14px; border-radius: 999px; font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--stone); transition: color .3s; white-space: nowrap; }
.pill .it:hover { color: var(--paper); }
.pill .it[aria-current="true"] { color: var(--ink); }
.pill .hl { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--paper); transition: transform .5s cubic-bezier(.2,.8,.2,1), width .5s cubic-bezier(.2,.8,.2,1); }
.pill .tc { padding: 0 14px 0 10px; font: 500 11px/1 var(--sans); letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; border-left: 1px solid var(--line); margin-left: 6px; }
.cta { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--paper); border-radius: 999px; font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; transition: background .3s, color .3s; background: rgba(10, 12, 21, .5); }
.cta:hover, .cta:focus-visible { background: var(--paper); color: var(--ink); }
.cta.solid { background: var(--paper); color: var(--ink); }
.cta.solid:hover { background: var(--accent); border-color: var(--accent); }
.cta:disabled { opacity: .5; cursor: wait; }
.menu-btn { display: none; }
.rail { position: absolute; left: 14px; right: 14px; bottom: 0; height: 1px; background: var(--line); }
.rail i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--paper); transform-origin: 0 0; transform: scaleX(0); }

#menu { position: fixed; inset: 0; z-index: 55; background: var(--ink); padding: 96px var(--pad) calc(32px + var(--safe-b)); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .4s, visibility .4s; }
#menu.open { visibility: visible; opacity: 1; }
#menu a.big { display: block; padding: 14px 0; border-top: 1px solid var(--line); font: 400 clamp(38px, 9vw, 64px)/1 var(--serif); }
#menu .sub { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; margin-top: 28px; color: var(--stone); font-size: 15px; }

/* ------------------------------------------------------------ loader */
#loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--ink); transition: opacity .8s .1s, visibility .8s .1s; }
#loader.done { opacity: 0; visibility: hidden; }
#loader .lq { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(22px); opacity: .5; transform: scale(1.08); }
#loader .box { position: relative; text-align: center; }
#loader .w { font: 400 clamp(44px, 9vw, 88px)/1 var(--serif); }
#loader .bar { width: 180px; height: 1px; background: var(--line); margin: 26px auto 12px; }
#loader .bar i { display: block; height: 100%; background: var(--paper); transform-origin: 0 0; transform: scaleX(0); }
#loader .msg { color: var(--muted); }

/* ------------------------------------------------------------ the film */
#film { position: relative; }
#film .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--ink); }
#film canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#film .scrim { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(10,12,21,.55), transparent 22%, transparent 70%, rgba(10,12,21,.7)); }
#film .leak { position: absolute; inset: -10% -30%; pointer-events: none; background: radial-gradient(40% 50% at 30% 40%, rgba(255, 214, 170, .10), transparent 70%); animation: leak 22s ease-in-out infinite alternate; will-change: transform; }
@keyframes leak { from { transform: translate3d(-6%, 0, 0); } to { transform: translate3d(14%, 4%, 0); } }
#film .grain { position: absolute; inset: -64px; pointer-events: none; opacity: .09; background-size: 128px; animation: grain 1.1s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0,0); } 20% { transform: translate(-24px, 12px); } 40% { transform: translate(18px, -30px); } 60% { transform: translate(-40px, -8px); } 80% { transform: translate(30px, 26px); } 100% { transform: translate(0,0); } }
.badge { position: absolute; left: var(--pad); bottom: calc(24px + var(--safe-b)); z-index: 3; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(10, 12, 21, .6); color: var(--stone); }
.hint { position: absolute; right: var(--pad); bottom: calc(26px + var(--safe-b)); z-index: 3; display: flex; align-items: center; gap: 12px; color: var(--stone); transition: opacity .5s; }
.hint i { display: block; width: 1px; height: 38px; background: var(--paper); transform-origin: 0 0; animation: hint 2.2s ease-in-out infinite; }
@keyframes hint { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

#chapters { position: absolute; inset: 0; z-index: 2; pointer-events: none; will-change: transform; }
.ch { position: absolute; width: min(36vw, 520px); visibility: hidden; opacity: 0; }
.ch.on { visibility: visible; opacity: 1; pointer-events: auto; }
.ch .tint { position: absolute; inset: -40px -50px; z-index: -1; background: radial-gradient(closest-side, rgba(10, 12, 21, var(--scrim, .55)), transparent); }
.ch h2 { margin: 18px 0 20px; font: 400 clamp(40px, 5.2vw, 84px)/.98 var(--serif); letter-spacing: -.02em; }
.ch .w { display: inline-block; opacity: 0; transform: translateY(.34em); filter: blur(10px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1), filter .5s ease; transition-delay: calc(var(--i) * 45ms); }
.ch.on .w { opacity: 1; transform: none; filter: none; }
.ch.past .w { transform: translateY(-.3em); }
.ch .k { color: var(--stone); }
.ch .rv { opacity: 0; transform: translateY(14px); transition: opacity .5s ease .22s, transform .5s cubic-bezier(.2,.8,.2,1) .22s; }
.ch.on .rv { opacity: 1; transform: none; }
.ch p.body { color: rgba(243, 239, 230, .9); max-width: 44ch; }
.ch ul.rows { margin-top: 26px; }
.ch ul.rows li { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-top: 1px solid var(--line); }
.ch ul.rows li:last-child { border-bottom: 1px solid var(--line); }
.ch ul.rows .a { color: var(--stone); }
.ch .end { margin-top: 24px; display: grid; gap: 0; }
.ch .end .fig { padding: 16px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ch .end .fig b { font: 400 clamp(34px, 3.6vw, 52px)/1 var(--serif); }
.ch .end .cta { margin-top: 26px; }
.ch .dark { color: var(--ink); }

/* ------------------------------------------------------------ generic section frame */
.sec { position: relative; padding: clamp(80px, 12vh, 150px) var(--pad); }
.sec .in { max-width: 1500px; margin: 0 auto; }
.sec h2.t { font: 400 clamp(44px, 7.4vw, 124px)/.96 var(--serif); letter-spacing: -.025em; margin-top: 18px; }
.k { color: var(--muted); }
.bgword { position: absolute; left: 0; right: 0; top: 8%; text-align: center; font: 400 clamp(140px, 28vw, 520px)/.8 var(--serif); color: rgba(243, 239, 230, .035); white-space: nowrap; pointer-events: none; will-change: transform; user-select: none; }

/* ------------------------------------------------------------ divisions: lateral travel */
#divisions { padding: 0; }
#divisions .pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; perspective: 1500px; }
#divisions .head { padding: 0 var(--pad); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(18px, 4vh, 44px); }
#divisions .head h2 { font: 400 clamp(40px, 6vw, 96px)/.95 var(--serif); margin-top: 12px; letter-spacing: -.02em; }
#divisions .head p { max-width: 34ch; color: var(--stone); }
#divisions .track { display: flex; gap: clamp(16px, 2vw, 32px); padding: 0 var(--pad); width: max-content; will-change: transform; transform-style: preserve-3d; }
.stop { position: relative; flex: none; width: clamp(300px, 34vw, 520px); height: min(62vh, 560px); padding: clamp(22px, 2.2vw, 34px); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(18, 22, 42, .86), rgba(10, 12, 21, .86)); display: flex; flex-direction: column; overflow: hidden; will-change: transform; }
.stop .num { color: var(--accent); }
.stop .st { position: absolute; right: 18px; top: 8px; font: 400 clamp(54px, 7vw, 110px)/1 var(--serif); color: rgba(243, 239, 230, .05); pointer-events: none; }
.stop h3 { margin: 18px 0 12px; font: 400 clamp(28px, 2.8vw, 42px)/1 var(--serif); }
.stop .bl { color: var(--stone); font-size: 15px; max-width: 36ch; }
.stop .ph { margin: 16px 0; height: clamp(70px, 12vh, 130px); overflow: hidden; position: relative; background: var(--navy); }
.stop .ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) contrast(1.05); opacity: .85; }
.stop ul { margin-top: auto; font-size: 14px; color: var(--paper); columns: 1; }
.stop ul.two { columns: 2; column-gap: 18px; }
.stop ul li { padding: 5px 0; border-top: 1px solid var(--line); break-inside: avoid; }
.stop ul a:hover { color: var(--accent); }
.stop .visit { margin-top: 14px; color: var(--stone); }

/* ------------------------------------------------------------ heritage: pull-out */
#heritage { padding: 0; }
#heritage .pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad); }
#heritage .reel { position: relative; display: grid; grid-template-columns: repeat(var(--n, 6), 1fr); gap: 0; margin-top: clamp(30px, 8vh, 80px); transform-origin: 0 50%; will-change: transform; }
#heritage .it { padding: 18px 22px 0 0; border-top: 1px solid var(--line); will-change: opacity; }
#heritage .it .y { font: 400 clamp(40px, 5vw, 84px)/1 var(--serif); }
#heritage .it p { margin-top: 14px; color: var(--stone); font-size: 14px; line-height: 1.5; }
#heritage .it a { display: inline-block; margin-top: 10px; color: var(--muted); }
#heritage .note { margin-top: 28px; color: var(--muted); font-size: 13px; max-width: 70ch; }

/* ------------------------------------------------------------ results: angle change */
#results .ledger { margin-top: clamp(30px, 6vh, 70px); display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(18px, 3vw, 44px); perspective: 1600px; }
#results .panel { padding: clamp(22px, 3vw, 40px); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(18,22,42,.9), rgba(10,12,21,.9)); transform-origin: 50% 100%; will-change: transform; }
#results .gauge { padding: 20px 0; border-top: 1px solid var(--line); }
#results .gauge:first-of-type { border-top: 0; padding-top: 0; }
#results .gauge .v { font: 400 clamp(46px, 6vw, 96px)/1 var(--serif); margin: 10px 0 14px; }
#results .gauge .bar { height: 2px; background: var(--line); }
#results .gauge .bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 0; transform: scaleX(0); }
#results .fy li { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-top: 1px solid var(--line); }
#results .fy li span:first-child { color: var(--stone); }
#results .src { display: inline-block; margin-top: 18px; color: var(--muted); }
#results .own { margin-top: 22px; color: var(--muted); font-size: 13px; }

/* ------------------------------------------------------------ people */
#people .card { margin-top: 44px; display: grid; grid-template-columns: minmax(180px, 360px) 1fr; gap: clamp(24px, 5vw, 80px); align-items: start; border-top: 1px solid var(--line); padding-top: 40px; }
#people .mono-p { aspect-ratio: 4 / 5; border: 1px solid var(--line); background: linear-gradient(160deg, #1b2142, #0d1020); display: grid; place-items: center; font: 400 clamp(80px, 12vw, 180px)/1 var(--serif); color: rgba(243, 239, 230, .85); position: relative; overflow: hidden; }
#people .mono-p img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#people h3 { font: 400 clamp(36px, 5vw, 76px)/1 var(--serif); }
#people .role { margin: 14px 0 20px; color: var(--accent); }
#people .bio { max-width: 56ch; color: var(--stone); font-size: 18px; }
#people .pend { margin-top: 40px; color: var(--muted); font-size: 14px; }

/* ------------------------------------------------------------ news */
#news .filters { display: flex; gap: 10px; margin: 36px 0 26px; flex-wrap: wrap; }
#news .filters button { padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; font: 500 11px/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; transition: background .3s, color .3s; }
#news .filters button[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
#news li { border-top: 1px solid var(--line); }
#news li:last-child { border-bottom: 1px solid var(--line); }
#news li a { display: grid; grid-template-columns: 220px 1fr 200px; gap: 28px; padding: 30px 0; align-items: baseline; }
#news li h3 { font: 400 clamp(24px, 2.6vw, 38px)/1.08 var(--serif); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
#news li a:hover h3, #news li a:focus-visible h3 { transform: translateX(10px); }
#news li .d { color: var(--stone); }
#news li .s { color: var(--muted); text-align: right; }
#news .more { margin-top: 26px; color: var(--muted); font-size: 14px; }

/* ------------------------------------------------------------ contact (paper) */
#contact { background: var(--paper); color: var(--ink); }
#contact .k { color: rgba(10, 12, 21, .55); }
#contact h2.t { font-size: clamp(54px, 9vw, 150px); transform-origin: 0 60%; will-change: transform; }
#contact .grid { margin-top: clamp(30px, 6vh, 70px); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 100px); }
#contact dl { margin: 0; }
#contact .r { padding: 20px 0; border-top: 1px solid var(--line-ink); }
#contact dt { color: rgba(10, 12, 21, .55); }
#contact dd { margin: 8px 0 0; font: 400 clamp(26px, 2.8vw, 40px)/1.1 var(--serif); }
#contact form { display: grid; gap: 22px; }
#contact label { display: block; color: rgba(10, 12, 21, .6); margin-bottom: 4px; }
#contact input, #contact textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(10, 12, 21, .35); background: transparent; color: var(--ink); font: 400 18px/1.4 var(--sans); border-radius: 0; outline: none; transition: border-color .3s; }
#contact input:focus, #contact textarea:focus { border-bottom-color: var(--ink); }
#contact input[aria-invalid="true"], #contact textarea[aria-invalid="true"] { border-bottom-color: #b3261e; }
#contact .err { color: #b3261e; font-size: 13px; margin-top: 6px; }
#contact .cta { border-color: var(--ink); background: transparent; color: var(--ink); width: fit-content; }
#contact .cta:hover { background: var(--ink); color: var(--paper); }
#contact .stat { min-height: 24px; font-size: 14px; }
#contact .stat.bad { color: #b3261e; }
#contact .hp { position: absolute; left: -9999px; }

/* ------------------------------------------------------------ footer */
footer { background: var(--ink); padding: clamp(70px, 12vh, 140px) var(--pad) calc(36px + var(--safe-b)); }
footer .big { font: 400 clamp(60px, 15vw, 260px)/.85 var(--serif); letter-spacing: -.03em; }
footer .cols { margin-top: clamp(40px, 8vh, 90px); display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 36px; border-top: 1px solid var(--line); padding-top: 34px; }
footer h4 { margin: 0 0 14px; color: var(--muted); font-weight: 500; }
footer li { padding: 4px 0; }
footer .low { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; color: var(--muted); font-size: 13px; }

dialog#legal { max-width: 640px; width: calc(100% - 40px); background: var(--paper); color: var(--ink); border: 0; padding: 40px; }
dialog#legal::backdrop { background: rgba(10, 12, 21, .75); }
dialog#legal h2 { font: 400 44px/1 var(--serif); margin-bottom: 18px; }
dialog#legal .x { position: absolute; right: 16px; top: 14px; padding: 10px; }
dialog#legal li { padding: 8px 0; border-top: 1px solid var(--line-ink); display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }

/* ------------------------------------------------------------ states */
.hidden { display: none !important; }
.preview-flag { position: fixed; left: 8px; top: 8px; z-index: 300; background: var(--accent); color: var(--ink); padding: 3px 8px; font: 500 10px/1.4 var(--sans); letter-spacing: .1em; }

/* ------------------------------------------------------------ tablet */
@media (max-width: 1180px) {
  .pill .it { padding: 9px 10px; letter-spacing: .1em; }
}
@media (max-width: 1060px) {
  .pill.full { display: none; }
  .menu-btn { display: inline-flex; }
  .ch { width: min(46vw, 480px); }
  #news li a { grid-template-columns: 1fr; gap: 10px; }
  #news li .s { text-align: left; }
}

/* ------------------------------------------------------------ phone: its own layout */
@media (max-width: 760px) {
  body { font-size: 16px; }
  #nav { padding: 14px var(--pad); }
  .pill.mini { position: fixed; left: 12px; right: 12px; bottom: calc(10px + var(--safe-b)); transform: none; justify-content: space-between; padding: 8px 8px 8px 16px; }
  .pill.mini .name { font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
  .pill.mini .tc { border: 0; margin: 0; padding: 0 12px; }
  .badge { bottom: calc(76px + var(--safe-b)); left: 12px; }
  .hint { display: none; }
  .ch { left: var(--pad) !important; right: var(--pad) !important; width: auto; }
  .ch h2 { font-size: clamp(38px, 11vw, 60px); }
  .ch .tint { inset: -30px -20px; }
  .sec { padding: 72px var(--pad); }
  #divisions .head { flex-direction: column; align-items: flex-start; }
  #divisions .head p { display: none; }
  .stop { width: 80vw; height: min(64vh, 520px); }
  #heritage .reel { grid-template-columns: 1fr; margin-top: 18px; }
  #heritage .it { display: none; padding: 16px 0 0; }
  #heritage .it.cur { display: block; }
  #heritage .it .y { font-size: clamp(76px, 26vw, 140px); }
  #heritage .it p { font-size: 16px; }
  #results .ledger { grid-template-columns: 1fr; }
  #people .card { grid-template-columns: 1fr; }
  #people .mono-p { aspect-ratio: 16 / 10; max-height: 220px; }
  #contact .grid { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  footer .cols > :first-child { grid-column: 1 / -1; }
  #menu .sub { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ reduced motion: calm static version */
.rm #film .stage { position: relative; height: auto; }
.rm .leak, .rm .grain, .rm #world .field, .rm .hint i { animation: none !important; }
.rm .ch .w, .rm .ch .rv { transition: none !important; }
.rm #divisions .pin, .rm #heritage .pin { position: static; height: auto; padding-top: 80px; padding-bottom: 60px; }
.rm #divisions .track { overflow-x: auto; width: auto; transform: none !important; padding-bottom: 20px; }
.rm #heritage .reel { transform: none !important; }
.rm #heritage .it { opacity: 1 !important; display: block; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------ late additions */
.w.it { font-style: italic; color: var(--accent); }
.pill.mini { display: none; }
@media (max-width: 760px) {
  .pill.mini { display: flex; }
  #menubtn2, #navcta { display: none; }
  .pill.mini .menu-btn { display: inline-flex; padding: 10px 16px; }
}
.rmblock { position: relative; min-height: 80svh; padding: 90px var(--pad); background-size: cover; background-position: center; display: flex; align-items: center; }
.rm .rmblock .ch { position: relative; visibility: visible; opacity: 1; width: min(560px, 100%); left: auto; right: auto; top: auto; bottom: auto; transform: none; }
.rm .ch .w, .rm .ch .rv { opacity: 1; transform: none; filter: none; }
.rm #chapters .ch { position: absolute; }

/* legibility: a wide soft veil behind each chapter, sized to the text block */
.ch .tint { inset: -16vh -5vw; background: radial-gradient(closest-side, rgba(10, 12, 21, calc(var(--scrim, .55) + .18)) 0%, rgba(10, 12, 21, calc(var(--scrim, .55) * .75)) 55%, transparent 100%); }
.ch p.body, .ch ul.rows, .ch .k { text-shadow: 0 1px 14px rgba(10, 12, 21, .55); }

/* review fixes */
.pill .tc { white-space: nowrap; }
.ch .tint { background: radial-gradient(ellipse 62% 58% at 50% 50%, rgba(10, 12, 21, calc(var(--scrim, .4) + .06)) 0%, rgba(10, 12, 21, calc(var(--scrim, .4) * .55)) 52%, transparent 100%); inset: -22vh -9vw; }
.stop .ph { flex: 1 1 auto; min-height: 90px; max-height: 280px; height: auto; }
.stop .ph img, .stop .ph svg { width: 100%; height: 100%; object-fit: cover; }
#heritage .reel { grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); }
#heritage .it .y { font-size: clamp(34px, 4.1vw, 68px); }
@media (max-width: 760px) {
  #heritage .reel { grid-template-columns: minmax(0, 1fr); }
  #heritage .it .y { font-size: clamp(76px, 26vw, 140px); }
  .sec { padding-bottom: 110px; }
}

.bgword::before { content: attr(data-w); }
#contact .k, #contact dt { color: rgba(10, 12, 21, .72); }
#contact label { color: rgba(10, 12, 21, .74); }
#contact em.acc { color: #3347b0; }
#nav .cta { background: var(--ink); }
#nav .cta:hover, #nav .cta:focus-visible { background: var(--paper); }
.pill { background: rgba(10, 12, 21, .94); }

.ch h1 { margin: 18px 0 20px; font: 400 clamp(40px, 5.2vw, 84px)/.98 var(--serif); letter-spacing: -.02em; }
@media (max-width: 760px) { .ch h1 { font-size: clamp(38px, 11vw, 60px); } }
footer h2.label { margin: 0 0 14px; color: var(--muted); font-weight: 500; }
