/* Arial sized to Inter's metrics, so text doesn't jump when the web font arrives (privacy page CLS 0.137) */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 107.12%; ascent-override: 90.44%; descent-override: 22.52%; line-gap-override: 0%; }
:root {
  --bg: #fbf7f0;
  --surface: #ffffff;
  --text: #24190f;
  --muted: #6d5d4b;
  --accent: #b5521b;
  --gold: #a87814;
  --line: #eadfcd;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Inter", "Inter Fallback", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15100b;
    --surface: #1f1811;
    --text: #f3eadc;
    --muted: #bba98f;
    --accent: #e7894b;
    --gold: #e0b45a;
    --line: #3a2e21;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 760px; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 600 1.35rem var(--display); letter-spacing: .02em; }
.brand img { width: 40px; height: 40px; border-radius: 8px; }
nav.site { display: flex; gap: 18px; flex-wrap: wrap; font-size: .95rem; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover { color: var(--accent); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: 1.35rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: #8f6510; font-weight: 600; margin: 0 0 .6em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 38em; }

section { padding-block: clamp(48px, 8vw, 88px); }
section + section { border-top: 1px solid var(--line); }

.hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero img { border-radius: 18px; }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.split img { border-radius: 16px; box-shadow: 0 12px 40px rgba(60, 35, 10, .18); }
@media (max-width: 760px) { .hero, .split { grid-template-columns: 1fr; } }

.links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn { display: inline-block; padding: 11px 20px; border-radius: 999px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; }
.btn.ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn:hover { filter: brightness(1.08); }

ul.ticks { padding-left: 1.1em; }
ul.ticks li { margin: .35em 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.card img { border-radius: 10px; width: 100%; aspect-ratio: 1; object-fit: cover; }
.card h3 { margin: 0; }
.card h2 { font-size: 1.35rem; margin: 0; }   /* index cards: h2 after the page h1 (heading order) */
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card > a { margin-top: auto; font-weight: 600; font-size: .95rem; }
.badge { align-self: flex-start; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #fff; }
.badge.soon { background: var(--gold); }
.badge.later { background: transparent; color: var(--muted); border: 1px solid var(--line); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 24px; }
.gallery img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

table.schedule { border-collapse: collapse; width: 100%; max-width: 640px; }
table.schedule td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.schedule td:first-child { white-space: nowrap; color: var(--gold); font-weight: 600; }

details { border-bottom: 1px solid var(--line); padding-block: 12px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: .6em 0 0; }

.note { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: 14px 18px; color: var(--muted); }

footer.site { border-top: 1px solid var(--line); padding-block: 32px; color: var(--muted); font-size: .92rem; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }

.prose h2 { font-size: 1.45rem; margin-top: 2em; padding-bottom: .3em; border-bottom: 1px solid var(--line); }
.prose li { margin: .35em 0; }
.prose code { font-size: .9em; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; }

.icon { width: 1.1em; height: 1.1em; flex: none; display: block; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; line-height: 1.2; }
.btn.ig { background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888); }
.btn.fb { background: #1467d6; }
.btn.yt { background: #d40000; }
.social { display: inline-flex; align-items: center; gap: 14px; }
.social a { display: inline-flex; align-items: center; color: var(--muted); }
.social a:hover { color: var(--accent); }
.social .icon { width: 20px; height: 20px; }
nav.site { align-items: center; }
footer.site .social { gap: 12px; }

/* verse pages (generated by studio/sitegen.py) */
.verse { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
@media (max-width: 860px) { .verse { grid-template-columns: 1fr; } .verse .still { max-width: 320px; } }
.verse h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.verse h2 { font-size: 1.35rem; margin-top: 1.6em; }
blockquote.original { margin: 1.4em 0; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--gold); border-radius: 10px; font-size: 1.35rem; line-height: 1.8; color: var(--text); }
blockquote.original.sa { font-family: "Tiro Devanagari Sanskrit", serif; }
blockquote.original.ta { font-family: "Noto Serif Tamil", serif; font-size: 1.2rem; }
p.hi { font-family: "Tiro Devanagari Hindi", serif; font-size: 1.12rem; }
p.ask { font-style: italic; color: var(--muted); }
.still { position: sticky; top: 24px; display: block; text-decoration: none; }
.still img { border-radius: 16px; box-shadow: 0 12px 40px rgba(60, 35, 10, .22); width: 100%; }
.still span { display: block; text-align: center; margin-top: 10px; font-weight: 600; }
.player iframe { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border: 0; border-radius: 16px;
  box-shadow: 0 12px 40px rgba(60, 35, 10, .22); background: #1b120a; }
@media (max-width: 860px) { .verse .player { order: -1; position: static; margin: 0 auto; width: 100%; } }
nav.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px;
  padding-top: 18px; border-top: 1px solid var(--line); font-size: .95rem; }
.cards.reels { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.card.reel { text-decoration: none; color: var(--text); }
.card.reel img { aspect-ratio: 9 / 16; }
.card.reel:hover { border-color: var(--accent); }
.btn.x { background: #000; }

/* lining numerals: Cormorant's old-style figures made "391" read like "39I" */
h1, h2, h3, .brand, .eyebrow { font-variant-numeric: lining-nums; }

/* Niti pages (generated by niti/site.py) */
.title-hi { font-size: 1.5rem; margin: -.2em 0 .6em; color: var(--muted); }
.premiere { margin: .8em 0 0; font-size: 1.05rem; }
.niti-story { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
@media (max-width: 860px) { .niti-story { grid-template-columns: 1fr; } .teaser { max-width: 340px; } }
.teaser { margin: 0; }
.teaser video { width: 100%; height: auto; border-radius: 16px; background: #000; box-shadow: 0 12px 40px rgba(60, 35, 10, .22); }
.teaser figcaption { text-align: center; margin-top: 10px; font-weight: 600; }
.teaser .links { justify-content: center; margin-top: 10px; }
ol.chapters { list-style: none; padding: 0; }
ol.chapters li { padding: 7px 0; border-bottom: 1px solid var(--line); }
ol.chapters li a, ol.chapters li span { display: inline-block; min-width: 3.4em; font-variant-numeric: tabular-nums; font-weight: 600; }
.gallery.wide img { aspect-ratio: 16 / 9; }
.dialogue p { margin: 0 0 1em; }
.dialogue .hi { font-family: "Tiro Devanagari Hindi", serif; font-size: 1.1rem; }
.dialogue .en { color: var(--muted); }
.cards.niti { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card.reel.wide img { aspect-ratio: 16 / 9; }
