@font-face {
  font-family: "Tiro Devanagari Hindi";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/tiro-devanagari-hindi-devanagari-400-normal.woff2") format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: "Tiro Devanagari Hindi";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/tiro-devanagari-hindi-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Tiro Devanagari Hindi";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/tiro-devanagari-hindi-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Yatra One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/yatra-one-display.woff2?v=9e1cd629") format("woff2");
}
@font-face {
  font-family: "Yatra Wordmark";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/yatra-one-wordmark.woff2") format("woff2");
}

:root {
  --night: #12060a;
  --night-2: #1d0a10;
  --maroon: #38151D;
  --maroon-deep: #250c12;
  --maroon-ink: #1a080c;
  --ivory: #F3E5C7;
  --ivory-dim: rgba(243, 229, 199, .8);
  --paper: #fbf4e3;
  --gold: #C7A15A;
  --gold-hi: #ead08f;
  --gold-soft: rgba(199, 161, 90, .42);
  --gold-ink: #7a5a1e;
  --saffron: #EF7B35;
  --ink: #2b1016;
  --ink-soft: #5a3a40;
  --serif: "Tiro Devanagari Hindi", "Noto Serif Devanagari", "Kohinoor Devanagari", Georgia, serif;
  --display: "Yatra One", "Tiro Devanagari Hindi", serif;
  --wordmark: "Yatra Wordmark", var(--display);
  --fs-body: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  --fs-lead: clamp(1.15rem, 1.05rem + .45vw, 1.35rem);
  --fs-h3: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem);
  --fs-h2: clamp(2.6rem, 1.8rem + 3.4vw, 4.4rem);
  --fs-display: clamp(3.3rem, 1.9rem + 5.6vw, 6.6rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --grain: url("/assets/img/grain.webp");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: var(--fs-body);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
[lang="en"] { font-feature-settings: "onum" 1; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 20; background: var(--ivory); color: var(--maroon); padding: .5rem 1rem; border-radius: 6px; }
.skip:focus { top: 1rem; }

/* Gold leaf rule and diya dot */
.rule { display: flex; align-items: center; justify-content: center; gap: .9rem; margin: 1.1rem auto; color: var(--gold); }
.rule span {
  display: block; width: clamp(3.5rem, 14vw, 8rem); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199, 161, 90, .55) 40%, var(--gold-hi) 85%, #fff4d6);
  box-shadow: 0 0 6px rgba(234, 208, 143, .35);
}
.rule span:last-child { transform: scaleX(-1); }
.diya-dot {
  position: relative; display: inline-block; width: 9px; height: 9px; flex: none;
  background: linear-gradient(135deg, #fff1c9, var(--gold) 60%); transform: rotate(45deg); border-radius: 1px;
}
.diya-dot::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 123, 53, .6), transparent 65%);
  animation: glow 4.5s ease-in-out infinite;
}
@keyframes glow { 0%, 100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.15); } }

/* Buttons: the glow is a pseudo element so only opacity animates */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.5rem; border-radius: 999px;
  text-decoration: none; font-size: 1.05rem; line-height: 1.3;
  transition: transform .25s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: -10px; z-index: -1; border-radius: inherit;
  background: radial-gradient(closest-side, rgba(255, 166, 92, .6), transparent);
  opacity: 0; transition: opacity .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:hover::before, .btn:focus-visible::before { opacity: 1; }
.btn-primary {
  background: linear-gradient(180deg, #f6995a, var(--saffron) 55%, #df6a26); color: var(--maroon-ink);
  box-shadow: 0 1px 0 rgba(255, 236, 200, .55) inset, 0 12px 28px -14px rgba(239, 123, 53, .95);
}
.btn-ghost { border: 1px solid var(--gold-soft); color: var(--ivory); background: rgba(26, 8, 12, .35); }
.btn-ghost:hover { border-color: var(--gold); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* Hero: rigid depth planes cut from the painting. JS moves them a few px; the near plane never moves */
.hero { position: relative; isolation: isolate; background: var(--night); color: var(--ivory); overflow: clip; view-timeline: --hero block; }
.hero-art {
  --ar: .75; --fx: .5; --fy: .5; --mx: .239; --my: .201; --mg: 52%;
  position: relative; z-index: -1; container-type: size; aspect-ratio: 3 / 4; overflow: hidden;
}
.stage {
  --W: max(calc(100cqw + 24px), calc((100cqh + 24px) * var(--ar)));
  --H: calc(var(--W) / var(--ar));
  position: absolute; width: var(--W); height: var(--H);
  left: clamp(calc(100cqw + 12px - var(--W)), calc(50cqw - var(--fx) * var(--W)), -12px);
  top: clamp(calc(100cqh + 12px - var(--H)), calc(50cqh - var(--fy) * var(--H)), -12px);
}
.plane { position: absolute; inset: 0; }
.plane[data-depth] { will-change: transform; }
.plane img { width: 100%; height: 100%; }
.moon-glow {
  position: absolute; left: calc(var(--mx) * 100%); top: calc(var(--my) * 100%); width: var(--mg); aspect-ratio: 1;
  translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 244, 214, .5), rgba(255, 228, 170, .16) 46%, transparent);
  animation: moon 7s ease-in-out infinite alternate;
}
@keyframes moon { from { opacity: .5; transform: scale(.94); } to { opacity: 1; transform: scale(1.06); } }
.hero-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(18, 6, 10, .62) 0%, rgba(18, 6, 10, 0) 15%),
    linear-gradient(180deg, transparent 58%, rgba(18, 6, 10, .55) 80%, var(--night) 99%);
}

.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--wordmark); font-size: 1.2rem; line-height: 1; color: var(--ivory); }
.brand img { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 0 1px var(--gold-soft), 0 0 18px rgba(239, 123, 53, .45); }
.nav-links { display: none; }
.nav-sub {
  font-size: .95rem; text-decoration: none; padding: .45rem .95rem; border-radius: 999px;
  border: 1px solid var(--gold-soft); background: rgba(18, 6, 10, .4); white-space: nowrap;
  transition: border-color .2s var(--ease);
}
.nav-sub:hover { border-color: var(--gold); }
.nav-sub [lang="en"] { display: none; }

.hero-lockup { position: relative; margin-top: -16vw; padding: 0 1rem 3.5rem; text-align: center; }
.hero-lockup > * { animation: intro 1.2s var(--ease) both; }
.hero-lockup > :nth-child(2) { animation-delay: .12s; }
.hero-lockup > :nth-child(3) { animation-delay: .24s; }
.hero-lockup > :nth-child(4) { animation-delay: .32s; }
.hero-lockup > :nth-child(5) { animation-delay: .4s; }
.hero-lockup > :nth-child(6) { animation-delay: .46s; }
.hero-lockup > :nth-child(7) { animation-delay: .56s; }
@keyframes intro { from { opacity: 0; transform: translateY(18px); } }

.arch {
  position: relative; width: 132px; height: 172px; margin: 0 auto 1.1rem; padding: 4px;
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(160deg, #fff1c9, var(--gold) 35%, #8a6326 70%, var(--gold-hi));
  box-shadow: 0 0 0 5px rgba(18, 6, 10, .65), 0 0 0 6px var(--gold-soft), 0 24px 48px -16px rgba(0, 0, 0, .8);
}
.arch::before {
  content: ""; position: absolute; inset: -38%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(239, 123, 53, .42), transparent);
  animation: glow 6s ease-in-out infinite;
}
.arch picture { display: block; height: 100%; border-radius: inherit; overflow: hidden; background: radial-gradient(circle at 50% 38%, #f6a05e 0%, #c0592c 40%, #4a1a22 85%); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 4%; }

h1 { margin: 0; font-weight: 400; }
.wordmark {
  display: block; font-family: var(--wordmark); font-size: var(--fs-display); line-height: 1.12;
  color: var(--ivory); text-shadow: 0 2px 28px rgba(0, 0, 0, .55), 0 0 60px rgba(239, 123, 53, .18);
}
.wordmark-en {
  display: block; margin-top: .4rem; font-size: clamp(.82rem, .75rem + .3vw, 1rem); letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold); padding-left: .34em;
}
.byline { margin: .8rem 0 0; font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); color: var(--ivory-dim); }
.tagline { margin: 0; font-size: clamp(1.4rem, 1.15rem + 1.1vw, 2rem); line-height: 1.5; color: var(--ivory); }
.tagline-en { margin: 0 0 1.75rem; font-style: italic; color: rgba(243, 229, 199, .72); }

@media (min-width: 600px) {
  .hero-art { --ar: 1.7778; --fx: .44; --fy: .46; --mx: .271; --mg: 22%; aspect-ratio: 4 / 3; }
  .hero-lockup { margin-top: -16vw; }
}
@media (min-width: 960px) {
  .hero { min-height: max(min(100svh, 1080px), 620px); display: flex; flex-direction: column; justify-content: center; }
  .hero-art { position: absolute; inset: 0; aspect-ratio: auto; --fx: .42; --fy: .45; }
  .hero-art::after {
    background:
      linear-gradient(180deg, rgba(18, 6, 10, .6) 0%, rgba(18, 6, 10, 0) 16%),
      radial-gradient(46% 66% at 77% 64%, rgba(18, 6, 10, .84), rgba(18, 6, 10, .52) 55%, rgba(18, 6, 10, 0)),
      linear-gradient(180deg, transparent 72%, var(--night) 100%);
  }
  .topbar { padding: 1.25rem 2rem; }
  .nav-links { display: flex; gap: 2rem; list-style: none; margin: 0 0 0 auto; padding: 0; }
  .nav-links a { position: relative; text-decoration: none; color: rgba(243, 229, 199, .9); font-size: 1.05rem; padding: .3rem 0; }
  .nav-links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
    transform: scaleX(0); transition: transform .3s var(--ease);
  }
  .nav-links a:hover::after { transform: scaleX(1); }
  .nav-sub [lang="en"] { display: inline; }
  .hero-lockup { margin: 0 3.5vw 0 auto; width: min(580px, 42vw); padding: 7rem 0 4rem; }
  .arch { width: 168px; height: 218px; }
  .wordmark { white-space: nowrap; font-size: min(var(--fs-display), 6.1vw); }
}
@media (min-width: 1400px) { .hero-lockup { margin-right: 7vw; } }

/* Lamp path: diyas light as their section comes in (scroll-driven; IntersectionObserver fallback in JS) */
main {
  position: relative;
  background:
    var(--grain),
    radial-gradient(70rem 40rem at 15% 20%, rgba(239, 123, 53, .07), transparent 70%),
    radial-gradient(60rem 40rem at 85% 70%, rgba(199, 161, 90, .06), transparent 70%),
    linear-gradient(180deg, var(--night), var(--night-2) 50%, var(--night));
  background-size: 128px 128px, auto, auto, auto;
}
.path { position: relative; padding: 1rem 1rem 0; }
.path-fill { display: none; }
.station { position: relative; }

.lamp { --lamp-w: 44px; position: relative; display: block; width: var(--lamp-w); height: 48px; margin: 0 auto 1.25rem; view-timeline: --lamp block; }
.lamp::before {
  content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 3.5rem; margin-bottom: .5rem;
  background: linear-gradient(transparent, var(--gold-soft));
}
.bowl {
  position: absolute; left: 3px; right: 3px; bottom: 4px; height: 15px;
  border-radius: 3px 3px 50% 50% / 3px 3px 100% 100%;
  background: linear-gradient(180deg, #e6ae62, #a85d26 55%, #5e2c14);
  box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .8);
}
.bowl::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -4px; height: 7px; border-radius: 50%;
  background: linear-gradient(180deg, #f6cf8a, #b8752f); box-shadow: inset 0 -2px 2px rgba(60, 20, 8, .5);
}
.fire { position: absolute; left: 50%; bottom: 19px; width: 0; height: 0; }
.glow {
  position: absolute; left: -64px; bottom: -58px; width: 128px; height: 128px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 178, 92, .5), rgba(239, 123, 53, .16) 52%, transparent);
  animation: breathe 3.2s ease-in-out infinite alternate;
}
.flame { position: absolute; left: -6px; bottom: 0; width: 12px; height: 22px; transform-origin: 50% 100%; animation: flicker 1.9s ease-in-out infinite; }
.flame::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 12px; height: 12px;
  border-radius: 50% 0 50% 50%; transform: translateY(-2px) rotate(-45deg) scale(1, 1);
  background: radial-gradient(circle at 35% 65%, #fffdf2 0 20%, #ffe7a3 38%, #ffb04a 62%, rgba(239, 123, 53, .2) 90%);
  box-shadow: 0 0 10px 2px rgba(255, 190, 100, .7);
}
.flame::after {
  content: ""; position: absolute; left: 3px; bottom: 6px; width: 6px; height: 14px; border-radius: 50% 50% 40% 40% / 70% 70% 30% 30%;
  background: linear-gradient(180deg, rgba(255, 245, 210, 0), rgba(255, 236, 170, .9));
}
@keyframes flicker {
  0%, 100% { transform: scale(1, 1) rotate(0deg); }
  20% { transform: scale(.94, 1.08) rotate(-2deg); }
  45% { transform: scale(1.04, .95) rotate(1.5deg); }
  70% { transform: scale(.97, 1.05) rotate(-1deg); }
}
@keyframes breathe { from { opacity: .7; transform: scale(.92); } to { opacity: 1; transform: scale(1.08); } }
.station:hover .flame { animation-duration: .8s; }
.station:hover .glow { animation-duration: 1.2s; }

@supports (animation-timeline: view()) {
  .fire { animation: kindle linear both; animation-timeline: --lamp; animation-range: cover 10% cover 32%; }
}
@keyframes kindle { from { opacity: 0; transform: scale(.15); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
.io .lamp .fire { transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.io .lamp:not(.lit) .fire { opacity: 0; transform: scale(.15); }

@media (min-width: 960px) {
  .path { --line: max(2.5rem, calc(50vw - 600px)); padding: 2rem calc(var(--line) + 4rem) 0; }
  .path::before {
    content: ""; position: absolute; top: 0; bottom: 6rem; left: var(--line); width: 1px;
    background: linear-gradient(180deg, transparent, var(--gold-soft) 6%, var(--gold-soft) 94%, transparent);
  }
  .path-fill {
    display: block; position: absolute; top: 0; bottom: 6rem; left: calc(var(--line) - 1px); width: 3px; border-radius: 3px;
    background: linear-gradient(180deg, transparent, rgba(239, 123, 53, .9) 6%, var(--gold-hi) 60%, rgba(239, 123, 53, .9) 94%, transparent);
    box-shadow: 0 0 12px rgba(239, 123, 53, .55);
    transform-origin: 50% 0; opacity: .85;
  }
  @supports (animation-timeline: view()) {
    .path { view-timeline: --path block; }
    .path-fill { animation: path-fill linear both; animation-timeline: --path; animation-range: cover 50vh cover calc(100% - 50vh); }
  }
  .station > .lamp { position: absolute; left: calc(-4rem - var(--lamp-w) / 2); top: .25rem; margin: 0; }
  section.station > .lamp { top: 6.25rem; }
  .station > .lamp::before { display: none; }
}
@keyframes path-fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Reveal on scroll */
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
}
.io .reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.io .reveal:not(.lit) { opacity: 0; transform: translateY(28px); }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Epigraph */
.epigraph { margin: 3.5rem auto 1rem; padding: 0 1rem; text-align: center; }
.epigraph blockquote { margin: 0; }
.epigraph blockquote p {
  margin: 0; font-family: var(--display); font-size: clamp(1.7rem, 1.2rem + 2.4vw, 3rem); line-height: 1.35;
  color: var(--gold-hi); text-shadow: 0 0 40px rgba(239, 123, 53, .35); text-wrap: balance;
}
.epigraph figcaption { margin-top: .6rem; font-size: .95rem; color: rgba(243, 229, 199, .7); }

/* Section heads */
section { padding: 4.5rem 0; }
.section-head { text-align: center; max-width: 44rem; margin: 0 auto 2.75rem; }
.kicker { margin: 0; letter-spacing: .34em; text-transform: uppercase; font-size: .85rem; color: var(--gold); padding-left: .34em; }
h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: var(--fs-h2); line-height: 1.2; color: var(--ivory); }
.h2-en, .h3-en { display: block; font-family: var(--serif); font-style: italic; font-size: 1.1rem; letter-spacing: .04em; color: var(--gold); }
.section-sub { color: var(--ivory-dim); margin: 0; }
@media (min-width: 960px) {
  .section-head { text-align: left; margin: 0 0 3.25rem; }
  .section-head .rule { justify-content: flex-start; margin-left: 0; }
  .section-head .rule span:first-child { display: none; }
  .kicker { padding-left: 0; }
}

/* Bhajan cards */
.card {
  max-width: 68rem; margin: 0 auto 4.5rem; color: var(--ivory);
  border-radius: 22px; display: grid;
  background:
    var(--grain),
    radial-gradient(40rem 22rem at 100% 0%, rgba(239, 123, 53, .1), transparent 70%),
    linear-gradient(180deg, #2c1017, #1c0a10);
  background-size: 128px 128px, auto, auto;
  border: 1px solid rgba(199, 161, 90, .32);
  box-shadow: 0 1px 0 rgba(255, 230, 190, .08) inset, 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 60px -10px rgba(239, 123, 53, .45); opacity: 0; transition: opacity .5s var(--ease);
}
.card:hover::before { opacity: 1; }
.card:last-child { margin-bottom: 0; }
.card-media { padding: .6rem .6rem 0; }
.video { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 16px; background: var(--maroon); overflow: hidden; isolation: isolate; }
.video picture { display: block; height: 100%; }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
a.video:hover img { transform: scale(1.04); }
.card iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; background: #000; }
.play {
  position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem 1.15rem .45rem .5rem; border-radius: 999px; background: rgba(18, 6, 10, .82); color: var(--ivory);
  font-size: 1rem; line-height: 1.3; border: 1px solid var(--gold-soft);
}
.play svg { position: relative; width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--saffron); color: var(--maroon-ink); }
.play::before {
  content: ""; position: absolute; left: .5rem; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%;
  border: 2px solid var(--saffron); animation: ping 2.6s var(--ease) infinite;
}
@keyframes ping { from { opacity: .9; transform: scale(1); } 70%, to { opacity: 0; transform: scale(1.7); } }
.privacy-note { margin: 0; padding: .6rem .5rem 0; font-size: .85rem; line-height: 1.5; color: rgba(243, 229, 199, .66); }
.soon::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 6, 10, .05) 40%, rgba(18, 6, 10, .72)); }
.badge {
  position: absolute; z-index: 1; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .75rem;
  padding: .4rem 1.1rem; border-radius: 999px; color: var(--ivory); border: 1px solid var(--gold);
  background: rgba(18, 6, 10, .65); font-size: 1rem;
}
.card-head { padding: 1.5rem 1.4rem .5rem; }
.card-no { margin: 0 0 .35rem; font-size: .95rem; letter-spacing: .02em; color: var(--gold); }
.card h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: var(--fs-h3); line-height: 1.3; color: var(--ivory); }
.card-en { margin: 0 0 .9rem; font-style: italic; color: var(--gold); }
.meta { margin: 0 0 .9rem; color: var(--ivory-dim); font-size: 1rem; }
.meta cite { font-style: normal; color: var(--gold-hi); }
.soon-text { font-weight: 400; color: #ffad7a; }
.credit { margin: 0; padding-top: .9rem; border-top: 1px solid rgba(199, 161, 90, .28); font-size: 1rem; color: var(--ivory); }
.credit-music { color: var(--gold); }

.lyrics-panel { margin: .75rem 1.4rem 1.6rem; }
.lyrics-panel summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .65rem; min-height: 48px;
  padding: .55rem 1.25rem .55rem .95rem; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold-hi);
  position: relative; isolation: isolate; transition: transform .25s var(--ease);
}
.lyrics-panel summary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: rgba(199, 161, 90, .16); opacity: 0; transition: opacity .25s var(--ease);
}
.lyrics-panel summary:hover::after { opacity: 1; }
.lyrics-panel summary::-webkit-details-marker { display: none; }
.lyrics-panel summary::before {
  content: ""; width: .55rem; height: .55rem; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease);
}
.lyrics-panel[open] summary::before { transform: translateY(2px) rotate(-135deg); }
.sum-close, .lyrics-panel[open] .sum-open { display: none; }
.lyrics-panel[open] .sum-close { display: inline; }

.lyrics {
  margin-top: 1.4rem; padding: 2rem 1.25rem 1rem; text-align: center;
  font-size: clamp(1.15rem, 1.08rem + .3vw, 1.3rem); line-height: 2;
  border-top: 1px solid rgba(199, 161, 90, .28);
}
.lyrics p { margin: 0 0 1.5rem; break-inside: avoid; }
.lyrics .refrain { color: var(--gold-hi); font-size: 1.1em; }
.lyrics .refrain::before { content: ""; display: block; width: 6px; height: 6px; margin: 0 auto .6rem; background: var(--saffron); transform: rotate(45deg); box-shadow: 0 0 10px var(--saffron); }
.lyrics .echo { color: var(--gold); }
.lyrics-panel[open] .lyrics > p { animation: line-in .9s var(--ease) both; }
.lyrics > p:nth-child(2) { animation-delay: .08s; }
.lyrics > p:nth-child(3) { animation-delay: .16s; }
.lyrics > p:nth-child(4) { animation-delay: .24s; }
.lyrics > p:nth-child(5) { animation-delay: .32s; }
.lyrics > p:nth-child(6) { animation-delay: .4s; }
.lyrics > p:nth-child(7) { animation-delay: .48s; }
.lyrics > p:nth-child(8) { animation-delay: .56s; }
.lyrics > p:nth-child(9) { animation-delay: .64s; }
.lyrics > p:nth-child(10) { animation-delay: .72s; }
.lyrics > p:nth-child(11) { animation-delay: .8s; }
@keyframes line-in { from { opacity: 0; transform: translateY(12px); } }

@media (min-width: 960px) {
  section { padding: 6rem 0; }
  .card { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); margin-left: 0; }
  .card-media { grid-row: 1 / 3; padding: .75rem 0 .75rem .75rem; }
  .card-head { padding: 2.5rem 2.5rem .5rem; align-self: end; }
  .lyrics-panel { margin: .75rem 2.5rem 2.5rem; align-self: start; }
  .lyrics-panel[open] { grid-column: 1 / -1; grid-row: 3; margin-top: 0; }
  .lyrics { columns: 2; column-gap: 3rem; column-rule: 1px solid rgba(199, 161, 90, .25); padding: 2.5rem 2.5rem 1rem; }
  .lyrics-short { columns: 1; max-width: 34rem; margin-inline: auto; }
}

/* Poet page: a book that opens as it enters view */
.parichay .section-head { margin-bottom: 2.5rem; }
.book-wrap { view-timeline: --book block; perspective: 2600px; }
.book { max-width: 68rem; display: grid; gap: 1.25rem; transform-style: preserve-3d; }
.leaf { position: relative; transform-style: preserve-3d; }
.page {
  position: relative; height: 100%; padding: 2.5rem 1.4rem 2rem; color: var(--ink); border-radius: 6px;
  background:
    var(--grain),
    radial-gradient(120% 80% at 50% 0%, #fffaf0, var(--paper) 55%, #efe0bf);
  background-size: 128px 128px, auto;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 40px 70px -40px rgba(0, 0, 0, .95);
}
.page::before {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  border: 1px solid rgba(199, 161, 90, .55); outline: 1px solid rgba(199, 161, 90, .25); outline-offset: 4px; border-radius: 2px;
}
.cover { display: none; }
.running-head { margin: 0 0 1.25rem; text-align: center; font-size: .95rem; color: var(--gold-ink); }
.running-head::before { content: "— "; }
.running-head::after { content: " —"; }
.plate { margin: 0 auto 1.75rem; text-align: center; }
.plate img {
  width: 180px; height: 230px; margin: 0 auto; object-fit: cover; object-position: 50% 20%; border-radius: 50%;
  border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--gold), 0 0 0 6px var(--paper), 0 0 0 7px rgba(199, 161, 90, .5), 0 18px 30px -16px rgba(56, 21, 29, .6);
  filter: sepia(.12) saturate(.95);
}
.plate figcaption { margin-top: 1rem; font-size: .95rem; color: var(--ink-soft); }
.facts { margin: 0 auto; max-width: 26rem; }
.facts div { display: grid; grid-template-columns: 5.5rem 1fr; gap: .75rem; padding: .6rem 0; border-bottom: 1px dotted rgba(122, 90, 30, .45); }
.facts dt { color: var(--gold-ink); }
.facts dt::after { content: ":"; }
.facts dd { margin: 0; color: var(--ink); }
.lead { font-size: var(--fs-lead); color: var(--maroon); }
.page .en { font-style: italic; color: var(--ink-soft); font-size: 1.02rem; }
.page h3 { margin: 2rem 0 1rem; font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1.3; color: var(--maroon); }
.page .h3-en { color: var(--gold-ink); font-size: 1rem; }
.folio { margin: 1.5rem 0 0; text-align: center; color: var(--gold-ink); font-size: 1rem; }

.shelf {
  list-style: none; margin: 0; padding: 0 .25rem; display: flex; align-items: flex-end; justify-content: center; gap: 2px;
  border-bottom: 7px solid #6b3d1c; box-shadow: 0 8px 12px -8px rgba(56, 21, 29, .6);
}
.shelf li {
  --c: #5b1a26; --h: 12rem;
  position: relative; writing-mode: vertical-rl; width: 2rem; height: var(--h); padding: .9rem 0;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  font-family: var(--display); font-size: .9rem; line-height: 1; white-space: nowrap; color: var(--gold-hi);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .14), transparent 30%, transparent 70%, rgba(0, 0, 0, .3)), var(--c);
  transition: transform .4s var(--ease);
}
.shelf li::before, .shelf li::after {
  content: ""; position: absolute; left: 0; right: 0; height: 3px;
  border-block: 1px solid rgba(234, 208, 143, .8);
}
.shelf li::before { top: 8px; }
.shelf li::after { bottom: 8px; }
.shelf li:hover { transform: translateY(-10px); }
.shelf li:nth-child(2) { --c: #1f2a4a; --h: 10.5rem; }
.shelf li:nth-child(3) { --c: #1f3b2e; --h: 11.5rem; }
.shelf li:nth-child(4) { --c: #6b3a1a; --h: 12.5rem; }
.shelf li:nth-child(5) { --c: #3f1a3a; --h: 13rem; }
.shelf li:nth-child(6) { --c: #4a1016; --h: 14rem; }
.shelf li:nth-child(7) { --c: #173a40; --h: 11rem; }
.shelf li:nth-child(8) { --c: #6a4a10; --h: 10.5rem; }
.shelf li.this-one { --c: #8a3a12; --h: 13.5rem; box-shadow: 0 0 18px rgba(239, 123, 53, .55); }
.shelf-note { margin: 1rem 0 0; font-size: .95rem; color: var(--ink-soft); text-align: center; }
.shelf-note cite { font-style: normal; color: var(--maroon); }

@media (max-width: 959px) {
  @supports (animation-timeline: view()) {
    .page { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
  }
}
@media (min-width: 600px) {
  .page { padding: 3rem 2.75rem 2.25rem; }
  .shelf li { width: 2.6rem; font-size: 1rem; }
}
@media (min-width: 960px) {
  .book { grid-template-columns: 1fr 1fr; gap: 0; }
  .page { padding: 3.25rem 3rem 2.5rem; }
  .page-l { border-radius: 8px 0 0 8px; backface-visibility: hidden; }
  .page-r { border-radius: 0 8px 8px 0; }
  .page-l::after, .page-r::after { content: ""; position: absolute; top: 0; bottom: 0; width: 48px; pointer-events: none; }
  .page-l::after { right: 0; background: linear-gradient(90deg, transparent, rgba(56, 21, 29, .22)); }
  .page-r::after { left: 0; background: linear-gradient(270deg, transparent, rgba(56, 21, 29, .26)); }
  .leaf { transform-origin: 100% 50%; transform: translateZ(1px); }
  .cover {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
    position: absolute; inset: 0; border-radius: 8px 0 0 8px; backface-visibility: hidden; transform: rotateY(180deg);
    background:
      var(--grain),
      radial-gradient(70% 60% at 50% 42%, #5a1f2b, #38151d 60%, #250c12);
    background-size: 128px 128px, auto;
    box-shadow: inset -10px 0 18px -8px rgba(0, 0, 0, .6), 0 30px 60px -30px rgba(0, 0, 0, .9);
    color: var(--gold-hi); text-align: center;
  }
  .cover-frame { position: absolute; inset: 18px; border: 1px solid rgba(234, 208, 143, .7); outline: 1px solid rgba(234, 208, 143, .3); outline-offset: 6px; }
  .cover img { width: 72px; height: 72px; border-radius: 50%; box-shadow: 0 0 0 1px var(--gold-soft), 0 0 36px rgba(239, 123, 53, .6); }
  .cover-title { font-family: var(--wordmark); font-size: 2.6rem; line-height: 1.2; }
  .cover-sub { color: var(--gold); letter-spacing: .08em; }
  @supports (animation-timeline: view()) {
    .leaf { animation: leaf-open linear both; animation-timeline: --book; animation-range: entry 35% cover 48%; }
    .book { animation: book-center linear both; animation-timeline: --book; animation-range: entry 35% cover 48%; }
  }
  .io .leaf, .io .book { transition: transform 1.8s var(--ease); }
  .io .book-wrap:not(.lit) .leaf { transform: translateZ(1px) rotateY(180deg); }
  .io .book-wrap:not(.lit) .book { transform: translateX(-25%); }
}
@keyframes leaf-open { from { transform: translateZ(1px) rotateY(180deg); } to { transform: translateZ(1px) rotateY(0deg); } }
@keyframes book-center { from { transform: translateX(-25%); } to { transform: none; } }

/* Connect: the last lamp */
.connect { text-align: center; padding-bottom: 6rem; }
.connect-inner { max-width: 40rem; margin: 0 auto; }
.connect .h2-en { color: var(--gold); }
.connect p { color: var(--ivory-dim); margin-top: 1rem; }
.connect .actions { margin: 1.75rem 0; }
.contact a { color: var(--ivory); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.diya-glow { position: relative; width: 112px; height: 112px; margin: 0 auto 1.5rem; }
.diya-glow::before {
  content: ""; position: absolute; inset: -70%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 168, 82, .55), rgba(239, 123, 53, .18) 55%, transparent);
  animation: breathe 3.6s ease-in-out infinite alternate;
}
.diya-glow img { position: relative; width: 112px; height: 112px; border-radius: 50%; box-shadow: 0 0 0 1px var(--gold-soft); }
.site-footer {
  background: var(--maroon-ink); color: rgba(243, 229, 199, .72); border-top: 1px solid rgba(199, 161, 90, .25);
  padding: clamp(2rem, 4vw, 2.75rem) 1rem clamp(2.25rem, 5vw, 3rem); text-align: center;
  font-size: clamp(.8rem, .74rem + .25vw, .9rem); line-height: 1.6;
}
.footer-inner { max-width: 720px; margin: 0 auto; }
.site-footer p { margin: 0 0 .55rem; text-wrap: balance; }
.site-footer .footer-brand { font-family: var(--display); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); line-height: 1.3; color: var(--gold); margin-bottom: .9rem; }
.footer-brand [lang="en"] { font-family: var(--serif); font-size: .62em; color: rgba(243, 229, 199, .65); white-space: nowrap; }
.site-footer .footer-credit { color: rgba(243, 229, 199, .88); }
.footer-credit .keep { white-space: nowrap; }
.footer-credit .mark { display: inline-block; width: auto; height: 1.2em; margin-right: .45em; vertical-align: -.28em; border-radius: .25em; box-shadow: 0 0 0 1px var(--gold-soft); }
.site-footer .footer-legal { margin-bottom: 0; color: rgba(243, 229, 199, .6); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.notfound { min-height: 100svh; display: grid; place-items: center; background: var(--maroon-deep); color: var(--ivory); text-align: center; padding: 2rem 1rem; }
.notfound img { width: 96px; height: 96px; margin: 0 auto 1.5rem; border-radius: 50%; }
.notfound .wordmark { font-family: var(--display); font-size: clamp(2.6rem, 10vw, 4rem); }
.notfound p { margin-top: 2rem; }
