/* Vernacular History
   Night-indigo frame (masthead, hero, footer) around a clean white reading
   surface. The gold kasavu band is the signature; vermilion means "play";
   leaf green means "right answer". One typeface family: Anek, which shares
   one design across Malayalam, Kannada, Tamil, Telugu, Devanagari and Latin. */

:root {
  --night: #10162b;
  --night-2: #1b2342;
  --on-night: #f3f1ea;
  --on-night-muted: #aab1c8;
  --paper: #ffffff;
  --mist: #f1f3f7;
  --rule: #e0e4eb;
  --ink: #151922;
  --muted: #5a6171;
  --gold: #e2a93b;
  --gold-deep: #94650c;
  --vermilion: #d2462c;
  --vermilion-deep: #b4361f;
  --leaf: #1e7a55;
  --leaf-tint: #e2f2e9;
  --wrong: #b5382a;
  --wrong-tint: #fbe8e4;
  --focus: #2f7bf6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 22, 43, 0.12);
  --wrap: 1200px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d1222;
    --mist: #161d33;
    --rule: #263050;
    --ink: #eceef3;
    --muted: #a4abbd;
    --gold-deep: #e8bb5c;
    --leaf: #5cc596;
    --leaf-tint: #15301f;
    --wrong: #f2917f;
    --wrong-tint: #3a1c18;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font, system-ui, sans-serif);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.3; margin: 0; font-weight: 800; letter-spacing: -0.005em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--paper); padding: 0.5rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }

/* ---------- The kasavu band ---------- */
.band {
  height: 9px;
  background: linear-gradient(var(--gold) 0 5px, transparent 5px 7px, var(--gold) 7px 9px);
}

/* ---------- Masthead ---------- */
.masthead { background: var(--night); color: var(--on-night); position: relative; z-index: 20; }
.masthead-inner { display: flex; align-items: center; gap: 1rem 2rem; min-height: 72px; flex-wrap: wrap; padding-block: 0.6rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--on-night); }
.brand-mark { line-height: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: "Anek Latin", var(--font); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.01em; }
.brand-lang { color: var(--gold); font-size: 0.95rem; font-weight: 600; line-height: 1.5; }
.nav { display: flex; gap: 0.25rem; margin-left: 1rem; }
.nav a { color: var(--on-night-muted); text-decoration: none; padding: 0.45rem 0.85rem; border-radius: 999px; font-weight: 600; font-size: 1rem; }
.nav a:hover { color: var(--on-night); background: rgba(255, 255, 255, 0.07); }
.nav a[aria-current] { color: var(--night); background: var(--gold); }
.masthead-tools { margin-left: auto; display: flex; align-items: center; gap: 0.75rem; }

.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.4rem; color: var(--on-night-muted); padding: 0.45rem 0.7rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.95rem; font-weight: 600; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover, .langs[open] summary { color: var(--on-night); border-color: rgba(255, 255, 255, 0.4); }
.langs ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 11rem; list-style: none; margin: 0; padding: 0.4rem; background: var(--paper); color: var(--ink); border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--rule); }
.langs a { display: block; padding: 0.45rem 0.8rem; border-radius: 8px; text-decoration: none; font-weight: 600; }
.langs a:hover { background: var(--mist); }
.langs a[aria-current] { color: var(--gold-deep); }

.subscribe { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.6rem 1.05rem; border-radius: 999px; background: var(--vermilion); color: #fff; text-decoration: none; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.subscribe svg rect { fill: #fff; }
.subscribe:hover { background: var(--vermilion-deep); }
.subscribe-compact { padding: 0.5rem 0.9rem; font-size: 0.95rem; }

/* ---------- Buttons, chips, section heads ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.9rem; padding: 0.6rem 1.25rem; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font: inherit; font-weight: 700; line-height: 1.3; text-decoration: none; cursor: pointer; }
.button:hover { filter: brightness(1.15); }
.button-gold { background: var(--gold); color: var(--night); }
.button-quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--rule); }
.button-quiet:hover { box-shadow: inset 0 0 0 2px var(--ink); filter: none; }

.chip { display: inline-block; font-size: 0.85rem; font-weight: 700; color: var(--gold-deep); line-height: 1.6; }
.chip-link { padding: 0.35rem 0.9rem; border-radius: 999px; background: var(--mist); color: var(--ink); text-decoration: none; }
.chip-link b { color: var(--gold-deep); margin-left: 0.25rem; }
.chip-link:hover { background: var(--night); color: var(--on-night); }
.chips { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }

.eyebrow { color: var(--gold); font-weight: 700; font-size: 0.98rem; margin-bottom: 0.6rem; }
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }

.section-head { margin-bottom: 1.25rem; }
.section-head h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.section-head p { color: var(--muted); margin-top: 0.2rem; }
.section-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.more { font-weight: 700; color: var(--gold-deep); text-decoration: none; white-space: nowrap; }
.more::after { content: " ›"; }
.empty { color: var(--muted); }

/* ---------- Video facade ---------- */
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-short { aspect-ratio: 9 / 16; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.video-play img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.video-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.45)); }
.video-play:hover img { transform: scale(1.02); }
.video-icon { position: absolute; left: 50%; top: 50%; z-index: 1; width: 72px; height: 72px; margin: -36px 0 0 -36px; display: grid; place-items: center; border-radius: 50%; background: var(--vermilion); color: #fff; box-shadow: 0 8px 24px rgba(210, 70, 44, 0.45); transition: transform 0.2s ease; }
.video-icon svg { margin-left: 4px; }
.video-play:hover .video-icon, .video-play:focus-visible .video-icon { transform: scale(1.08); }
.video-short .video-icon { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
.video-time { position: absolute; right: 12px; bottom: 12px; z-index: 1; background: rgba(0, 0, 0, 0.75); color: #fff; font-family: "Anek Latin", var(--font); font-weight: 700; font-size: 0.85rem; padding: 0.15rem 0.5rem; border-radius: 6px; }
.video-missing { display: grid; place-items: center; background: var(--mist); color: var(--muted); box-shadow: none; }

/* ---------- Home hero ---------- */
.hero { background: var(--night); color: var(--on-night); padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 6vw, 72px); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(1.75rem, 3.4vw, 2.9rem); line-height: 1.28; margin-bottom: 1rem; }
.hero h1 a { text-decoration: none; }
.hero h1 a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
.hero-dek { color: var(--on-night-muted); font-size: 1.15rem; line-height: 1.65; margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.hero-meta { color: var(--on-night-muted); font-size: 0.95rem; }
.hero .video { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }

/* ---------- Today: quiz + latest ---------- */
.today { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); padding-block: clamp(36px, 5vw, 64px); }
.stack { display: grid; gap: 1rem; }

.band-section { background: var(--mist); padding-block: clamp(32px, 5vw, 56px); }
.stories-section, .regions-section, .related { padding-block: clamp(36px, 5vw, 64px) 0; }
.regions-section { padding-bottom: clamp(36px, 5vw, 64px); }

/* ---------- Shorts rail ---------- */
.shorts-rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 17vw, 196px); gap: 16px; overflow-x: auto; padding: 4px 4px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.short { margin: 0; scroll-snap-align: start; }
.short .video { border-radius: 12px; }
.short figcaption { font-size: 0.92rem; line-height: 1.45; margin-top: 0.55rem; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: clamp(20px, 3vw, 32px); }
.card { min-width: 0; }
.card-link { display: flex; flex-direction: column; gap: 0.85rem; text-decoration: none; color: inherit; height: 100%; }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--mist); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card-link:hover .card-media img { transform: scale(1.04); }
.card-badge { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.15rem 0.55rem 0.15rem 0.4rem; border-radius: 999px; background: var(--vermilion); color: #fff; font-family: "Anek Latin", var(--font); font-size: 0.8rem; font-weight: 700; }
.card-body { display: flex; flex-direction: column; gap: 0.3rem; }
.card-title { font-size: 1.2rem; font-weight: 750; line-height: 1.42; }
.card-link:hover .card-title { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.card-dek { color: var(--muted); font-size: 0.98rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { color: var(--muted); font-size: 0.88rem; margin-top: 0.15rem; }

.card-compact .card-link { flex-direction: row; gap: 1rem; align-items: flex-start; }
.card-compact .card-media { flex: none; width: 128px; aspect-ratio: 4 / 3; border-radius: 10px; }
.card-compact .card-badge { left: 6px; bottom: 6px; font-size: 0.72rem; }
.card-compact .card-title { font-size: 1.02rem; line-height: 1.45; }

/* ---------- Regions ---------- */
.region-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.region-list a { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.2rem; border-radius: 12px; background: var(--mist); text-decoration: none; font-weight: 700; font-size: 1.1rem; border-left: 5px solid var(--gold); }
.region-list a:hover { background: var(--night); color: var(--on-night); }
.region-list b { font-family: "Anek Latin", var(--font); color: var(--gold-deep); }
.region-list a:hover b { color: var(--gold); }

/* ---------- Page heads ---------- */
.page-head { padding-block: clamp(32px, 5vw, 56px) clamp(16px, 3vw, 28px); border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.page-intro { color: var(--muted); font-size: 1.12rem; margin-top: 0.5rem; max-width: 46rem; }
.page-head-dark { background: var(--night); color: var(--on-night); border: 0; }
.page-head-dark .page-intro { color: var(--on-night-muted); }
.list-body { padding-block: clamp(28px, 4vw, 48px) clamp(40px, 6vw, 72px); }
.page-body { padding-block: clamp(28px, 4vw, 48px) clamp(40px, 6vw, 72px); max-width: 48rem; }
.quiz-page { padding-block: clamp(28px, 4vw, 48px); max-width: 52rem; }

/* ---------- Story page ---------- */
.story-hero { background: var(--night); color: var(--on-night); padding-block: clamp(28px, 5vw, 64px); }
.story-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.story-hero h1 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.3; }
.story-dek { color: var(--on-night-muted); font-size: 1.18rem; line-height: 1.65; margin-top: 1rem; }
.story-meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; color: var(--on-night-muted); font-size: 0.95rem; margin-top: 1.25rem; }
.pic-hero { margin: 0; }
.pic-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.pic-hero figcaption { color: var(--on-night-muted); font-size: 0.85rem; margin-top: 0.6rem; line-height: 1.5; }
.pic-hero .credit a { color: var(--on-night-muted); }

.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); padding-block: clamp(28px, 4vw, 48px) 0; align-items: start; }
.story-main { max-width: 46rem; }
.story-video { margin-bottom: 2.25rem; }
.story-video .video-short { max-width: 340px; margin-inline: auto; }

.prose { font-size: 1.12rem; line-height: 1.9; }
.prose > p { margin: 0 0 1.35rem; }
.prose > p:first-child { font-size: 1.24rem; line-height: 1.8; }
.prose h2 { font-size: 1.45rem; margin: 2.5rem 0 0.9rem; }
.prose a { color: var(--leaf); }
.prose blockquote { margin: 2rem 0; padding: 0.25rem 0 0.25rem 1.4rem; border-left: 4px solid var(--gold); font-size: 1.3rem; font-weight: 600; line-height: 1.6; }
.prose blockquote p { margin: 0; }
.pic-inline { margin: 2.25rem 0; }
.pic-inline img { width: auto; max-width: 100%; max-height: 560px; margin-inline: auto; border-radius: 12px; }
.pic figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.6rem; line-height: 1.55; }
.pic .credit { opacity: 0.85; }
.pic .credit a { color: inherit; }

.story h2 { font-size: 1.45rem; }
.timeline, .test, .sources { margin-top: 3rem; }
.timeline h2, .test h2, .sources h2 { margin-bottom: 1.1rem; }
.timeline ol { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline ol::before { content: ""; position: absolute; left: 5.1rem; top: 0.6rem; bottom: 0.6rem; width: 2px; background: var(--rule); }
.timeline li { position: relative; display: grid; grid-template-columns: 4.6rem 1fr; gap: 1.6rem; padding: 0.55rem 0; }
.timeline li::before { content: ""; position: absolute; left: calc(5.1rem - 5px); top: 1.05rem; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--paper); }
.tl-year { font-family: "Anek Latin", var(--font); font-weight: 800; font-size: 1.15rem; color: var(--gold-deep); text-align: right; font-variant-numeric: tabular-nums; }
.tl-text { line-height: 1.65; }
.sources ol { padding-left: 1.3rem; font-size: 0.98rem; color: var(--muted); }
.sources li { margin-bottom: 0.35rem; }
.sources a { color: var(--leaf); }

.story-side { position: relative; height: 100%; }
.side-sticky { position: sticky; top: 24px; display: grid; gap: 20px; }
.side-shorts h2 { font-size: 1.1rem; margin-bottom: 0.85rem; }
.side-shorts-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.side-shorts .short figcaption { font-size: 0.85rem; }
.side-card { background: var(--mist); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: 0.75rem; justify-items: start; border-top: 5px solid var(--gold); }
.side-card p { color: var(--muted); font-size: 0.98rem; line-height: 1.55; }
.side-card .side-card-title { color: var(--ink); font-weight: 800; font-size: 1.1rem; }
.side-card-dark { background: var(--night); }
.side-card-dark .side-card-title { color: var(--on-night); font-family: "Anek Latin", var(--font); }
.side-card-dark p { color: var(--on-night-muted); }
.related { padding-bottom: clamp(40px, 6vw, 72px); }

/* ---------- Quiz ---------- */
.quiz { margin: 0; }
.q, .q-end { background: var(--paper); border: 1px solid var(--rule); border-top: 6px solid var(--gold); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); box-shadow: 0 6px 20px rgba(16, 22, 43, 0.06); margin-bottom: 1rem; }
.q-count { font-family: "Anek Latin", var(--font); color: var(--gold-deep); font-weight: 700; font-size: 0.92rem; margin-bottom: 0.4rem; }
.q-text { font-size: clamp(1.18rem, 2.2vw, 1.4rem); font-weight: 800; line-height: 1.5; margin-bottom: 1.1rem; }
.quiz-inline .q-text { font-size: 1.15rem; }
.q-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
.q-option { text-align: left; font: inherit; font-weight: 600; line-height: 1.45; padding: 0.85rem 1rem; min-height: 3.2rem; border: 2px solid var(--rule); border-radius: 12px; background: var(--paper); color: var(--ink); cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease; }
.q-option:hover:not(:disabled) { border-color: var(--ink); }
.q-option:active:not(:disabled) { transform: scale(0.99); }
.q-option:disabled { cursor: default; }
.q-option.is-right { border-color: var(--leaf); background: var(--leaf-tint); }
.q-option.is-wrong { border-color: var(--wrong); background: var(--wrong-tint); }
.q-option.is-right::after { content: "  ✓"; color: var(--leaf); font-weight: 800; }
.q-option.is-wrong::after { content: "  ✕"; color: var(--wrong); font-weight: 800; }
.q-feedback:empty { display: none; }
.q-feedback { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px dashed var(--rule); }
.q-verdict { font-weight: 800; font-size: 1.1rem; margin-bottom: 0.3rem; }
.answered-right .q-verdict { color: var(--leaf); }
.answered-wrong .q-verdict { color: var(--wrong); }
.q-explain { margin-bottom: 0.5rem; }
.q-source { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.4rem; }
.q-source a { color: var(--leaf); }
.q-feedback .video { margin-top: 0.9rem; }
.q-feedback .video-short { max-width: 300px; }
.q-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.1rem; margin-top: 0.9rem; }
.q-watch { background: var(--vermilion); color: #fff; }
.q-watch::before { content: ""; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.q-read { font-weight: 600; font-size: 0.98rem; color: var(--leaf); }
.q-score { font-size: clamp(1.5rem, 3.6vw, 2.2rem); font-weight: 800; margin-bottom: 0.9rem; }
.q-meter { display: flex; gap: 8px; margin-bottom: 0.9rem; }
.q-meter span { flex: 1; height: 12px; border-radius: 6px; background: var(--rule); }
.q-meter span.on { background: var(--gold); }
.q-streak { color: var(--muted); font-weight: 600; }
.q-share { background: #1f9d55; color: #fff; }

/* ---------- Footer ---------- */
.foot { background: var(--night); color: var(--on-night-muted); }
.foot-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-block: 3rem 2rem; }
.foot-title { font-family: "Anek Latin", var(--font); color: var(--on-night); font-weight: 800; font-size: 1.3rem; }
.foot-title span { color: var(--gold); font-family: var(--font); font-weight: 600; margin-left: 0.3rem; }
.foot-cta { margin: 0.4rem 0 1.1rem; }
.foot-col { display: grid; gap: 0.55rem; align-content: start; }
.foot-col a { color: var(--on-night-muted); text-decoration: none; font-weight: 600; }
.foot-col a:hover { color: var(--on-night); }
.foot-note { padding-block: 1.25rem 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav { margin-left: 0; }
  .subscribe-compact span, .langs summary span { display: none; }
  .masthead-inner { gap: 1rem 1.25rem; }
}
@media (max-width: 980px) {
  .hero-inner, .story-hero-inner, .today, .story-grid { grid-template-columns: minmax(0, 1fr); }
  .side-sticky { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .story-main { max-width: none; }
  .foot-inner { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 1.03rem; }
  .masthead-inner { gap: 0.5rem 1rem; }
  .nav { order: 3; width: 100%; margin: 0 -0.5rem; overflow-x: auto; }
  .nav a { white-space: nowrap; padding: 0.4rem 0.7rem; font-size: 0.95rem; }
  .subscribe-compact span { display: none; }
  .langs summary span { display: none; }
  .q-options { grid-template-columns: minmax(0, 1fr); }
  .prose { font-size: 1.06rem; }
  .prose > p:first-child { font-size: 1.14rem; }
  .timeline ol::before { left: 4.1rem; }
  .timeline li { grid-template-columns: 3.6rem 1fr; }
  .timeline li::before { left: calc(4.1rem - 5px); }
  .story-hero-pic { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
