:root {
  color-scheme: light;
  --paper: #fff;
  --surface: #fafafa;
  --panel: #f0f1f3;
  --ink: #222b33;
  --muted: #505d68;
  --accent: #a63b1b;
  --accent-soft: #f7e9e2;
  --on-accent: #fffdf8;
  --line: #dce0e4;
  --heading: Georgia, "Times New Roman", serif;
  --body: "Segoe UI", "Nirmala UI", Arial, sans-serif;
}
html[data-theme="midnight"] {
  color-scheme: dark;
  --paper: #101c2c;
  --surface: #192b40;
  --panel: #22354c;
  --ink: #f7f0e4;
  --muted: #bac9d6;
  --accent: #f3ac70;
  --accent-soft: #344052;
  --on-accent: #132337;
  --line: #3b5068;
}
* { box-sizing: border-box; }
html { --motion-ease: cubic-bezier(.22, 1, .36, 1); scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); line-height: 1.65; }
body, .site-header, .theme-options, .theme-options button, .story-card, .source-entry, .timeline-track a,
.filter-controls, .category-filters button, .site-footer, .limitation-box, .contact-box {
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 200ms; animation-timing-function: ease-out; }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .6; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--on-accent); }
img, svg { max-width: 100%; }
figure { margin: 0; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.17; }
h1, h2 { font-family: var(--heading); font-weight: 500; letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.75rem); }
h3 { font-size: 1.2rem; }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 20px; background: var(--surface); }
.skip-link:focus { top: 12px; }
.independent-strip { border-bottom: 1px solid var(--line); font-size: .75rem; color: var(--muted); }
.independent-strip > div { display: flex; justify-content: space-between; gap: 20px; padding-block: 9px; }
.site-header { position: sticky; top: 0; background: var(--paper); border-bottom: 1px solid var(--line); z-index: 30; }
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(16px); }
}
.masthead { display: flex; align-items: center; gap: 38px; min-height: 88px; position: relative; }
.brand { display: inline-flex; gap: 11px; align-items: center; color: var(--ink); text-decoration: none; line-height: 1; }
.brand > span { font-size: 2rem; font-weight: 650; letter-spacing: -.07em; }
.brand-year { color: var(--accent); font-weight: 400; }
.brand small { display: block; font-size: .57rem; letter-spacing: .2em; margin-top: 8px; font-weight: 600; }
#primary-nav { display: flex; gap: 27px; align-items: center; margin-left: auto; }
#primary-nav a { position: relative; color: var(--ink); font-size: .89rem; text-decoration: none; padding-block: 16px; }
#primary-nav a::after { content: ""; position: absolute; bottom: 7px; left: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 180ms var(--motion-ease); }
#primary-nav a:hover::after, #primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.language-switch { display: inline-grid; place-items: center; color: var(--ink); text-decoration: none; min-height: 44px; min-width: 48px; border-left: 1px solid var(--line); padding-left: 24px; font-size: .88rem; }
.menu-toggle { display: none; align-items: center; gap: 12px; border: 0; background: transparent; color: var(--ink); padding: 8px; min-height: 44px; }
.style-bar { display: flex; align-items: center; gap: 16px; min-height: 67px; font-size: .74rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.theme-options { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.theme-options button { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); padding: 8px 13px; min-height: 40px; background: transparent; border: 1px solid transparent; border-radius: 999px; font-size: .74rem; }
.theme-options button[aria-pressed="true"] { border-color: var(--line); background: var(--paper); color: var(--ink); box-shadow: 0 2px 5px rgb(0 0 0 / .04); }
.theme-dot { display: block; width: 10px; height: 10px; border-radius: 50%; border: 1px solid #878787; }
.dot-classic { background: #fff; }
.dot-midnight { background: #1a2c46; }
.preference-status { margin-left: auto; max-width: 320px; }
.preview-notice { display: flex; align-items: center; gap: 12px; font-size: .69rem; color: var(--muted); padding-block: 12px; }
.preview-notice > span { font-size: .58rem; font-weight: 700; letter-spacing: .1em; border: 1px solid var(--line); border-radius: 3px; padding: 3px 7px; }
.home-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: 76px; padding-block: 48px 84px; }
.eyebrow { color: var(--accent); font-size: .67rem; letter-spacing: .15em; font-weight: 700; text-transform: uppercase; margin-bottom: 20px; }
.hero-copy > .eyebrow { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: var(--surface); }
.home-hero h1 { font-size: clamp(3rem, 5.7vw, 4.65rem); line-height: 1.05; margin-bottom: 28px; }
.home-hero h1 em { display: block; color: var(--accent); font-style: normal; }
.hero-intro { color: var(--muted); font-size: .96rem; max-width: 580px; }
.hero-intro p { margin-bottom: 14px; }
.hero-intro strong { font-weight: 600; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; margin-block: 29px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 52px; padding: 12px 23px; border-radius: 12px; background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent); font-size: .86rem; font-weight: 600; text-decoration: none; transition: translate 180ms var(--motion-ease), box-shadow 180ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease; }
.button:hover { filter: brightness(.95); text-decoration: none; }
.button-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.button-light { background: #f6e8d5; border-color: #f6e8d5; color: #17283e; }
.text-link { display: inline-flex; align-items: center; gap: 14px; font-size: .86rem; font-weight: 600; text-decoration: none; min-height: 44px; }
.button span, .text-link span, .read-link span { transition: translate 180ms var(--motion-ease); }
.hero-stats { display: flex; gap: 36px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 34px; }
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--heading); font-weight: 500; line-height: 1.2; font-size: 2.05rem; }
.hero-stats span { font-size: .7rem; color: var(--muted); margin-top: 5px; }
.hero-portrait { position: relative; isolation: isolate; width: 100%; max-width: 405px; justify-self: end; }
.portrait-orbit { position: absolute; width: 112%; aspect-ratio: 1; background: var(--accent-soft); border-radius: 50%; top: -9px; left: -9%; z-index: -1; }
.portrait-photo img { display: block; width: 100%; height: 490px; object-fit: cover; object-position: center 30%; border-radius: 200px 200px 24px 24px; background: var(--panel); box-shadow: 0 20px 48px rgb(0 0 0 / .07); }
.photo figcaption { color: var(--muted); font-size: .63rem; line-height: 1.6; margin-top: 12px; }
.photo-credit { display: block; font-size: .64rem; color: var(--muted); line-height: 1.7; }
.photo-credit a { color: inherit; }
.portrait-tag { display: inline-block; font-size: .66rem; font-weight: 600; color: var(--accent); border: 1px solid var(--line); background: var(--surface); padding: 9px 14px; border-radius: 999px; margin-top: 13px; }
.section-block { margin-block: 65px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading .eyebrow { margin-bottom: 12px; }
.achievement-timeline { border-top: 1px solid var(--line); padding-top: 40px; }
.timeline-intro { max-width: 760px; color: var(--muted); font-size: .94rem; }
.timeline-tenure { display: flex; flex-wrap: wrap; gap: 12px 30px; padding-block: 15px; border-block: 1px solid var(--line); margin-block: 24px; }
.timeline-tenure p { margin: 0; font-size: .76rem; color: var(--muted); }
.timeline-tenure strong { display: block; color: var(--ink); font-weight: 600; }
.timeline-tenure span { display: block; color: var(--accent); font-size: .7rem; }
.timeline-hint, .timeline-note { color: var(--muted); font-size: .74rem; }
.timeline-scroll { overflow-x: auto; max-width: 100%; padding: 18px 4px 14px; scrollbar-color: var(--accent) var(--panel); }
.timeline-scroll:focus-visible { outline-offset: -3px; }
.timeline-track { display: flex; list-style: none; padding: 0; margin: 0; min-width: max-content; }
.timeline-track li { width: 166px; flex-shrink: 0; border-top: 2px solid var(--line); }
.timeline-track a { position: relative; display: flex; flex-direction: column; min-height: 142px; padding: 22px 13px 10px; text-decoration: none; color: var(--ink); border-radius: 0 0 16px 16px; }
.timeline-track a::before { content: ""; position: absolute; top: -8px; left: 16px; width: 14px; height: 14px; background: var(--paper); border: 2px solid var(--accent); border-radius: 50%; transition: background-color 180ms ease, box-shadow 180ms ease; }
.timeline-track time { font-family: var(--heading); font-size: 1.85rem; line-height: 1.25; }
.timeline-track span { font-size: .78rem; margin-block: 7px; }
.timeline-track small { color: var(--muted); font-size: .67rem; line-height: 1.6; }
.timeline-track a:hover, .timeline-track a[aria-current="true"] { background: var(--accent-soft); }
.timeline-track a[aria-current="true"]::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.timeline-track a[aria-current="true"] time { color: var(--accent); font-weight: 700; }
.timeline-start a { color: var(--muted); }
.timeline-status { font-size: .76rem; color: var(--accent); margin-block: 20px; min-height: 1.65em; }
.timeline-year { margin-block: 25px 35px; scroll-margin-top: 120px; }
.timeline-year-heading { display: flex; align-items: baseline; gap: 18px; margin-bottom: 20px; }
.timeline-year-heading h3 { margin: 0; font-family: var(--heading); font-weight: 500; font-size: 2rem; }
.timeline-year-heading p { margin: 0; font-size: .78rem; color: var(--muted); }
.timeline-note { margin-bottom: 0; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; align-items: stretch; }
.story-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--paper); display: flex; flex-direction: column; box-shadow: 0 3px 12px rgb(0 0 0 / .035); transition: translate 240ms var(--motion-ease), box-shadow 240ms ease, border-color 220ms ease, background-color 220ms ease, color 220ms ease; }
.card-image { display: block; width: 100%; aspect-ratio: 16 / 10; background: var(--panel); overflow: hidden; }
.card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--motion-ease); }
.card-body { padding: 23px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-bottom: 17px; color: var(--accent); font-size: .62rem; font-weight: 650; letter-spacing: .03em; }
.card-meta time { color: var(--muted); font-weight: 400; }
.card-body :is(h3, h4) { font-family: var(--heading); font-size: 1.47rem; font-weight: 500; letter-spacing: -.02em; margin-bottom: 15px; }
.card-body :is(h3, h4) a { text-decoration: none; color: var(--ink); }
.card-body :is(h3, h4) a:hover { color: var(--accent); text-decoration: underline; }
.card-body > p { font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.card-body .photo-credit { font-size: .6rem; margin-bottom: 15px; }
.read-link { display: flex; justify-content: space-between; gap: 10px; text-decoration: none; color: var(--accent); font-size: .76rem; font-weight: 600; margin-top: auto; padding-top: 12px; min-height: 40px; }
.story-card:focus-within { border-color: var(--accent); box-shadow: 0 8px 24px rgb(0 0 0 / .06); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .story-card:hover { translate: 0 -4px; border-color: var(--accent); box-shadow: 0 16px 36px rgb(0 0 0 / .08); }
  .story-card:hover .card-image img { transform: scale(1.035); }
  .button:hover { translate: 0 -2px; box-shadow: 0 8px 18px rgb(0 0 0 / .08); }
  .button:active { translate: 0 0; }
  .button:hover span, .text-link:hover span, .read-link:hover span { translate: 3px 0; }
}
.ad-space { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; min-height: 140px; width: 100%; border-block: 1px dashed var(--line); margin-block: 58px; color: var(--muted); text-align: center; }
.ad-label { font-size: .6rem; text-transform: uppercase; letter-spacing: .15em; }
.ad-status { font-size: .72rem; margin: 0; }
.adsbygoogle { display: block; min-height: 120px; width: 100%; }
.approach-panel { border-block: 1px solid var(--line); padding-block: 43px; display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 24px; margin-block: 67px; }
.section-number { align-self: start; font-size: .83rem; color: var(--accent); padding-top: 8px; }
.approach-panel h2 { font-size: 2.25rem; margin-bottom: 13px; }
.approach-panel p { margin-bottom: 0; font-size: .9rem; color: var(--muted); max-width: 610px; }
.journey-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 90px; margin-block: 80px; }
.journey-teaser h2 { max-width: 500px; }
.journey-teaser p:not(.eyebrow) { color: var(--muted); font-size: .94rem; }
.journey-years { display: grid; grid-template-columns: 1fr 1fr; gap: 0; font-family: var(--heading); font-size: 3.9rem; color: var(--accent); }
.journey-years span { padding: 15px 20px; border-bottom: 1px solid var(--line); }
.journey-years span:nth-child(odd) { border-right: 1px solid var(--line); }
.game-panel { background: #172a42; border-radius: 24px; color: #f6ecde; padding: 43px; display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 38px; margin-block: 75px; overflow: hidden; }
.game-panel .eyebrow { color: #f3b77f; margin-bottom: 15px; }
.game-panel h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 17px; }
.game-panel-copy > p:not(.eyebrow) { color: #d0dbe6; font-size: .87rem; }
.game-panel figure img { display: block; border-radius: 10px; }
.game-panel figcaption { font-size: .64rem; color: #d0dbe6; margin-top: 10px; }
.game-panel .button { margin-top: 10px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; color: var(--muted); font-size: .73rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.page-heading { padding-block: 45px 35px; max-width: 1000px; }
.page-heading h1, .article-heading h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); margin-bottom: 23px; }
.standfirst { font-size: 1.1rem; line-height: 1.75; color: var(--muted); max-width: 820px; }
.prose { font-size: 1rem; line-height: 1.95; max-width: 760px; overflow-wrap: anywhere; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.5em; }
.prose h2 { font-size: 1.85rem; margin-top: 1.9em; margin-bottom: .8em; scroll-margin-top: 120px; }
.prose h3 { margin-top: 1.7em; line-height: 1.4; }
.prose a { overflow-wrap: anywhere; }
.prose strong { font-weight: 650; }
.intro { color: var(--muted); font-size: .94rem; line-height: 1.85; }
.intro p { margin-bottom: 15px; }
.record-browser { margin-block: 5px 75px; }
.filter-controls { border: 1px solid var(--line); padding: 24px; border-radius: 18px; background: var(--surface); }
.search-label { display: block; font-size: .78rem; font-weight: 600; margin-bottom: 10px; }
#story-search { width: 100%; min-height: 52px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: 12px 17px; border-radius: 12px; max-width: 650px; transition: border-color 180ms ease, box-shadow 180ms ease, background-color 220ms ease, color 220ms ease; }
#story-search:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
#story-search::placeholder { color: var(--muted); opacity: 1; }
.category-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.category-filters button { min-height: 44px; border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 8px 14px; font-size: .78rem; }
.category-filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.results-line { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-block: 18px; font-size: .76rem; color: var(--muted); }
.results-line p { margin: 0; }
.text-button { border: 0; background: transparent; text-decoration: underline; color: var(--accent); min-height: 40px; }
.empty-state { padding: 45px; border: 1px dashed var(--line); border-radius: 16px; text-align: center; color: var(--muted); }
.article-heading { margin-top: 45px; max-width: 1060px; }
.milestone-meta { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 20px; border-block: 1px solid var(--line); padding-block: 22px; margin-block: 30px 18px; }
.milestone-meta dt { font-size: .65rem; letter-spacing: .04em; color: var(--muted); margin-bottom: 8px; }
.milestone-meta dd { margin: 0; font-size: .83rem; font-weight: 600; }
.byline { color: var(--muted); font-size: .69rem; line-height: 1.9; margin-bottom: 33px; }
.byline > span { padding-inline: 8px; }
.article-photo { max-width: 1050px; margin-block: 28px 45px; }
.article-photo img { width: 100%; height: auto; max-height: 640px; object-fit: contain; display: block; background: var(--panel); border-radius: 18px; }
.article-photo figcaption { font-size: .74rem; }
.article-columns { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 1fr); gap: 70px; }
.article-side { margin-top: 58px; border-left: 1px solid var(--line); padding-left: 24px; font-size: .8rem; color: var(--muted); align-self: start; }
.article-side .text-link { font-size: .78rem; }
.limitation-box { background: var(--accent-soft); border-left: 3px solid var(--accent); padding: 25px 29px; margin-block: 38px; border-radius: 0 14px 14px 0; }
.prose .limitation-box h2 { margin-top: 0; font-size: 1.5rem; }
.limitation-box p { margin-bottom: 0; font-size: .92rem; }
.reference-box { border-block: 1px solid var(--line); padding-block: 12px 25px; margin-block: 35px; }
.prose .reference-box h2 { margin-top: 20px; font-size: 1.65rem; }
.reference-box ul { list-style: none; padding: 0; margin-bottom: 0; }
.reference-box li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 4px 12px; margin-bottom: 17px; font-size: .83rem; line-height: 1.75; }
.reference-box small { grid-column: 2; color: var(--muted); font-size: .7rem; }
.related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 850px; }
.reading-layout { margin-bottom: 85px; }
.journey-reading { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 280px); gap: 70px; }
.journey-portrait img { display: block; border-radius: 130px 130px 6px 6px; width: 100%; height: auto; }
.journey-aside { padding-top: 60px; }
.journey-reading .prose h2 { border-top: 1px solid var(--line); padding-top: 25px; }
.review-line { font-size: .72rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 25px; margin-top: 40px; }
.contact-box { background: var(--panel); border-radius: 16px; padding: 25px; margin-block: 32px; }
.prose .contact-box h2 { margin-top: 0; }
.contact-box p:last-child { margin-bottom: 0; }
.source-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-block: 20px; }
.source-entry { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); scroll-margin-top: 125px; overflow-wrap: anywhere; }
.source-entry h2 { font-family: var(--body); font-size: 1.1rem; font-weight: 600; line-height: 1.5; letter-spacing: 0; }
.source-entry h3 { line-height: 1.5; }
.source-entry p { font-size: .85rem; color: var(--muted); }
.source-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; font-size: .6rem; color: var(--muted); }
.source-badges span { border: 1px solid var(--line); padding: 3px 7px; border-radius: 3px; }
.source-badges span:first-child { color: var(--accent); }
.source-date { font-size: .7rem !important; }
details { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 15px; }
summary { font-size: .8rem; cursor: pointer; min-height: 35px; color: var(--accent); }
details p { margin-top: 12px; }
.game-full { margin-top: 0; }
.game-full .game-panel-copy { display: none; }
.game-full { display: block; padding: 25px; max-width: 960px; }
.gateway-hindi { color: var(--muted); line-height: 1.9; font-size: .96rem; }
.gateway-disclosure { color: var(--muted); font-size: .74rem; margin-top: 29px; }
.gateway-hero { min-height: 660px; }
.error-page { min-height: 460px; }
.site-footer { margin-top: 45px; background: var(--panel); border-top: 1px solid var(--line); padding-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 65px; padding-bottom: 35px; }
.footer-brand { color: var(--ink); font-size: 2rem; font-weight: 650; letter-spacing: -.06em; text-decoration: none; }
.footer-brand span { color: var(--accent); font-weight: 400; }
.footer-grid p { max-width: 400px; color: var(--muted); font-size: .81rem; margin-top: 15px; }
.footer-grid nav { display: flex; flex-direction: column; align-items: start; }
.footer-grid nav a { min-height: 42px; font-size: .81rem; color: var(--ink); text-decoration: none; padding-block: 7px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-block: 23px; border-top: 1px solid var(--line); font-size: .67rem; color: var(--muted); }
.footer-bottom p { margin-bottom: 0; }
.footer-bottom > span { white-space: nowrap; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3, html[lang="hi"] h4 { font-family: "Nirmala UI", "Mangal", "Segoe UI", sans-serif; letter-spacing: 0; line-height: 1.45; }
html[lang="hi"] .home-hero h1 { font-size: clamp(2.8rem, 4.7vw, 3.8rem); }
html[lang="hi"] .page-heading h1, html[lang="hi"] .article-heading h1 { font-size: clamp(2.3rem, 4.3vw, 3.6rem); }
html[lang="hi"] .card-body :is(h3, h4) { font-size: 1.28rem; }
html[lang="hi"] .eyebrow { letter-spacing: .04em; }
.docs-header, .docs-main, .docs-footer { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.docs-header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-block: 25px; }
.docs-header a { text-decoration: none; font-size: .9rem; }
.docs-main { padding-block: 45px; }
.docs-main h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.docs-prose { margin-top: 35px; max-width: 900px; }
.docs-prose table { border-collapse: collapse; display: block; overflow-x: auto; font-size: .85rem; margin-block: 25px; }
.docs-prose th, .docs-prose td { border: 1px solid var(--line); padding: 10px 15px; text-align: left; min-width: 120px; }
.docs-prose pre { background: var(--panel); padding: 20px; overflow-x: auto; border-radius: 6px; font-size: .82rem; }
.docs-prose code { overflow-wrap: anywhere; }
.docs-flow { display: flex; align-items: center; gap: 20px; margin-block: 35px; }
.docs-flow > div { background: var(--surface); border: 1px solid var(--line); padding: 22px; border-radius: 7px; }
.theme-swatches { display: flex; gap: 15px; margin-block: 30px; }
.theme-swatches span { border: 1px solid #b6b6b6; border-radius: 6px; padding: 18px 30px; font-weight: 600; }
.swatch-classic { background: #fff; color: #222b33; font-family: var(--heading); }
.swatch-midnight { background: #152840; color: #f5d9bb; }
.docs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-block: 35px; }
.docs-card { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 24px; text-decoration: none; }
.docs-card h2 { font-family: var(--body); font-size: 1.2rem; line-height: 1.5; color: var(--ink); letter-spacing: 0; }
.docs-card > span { font-size: .8rem; }
.docs-footer { border-top: 1px solid var(--line); padding-block: 25px; color: var(--muted); font-size: .78rem; }
@media (max-width: 1050px) {
  .masthead { gap: 20px; }
  #primary-nav { gap: 18px; }
  .home-hero { gap: 38px; }
  .hero-stats { gap: 23px; }
  .portrait-photo img { height: 445px; }
  .card-body { padding: 20px; }
  .article-columns, .journey-reading { gap: 35px; }
  .approach-panel { grid-template-columns: 40px minmax(0, 1fr); }
  .approach-panel .button { grid-column: 2; justify-self: start; }
  .journey-teaser { gap: 35px; }
}
@media (max-width: 900px) {
  .masthead { flex-wrap: wrap; min-height: 83px; gap: 15px; padding-block: 14px; }
  .brand > span { font-size: 1.8rem; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .language-switch { padding-left: 16px; }
  #primary-nav { flex: 1 0 100%; margin-left: 0; justify-content: space-between; }
  html[data-js="true"] #primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 0 0 16px 16px; padding: 15px 22px; flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 18px 30px rgb(0 0 0 / .08); }
  html[data-js="true"].nav-open #primary-nav { display: flex; }
  #primary-nav a { min-height: 44px; }
  .home-hero h1 { font-size: 3.45rem; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-grid .story-card:last-child:nth-child(3) { grid-column: auto; }
  .article-columns { display: block; }
  .article-side { display: none; }
  .journey-reading { grid-template-columns: minmax(0, 1fr) 220px; }
  .game-panel { padding: 30px; gap: 25px; }
  .footer-grid { gap: 30px; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 36px); }
  .independent-strip { font-size: .64rem; }
  .independent-strip > div { gap: 10px; padding-block: 7px; }
  .independent-strip span { display: none; }
  .brand img { width: 36px; height: 36px; }
  .brand > span { font-size: 1.55rem; }
  .brand small { font-size: .48rem; }
  .menu-toggle { font-size: .76rem; gap: 9px; }
  .language-switch { min-width: 38px; padding-left: 12px; font-size: .8rem; }
  .masthead { gap: 9px; min-height: 72px; }
  .style-bar { flex-wrap: wrap; gap: 2px 9px; padding-block: 10px; min-height: 64px; }
  .style-bar > span:first-child { font-size: .62rem; }
  .theme-options { gap: 1px; }
  .theme-options button { padding: 8px 8px; font-size: .65rem; }
  .preference-status { flex: 1 0 100%; margin-left: 0; }
  .preview-notice { font-size: .59rem; gap: 7px; line-height: 1.6; align-items: start; }
  .preview-notice > span { white-space: nowrap; font-size: .5rem; }
  .home-hero { grid-template-columns: 1fr; gap: 42px; padding-block: 27px 35px; }
  .home-hero h1 { font-size: clamp(2.7rem, 10.5vw, 4rem); }
  .eyebrow { font-size: .59rem; margin-bottom: 18px; }
  .hero-intro { font-size: .9rem; }
  .hero-actions { gap: 15px; margin-block: 24px; }
  .hero-actions .button { padding: 12px 17px; gap: 20px; font-size: .8rem; }
  .text-link { font-size: .8rem; }
  .hero-stats { gap: 28px; margin-top: 25px; }
  .hero-stats strong { font-size: 1.8rem; }
  .hero-stats span { font-size: .65rem; max-width: 100px; }
  .hero-portrait { justify-self: center; max-width: 365px; width: 88%; }
  .portrait-photo img { height: 430px; }
  .portrait-tag { font-size: .6rem; }
  .section-block { margin-block: 45px; }
  .section-heading { display: block; margin-bottom: 23px; }
  .section-heading .text-link { margin-top: 13px; }
  .story-grid, .related-grid { grid-template-columns: 1fr; gap: 23px; }
  .card-body :is(h3, h4) { font-size: 1.6rem; }
  .card-body > p { font-size: .9rem; }
  .card-meta { font-size: .69rem; }
  .card-body .photo-credit { font-size: .67rem; }
  .read-link { font-size: .83rem; }
  .ad-space { margin-block: 40px; min-height: 120px; }
  .approach-panel { gap: 18px; margin-block: 42px; padding-block: 30px; grid-template-columns: 25px minmax(0, 1fr); }
  .approach-panel h2 { font-size: 1.9rem; }
  .journey-teaser { grid-template-columns: 1fr; gap: 17px; margin-block: 50px; }
  .journey-years { font-size: 3.2rem; }
  .game-panel { grid-template-columns: 1fr; margin-block: 50px; padding: 25px; }
  .game-panel h2 { font-size: 2.1rem; }
  .page-heading { padding-block: 30px 20px; }
  .page-heading h1, .article-heading h1 { font-size: 2.6rem; }
  .standfirst { font-size: 1rem; }
  .article-heading { margin-top: 30px; }
  .milestone-meta { grid-template-columns: 1fr; gap: 17px; }
  .milestone-meta dt { margin-bottom: 4px; }
  .byline { font-size: .65rem; }
  .article-photo { margin-bottom: 20px; }
  .prose { font-size: .96rem; line-height: 1.95; }
  .prose h2 { font-size: 1.65rem; }
  .limitation-box { padding: 20px; }
  .journey-reading { display: block; }
  .journey-aside { max-width: 260px; margin-inline: auto; padding-top: 0; }
  .source-grid { grid-template-columns: 1fr; gap: 19px; }
  .source-entry { padding: 22px; }
  .source-entry h2 { font-size: 1.04rem; }
  .category-filters { gap: 7px; }
  .category-filters button { padding: 8px 11px; font-size: .75rem; }
  .filter-controls { padding: 18px; }
  .gateway-hero { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-grid > div { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom > span { display: block; margin-top: 15px; white-space: normal; }
  html[lang="hi"] .home-hero h1 { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  html[lang="hi"] .page-heading h1, html[lang="hi"] .article-heading h1 { font-size: 2.3rem; }
  html[lang="hi"] .style-bar { gap: 3px; }
  html[lang="hi"] .theme-options button { padding-inline: 7px; }
  .docs-grid { grid-template-columns: 1fr; }
  .docs-flow, .theme-swatches { flex-wrap: wrap; gap: 10px; }
  .docs-flow > div { padding: 16px; }
  .theme-swatches span { padding: 12px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
@media print {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .site-header, .style-bar, .preview-notice, .ad-space, .site-footer, .article-side { display: none; }
  [data-reveal], [data-entrance] { opacity: 1 !important; transform: none !important; }
  body { background: white; color: black; }
  .container { width: 100%; }
  .article-columns { display: block; }
}
