/* रिंद-ए-ज़माना — brand kit palette (ink ground, gold, crimson, cream) */
:root {
  --ground: #0B0801;
  --ground-mid: #16100A;
  --gold: #C9952A;
  --gold-lt: #E8B84B;
  --crimson: #8A1C1C;
  --cream: #F2E8D0;
  --cream-dim: rgba(242, 232, 208, 0.62);
  --line: rgba(242, 232, 208, 0.14);
  --indigo: #1A1040;

  --deva: "Noto Serif Devanagari", "EB Garamond", serif;
  --serif: "EB Garamond", Georgia, serif;
  --sans: "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  background: var(--ground);
  color: var(--cream);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
b { font-weight: 700; color: var(--gold-lt); }
.gold { color: var(--gold-lt); }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(680px, 100% - 32px); }
.center { text-align: center; }

h1, h2 { font-family: var(--deva); font-weight: 700; line-height: 1.25; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 7vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.6rem); margin-bottom: 1.4rem; }
.eyebrow {
  font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.9rem;
}

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; background: rgba(11, 8, 1, 0.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--deva); font-weight: 600; }
.brand img { border-radius: 50%; border: 1px solid var(--gold); }
.nav-links { display: flex; gap: 20px; font-size: 0.92rem; color: var(--cream-dim); }
.nav-links a:hover { color: var(--cream); }
.nav-cta { color: var(--gold-lt); border: 1px solid var(--gold); padding: 3px 14px; border-radius: 999px; }
@media (max-width: 640px) { .nav-links a:not(.nav-cta) { display: none; } }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.center-actions { justify-content: center; }
.btn {
  font: 600 0.98rem var(--sans); padding: 12px 24px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--gold); transition: transform 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .chip:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 3px; }
.btn-gold { background: var(--gold); color: var(--ground); }
.btn-gold:hover { background: var(--gold-lt); }
.btn-line { background: transparent; color: var(--cream); }
.btn-line:hover { background: rgba(201, 149, 42, 0.12); }

/* hero */
.hero {
  width: min(1080px, 100% - 32px); margin-inline: auto; padding: 56px 0 72px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}
.lede { font-family: var(--deva); font-size: clamp(1.15rem, 3vw, 1.5rem); color: var(--cream-dim); margin-top: 1.2rem; }
.portrait { justify-self: center; width: min(340px, 100%); }
.arch {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px 18px 18px; border: 1px solid var(--gold);
  background: linear-gradient(180deg, var(--indigo), var(--ground-mid) 70%);
  box-shadow: 0 0 0 8px var(--ground), 0 0 0 9px var(--line);
}
.arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arch img.missing { display: none; }
.silhouette { position: absolute; inset: auto 0 0 0; margin-inline: auto; width: 78%; fill: #07050a; opacity: 0.92; display: none; }
.silhouette .shawl { fill: var(--crimson); }
.arch.no-photo .silhouette { display: block; }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; text-align: center; }
  .actions { justify-content: center; }
  .portrait { order: -1; width: min(260px, 70%); }
}

/* stage */
.stage-section { padding: 72px 0; background: var(--ground-mid); border-block: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.chip {
  font: 600 0.92rem var(--deva); padding: 8px 18px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--cream-dim); border: 1px solid var(--line); transition: all 0.15s;
}
.chip:hover { color: var(--cream); border-color: var(--gold); }
.chip[aria-selected="true"] { background: var(--gold); color: var(--ground); border-color: var(--gold); }

.stage {
  position: relative; overflow: hidden; min-height: 420px; border-radius: 20px; border: 1px solid var(--line);
  display: grid; align-items: end;
}
.stage-sky, .stage-ground { position: absolute; inset: 0; transition: background 0.5s; }
.stage-ground { top: auto; height: 22%; background: #07050a; }
.stage[data-place="chhat"] .stage-sky { background: linear-gradient(180deg, #1A1040, #8A3A22 85%); }
.stage[data-place="chowk"] .stage-sky { background: linear-gradient(180deg, #2a1608, #C9952A 95%); }
.stage[data-place="tour"] .stage-sky { background: linear-gradient(180deg, #0a1530, #3a2a6a 80%); }
.stage[data-place="almari"] .stage-sky { background: linear-gradient(180deg, #2a0f14, #8A1C1C 90%); }
.stage[data-place="khabar"] .stage-sky { background: linear-gradient(180deg, #0c1022, #5a0f13 92%); }
.stage[data-place="sitar"] .stage-sky { background: linear-gradient(180deg, #0B0801, #3a2a14 90%); }
.stage-copy { position: relative; padding: 28px clamp(20px, 5vw, 44px) 36px; max-width: 640px; }
.place { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-lt); }
.stage blockquote {
  font-family: var(--deva); font-size: clamp(1.25rem, 3.6vw, 1.9rem); line-height: 1.7; margin: 0.6rem 0 0.8rem;
  animation: rise 0.6s ease both;
}
.from { font-family: var(--serif); font-style: italic; color: var(--cream-dim); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .stage blockquote { animation: none; } html { scroll-behavior: auto; } }

.stage-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.toast { color: var(--gold-lt); font-size: 0.9rem; min-height: 1.2em; }

/* ghazal */
.ghazal-section, .who-section, .connect-section { padding: 80px 0; }
.ghazal p { font-family: var(--deva); font-size: clamp(1.1rem, 3vw, 1.35rem); line-height: 1.95; margin-bottom: 1.6rem; padding-left: 18px; border-left: 2px solid var(--line); }
.ghazal .maqta { border-left-color: var(--gold); color: var(--gold-lt); }
.byline { font-family: var(--serif); font-style: italic; color: var(--cream-dim); text-align: right; }


/* satire: breaking-news treatment of the regime-change ghazal */
.news-section { --news-red: #D7262E; padding: 80px 0; background: linear-gradient(180deg, #0c1022, var(--ground) 70%); border-top: 1px solid var(--line); }
.news-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 1.6rem; }
.news-bar .breaking { background: var(--news-red); color: #fff; font: 800 1.15rem/1 var(--sans); letter-spacing: 0.16em; padding: 10px 22px 10px 16px; clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); }
.news-bar .live { display: inline-flex; align-items: center; gap: 8px; font: 700 0.8rem/1 var(--sans); letter-spacing: 0.18em; color: #fff; border: 1px solid rgba(255,255,255,.6); border-radius: 5px; padding: 7px 12px; }
.news-bar .live i { width: 9px; height: 9px; border-radius: 50%; background: var(--news-red); box-shadow: 0 0 0 3px rgba(215,38,46,.35); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.news-section h2 .red { color: var(--gold-lt); }
.news-section .source { color: var(--cream-dim); margin: -0.6rem 0 1.8rem; font-size: 0.95rem; }
.news-section .source b { background: #5a0f13; color: #fff; padding: 2px 10px; border-radius: 4px; font-weight: 600; }
.news-ghazal .q { color: var(--gold-lt); font-weight: 700; }
.news-ghazal .maqta { border-left-color: var(--news-red); color: var(--cream); }
.ticker { display: flex; align-items: stretch; margin-top: 2rem; background: #fff; color: #0A0F24; overflow: hidden; border-radius: 4px; }
.ticker .tag { background: var(--news-red); color: #fff; font: 800 0.75rem/1 var(--sans); letter-spacing: 0.14em; display: flex; align-items: center; padding: 0 14px; flex: none; }
.ticker .run { white-space: nowrap; padding: 12px 0 12px 14px; font: 600 0.95rem/1.2 var(--deva); animation: crawl 22s linear infinite; }
.ticker .run em { font-style: normal; color: var(--news-red); margin: 0 10px; }
@keyframes crawl { from { transform: translateX(8%); } to { transform: translateX(-60%); } }
.news-section .note { margin-top: 1.4rem; color: var(--cream-dim); font: 400 0.9rem/1.7 var(--deva); }
@media (prefers-reduced-motion: reduce) { .ticker .run, .news-bar .live i { animation: none; } }

/* who */
.who-section { background: var(--ground-mid); border-block: 1px solid var(--line); }
.body { font-family: var(--deva); font-size: 1.08rem; line-height: 2; color: var(--cream-dim); margin-bottom: 1.2rem; }
.body em { color: var(--gold-lt); font-style: normal; font-weight: 600; }

/* foot */
.foot { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 36px 16px 48px; color: var(--cream-dim); font-family: var(--deva); font-size: 0.95rem; text-align: center; }
.foot img { border-radius: 50%; border: 1px solid var(--gold); }
