@charset "UTF-8";
:root {
  --paper: #F5F0E6;
  --paper-2: #ECE4D4;
  --card: #FBF8F2;
  --ink: #16130F;
  --ink-2: #4A433A;
  --muted: #6B6155;
  --line: #DCD2C1;
  --then: #CBBFAB;
  --saffron: #F26A1B;
  --saffron-2: #FF9A3C;
  --saffron-ink: #B0450A;
  --saffron-btn: #CC4C09; /* fill behind small white text (buttons, chips): 4.6:1 */
  --saffron-txt: #D9530B; /* saffron for large headline words: 3.5:1 on paper (bright-sunlight safe) */
  --serif: Fraunces, Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --deva: "Tiro Devanagari Hindi", serif;
  --pad: clamp(1.1rem, 5vw, 4.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; }
body { margin: 0; font: 16px/1.55 var(--sans); font-variation-settings: "SOFT" 50; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--saffron); color: #fff; }
.kicker, .sec-no { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--saffron-ink); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .15rem var(--pad); background: rgba(245, 240, 230, .86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.brand { font: 1.6rem/1 var(--serif); text-decoration: none; letter-spacing: -.01em; }
.brand i, h1 i { color: var(--saffron); font-style: normal; }
.nav nav { display: flex; gap: clamp(.2rem, 1.2vw, 1.2rem); min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav nav::-webkit-scrollbar { display: none; }
.nav nav a { position: relative; flex: none; display: flex; align-items: center; min-height: 44px; padding: 0 .5rem; text-decoration: none; font-size: .88rem; color: var(--ink-2); white-space: nowrap; transition: color .2s; }
.nav nav a::after { content: ""; position: absolute; left: .5rem; right: .5rem; bottom: 6px; height: 2px; border-radius: 1px; background: var(--saffron); transform: scaleX(0); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.nav nav a:hover, .nav nav a.on { color: var(--saffron-ink); }
.nav nav a.on::after { transform: none; }

/* Hero */
.hero {
  position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
  padding: clamp(2.5rem, 6vw, 5rem) var(--pad) clamp(4rem, 7vw, 6rem); max-width: 1400px; margin: 0 auto; min-height: calc(100vh - 100px);
}
.kicker { margin: 0 0 1rem; }
h1 { font: clamp(3rem, 9vw, 8rem)/.9 var(--serif); letter-spacing: -.03em; margin: 0 0 2rem; }
.entry { margin: 0 0 2rem; border-top: 1px solid var(--ink); padding-top: 1rem; max-width: 38rem; }
.entry dt { margin-bottom: .6rem; }
.entry dt b { font: 600 1.35rem var(--serif); }
.ipa, .pos { font-family: var(--mono); font-size: .78rem; color: var(--muted); margin-left: .4rem; }
.pos { font-style: italic; }
.entry .deva { font: 1.1rem var(--deva); color: var(--saffron-ink); margin-left: .5rem; }
.entry dd { margin: 0 0 .5rem; display: grid; grid-template-columns: 1.4rem 1fr; color: var(--ink-2); }
.entry dd > span { font: .8rem var(--mono); padding-top: .15rem; }
.entry dd p { margin: 0; }
.entry dd.old { color: var(--muted); }
.entry dd.old s { text-decoration-color: var(--saffron); text-decoration-thickness: 2px; }
.entry dd.old em { font-size: .8rem; display: block; }
.entry dd b { color: var(--ink); font-weight: 600; }
.tagline { font: 400 clamp(1.35rem, 2.4vw, 1.9rem)/1.2 var(--serif); letter-spacing: -.01em; margin: 0; }
.tagline em { color: var(--saffron-ink); }

.hero-fig { position: relative; margin: 0; width: min(520px, 100%); justify-self: end; }
.hero-fig .sun { position: absolute; left: 16%; right: 16%; top: 12%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, var(--saffron-2), var(--saffron) 60%, var(--saffron-ink)); }
#skyline { position: relative; width: 100%; height: auto; display: block; overflow: visible; }
#skyline .bar { fill: var(--ink); }
#skyline .bar.hot { fill: #2C2620; }
#skyline .lbl { fill: var(--muted); font: 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
#skyline .mult { fill: var(--paper); font: 500 10px var(--mono); }
#skyline .ground { stroke: var(--ink); stroke-width: 1; }
#skyline .hit { fill: transparent; cursor: default; }
.hero-fig figcaption { font: .7rem/1.5 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: .6rem; }
.hero-fig figcaption span { display: block; text-transform: none; font-style: italic; letter-spacing: 0; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); text-decoration: none; font: 1.2rem var(--mono); color: var(--muted); animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* Ticker */
.ticker { background: var(--ink); color: var(--paper); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: tick 70s linear infinite; }
.ticker-track span { font: .76rem var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: .75rem 1.4rem; white-space: nowrap; }
.ticker-track span::before { content: "“"; color: var(--saffron-2); }
.ticker-track span::after { content: "” — debunked"; color: #8E8476; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Chapters */
.ch { padding: clamp(2.5rem, 5vw, 4.5rem) var(--pad) clamp(2.5rem, 5vw, 4rem); max-width: 1400px; margin: 0 auto; }
.ch-head { display: grid; grid-template-columns: 7rem 1fr; gap: 0 1.5rem; border-top: 1px solid var(--ink); padding-top: 1.2rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.ch-no { font: .72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--saffron-ink); padding-top: .4rem; }
.ch-no b { display: block; font: 300 2.7rem/1 var(--serif); color: var(--ink); letter-spacing: 0; margin-bottom: .3rem; }
.say { margin: 0 0 .6rem; font: italic 300 1.05rem var(--serif); color: var(--muted); }
.say::before { content: "They say: "; font: normal .68rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.say q { text-decoration: line-through; text-decoration-color: var(--saffron); text-decoration-thickness: 1.5px; }
.ch h2 { font: 400 clamp(2.3rem, 5.4vw, 4.6rem)/.98 var(--serif); letter-spacing: -.03em; margin: 0; max-width: 17ch; }
.ch h2 em, .sec-head h2 em { color: var(--saffron-txt); font-weight: 400; }

.ch-body { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.ch.flip .ch-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
.ch.flip .viz { order: 2; }
.viz { margin: 0; }
.viz svg { width: 100%; height: auto; display: block; overflow: visible; }
.viz figcaption { font: .7rem/1.5 var(--mono); color: var(--muted); margin-top: .8rem; padding-top: .6rem; border-top: 1px solid var(--line); }
.quip { font: 350 clamp(1.15rem, 1.8vw, 1.45rem)/1.4 var(--serif); margin: 0 0 1.8rem; }
.quip b { font-weight: 400; color: var(--saffron-ink); background: linear-gradient(transparent 62%, rgba(242, 106, 27, .16) 62%); }
.notes { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.notes li { display: grid; grid-template-columns: 1fr auto; gap: .1rem .8rem; padding: .55rem 0; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.notes li b { font: 500 .78rem var(--mono); color: var(--ink); grid-column: 1; }
.notes li span { grid-column: 1; }
.notes li a { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.src { font: .64rem var(--mono); color: var(--muted); text-decoration: none; border-bottom: 1px dotted var(--muted); white-space: nowrap; }
.src:hover { color: var(--saffron-ink); border-color: var(--saffron-ink); }
.pills { display: flex; gap: .5rem; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font: .78rem var(--mono); letter-spacing: .03em; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; transition: border-color .15s, color .15s, background .15s, transform .12s; }
.pill:hover, .pill:focus-visible { border-color: var(--ink); color: var(--ink); }
/* Instant press feedback on every tappable control */
html { -webkit-tap-highlight-color: transparent; }
.pill:active, .play-cta:active, .pickme:active, .mq-o button:active, .dom-chips button:active, .mv-play:active, .who button:active, .bl-ctl button:active, .nav nav a:active, .tn-more:active { transform: scale(.96); }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 2px; }

/* SVG vocabulary */
.v-ink { fill: var(--ink); }
.v-sf { fill: var(--saffron); }

.v-line { stroke: var(--line); fill: none; }
.v-txt { fill: var(--muted); font: 10px var(--mono); }
.v-txt-ink { fill: var(--ink); font: 500 11px var(--mono); }
.v-big { fill: var(--ink); font: 300 56px var(--serif); letter-spacing: -.02em; }
.v-big.sf { fill: var(--saffron); }
.v-serif { fill: var(--ink); font: 400 19px var(--serif); }
.v-hit { fill: transparent; }
.cell { transition: fill .35s; }

/* Before / after satellite */
.ba { margin-top: clamp(2.5rem, 5vw, 4rem); }
.ba-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .8rem; align-items: center; }
.ba-tabs button { font: .7rem var(--mono); padding: .35rem .75rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; }
.ba-tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ba-tabs .hint { font: italic 300 1rem var(--serif); color: var(--muted); margin-left: auto; }
.ba-frame { position: relative; overflow: hidden; border-radius: 3px; aspect-ratio: 16 / 9; background: var(--paper-2); touch-action: pan-y; cursor: ew-resize; user-select: none; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-frame .after { clip-path: inset(0 0 0 var(--x, 50%)); }
.ba-frame .handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: var(--paper); transform: translateX(-1px); pointer-events: none; }
.ba-frame .handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%;
  background: var(--paper); color: var(--ink); font: 500 .9rem/42px var(--mono); text-align: center; box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}
.ba-frame .yr { position: absolute; bottom: .8rem; font: 500 .72rem var(--mono); letter-spacing: .08em; color: var(--paper); background: rgba(22, 19, 15, .7); padding: .3rem .6rem; border-radius: 999px; pointer-events: none; }
.ba-frame .yr.l { left: .8rem; }
.ba-frame .yr.r { right: .8rem; background: var(--saffron); }
.ba-frame input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-credit { font: .62rem var(--mono); color: var(--muted); margin-top: .5rem; }
.ba-credit a { color: var(--muted); }

/* Photo bands */
.band { margin: 0; position: relative; }
.band .im { height: clamp(320px, 62vh, 680px); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06) brightness(.98); transition: filter 1.2s ease, transform 8s ease; transform: scale(1.04); }
.band.in img { transform: scale(1); }
.band:hover img { filter: none; }
.band figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: 1rem var(--pad) 0; max-width: 1400px; margin: 0 auto; }
.band figcaption p { margin: 0; font: italic 300 clamp(1.05rem, 1.8vw, 1.35rem)/1.3 var(--serif); max-width: 46ch; }
.band figcaption a { font: .62rem var(--mono); color: var(--muted); white-space: nowrap; }

/* Sections */
.section { padding: clamp(3rem, 6vw, 5.5rem) var(--pad); }
.section > * { max-width: 1280px; margin-left: auto; margin-right: auto; }
.sec-head { display: grid; grid-template-columns: 7rem 1fr; gap: 0 1.5rem; margin-bottom: 2.5rem; border-top: 1px solid var(--ink); padding-top: 1.2rem; }
.sec-no { padding-top: .9rem; }
.sec-head h2 { font: 400 clamp(2.2rem, 4.8vw, 3.9rem)/1 var(--serif); letter-spacing: -.03em; margin: 0; }

/* Field guide */
.section.dark { background: var(--ink); color: var(--paper); }
.dark .sec-head { border-color: #3A342C; }
.doom { margin: 0 0 3rem; }
.doom svg { width: 100%; height: auto; display: block; overflow: visible; }
.doom .gl { stroke: #2E2923; }
.doom .ax { fill: #8E8476; font: 10px var(--mono); }
.doom .real { stroke: var(--saffron-2); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.doom .area { fill: url(#doomfade); }
.doom .pred { stroke: #8E8476; stroke-width: 1.5; stroke-dasharray: 4 4; fill: none; }
.doom .pdot { fill: var(--ink); stroke: #8E8476; stroke-width: 1.5; }
.doom .q { fill: #CFC6B8; font: italic 300 14px var(--serif); }
.doom .end { fill: var(--saffron-2); font: 500 11px var(--mono); }
.doom .note { fill: #8E8476; font: italic 300 12px var(--serif); }
.doom figcaption { font: .66rem var(--mono); color: #8E8476; margin-top: .6rem; }
.doom .pn { fill: #CFC6B8; font: 600 11px var(--mono); }
.doom-q { list-style: none; counter-reset: dq; margin: 1rem 0 0; padding: 0; display: grid; gap: .1rem; }
.doom-q li { counter-increment: dq; display: grid; grid-template-columns: 1.6rem 2.8rem 1fr auto; align-items: baseline; gap: .4rem; padding: .55rem 0; border-bottom: 1px solid #2E2923; font: italic 300 1.02rem/1.3 var(--serif); color: #CFC6B8; }
.doom-q li::before { content: counter(dq); display: grid; place-content: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 1.5px solid #8E8476; font: normal 600 .66rem var(--mono); color: #CFC6B8; align-self: center; }
.doom-q b { font: normal 500 .78rem var(--mono); color: #8E8476; }
.doom-q em { font: normal 600 .7rem var(--mono); color: #E5372A; letter-spacing: .04em; text-transform: uppercase; }
.doom figcaption a { color: #8E8476; }
.species { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 1px; background: #3A342C; border: 1px solid #3A342C; }
.sp { background: var(--ink); padding: 1.4rem 1.2rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; transition: background .2s; }
.sp:hover { background: #211D18; }
.sp .no { font: .66rem var(--mono); color: var(--saffron-2); letter-spacing: .08em; text-transform: uppercase; }
.sp h3 { font: 1.4rem/1.1 var(--serif); font-weight: 500; letter-spacing: -.01em; margin: 0; }
.sp .hab { font: .66rem var(--mono); color: #8E8476; text-transform: uppercase; letter-spacing: .06em; }
.sp p { margin: 0; color: #CFC6B8; font-size: .9rem; }

/* Gallery strip */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 26%, 360px); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .8rem; align-items: start; scrollbar-width: thin; scrollbar-color: var(--then) transparent; max-width: none !important; margin-right: calc(var(--pad) * -1) !important; padding-right: var(--pad); }
.shot { scroll-snap-align: start; margin: 0; border: 0; padding: 0; background: none; text-align: left; cursor: zoom-in; color: inherit; font: inherit; }
.shot .im { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; background: var(--paper-2); }
.shot img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform .6s, filter .6s; }
.shot:hover img { transform: scale(1.04); filter: none; }
.shot .t { display: flex; justify-content: space-between; gap: .5rem; padding-top: .6rem; border-top: 1px solid var(--ink); margin-top: .7rem; }
.shot .t strong { font: 1.1rem var(--serif); font-weight: 500; }
.shot .t span { font: .64rem var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; padding-top: .35rem; }

#lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; }
#lightbox::backdrop { background: rgba(22, 19, 15, .94); }
#lightbox img { max-width: 94vw; max-height: 80vh; border-radius: 3px; }
.lb-cap { color: var(--paper); padding: .7rem 0 0; display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: baseline; }
.lb-cap strong { font: 1.3rem var(--serif); font-weight: 500; }
.lb-cap span { font: .7rem var(--mono); color: #9C9283; text-transform: uppercase; }
.lb-cap a { color: var(--saffron-2); font: .7rem var(--mono); margin-left: auto; }
.lb-close { position: absolute; top: -44px; right: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #5A5146; background: var(--ink); color: var(--paper); font-size: 1.2rem; cursor: pointer; }

/* Videos */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.4rem 1.2rem; margin-top: 3rem !important; }
.video .frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border: 0; padding: 0; width: 100%; display: block; cursor: pointer; border-radius: 3px; overflow: hidden; }
.video .frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .4s; }
.video .frame:hover img { filter: none; }
.video .play { position: absolute; left: 1rem; bottom: 1rem; width: 48px; height: 48px; border-radius: 50%; background: var(--saffron); transition: transform .2s; }
.video .play::after { content: ""; position: absolute; left: 19px; top: 14px; border: 10px solid transparent; border-left: 14px solid #fff; border-right: 0; }
.video .frame:hover .play { transform: scale(1.08); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video h3 { margin: .7rem 0 0; font: 1.1rem/1.25 var(--serif); font-weight: 500; }
.video small { font: .64rem var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

/* Oath */
.oath ol { list-style: none; counter-reset: o; padding: 0; margin: 1.5rem auto 0; max-width: 1000px; }
.oath ol li { counter-increment: o; font: 350 clamp(1.4rem, 2.9vw, 2.3rem)/1.2 var(--serif); letter-spacing: -.015em; padding: 1.1rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 3rem 1fr; }
.oath ol li::before { content: counter(o, upper-roman) "."; font: .8rem var(--mono); color: var(--saffron-ink); padding-top: .9rem; }
.oath ol li p { margin: 0; }
.oath ol li em { color: var(--saffron-txt); }
.oath .aside { display: block; font: .85rem var(--mono); color: var(--muted); margin-top: .4rem; }
.oath .sign { max-width: 1000px; font: italic 300 1.2rem var(--serif); color: var(--muted); margin-top: 1.5rem; }
.oath .sec-no { display: block; max-width: 1000px; }

/* Footer */
.foot { background: var(--ink); color: var(--paper); text-align: center; padding: 3.5rem 1rem 6rem; }
.foot .brand { font-size: 2.6rem; margin: 0; }
.vande { font: 1.5rem var(--deva); color: var(--saffron-2); margin: .4rem 0 1.2rem; }
.fine { font: .66rem var(--mono); color: #8E8476; margin: 0; letter-spacing: .03em; }

/* Time machine */
.tm {
  position: fixed; left: 50%; bottom: 1rem; transform: translate(-50%, 150%); z-index: 40; transition: transform .4s cubic-bezier(.2, .8, .2, 1);
  display: flex; align-items: center; gap: .7rem; padding: .55rem .6rem .55rem 1rem; border-radius: 999px;
  background: rgba(22, 19, 15, .92); backdrop-filter: blur(10px); color: var(--paper); box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  font: .68rem var(--mono); letter-spacing: .06em; text-transform: uppercase;
}
.tm.show { transform: translate(-50%, 0); }
.tm input { -webkit-appearance: none; appearance: none; width: clamp(120px, 22vw, 220px); height: 2px; background: #5A5146; outline: none; }
.tm input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--saffron); cursor: grab; border: 2px solid var(--paper); }
.tm input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--saffron); cursor: grab; border: 2px solid var(--paper); }
.tm output { font: 500 .8rem var(--mono); background: var(--saffron-btn); color: #fff; padding: .3rem .6rem; border-radius: 999px; min-width: 3.6rem; text-align: center; }

/* Tooltip + toast */
#tip { position: fixed; z-index: 50; max-width: 290px; background: var(--ink); color: var(--paper); font-size: .82rem; line-height: 1.45; padding: .65rem .8rem; border-radius: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
#tip .k { font: .62rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--saffron-2); display: block; margin-bottom: .2rem; }
#toast { position: fixed; left: 50%; bottom: 5rem; transform: translateX(-50%); z-index: 60; background: var(--ink); color: var(--paper); font: .8rem var(--mono); padding: .6rem 1rem; border-radius: 999px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s, transform .45s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-fig { justify-self: center; }
  .ch-body, .ch.flip .ch-body { grid-template-columns: 1fr; }
  .ch.flip .viz { order: 0; }
  .ch-head, .sec-head { grid-template-columns: 1fr; }
  .ch-no b { display: inline; font-size: 1.6rem; margin-right: .5rem; }
  .ch-no { padding-bottom: .8rem; }
  .sec-no { padding: 0 0 .6rem; }
  .strip { grid-auto-columns: 70%; }
  .ba-tabs .hint { margin-left: 0; width: 100%; }
  .band figcaption { flex-direction: column; gap: .4rem; }
}
@media (max-width: 560px) {
  .viz .v-txt { font-size: 19px; }
  .viz .v-txt-ink { font-size: 18px; }
  .viz .v-big { font-size: 88px; }
  .viz .v-serif { font-size: 32px; }
  .doom .ax { font-size: 13px; }
  .doom .end { font-size: 13px; }
  #skyline .lbl { font-size: 12px; }
  #skyline .mult { font-size: 9px; }
  .nav { gap: .6rem; padding-right: 0; }
  .nav .brand { flex: none; }
  .nav nav { -webkit-mask: linear-gradient(90deg, transparent, #000 1rem, #000 calc(100% - 2rem), transparent); mask: linear-gradient(90deg, transparent, #000 1rem, #000 calc(100% - 2rem), transparent); padding: 0 1.5rem 0 .4rem; }
  .nav nav a { font-size: .9rem; padding: 0 .55rem; }
  .oath ol li { grid-template-columns: 2.2rem 1fr; }
  .tm { gap: .5rem; padding-left: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---- Round 3: proof wall, slabs, bingo, cope ---- */
.tagline span { display: block; font-size: .62em; color: var(--muted); font-style: italic; margin-top: .3rem; }
.sec-head p { grid-column: 2; margin: .8rem 0 0; color: var(--muted); font-size: 1.05rem; }

.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tile { position: relative; border: 0; padding: 0; background: none; text-align: left; color: inherit; font: inherit; cursor: zoom-in; }
.tile .im { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 3px; background: var(--paper-2); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile .after { clip-path: inset(0 0 0 50%); animation: wipe 4s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
@keyframes wipe { from { clip-path: inset(0 0 0 22%); } to { clip-path: inset(0 0 0 78%); } }
.tile .wipe { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: var(--paper); box-shadow: 0 0 12px rgba(0,0,0,.4); animation: wipeLine 4s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
@keyframes wipeLine { from { left: 22%; } to { left: 78%; } }
@keyframes flip { 0%, 38% { opacity: 0; } 50%, 88% { opacity: 1; } 100% { opacity: 0; } }
.tile .yr { position: absolute; bottom: .6rem; left: .6rem; font: 500 .7rem var(--mono); letter-spacing: .06em; color: #fff; padding: .25rem .55rem; border-radius: 999px; background: var(--ink); }
.tile .yr.b { animation: none; animation-delay: var(--d, 0s); }
.tile .yr.a { background: var(--saffron); left: auto; right: .6rem; }
@keyframes flipYr { 0%, 38% { opacity: 1; } 50%, 88% { opacity: 0; } 100% { opacity: 1; } }
.tile .gif { position: absolute; right: .6rem; top: .6rem; font: 500 .62rem var(--mono); color: var(--ink); background: var(--paper); padding: .25rem .5rem; border-radius: 999px; text-decoration: none; opacity: 0; transition: opacity .2s; }
.tile:hover .gif, .tile:focus-within .gif { opacity: 1; }
.tile strong { display: block; font: 1.08rem/1.2 var(--serif); font-weight: 500; margin-top: .7rem; padding-top: .55rem; border-top: 1px solid var(--ink); }
.tile p { margin: .3rem 0 0; font-size: .84rem; color: var(--ink-2); line-height: 1.4; }
.proof .credit { font: .62rem var(--mono); color: var(--muted); margin-top: 1rem; }
.proof .credit a { color: var(--muted); }

#satbox { border: 0; padding: 0; background: var(--paper); width: min(1100px, 94vw); max-height: 94vh; overflow: visible; border-radius: 4px; }
#satbox::backdrop { background: rgba(22, 19, 15, .92); }
.satbox-body { padding: 1rem; }
.satbox-body .ba { margin: 0; }

.slab { background: var(--saffron); color: var(--ink); padding: clamp(3rem, 8vw, 6rem) var(--pad); overflow: hidden; }
.slab > div { max-width: 1400px; margin: 0 auto; }
.slab .big { font: 300 clamp(4rem, 15vw, 13rem)/.85 var(--serif); letter-spacing: -.045em; display: block; color: var(--paper); }
.slab .line { font: italic 400 clamp(1.2rem, 2.5vw, 2rem)/1.2 var(--serif); max-width: 30ch; margin: 1rem 0 0; }

.bingo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--ink); max-width: 980px !important; }
.sq { perspective: 900px; border: 0; padding: 0; background: none; aspect-ratio: 1.5; cursor: pointer; font: inherit; color: inherit; outline-offset: -3px; }
.sq:nth-child(3n+1), .sq:nth-child(3n+2) { border-right: 1px solid var(--ink); }
.sq:nth-child(-n+6) { border-bottom: 1px solid var(--ink); }
.sq .in { position: relative; width: 100%; height: 100%; transition: transform .6s cubic-bezier(.2, .8, .2, 1); transform-style: preserve-3d; }
.sq.on .in { transform: rotateY(180deg); }
.sq .f, .sq .bk { position: absolute; inset: 0; backface-visibility: hidden; display: grid; place-items: center; padding: 1rem; text-align: center; overflow-wrap: break-word; hyphens: auto; }
.sq .f { font: 400 clamp(1rem, 2.1vw, 1.6rem)/1.15 var(--serif); letter-spacing: -.01em; }
.sq .f::after { content: "tap"; position: absolute; bottom: .7rem; font: .58rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sq:hover .f { background: var(--paper-2); }
.sq .bk { transform: rotateY(180deg); background: var(--ink); color: var(--paper); font-size: clamp(.8rem, 1.4vw, .98rem); line-height: 1.4; }
.sq .bk::before { content: "Receipt"; position: absolute; top: .7rem; font: .58rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--saffron-2); }
.sq.free .f { background: var(--saffron-btn); color: #fff; }
.sq.free .f::after { color: #FFE3CC; content: "free space"; }
.bingo-done { font: italic 400 1.25rem var(--serif); color: var(--saffron-ink); margin-top: 1rem; min-height: 2rem; }
/* Narrow screens: the longer receipts don't fit a fixed-ratio square, so both faces share one grid cell and each row grows to its longest receipt */
@media (max-width: 900px) {
  .bingo .sq { aspect-ratio: auto; min-height: 7rem; }
  .bingo .sq .in { display: grid; }
  .bingo .sq .f, .bingo .sq .bk { position: relative; inset: auto; grid-area: 1 / 1; }
  .sq .bk { padding-top: 1.9rem; } /* clears the "Receipt" label; phones hide the label and reset this below */
}

.cope { display: flex; align-items: center; gap: .45rem; padding-left: .7rem; margin-left: .2rem; border-left: 1px solid #3A342C; }
.cope span { color: #8E8476; }
.cope i { display: block; width: 64px; height: 8px; border-radius: 4px; background: #3A342C; overflow: hidden; }
.cope b { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--saffron-2), #E5372A); transform-origin: left; transition: transform .2s; }

@media (max-width: 900px) {
  .wall { grid-template-columns: repeat(2, 1fr); }
  .sec-head p { grid-column: 1; }
}
@media (max-width: 560px) {
  .wall { gap: .7rem; }
  .tile strong { font-size: 1.05rem; }
  .tile p { font-size: .76rem; }
  .tile .gif { opacity: 1; }
  .sq { aspect-ratio: 1; }
  .sq .f { font-size: .92rem; padding: .6rem .35rem; }
  .sq .f::after { display: none; }
  .sq .bk { font-size: .7rem; padding: .5rem; }
  .sq .bk::before { display: none; }
  .cope span { display: none; }
  .cope i { width: 40px; }
  /* Phones: the time machine docks as a slim bar on top of the bottom HUD, so it frames the page instead of floating over charts */
  .tm { left: 0; right: 0; bottom: 0; transform: translateY(110%); justify-content: center; gap: .6rem; padding: .35rem .9rem; border-radius: 16px 16px 0 0; box-shadow: 0 -6px 20px rgba(0, 0, 0, .12); }
  .tm.show { transform: none; }
  .tm input { flex: 1; width: auto; min-width: 0; max-width: 260px; height: 32px; background: linear-gradient(#5A5146, #5A5146) center / 100% 2px no-repeat; touch-action: pan-y; }
  .tm input::-webkit-slider-thumb { width: 24px; height: 24px; }
  .tm > span { font-size: .62rem; color: #B9AE9F; }
  .tm output { min-width: 3.2rem; padding: .25rem .5rem; }
  .cope { padding-left: .5rem; }
  .cope::before { content: "🤡"; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .tile .after { opacity: 1; } }

/* ---- Round 4: face-offs, stickers, goofy bits ---- */
.ch-head { grid-template-columns: 7rem 1fr minmax(300px, 400px); align-items: start; }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .4rem; align-self: end; }
.vs-c { position: relative; padding: 1.6rem .9rem .9rem; border-radius: 6px; text-align: center; transition: transform .2s; }
.vs-c b { display: block; font: clamp(1.6rem, 2.8vw, 2.4rem)/1 var(--serif); font-weight: 400; letter-spacing: -.02em; white-space: nowrap; }
.vs-c .yr { position: absolute; top: .5rem; left: 50%; transform: translateX(-50%); font: 500 .62rem var(--mono); letter-spacing: .08em; }
.vs-c.b { background: var(--paper-2); color: var(--muted); transform: rotate(-2deg); filter: grayscale(1); }
.vs-c.b b { text-decoration: line-through; text-decoration-color: rgba(122, 112, 100, .5); text-decoration-thickness: 2px; }
.vs-c.a { background: var(--saffron); color: #fff; transform: rotate(1.5deg); box-shadow: 0 10px 24px -10px rgba(194, 78, 12, .7); }
.vs-c.a .yr { color: #FFE3CC; }
.vs:hover .vs-c.a { transform: rotate(-1deg) scale(1.06); }
.vs:hover .vs-c.b { transform: rotate(-4deg) scale(.94); }
.vs-x { font: italic 1.1rem var(--serif); color: var(--ink); width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); z-index: 1; margin: 0 -.9rem; }
.vs-what { grid-column: 1 / -1; margin: .7rem 0 0; font: .7rem var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); text-align: center; }
.vs-what em { display: block; font: italic 300 1rem var(--serif); text-transform: none; letter-spacing: 0; color: var(--saffron-ink); margin-top: .15rem; }
.say q::after { content: " 🤡"; display: inline-block; text-decoration: none; }

.hero { position: relative; }

@keyframes bob2 { 50% { translate: 0 -6px; } }
@keyframes wobble { 0%, 100% { rotate: -6deg; } 50% { rotate: 6deg; } }

.cf { position: fixed; width: 9px; height: 14px; border-radius: 2px; z-index: 100; pointer-events: none; }
.slab.in .big { animation: shake .5s cubic-bezier(.36,.07,.19,.97) .2s both; }
@keyframes shake { 10%, 90% { translate: -2px 0; } 20%, 80% { translate: 4px 0; } 30%, 50%, 70% { translate: -8px 0; } 40%, 60% { translate: 8px 0; } }

@media (max-width: 1100px) {
  .ch-head { grid-template-columns: 7rem 1fr; }
  .vs { grid-column: 2; margin-top: 1.4rem; max-width: 420px; }
}
@media (max-width: 900px) {
  .ch-head { grid-template-columns: 1fr; }
  .vs { grid-column: 1; }
  .hero { padding-top: 3rem; gap: 1.5rem; }
  .hero-fig { order: -1; width: min(420px, 92%); }
  .hero-fig figcaption { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tile .after { clip-path: inset(0 0 0 50%); } .tile .wipe { left: 50%; } }

/* ---- Leaderboard ---- */
.ranks { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.rk { display: grid; grid-template-columns: 13rem 4.6rem minmax(160px, 1fr) 4.6rem 7.5rem 8.5rem; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.rk h3 { margin: 0; font: 1.15rem/1.15 var(--serif); font-weight: 500; }
.rk-b, .rk-a { text-align: center; line-height: 1; }
.rk-b span, .rk-a span { display: block; font: .6rem var(--mono); letter-spacing: .06em; color: var(--muted); margin-bottom: .2rem; }
.rk-b b { font: 1.4rem var(--serif); font-weight: 300; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(122,112,100,.5); }
.rk-a b { font: 1.85rem var(--serif); font-weight: 500; color: var(--saffron); }
.rk-track { position: relative; height: 30px; }
.rk-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--line); }
.rk-track .tick { position: absolute; top: 50%; width: 1px; height: 8px; background: var(--then); transform: translate(-50%, -50%); }
.rk-track .tick em { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); font: normal .55rem var(--mono); color: var(--muted); white-space: nowrap; }
.rk-up small { font: .62rem var(--mono); color: var(--muted); letter-spacing: .04em; }
.rk-track .trail { position: absolute; top: 50%; height: 4px; margin-top: -2px; background: var(--saffron); border-radius: 2px; transition: width .9s cubic-bezier(.2,.8,.2,1) .15s; }
.rk-track .dot { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; }
.rk-track .dot.old { background: var(--paper); border: 2px solid var(--muted); }
.rk-track .dot.new { width: 20px; height: 20px; margin: -10px 0 0 -10px; background: var(--saffron); box-shadow: 0 0 0 4px rgba(242,106,27,.2); transition: left .9s cubic-bezier(.2,.8,.2,1) .15s; }
.rk-up { font: 600 .78rem var(--mono); color: #138808; white-space: nowrap; }
.rk .src { justify-self: end; }
.rk:hover { background: linear-gradient(90deg, transparent, rgba(242,106,27,.06), transparent); }
@media (max-width: 900px) {
  .rk { grid-template-columns: 1fr auto auto; grid-template-areas: "h b a" "t t t" "u u s"; gap: .3rem .8rem; }
  .rk h3 { grid-area: h; font-size: 1.15rem; }
  .rk-b { grid-area: b; } .rk-a { grid-area: a; }
  .rk-track { grid-area: t; margin: .2rem .6rem 1rem; }
  .rk-up { grid-area: u; } .rk .src { grid-area: s; }
  .rk-b b { font-size: 1.3rem; } .rk-a b { font-size: 1.7rem; }
  .rk-track .tick em { font-size: .66rem; }
}

/* ---- Round 5: the poster — sunrise, tiranga, medallion ---- */
:root { --gold: #D99A2B; --gold-2: #F4C66A; --green: #138808;  }
body { background: var(--paper); }
.brand { font: 600 1.35rem/1 var(--serif); letter-spacing: -.02em; }
.brand b { font-weight: 600; font-style: italic; padding-right: .04em; background: linear-gradient(180deg, #F58A2A, var(--saffron-ink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand i { color: var(--ink); font-size: .62em; }

.hero {
  grid-template-columns: 1.05fr 1fr; grid-template-rows: 1fr auto; row-gap: 2.5rem; overflow: hidden; isolation: isolate; max-width: none;
  padding-left: max(var(--pad), calc((100vw - 1400px) / 2 + var(--pad))); padding-right: max(var(--pad), calc((100vw - 1400px) / 2 + var(--pad)));
  background:
    radial-gradient(60% 70% at 74% 42%, rgba(255, 214, 140, .55), transparent 70%),
    linear-gradient(180deg, #FBF4E8 0%, #FCEFDB 55%, var(--paper) 100%);
}
.rays {
  position: absolute; z-index: -1; left: 74%; top: 42%; width: 190vmax; aspect-ratio: 1; translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgba(232, 160, 60, .13) 0 4deg, transparent 4deg 12deg);
  -webkit-mask: radial-gradient(closest-side, #000 8%, transparent 62%); mask: radial-gradient(closest-side, #000 8%, transparent 62%);
  animation: spin 160s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }

.wordmark { font: 600 clamp(3rem, 7.6vw, 6.8rem)/.95 var(--serif); letter-spacing: -.035em; margin: 0; color: var(--ink); white-space: nowrap; }
.wordmark b { font-weight: 600; font-style: italic; padding-right: .05em; background: linear-gradient(180deg, #FF9A3C 0%, var(--saffron) 45%, #B6450A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordmark small { font-size: .4em; letter-spacing: 0; }
.tiranga { display: flex; align-items: center; gap: .7rem; margin: 1rem 0 1.1rem; max-width: 36rem; }
.tiranga i { flex: 1; height: 3px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--saffron) 25%); }
.tiranga i + svg + i { background: linear-gradient(90deg, var(--green) 75%, transparent); }
.tiranga svg { width: 30px; height: 30px; color: #0B3A8C; flex: none; animation: spin 24s linear infinite; }
.motto { font: 500 clamp(1rem, 1.6vw, 1.3rem)/1.35 var(--serif); font-variant: all-small-caps; letter-spacing: .07em; margin: 0 0 1.8rem; color: var(--ink); }
.motto span { display: block; color: var(--saffron-ink); font-size: .8em; margin-top: .1rem; }
.hero .entry { border-top-color: rgba(22, 19, 15, .25); margin-bottom: 1.4rem; }

@keyframes drift { from { scale: 1.02; } to { scale: 1.09; translate: 0 -1.5%; } }

.pillars { grid-column: 1 / -1; list-style: none; margin: 0; padding: 1.3rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(22, 19, 15, .18); }
.pillars li { display: flex; align-items: center; justify-content: center; gap: .8rem; padding: .2rem .8rem; cursor: help; font: 600 .78rem/1.25 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.pillars li + li { border-left: 1px solid rgba(22, 19, 15, .18); }
.pillars li:hover { color: var(--saffron-ink); }
.pillars svg { width: 34px; height: 34px; flex: none; }
.pillars .k { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pillars .s { fill: var(--saffron); stroke: var(--saffron); stroke-width: 2; stroke-linecap: round; }
.pillars .f { fill: var(--ink); }

.grew { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; max-width: 1280px; margin: 0 auto; }
.grew > * { max-width: none; margin: 0; }
.grew .sec-head { grid-template-columns: 1fr; margin: 0; }
.grew .sec-head p { grid-column: 1; }
.grew .sec-no { padding: 0 0 .6rem; }
.grew .hero-fig { width: 100%; }
.grew .sun { background: radial-gradient(circle at 40% 35%, #FFD27A, var(--saffron-2) 45%, var(--saffron) 75%, var(--saffron-ink)); box-shadow: 0 0 80px rgba(255, 170, 70, .45); }
@media (max-width: 900px) { .grew { grid-template-columns: 1fr; } .grew .hero-fig { width: min(440px, 100%); justify-self: center; } }

.foot { background: radial-gradient(70% 120% at 50% 0%, #2A1E12, var(--ink)); }
.foot .brand { font-size: 2.4rem; }
.foot .brand i { color: var(--paper); }
.foot .motto { color: var(--gold-2); font-size: .85rem; margin: .5rem 0 0; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 1.5rem; row-gap: 1.5rem; }
  .rays { left: 50%; top: 22%; }
  .hero-text { text-align: center; }
  .tiranga { margin-inline: auto; }
  .hero .entry { text-align: left; margin-inline: auto; }
  .hero .tagline { text-align: center; }
  .pillars { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; }
  .pillars li:nth-child(3) { border-left: 0; }
  .pillars li { justify-content: flex-start; font-size: .7rem; }
}
@media (max-width: 560px) {
  .wordmark { font-size: 13.4vw; }
  .pillars svg { width: 28px; height: 28px; }
  .nav .brand { font-size: 1.25rem; }
}

/* Them vs us */
.vsx { border-top: 1px solid var(--ink); }
.vsx-h, .vsx-r { display: grid; grid-template-columns: 13rem 1fr 1fr; gap: 0 1.5rem; align-items: baseline; }
.vsx-h { padding: .9rem 0 .5rem; font: .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.vsx-h .t { color: var(--muted); font-weight: 500; }
.vsx-h .u { color: var(--saffron-ink); font-weight: 500; }
.vsx-h i { font-style: normal; }
.vsx-r { padding: .85rem 0; border-top: 1px solid var(--line); }
.vsx-r .k { font: .68rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.vsx-r p { margin: 0; font: 1.12rem/1.3 var(--serif); }
.vsx-r .t { font-weight: 300; font-style: italic; color: var(--muted); }
.vsx-r .u { font-weight: 500; color: var(--ink); }
.vsx-r .u::before { content: "✓ "; color: var(--saffron); }
.vsx-r:hover .t { text-decoration: line-through; text-decoration-color: var(--saffron); }
@media (max-width: 700px) {
  .vsx-h { display: none; }
  .vsx-r { grid-template-columns: 1fr 1fr; gap: .3rem 1rem; }
  .vsx-r .k { grid-column: 1 / -1; }
  .vsx-r p { font-size: .98rem; }
  .vsx-r .t::before { content: "🤡 "; font-style: normal; }
}

.entry dd.old p > em:first-child { display: inline; font-size: inherit; }
@media (min-width: 901px) { .species { grid-template-columns: repeat(4, 1fr); } }

/* ---- Round 7: full-bleed hero banner ---- */
.hero {
  grid-template-columns: minmax(0, 44rem) 1fr; grid-template-rows: 1fr auto; align-items: center; isolation: isolate; overflow: hidden;
  min-height: calc(100vh - 56px); padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: 1.6rem;
  background: linear-gradient(180deg, #FBF4E8 0%, #FCEFDB 70%, var(--paper) 100%);
}
.hero-text { position: relative; z-index: 2; }
.hero-text::before { /* soft cream wash so text stays crisp over the art's edge */
  content: ""; position: absolute; z-index: -1; inset: -4rem -6rem -4rem -40vw; background: radial-gradient(closest-side, rgba(251, 244, 232, .92), rgba(251, 244, 232, 0)); pointer-events: none;
}
.hero-art { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: min(64%, 1150px); margin: 0; pointer-events: none; }
.hero-art img {
  width: 100%; height: 100%; object-fit: cover; object-position: 40% 18%;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in; mask: linear-gradient(90deg, transparent 0, #000 30%) intersect, linear-gradient(180deg, #000 78%, transparent 100%);
  animation: heroIn 1.4s cubic-bezier(.2, .8, .2, 1) both, drift 26s ease-in-out 1.4s infinite alternate; transform-origin: 60% 30%;
}
@keyframes heroIn { from { opacity: 0; scale: 1.06; } }
.hero .wordmark { font-size: clamp(3.4rem, 8.4vw, 8rem); }
.hero .pillars { position: relative; z-index: 2; background: rgba(251, 246, 236, .82); backdrop-filter: blur(8px); border-radius: 14px; border: 1px solid rgba(22, 19, 15, .1); padding: 1rem 0; }
.hero .scroll-cue { z-index: 3; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 0; min-height: 0; }
  .hero-art { position: relative; order: -1; width: calc(100% + 2 * var(--pad)); margin: 0 calc(-1 * var(--pad)) -10vw; height: 92vw; max-height: 620px; }
  .hero-art img { object-position: 62% 20%; -webkit-mask: linear-gradient(180deg, #000 62%, transparent 98%); mask: linear-gradient(180deg, #000 62%, transparent 98%); }
  .hero-text::before { inset: -2rem -2rem; }
}
@media (max-width: 560px) {
  /* Phones: the promise and the Play button sit on the first screen; the dictionary entry follows */
  .hero-art { height: 74vw; margin-bottom: -12vw; }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .hero-text > * { width: 100%; }
  .hero .kicker { order: 0; margin-bottom: .6rem; font-size: .7rem; }
  .hero .tiranga { margin: .7rem auto .8rem; }
  .hero .motto { margin-bottom: 1.1rem; }
  .hero .tagline { order: 1; text-align: center; font-size: 1.4rem; }
  .hero .play-cta { order: 2; width: auto; margin: 1.2rem 0 2rem; min-height: 52px; padding: .9rem 1.6rem; font-size: .82rem; }
  .hero .entry { order: 3; }
}
