:root {
  --ink: #141c18;
  --ink-soft: #3c4a43;
  --muted: #6d675c;
  --river: #101916;
  --river-2: #1a2c26;
  --paper: #f3eee4;
  --paper-2: #e7e0d2;
  --cream: #faf7f1;
  --white: #fffcf7;
  --brass: #b8893d;
  --brass-2: #e6d2a4;
  --terra: #b64a32;
  --terra-deep: #8a3322;
  --line: rgba(20, 28, 24, 0.12);
  --line-strong: rgba(20, 28, 24, 0.22);
  --shadow: 0 24px 60px rgba(16, 25, 22, 0.12);
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Outfit", "Avenir Next", sans-serif;
  --hi-serif: "Tiro Devanagari Hindi", "Fraunces", serif;
  --hi-sans: "Noto Sans Devanagari", "Outfit", sans-serif;
  --nav: 78px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 86px; }
main section, .page-head { scroll-margin-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
html[lang="hi"] body { font-family: var(--hi-sans); }
html[lang="hi"] h1,
html[lang="hi"] h2,
html[lang="hi"] h3 { font-family: var(--hi-serif); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: #efd3b4; color: #1b120e; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { top: 12px; }

.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.wrap-l { width: min(1360px, calc(100% - 40px)); margin-inline: auto; }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 520; letter-spacing: -0.03em; }
h1 { font-size: clamp(46px, 6vw, 88px); line-height: 0.92; margin: 0; }
h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.02; margin: 0; }
h3 { font-size: 28px; line-height: 1.15; margin: 0; }
p { margin: 0; }

.kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 560;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra-deep);
}
.lede { font-size: 18.5px; line-height: 1.55; color: var(--ink-soft); max-width: 46ch; }
.muted { color: var(--muted); }
.tiny { font-size: 13px; letter-spacing: 0.04em; color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--nav);
  display: flex;
  align-items: center;
  background: rgba(243, 238, 228, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.45s ease, color 0.45s ease, border-color 0.45s ease, backdrop-filter 0.45s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
body.is-home .site-header {
  position: fixed;
  inset: 0 0 auto 0;
  background: linear-gradient(to bottom, rgba(10, 16, 14, 0.62), rgba(10, 16, 14, 0));
  backdrop-filter: none;
  color: #f7f1e6;
}
body.is-home .site-header .nav-links a,
body.is-home .site-header .brand-lock strong,
body.is-home .site-header .brand-lock span,
body.is-home .site-header .lang button,
body.is-home .site-header .btn-line { color: #f7f1e6; }
body.is-home .site-header .lang,
body.is-home .site-header .btn-line { border-color: rgba(247, 241, 230, 0.45); }
body.is-home .site-header.is-stuck {
  background: rgba(250, 247, 241, 0.94);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  color: var(--ink);
}
body.is-home .site-header.is-stuck .nav-links a { color: var(--ink-soft); }
body.is-home .site-header.is-stuck .nav-links a[aria-current="page"] { color: var(--ink); }
body.is-home .site-header.is-stuck .brand-lock strong { color: var(--ink); }
body.is-home .site-header.is-stuck .brand-lock span { color: var(--muted); }
body.is-home .site-header.is-stuck .lang,
body.is-home .site-header.is-stuck .btn-line { border-color: var(--line-strong); }
body.is-home .site-header.is-stuck .lang button,
body.is-home .site-header.is-stuck .btn-line { color: var(--ink); }
body.is-home .site-header.is-stuck .lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.site-header .bar {
  width: min(1360px, calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { height: 42px; width: auto; background: rgba(255, 252, 247, 0.94); padding: 3px 6px; }
.brand-lock {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  border-left: 1px solid var(--line-strong);
  padding-left: 12px;
}
.brand-lock strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 560;
  letter-spacing: 0.08em;
}
.brand-lock span { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.brand, .nav-actions { flex-shrink: 0; }
.nav-links { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav-links a {
  position: relative;
  text-decoration: none;
  font-size: 13.5px;
  padding: 8px 7px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.lang {
  display: flex;
  border: 1px solid var(--line-strong);
  background: transparent;
}
.lang button {
  border: 0;
  background: transparent;
  padding: 7px 9px;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.btn.nav-close { display: none; }
.nav-actions .menu-btn { display: inline-flex; }
.panel-primary, .panel-secondary { display: flex; flex-direction: column; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  letter-spacing: 0.02em;
}
.btn-sm { min-height: 40px; padding: 0 12px; font-size: 14px; }
.btn-terra { background: var(--terra); color: #fffaf6; }
.btn-terra:hover { background: var(--terra-deep); }
.btn-ink { background: var(--river); color: var(--paper); }
.btn-ink:hover { background: #000; }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-brass { background: var(--brass-2); color: var(--ink); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.lang button { font-family: "Noto Sans Devanagari", var(--sans); }
.arr { display: inline-block; transition: transform 0.35s ease; }
.btn:hover .arr,
a:hover .arr { transform: translateX(5px); }
.btn:active { filter: brightness(0.94); }
.panel-label {
  margin: 10px 0 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.spine {
  position: absolute;
  left: 18px;
  top: 36px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--muted);
}
.hindi-line {
  font-family: var(--hi-serif);
  font-size: clamp(22px, 2vw, 30px);
  margin: 0 0 10px;
  color: var(--ink);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

.section { padding: 72px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; margin-bottom: 36px; }
.section-head p { max-width: 46ch; }

.by { margin-top: 22px; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

.stats {
  background: var(--river);
  color: var(--paper);
}
.stat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.stat-grid strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 520;
  letter-spacing: -0.04em;
  color: var(--brass-2);
  line-height: 1;
}
.stat-grid span { display: block; margin-top: 8px; font-size: 13px; color: #d9d0c2; }

.event-grid, .voice-grid, .card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.event, .voice, .info-card, .role {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 22px;
}
.event .when { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terra-deep); }
.event h3, .voice h3, .info-card h3 { margin: 10px 0; font-size: 26px; }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid var(--line-strong);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pill-live { background: var(--river); color: var(--brass-2); border-color: var(--river); }
.pill-wait { background: transparent; }

.river-break {
  position: relative;
  min-height: 460px;
  color: var(--paper);
  display: grid;
  align-items: end;
  background: #10211c center/cover no-repeat;
}
.river-break .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,16,14,0.78), rgba(10,16,14,0.15));
}
.river-break .wrap { position: relative; padding: 56px 0; }
.river-break h2 { max-width: 12ch; }
.river-break p { max-width: 42ch; margin: 14px 0 22px; color: #efe7da; }

.site-footer { position: relative; overflow: hidden; background: var(--river); color: #efe7da; padding: 46px 0 16px; }
.foot-mark {
  position: absolute;
  left: -1vw;
  bottom: -0.38em;
  margin: 0;
  font-family: var(--serif);
  font-weight: 520;
  font-size: clamp(64px, 9vw, 120px);
  line-height: 0.8;
  letter-spacing: -0.045em;
  color: rgba(230, 210, 164, 0.09);
  white-space: nowrap;
  pointer-events: none;
}
.foot-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr 0.72fr 0.78fr 1.05fr; gap: 26px 20px; }
.foot-brand strong {
  display: block;
  margin: 10px 0 8px;
  font-family: var(--serif);
  font-weight: 520;
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #faf7f1;
}
.foot-brand p { max-width: 36ch; color: #d9d0c2; }
.site-footer a { color: var(--brass-2); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.3s ease; }
.site-footer a:hover { background-size: 100% 1px; }
.site-footer h3 { font-family: var(--sans); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 560; margin-bottom: 12px; color: var(--brass-2); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.foot-logo { height: 54px; width: auto; margin-bottom: 16px; background: rgba(255,252,247,0.92); padding: 6px 8px; }
.legal {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid rgba(230,210,164,0.2);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #c9bfae;
}
.legal-links { display: flex; gap: 16px; }
.legal-links a { color: #c9bfae; }

.page-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  padding: 42px 0 10px;
  align-items: end;
}
.page-head h1 { font-size: clamp(42px, 5vw, 72px); }
.page-head .frame { min-height: 280px; background: var(--river); overflow: hidden; }
.page-head .frame img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.prose { max-width: 68ch; }
.prose p + p { margin-top: 14px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--terra-deep); text-decoration: none; }

.sheet {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 22px;
}

.nav-panel { display: none; }

@media (min-width: 1101px) {
  .panel-primary,
  .panel-secondary a[href="register.html"],
  .panel-secondary a[href="login.html"] { display: none; }
  body.nav-open .nav-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    right: max(16px, calc((100vw - 1360px) / 2));
    width: 280px;
    background: rgba(250, 247, 241, 0.97);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    z-index: 80;
    padding: 6px 18px 12px;
    box-shadow: var(--shadow);
  }
  body.nav-open .nav-panel a {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.35;
    text-decoration: none;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 1280px) {
  .section-head, .page-head { grid-template-columns: 1fr; }
  .stat-grid, .event-grid, .voice-grid, .card-grid { grid-template-columns: 1fr 1fr; }
  .brand-lock { display: none; }
}
@media (max-width: 1100px) {
  .nav-actions { margin-left: auto; }
  .nav-links, .nav-actions .login-link { display: none; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    width: auto;
    background: var(--paper);
    z-index: 80;
    padding: max(16px, env(safe-area-inset-top)) 22px calc(32px + env(safe-area-inset-bottom));
    gap: 2px;
    overflow: auto;
    border: 0;
    box-shadow: none;
  }
  body.nav-open .panel-primary a {
    font-family: var(--serif);
    font-size: clamp(28px, 8vw, 36px);
    text-decoration: none;
    line-height: 1.2;
    padding: 2px 0;
    border: 0;
  }
  body.nav-open .panel-secondary a {
    font-family: var(--sans);
    font-size: 18px;
    text-decoration: none;
    padding: 6px 0;
    border: 0;
  }
  body.nav-open .btn.nav-close { display: inline-flex; align-self: flex-end; }
}
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand, .foot-grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --nav: 64px; }
  html { scroll-padding-top: 72px; }
  .site-header .bar { gap: 8px; width: min(1360px, calc(100% - 20px)); }
  .brand {
    gap: 0;
    width: 48px;
    height: 48px;
    padding: 5px;
    overflow: hidden;
    flex: none;
    background: #fff;
    box-sizing: border-box;
  }
  .brand img {
    height: 38px;
    width: auto;
    max-width: none;
    padding: 0;
    object-fit: contain;
    object-position: left center;
    background: transparent;
  }
  .nav-actions { gap: 6px; }
  .btn-sm { padding: 0 10px; }
  .lang button { min-height: 40px; padding: 0 8px; }
  .section { padding: 48px 0; }
  .page-head { padding: 24px 0 4px; gap: 16px; }
  .page-head .frame,
  .page-head .frame img { min-height: 168px; }
  .river-break { min-height: 320px; }
  .river-break .wrap { padding: 36px 0; }
}
@media (max-width: 640px) {
  .event-grid, .voice-grid, .card-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .site-footer { padding: 32px 0 18px; }
  .site-footer li { margin: 3px 0; }
  .foot-mark { font-size: 52px; }
  .legal { flex-direction: column; gap: 8px; }
  h1 { font-size: clamp(34px, 10vw, 44px); }
  h2 { font-size: clamp(28px, 8vw, 40px); }
}
@media (min-width: 1600px) {
  .wrap { width: min(1320px, calc(100% - 80px)); }
  .wrap-l, .site-header .bar { width: min(1480px, calc(100% - 80px)); }
  body.nav-open .nav-panel { right: max(40px, calc((100vw - 1480px) / 2)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
