/* ───────────────────────── Pahloo · पहलू ─────────────────────────
   Palette sampled from the logo: maroon #512422, cream #FAF3E2.
   Display: Tiro Devanagari Hindi · Text: Mukta                       */

:root {
  --maroon: #512422;
  --maroon-deep: #3a1816;
  --maroon-soft: #7a3a35;
  --cream: #faf3e2;
  --paper: #fbf7f1;
  --paper-2: #f3eadb;
  --ink: #2b1a17;
  --ink-soft: #5e4a44;
  --line: rgba(81, 36, 34, .16);
  --terracotta: #b0643a;
  --leaf: #55624d;

  --display: "Tiro Devanagari Hindi", "Noto Serif Devanagari", Georgia, serif;
  --text: "Mukta", "Noto Sans Devanagari", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  /* faint paper grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .14 0 0 0 0 .13 0 0 0 .045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--maroon); color: var(--cream); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.en { font-family: var(--text); color: var(--ink-soft); }
.eyebrow {
  font-family: var(--text); font-weight: 600; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta);
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.2; margin: 0; color: var(--maroon); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

/* ─── Header ─── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 241, .86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img.emblem { width: 44px; height: 44px; }
.brand img.word { height: 40px; width: auto; transition: opacity .45s var(--ease), transform .45s var(--ease); }
body[data-page="home"] .site-header:not(.show-word) .brand img.word { opacity: 0; transform: translateX(-10px); pointer-events: none; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.nav a {
  text-decoration: none; font-size: .98rem; color: var(--ink-soft);
  position: relative; padding: 4px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px;
  background: var(--maroon); transition: right .35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--maroon); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.tools { display: flex; align-items: center; gap: 10px; }
/* Small icon-only music control: animated bars while playing, a slash when muted */
.sound {
  position: relative; display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 1px solid var(--line); background: transparent; border-radius: 50%;
  color: var(--ink-soft); cursor: pointer; transition: color .2s, border-color .2s;
}
.sound:hover { border-color: var(--maroon); color: var(--maroon); }
.sound .bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.sound .bars i { width: 2px; background: currentColor; height: 4px; border-radius: 1px; transition: height .3s; }
.sound.playing { color: var(--maroon); }
.sound.playing .bars i { animation: bar 1.4s ease-in-out infinite; }
.sound.playing .bars i:nth-child(2) { animation-delay: .25s; }
.sound.playing .bars i:nth-child(3) { animation-delay: .5s; }
.sound[aria-pressed="true"]::after {
  content: ""; position: absolute; width: 20px; height: 1.5px; background: currentColor; transform: rotate(-45deg);
}
@keyframes bar { 0%, 100% { height: 3px; } 50% { height: 12px; } }
.menu-btn { display: none; }

@media (max-width: 820px) {
  .brand img.word { height: 34px; }
  .menu-btn {
    display: inline-flex; background: none; border: 1px solid var(--line); border-radius: 10px;
    padding: 8px 12px; font: inherit; font-size: .9rem; color: var(--maroon); cursor: pointer;
  }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 18px var(--gutter) 24px; gap: 14px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { font-size: 1.15rem; }
}

/* ─── Hero ─── */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 8vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-word { width: min(520px, 100%); margin: 0 0 28px -8px; }
.hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem); color: var(--ink); margin-bottom: 10px;
}
.hero h1 em { font-style: normal; color: var(--maroon); }
.hero .en-lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 34em; margin-bottom: 30px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 600; font-size: 1rem; padding: 12px 22px; border-radius: 99px;
  border: 1.5px solid var(--maroon); transition: background .25s, color .25s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
button.btn { background: transparent; font-family: inherit; cursor: pointer; }
.btn.solid { background: var(--maroon); color: var(--cream); }
.btn.solid:hover { background: var(--maroon-deep); }
.btn.ghost { color: var(--maroon); }
.btn.ghost:hover { background: var(--maroon); color: var(--cream); }
.btn.light { border-color: var(--cream); color: var(--cream); }
.btn.light:hover { background: var(--cream); color: var(--maroon); }

.hero-watermark {
  position: absolute; right: -120px; top: -60px; width: 520px; opacity: .05; pointer-events: none;
  filter: grayscale(1);
}

/* Featured (latest) episode card */
.feature {
  position: relative; display: block; text-decoration: none; color: var(--cream);
  border-radius: 20px; overflow: hidden; background: var(--maroon);
  box-shadow: 0 30px 60px -30px rgba(58, 24, 22, .55);
  transform: rotate(1.2deg); transition: transform .5s var(--ease);
}
.feature:hover { transform: rotate(0deg) translateY(-4px); }
.feature .ph { aspect-ratio: 16 / 9; position: relative; }
.feature .ph img { width: 100%; height: 100%; object-fit: cover; }
.feature .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(58, 24, 22, .75)); }
.feature .tag {
  position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--cream); color: var(--maroon);
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px;
}
.feature .body { padding: 22px 24px 26px; }
.feature .body .k { font-size: .85rem; opacity: .75; letter-spacing: .04em; }
.feature .body h3 { color: var(--cream); font-size: 1.7rem; margin: 4px 0 8px; }
.feature .body p { margin: 0; opacity: .88; font-size: 1rem; }
.play {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%; background: rgba(250, 243, 226, .94);
  display: grid; place-items: center; transition: transform .3s var(--ease);
}
.play::before { content: ""; border-left: 20px solid var(--maroon); border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }
.feature:hover .play, .video:hover .play { transform: translate(-50%, -50%) scale(1.08); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .feature { transform: none; }
}

/* ─── Sections ─── */
section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .lead { max-width: 30em; color: var(--ink-soft); margin: 10px 0 0; }

/* Mission band */
.band {
  background: var(--maroon); color: var(--cream); position: relative; overflow: hidden;
}
.band::before {
  content: ""; position: absolute; inset: 0; opacity: .07;
  background: url("../img/emblem.png") no-repeat right -80px center / 460px;
}
.band blockquote { margin: 0; position: relative; max-width: 900px; }
.band .q {
  font-family: var(--display); font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.45; color: var(--cream);
}
.band .q::before { content: "“"; display: block; font-size: 4.5rem; line-height: .6; opacity: .45; margin-bottom: 14px; }
.band .tr { color: rgba(250, 243, 226, .72); font-size: 1.08rem; margin-top: 18px; max-width: 46em; }
.band cite { display: block; font-style: normal; margin-top: 26px; font-size: .95rem; letter-spacing: .04em; color: rgba(250, 243, 226, .85); }
.band cite a { color: var(--cream); }
.band .eyebrow { color: #e3b48f; }

/* Episode cards */
.episodes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.ep {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: #fffaf2; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.ep:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -26px rgba(58, 24, 22, .45); }
.ep .ph { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); position: relative; }
.ep .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ep:hover .ph img { transform: scale(1.04); }
.ep .num {
  position: absolute; left: 14px; bottom: -22px; width: 54px; height: 54px; border-radius: 50%;
  background: var(--maroon); color: var(--cream); display: grid; place-items: center;
  font-family: var(--display); font-size: 1.35rem; border: 4px solid #fffaf2;
}
.ep .body { padding: 34px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.ep .meta { font-size: .82rem; color: var(--terracotta); font-weight: 600; letter-spacing: .06em; }
.ep h3 { font-size: 1.55rem; margin: 6px 0 2px; }
.ep .who { font-size: .95rem; color: var(--ink-soft); margin-bottom: 14px; }
.ep blockquote {
  margin: auto 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line);
  font-family: var(--display); color: var(--maroon); font-size: 1.08rem; line-height: 1.55;
}
.ep.next {
  grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 30px;
  border-style: dashed; background: transparent; padding: 26px 30px;
}
.ep.next:hover { border-color: var(--maroon); }
.ep.next h3 { font-size: 1.5rem; margin: 6px 0 0; }
.ep.next .go { font-weight: 600; color: var(--maroon); white-space: nowrap; }
@media (max-width: 960px) { .episodes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .episodes { grid-template-columns: 1fr; } }

/* Threads */
.threads { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.thread { padding: 28px 22px 10px 0; border-right: 1px solid var(--line); }
.thread + .thread { padding-left: 22px; }
.thread:last-child { border-right: 0; }
.thread .i { font-family: var(--display); font-size: 2.6rem; color: var(--terracotta); line-height: 1; }
.thread h3 { font-size: 1.35rem; margin: 14px 0 4px; }
.thread .en { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: 10px; }
.thread p { font-size: .98rem; color: var(--ink-soft); }
@media (max-width: 980px) {
  .threads { grid-template-columns: 1fr 1fr; }
  .thread, .thread + .thread { padding: 24px 18px 8px 0; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) { .threads { grid-template-columns: 1fr; } }

/* Tinted band (lineage section) */
.journey { background: var(--paper-2); }

/* Quote wall */
.quotes { columns: 3 300px; column-gap: 24px; }
.qcard {
  break-inside: avoid; margin: 0 0 24px; padding: 26px 26px 22px; border-radius: var(--radius);
  background: #fffaf2; border: 1px solid var(--line); position: relative;
}
.qcard:nth-child(3n+2) { background: var(--maroon); border-color: var(--maroon); }
.qcard:nth-child(3n+2) .hi { color: var(--cream); }
.qcard:nth-child(3n+2) .tr, .qcard:nth-child(3n+2) .by { color: rgba(250, 243, 226, .72); }
.qcard:nth-child(3n+2) .by a { color: var(--cream); }
.qcard .hi { font-family: var(--display); font-size: 1.28rem; line-height: 1.55; color: var(--maroon); margin: 0 0 10px; }
.qcard .tr { font-size: .95rem; color: var(--ink-soft); margin: 0 0 14px; }
.qcard .by { font-size: .85rem; color: var(--terracotta); font-weight: 600; }
.qcard .by a { text-decoration: none; }
.qcard .by a:hover { text-decoration: underline; }

/* Shorts rail */
.rail { display: flex; gap: 16px; overflow-x: auto; padding: 4px 4px 18px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.short {
  flex: 0 0 200px; scroll-snap-align: start; text-decoration: none; color: inherit;
}
.short .ph { aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: var(--maroon); position: relative; }
.short .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.short:hover .ph img { transform: scale(1.05); }
.short .ph::after { content: "▶"; position: absolute; right: 10px; bottom: 10px; width: 30px; height: 30px; border-radius: 50%; background: rgba(250, 243, 226, .92); color: var(--maroon); display: grid; place-items: center; font-size: .7rem; }
.short p { font-size: .95rem; line-height: 1.4; margin: 10px 2px 0; }

/* Lineage */
.lineage .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0 30px; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 2.6rem; color: var(--maroon); line-height: 1; }
.stat span { font-size: .9rem; color: var(--ink-soft); }
.series { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.series li { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.series li b { font-family: var(--display); font-weight: 400; color: var(--maroon); font-size: 1.2rem; }
.series li span { color: var(--ink-soft); font-size: .92rem; text-align: right; }
.series li.now b::after { content: "अभी"; font-family: var(--text); font-size: .7rem; font-weight: 700; background: var(--terracotta); color: #fff; border-radius: 99px; padding: 2px 8px; margin-left: 10px; vertical-align: middle; }
@media (max-width: 860px) { .lineage .wrap { grid-template-columns: 1fr; } }

/* Suggest / CTA */
.suggest { text-align: center; }
.suggest .card {
  background: var(--maroon); color: var(--cream); border-radius: 24px; padding: clamp(40px, 7vw, 80px) clamp(22px, 5vw, 60px);
  position: relative; overflow: hidden;
}
.suggest .card::before { content: ""; position: absolute; inset: 0; background: url("../img/emblem.png") no-repeat center -40px / 380px; opacity: .06; }
.suggest h2 { color: var(--cream); position: relative; }
.suggest p { position: relative; max-width: 36em; margin: 16px auto 28px; color: rgba(250, 243, 226, .82); }
.suggest .btns { justify-content: center; position: relative; }
/* Contact: form + direct links, on the maroon card */
.contact {
  position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 48px);
  text-align: left; margin-top: 34px; max-width: 980px; margin-inline: auto;
}
.cform { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.cform .full { grid-column: 1 / -1; }
.cform label { display: flex; flex-direction: column; gap: 6px; }
.cform label span { font-size: .95rem; color: var(--cream); }
.cform label i { font-style: normal; font-size: .78rem; letter-spacing: .06em; color: rgba(250, 243, 226, .55); margin-left: 4px; }
.cform input, .cform textarea {
  font: inherit; font-size: 1rem; color: var(--cream); background: rgba(250, 243, 226, .07);
  border: 1px solid rgba(250, 243, 226, .28); border-radius: 12px; padding: 11px 14px; width: 100%;
  transition: border-color .2s, background .2s;
}
.cform textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--cream); background: rgba(250, 243, 226, .12); }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.send-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.send svg, .ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.send svg .f, .ic svg .f { fill: currentColor; stroke: none; }
.send:disabled { opacity: .6; cursor: progress; transform: none; }
.cstatus { margin: 0; font-size: .95rem; color: rgba(250, 243, 226, .85); }
.cstatus[data-kind="ok"] { color: #f3d9b8; }
.cstatus[data-kind="err"] { color: #ffc9b8; }
.clinks { display: flex; flex-direction: column; gap: 12px; }
.clinks .or { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #e3b48f; margin-bottom: 2px; }
.clink {
  display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--cream);
  padding: 12px 16px; border: 1px solid rgba(250, 243, 226, .22); border-radius: 14px;
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.clink:hover { background: rgba(250, 243, 226, .08); border-color: rgba(250, 243, 226, .55); transform: translateX(3px); }
.clink .ic {
  flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(250, 243, 226, .7); transition: background .25s, color .25s;
}
.clink:hover .ic { background: var(--cream); color: var(--maroon); }
.clink b { display: block; font-weight: 600; font-size: 1rem; }
.clink small { display: block; font-size: .85rem; color: rgba(250, 243, 226, .7); word-break: break-all; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cform { grid-template-columns: 1fr; } }

.mail { font-family: var(--display); font-size: clamp(1.1rem, 2.6vw, 1.5rem); color: var(--cream); display: block; margin-top: 20px; position: relative; word-break: break-all; }

/* Footer */
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 80px); }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
.site-footer img { width: 150px; margin-bottom: 14px; }
.site-footer h4 { font-family: var(--text); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta); margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { text-decoration: none; color: var(--ink-soft); }
.site-footer a:hover { color: var(--maroon); }
.site-footer .fine { grid-column: 1 / -1; font-size: .85rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ─── Episode page ─── */
.ep-hero { padding: clamp(36px, 6vw, 70px) 0 30px; }
.crumbs { font-size: .9rem; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a { color: var(--maroon); text-decoration: none; }
.ep-hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
.ep-hero .sub { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--ink-soft); margin-top: 6px; }
.ep-hero .lede { font-size: 1.12rem; max-width: 46em; margin-top: 22px; }
.ep-hero .lede .en { display: block; font-size: 1rem; margin-top: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pill { font-size: .85rem; padding: 4px 12px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-soft); background: #fffaf2; }

.player-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--maroon-deep); cursor: pointer; box-shadow: 0 30px 60px -34px rgba(58, 24, 22, .6); }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .yt { position: absolute; right: 12px; bottom: 12px; z-index: 2; font-size: .8rem; background: rgba(0,0,0,.55); color: #fff; padding: 4px 10px; border-radius: 99px; text-decoration: none; }
.chapters { background: #fffaf2; border: 1px solid var(--line); border-radius: 18px; padding: 20px 8px 10px 20px; max-height: 100%; }
.chapters h3 { font-size: 1.2rem; margin: 0 0 10px; }
.chapters ol { list-style: none; margin: 0; padding: 0 10px 0 0; max-height: 380px; overflow-y: auto; }
.chapters button {
  width: 100%; display: flex; gap: 14px; align-items: baseline; text-align: left; background: none; border: 0; font: inherit;
  padding: 9px 8px; border-radius: 8px; cursor: pointer; color: var(--ink); font-size: .98rem; line-height: 1.4;
}
.chapters button:hover, .chapters button.on { background: var(--paper-2); color: var(--maroon); }
.chapters time { font-variant-numeric: tabular-nums; font-size: .82rem; color: var(--terracotta); font-weight: 600; min-width: 52px; }
@media (max-width: 900px) { .player-grid { grid-template-columns: 1fr; } }

.signature { padding: clamp(50px, 8vw, 90px) 0; text-align: center; }
.signature .q { font-family: var(--display); color: var(--maroon); font-size: clamp(1.7rem, 4vw, 2.8rem); line-height: 1.45; max-width: 22em; margin: 0 auto; }
.signature .tr { color: var(--ink-soft); margin: 18px auto 0; max-width: 40em; }
.signature .ts { display: inline-block; margin-top: 14px; font-size: .85rem; color: var(--terracotta); font-weight: 600; text-decoration: none; }

.two-col { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.facts { position: sticky; top: 96px; border-top: 2px solid var(--maroon); }
.facts dl { margin: 0; }
.facts div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .82rem; color: var(--terracotta); font-weight: 600; }
.facts dd { margin: 0; font-size: .98rem; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1.5px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 30px 46px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--maroon); }
.timeline li:last-child::before { background: var(--maroon); }
.timeline h3 { font-size: 1.35rem; margin-bottom: 4px; }
.timeline p { color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } .facts { position: static; } }

.themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.theme { padding: 22px; border-radius: var(--radius); background: #fffaf2; border: 1px solid var(--line); }
.theme h3 { font-size: 1.25rem; margin-bottom: 8px; }
.theme p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .themes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .themes { grid-template-columns: 1fr; } }

.care { border-left: 3px solid var(--terracotta); background: #fff4ea; padding: 16px 20px; border-radius: 0 12px 12px 0; font-size: .95rem; color: var(--ink-soft); margin-top: 28px; }
.care b { color: var(--ink); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pager a { display: block; text-decoration: none; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fffaf2; transition: border-color .3s; }
.pager a:hover { border-color: var(--maroon); }
.pager small { color: var(--terracotta); font-weight: 600; letter-spacing: .06em; }
.pager b { display: block; font-family: var(--display); font-weight: 400; color: var(--maroon); font-size: 1.35rem; margin-top: 4px; }
.pager .r { text-align: right; grid-column: 2; }

/* ─── About ─── */
.prose { max-width: 720px; }
.prose p { font-size: 1.08rem; }
.prose .en { font-size: 1rem; }
.pull { font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.5; color: var(--maroon); border-left: 3px solid var(--terracotta); padding: 4px 0 4px 24px; margin: 36px 0; }
.pull small { display: block; font-family: var(--text); font-size: .95rem; color: var(--ink-soft); margin-top: 10px; }
.logo-story { display: grid; grid-template-columns: 300px 1fr; gap: clamp(30px, 6vw, 70px); align-items: center; }
.logo-story img { width: 100%; }
@media (max-width: 760px) { .logo-story { grid-template-columns: 1fr; } .logo-story img { max-width: 240px; } }
/* Team cards - photo portrait, tilts in 3D toward the pointer on hover (JS sets --rx/--ry/--gx/--gy) */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; perspective: 1000px; }
.member { perspective: 900px; }
.member .tilt {
  position: relative; height: 100%; border-radius: 18px; overflow: hidden; background: #fffaf2;
  border: 1px solid var(--line); transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  box-shadow: 0 1px 0 rgba(58, 24, 22, .04);
}
.member.active .tilt { transition: transform .08s linear, box-shadow .3s; box-shadow: 0 28px 50px -24px rgba(58, 24, 22, .55); }
.member .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); display: grid; place-items: center; }
.member .ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .6s var(--ease); }
.member.active .ph img { transform: scale(1.07); }
.member .ph.logo { background: #000; }
.member .ph.logo img { object-fit: contain; }
.member .initial { font-family: var(--display); font-size: 4.2rem; color: var(--maroon); opacity: .8; }
.member .who { padding: 14px 16px 16px; transform: translateZ(24px); }
.member b { display: block; font-size: 1.08rem; color: var(--ink); }
.member .who span { display: block; font-size: .88rem; line-height: 1.4; margin-top: 3px; color: var(--ink-soft); }
@media (max-width: 520px) {
  .team { grid-template-columns: 1fr 1fr; gap: 14px; }
  .member .who { padding: 10px 12px 12px; }
  .member b { font-size: .98rem; }
  .member .who span { font-size: .8rem; }
  .member .initial { font-size: 3rem; }
}
.member .glare {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 250, 240, .45), transparent 55%);
  mix-blend-mode: soft-light;
}
.member.active .glare { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .member .tilt, .member .ph img { transition: none; transform: none !important; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; animation: none !important; }
}
/* privacy page: lists and breathing room between sections */
.prose ul { padding-left: 1.2em; font-size: 1.08rem; }
.prose ul li { margin: 6px 0; }
.prose p + .eyebrow { margin-top: 38px; }
.prose .sign { font-family: var(--display); color: var(--maroon); font-size: 1.15rem; margin-top: 18px; }

/* Kisi Ne Kaha Tha: daily quote, right below the hero */
.kisi { padding: 0 0 clamp(40px, 6vw, 72px); opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.kisi.in { opacity: 1; transform: none; }
.kisi-card {
  margin: 0; position: relative; overflow: hidden; color: var(--cream);
  background: var(--maroon); border-radius: 24px; padding: clamp(26px, 4vw, 44px) clamp(22px, 4.5vw, 56px);
  box-shadow: 0 30px 60px -36px rgba(58, 24, 22, .7);
}
.kisi-card::before { /* faint Kirti Stambh watermark */
  content: ""; position: absolute; right: -60px; bottom: -70px; width: 300px; height: 300px;
  background: url("../img/emblem.png") no-repeat center / contain; opacity: .07; pointer-events: none;
}
.kisi-card .eyebrow { color: #e3b48f; }
.kisi-body { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 34px); align-items: center; margin-top: 18px; position: relative; }
.kisi-face {
  display: grid; place-items: center; width: clamp(84px, 11vw, 128px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 3px solid rgba(250, 243, 226, .85); background: var(--maroon-deep); transition: transform .4s var(--ease);
}
.kisi-face:hover { transform: scale(1.04) rotate(-2deg); }
.kisi-face img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.18) contrast(1.02); }
.kisi-face .mono { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--cream); }
.kisi-q { margin: 0; font-family: var(--display); font-size: clamp(1.35rem, 2.8vw, 2.05rem); line-height: 1.5; color: var(--cream); }
.kisi-context { margin: 10px 0 0; font-size: .95rem; font-style: italic; color: rgba(250, 243, 226, .7); }
.kisi-card figcaption { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.kisi-name { color: var(--cream); font-weight: 600; font-size: 1.1rem; text-decoration: none; border-bottom: 1px solid rgba(250, 243, 226, .4); }
.kisi-name:hover { border-bottom-color: var(--cream); }
.kisi-role { font-size: .92rem; color: rgba(250, 243, 226, .72); }
.kisi-credit { display: block; margin-top: 14px; font-size: .72rem; color: rgba(250, 243, 226, .45); position: relative; }
.kisi-next { font-family: var(--display); font-size: 1rem; color: #e3b48f; margin-left: auto; text-decoration: none; }
a.kisi-next:hover { text-decoration: underline; }
@media (max-width: 560px) {
  .kisi-body { grid-template-columns: 1fr; justify-items: start; }
}
@media (prefers-reduced-motion: reduce) { .kisi { opacity: 1; transform: none; transition: none; } }

.kisi-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; position: relative; }
.kisi-more { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.kisi-more[hidden] { display: none !important; }
.kisi-btn {
  display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer;
  color: var(--cream); background: transparent; border: 1.5px solid rgba(250, 243, 226, .55); border-radius: 99px; padding: 8px 16px;
  text-decoration: none; transition: background .25s, color .25s, border-color .25s;
}
.kisi-btn:hover { background: var(--cream); color: var(--maroon); border-color: var(--cream); }
.kisi-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.kisi-share { background: var(--cream); color: var(--maroon); border-color: var(--cream); }
.kisi-share:hover { background: transparent; color: var(--cream); }
.kisi-hint { flex-basis: 100%; font-size: .9rem; color: #f3d9b8; }
.kisi-hint:empty { display: none; }

/* Instagram handle on team cards */
.member .ig { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .82rem; font-weight: 600; color: var(--terracotta); text-decoration: none; max-width: 100%; }
.member .ig span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member .ig svg { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.member .ig svg .f { fill: currentColor; stroke: none; }
.member .ig:hover span { text-decoration: underline; }

/* Kisi Ne Kaha Tha: arrows on the card + the diary of past pages under it */
.kisi-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; }
.kisi-nav { display: inline-flex; gap: 8px; flex-shrink: 0; }
.kisi-arrow {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  background: transparent; color: var(--cream); border: 1px solid rgba(250, 243, 226, .45); transition: background .25s, color .25s;
}
.kisi-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kisi-arrow:hover:not(:disabled) { background: var(--cream); color: var(--maroon); }
.kisi-arrow:disabled { opacity: .28; cursor: default; }

.kisi-diary { margin-top: 26px; }
.kisi-diary-head { display: block; font-family: var(--display); color: var(--maroon); font-size: 1.15rem; margin: 0 0 4px 4px; }
.kisi-pages {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
  padding: 16px 6px 20px; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.kisi-page {
  flex: 0 0 112px; scroll-snap-align: center; position: relative; cursor: pointer; font: inherit; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 10px 12px; text-align: center;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 4px 10px 10px 4px;
  box-shadow: inset 6px 0 0 -3px rgba(81, 36, 34, .12), 0 8px 18px -14px rgba(58, 24, 22, .55);
  transform: rotate(var(--tilt, 0deg)); transition: transform .3s var(--ease), box-shadow .3s, background .3s;
}
.kisi-page:nth-child(3n+1) { --tilt: -1.6deg; }
.kisi-page:nth-child(3n+2) { --tilt: 1.1deg; }
.kisi-page::before { /* diary binding holes along the top */
  content: ""; position: absolute; top: 6px; left: 14px; right: 14px; height: 5px;
  background: radial-gradient(circle, rgba(81, 36, 34, .28) 2px, transparent 2.5px) 0 0 / 14px 5px repeat-x;
}
.kisi-page:hover { transform: translateY(-4px) rotate(0deg); }
.kisi-page.on { background: var(--cream); border-color: var(--maroon); transform: translateY(-6px) rotate(0deg); box-shadow: 0 14px 26px -16px rgba(58, 24, 22, .75); }
.kisi-page:focus-visible { outline: 2px solid var(--maroon); outline-offset: 3px; }
.kp-no { font-size: .7rem; letter-spacing: .04em; color: var(--ink-soft); }
.kp-face { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--maroon); border: 2px solid var(--maroon); }
.kp-face img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.25); }
.kp-face .mono { font-family: var(--display); font-size: 1.5rem; color: var(--cream); }
.kp-date { font-family: var(--display); font-size: 1rem; color: var(--maroon); line-height: 1.2; }
.kp-name { font-size: .78rem; line-height: 1.3; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
@media (prefers-reduced-motion: reduce) { .kisi-page, .kisi-page:hover, .kisi-page.on { transform: none; transition: none; } }
.kisi-rail { position: relative; }
.kisi-edge {
  position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; margin-top: -21px;
  border-radius: 50%; cursor: pointer; background: var(--maroon); color: var(--cream); border: 2px solid var(--paper);
  box-shadow: 0 8px 18px -8px rgba(58, 24, 22, .6); transition: opacity .25s, transform .25s var(--ease);
}
.kisi-edge svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.kisi-edge:hover { transform: scale(1.08); }
.kisi-edge:focus-visible { outline: 2px solid var(--maroon); outline-offset: 3px; }
.kisi-edge-l { left: -8px; }
.kisi-edge-r { right: -8px; }
.kisi-edge.off { opacity: 0; pointer-events: none; }
@media (max-width: 560px) { .kisi-edge { width: 36px; height: 36px; margin-top: -18px; } .kisi-edge-l { left: -4px; } .kisi-edge-r { right: -4px; } }
