/* K Karan — "the shawl of words"
   Two dimensions share one layout:
   kkaran = kahwa plum + zari gold (Hindi/Urdu)   soul = moonlit indigo + silver thread (English) */

/* Palette: Midnight mehfil — ink-blue night, rose gold, lavender. */
:root {
  --bg:      #0e1328;   /* ink-blue night */
  --bg-2:    #1a2140;   /* a fold lighter */
  --ink:     #f1eef7;   /* moonlight */
  --ink-2:   #b9b6cc;   /* muted lavender-grey */
  --zari:    #e8b4a0;   /* rose gold thread */
  --zari-ink:#0e1328;   /* text on rose gold */
  --accent:  #a79bd8;   /* lavender */
  --line:    rgba(232, 180, 160, .26);
}
/* The two channels keep their own thread colour: K Karan = rose gold, The Soul = lavender */
[data-panel="soul"], .ch-soul { --zari: #a79bd8; --line: rgba(167, 155, 216, .3); }

:root {
  --f-hi: "Tiro Devanagari Hindi", "Noto Serif Devanagari", Georgia, serif;
  --f-ur: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;
  --f-ui: "Hind", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* modular scale, ratio 1.25 */
  --s-1: .8rem; --s0: 1rem; --s1: 1.25rem; --s2: 1.563rem; --s3: 1.953rem; --s4: 2.441rem; --s5: 3.052rem;
  --gutter: clamp(16px, 4vw, 48px);
  --measure: 68ch;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); transition: background-color .6s ease; }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-ui);
  transition: background-color .6s ease, color .6s ease;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
main { overflow-x: clip; }   /* sliding reveals never cause sideways scrolling */
a { color: inherit; text-decoration-color: var(--line); text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--zari); }
:focus-visible { outline: 2px solid var(--zari); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--f-hi); font-weight: 400; line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:lang(hi) { font-family: var(--f-hi); }
:lang(ur) { font-family: var(--f-ur); direction: rtl; line-height: 2.2; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--zari); color: var(--zari-ink); padding: 8px 14px; }
.skip:focus { left: 8px; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--wide { width: min(1320px, 100% - 2 * var(--gutter)); }
.center { text-align: center; }

/* bilingual switch: show the half that belongs to the active dimension */
[data-dim="kkaran"] [data-l="en"],
[data-dim="soul"] [data-l="hi"] { display: none; }

/* ---------------------------------------------------------------- shawl border */
.shawl-border {
  height: 40px;
  background: var(--zari);
  -webkit-mask: url("../img/border.svg") repeat-x center / 72px 40px;
          mask: url("../img/border.svg") repeat-x center / 72px 40px;
  opacity: .85;
}

/* ---------------------------------------------------------------- header
   Fixed bar that travels with the reader. Transparent over the hero,
   turns solid and slimmer once the page is scrolled (.is-solid, set by site.js). */
:root { --nav-h: 84px; --nav-h-solid: 64px; }
body { padding-top: var(--nav-h); }
.masthead {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.masthead__in {
  display: flex; align-items: center; gap: 32px;
  width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto;
  height: var(--nav-h); transition: height .35s ease;
}
.masthead.is-solid {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--line);
}
.masthead.is-solid .masthead__in { height: var(--nav-h-solid); }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; flex: none; }
.brand__buta { width: 22px; height: 26px; color: var(--zari); transition: transform .35s ease; }
.brand__name { font-family: var(--f-hi); font-size: var(--s2); letter-spacing: .01em; line-height: 1; }
.masthead.is-solid .brand__buta { transform: scale(.88); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: block; padding: 8px 12px;
  text-decoration: none; color: var(--ink-2); font-size: .98rem; font-weight: 500; white-space: nowrap;
  transition: color .2s;
}
.nav__link::after {          /* a thread that draws in under the active / hovered link */
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1.5px;
  background: var(--zari); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); opacity: .5; }
.nav__link[aria-current] { color: var(--ink); }
.nav__link[aria-current]::after { transform: scaleX(1); opacity: 1; }

.nav__auth {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--zari); color: var(--zari);
  text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.nav__auth svg { width: 18px; height: 18px; }
.nav__auth:hover, .nav__auth[aria-current] { background: var(--zari); color: var(--zari-ink); }

/* language switch (footer) */
.dim {
  display: inline-flex; padding: 3px; gap: 2px;
  border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer;
}
.dim__opt { padding: 4px 14px; border-radius: 999px; font-size: .9rem; line-height: 1.4; color: var(--ink-2); transition: background-color .3s, color .3s; }
.dim__opt[lang="hi"] { font-family: var(--f-hi); }
[data-dim="kkaran"] .dim__opt[data-for="kkaran"],
[data-dim="soul"] .dim__opt[data-for="soul"] { background: var(--zari); color: var(--zari-ink); }
.foot__lang { display: flex; justify-content: center; padding: 0 var(--gutter) 22px; }

.menu-btn { display: none; flex: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: none; cursor: pointer; position: relative; }
.menu-btn span:not(.sr) { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .25s; }
.menu-btn span:nth-child(1) { top: 17px; } .menu-btn span:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
body.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; border: 1px solid var(--zari);
  text-decoration: none; font-weight: 500; font-size: .98rem; line-height: 1.2; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn--zari { background: var(--zari); color: var(--zari-ink); }
.btn--zari:hover { background: var(--ink); border-color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--line:hover { border-color: var(--zari); }
.textlink { color: var(--zari); text-decoration: underline; text-decoration-color: var(--line); font-weight: 500; }
.kicker { color: var(--ink-2); font-size: .95rem; margin-bottom: 10px; }
.ch-kkaran, .ch-soul { color: var(--zari); }
.card[data-channel="soul"] .card__ch { color: #a79bd8; }

/* ---------------------------------------------------------------- hero: the couplet */
.hero {
  position: relative; text-align: center;
  min-height: min(88vh, 860px);
  margin-top: calc(-1 * var(--nav-h)); padding-top: calc(80px + var(--nav-h)) !important;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 80px var(--gutter) 110px;
  background: radial-gradient(ellipse 60% 50% at 50% 46%, color-mix(in srgb, var(--zari) 9%, transparent), transparent 70%);
}
.hero__sher {
  font-size: clamp(2.2rem, 6.4vw, 5.6rem);
  line-height: 1.32;
  max-width: 15em;
}
.misra { display: block; }
.misra + .misra { padding-left: 1.4em; }     /* the second misra steps in, as in a printed diwan */
.hero__en {
  font-family: var(--f-hi); font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--ink-2);
  margin: 28px 0 0; max-width: 32em;
}
.hero__sign { margin: 18px 0 0; color: var(--zari); font-family: var(--f-hi); font-size: var(--s1); }
.hero__sign::before { content: ""; display: inline-block; width: 40px; height: 1px; background: var(--zari); vertical-align: middle; margin-right: 12px; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.hero__border { position: absolute; left: 0; right: 0; bottom: 0; }

/* one orchestrated moment: the couplet is written word by word */
@keyframes ink { from { opacity: 0; filter: blur(8px); transform: translateY(.18em); } to { opacity: 1; filter: none; transform: none; } }
.hero .w, .hero__en, .hero__sign, .hero__cta { display: inline-block; animation: ink 1s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 140ms + 150ms); }
.hero__en, .hero__sign { display: block; }
.hero__cta { display: flex; }

/* ---------------------------------------------------------------- frames (thumbnails) */
.frame {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--bg-2);
  outline: 1px solid var(--line); outline-offset: 5px;   /* a mount, like framed calligraphy */
}
.frame img { width: 100%; height: 100%; object-fit: cover; transition: filter .3s; }
.frame__fallback {
  position: absolute; inset: 0; display: none; place-items: center; text-align: center; padding: 12%;
  font-family: var(--f-hi); font-size: clamp(1.1rem, 2.2vw, 1.6rem); line-height: 1.3; color: var(--zari);
  background:
    radial-gradient(circle at 50% 50%, transparent 60%, color-mix(in srgb, var(--bg) 70%, transparent)),
    var(--bg-2);
}
.frame__fallback:lang(ur) { font-family: var(--f-ur); }
.is-broken img { display: none; }
.is-broken .frame__fallback { display: grid; }
.frame__tag { position: absolute; right: 8px; bottom: 8px; background: var(--bg); color: var(--ink); font-size: .78rem; padding: 2px 8px; border-radius: 999px; }

/* ---------------------------------------------------------------- player */
.player { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.player img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__btn {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 84px; height: 84px; border-radius: 50%; border: 1px solid var(--zari);
  background: color-mix(in srgb, var(--bg) 55%, transparent); color: var(--zari); cursor: pointer;
  display: grid; place-items: center; transition: background-color .2s, color .2s, scale .2s;
}
.player__btn svg { width: 34px; height: 34px; margin-left: 4px; }
.player:hover .player__btn { background: var(--zari); color: var(--zari-ink); scale: 1.04; }
.player.is-broken .frame__fallback { display: grid; font-size: clamp(1.4rem, 4vw, 3rem); }

/* ---------------------------------------------------------------- featured */
.featured { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding: 96px 0 40px; }
.featured__media .player { outline: 1px solid var(--line); outline-offset: 8px; }
.featured__text h2 { font-size: var(--s4); }
.featured__text h2 a { text-decoration: none; }
.featured__alt { color: var(--ink-2); font-size: var(--s1); margin: 8px 0 0; }
.featured__sher { font-size: var(--s1); line-height: 1.7; margin: 22px 0; padding-left: 18px; border-left: 2px solid var(--zari); color: var(--ink); }
.featured__desc { color: var(--ink-2); margin: 18px 0; max-width: 46ch; }

/* ---------------------------------------------------------------- two dimensions */
.dims { padding: 80px 0 0; }
.dims__head { text-align: center; margin-bottom: 36px; }
.dims__head h2 { font-size: var(--s4); }
.dims__pair { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.dims__pair::after {      /* the stitched seam between the two halves */
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 0;
  border-left: 2px dashed #e8b4a0; opacity: .6;
}
.dimpanel { background: var(--bg-2); border-top: 1px solid var(--line); color: var(--ink); padding: clamp(36px, 5vw, 72px) clamp(20px, 5vw, 72px); }
.dimpanel__in { max-width: 520px; }
.dimpanel[data-panel="kkaran"] .dimpanel__in { margin-left: auto; }
.dimpanel h3 { font-size: var(--s3); }
.dimpanel h3 a { text-decoration: none; }
.dimpanel__label { color: var(--zari); margin: 6px 0 16px; font-size: 1rem; }
.dimpanel__blurb { color: var(--ink-2); max-width: 46ch; }
.dimpanel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.minilist { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--line); }
.minilist a { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.frame--mini { outline-offset: 3px; }
.frame--mini .frame__fallback { font-size: .8rem; padding: 6px; }
.minilist__t { font-family: var(--f-hi); font-size: 1.08rem; line-height: 1.35; }
.minilist a:hover .minilist__t { color: var(--zari); }

/* ---------------------------------------------------------------- grids & cards */
.latest { padding: 96px 0 40px; }
.latest__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 36px; }
.latest__head h2 { font-size: var(--s4); }
.latest__more { text-align: center; margin-top: 48px; }
.tabs { display: flex; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.tabs button { border: 0; background: none; padding: 6px 16px; border-radius: 999px; cursor: pointer; color: var(--ink-2); }
.tabs button[aria-selected="true"] { background: var(--zari); color: var(--zari-ink); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 52px 36px; }
.card[hidden] { display: none; }
.card__link { display: block; text-decoration: none; }
.card__ch { display: block; font-size: .88rem; margin-top: 18px; }
.card__title { display: block; font-family: var(--f-hi); font-size: var(--s1); line-height: 1.35; margin-top: 4px; }
.card__title:lang(ur) { font-family: var(--f-ur); line-height: 2; }
.card__title:lang(en) { font-family: var(--f-hi); }
.card__alt { display: block; color: var(--ink-2); font-size: .95rem; margin-top: 2px; }
.card__link:hover img { filter: brightness(1.12); }
.card__link:hover .card__title { color: var(--zari); }

/* ---------------------------------------------------------------- album */
.album { margin-top: 96px; background: var(--bg-2); border-block: 1px solid var(--line); }
.album__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding: 72px 0; }
.album__title { font-size: clamp(3rem, 9vw, 7.5rem); line-height: 1; color: var(--zari); }
.album__title small { display: block; font-size: var(--s2); color: var(--ink-2); margin-top: 10px; font-family: var(--f-ui); }
.album__text p { font-size: var(--s1); color: var(--ink); max-width: 34ch; }

/* ---------------------------------------------------------------- intro */
.intro { max-width: 760px; text-align: center; padding: 104px 0 96px; }
.intro h2 { font-size: var(--s3); margin-bottom: 22px; }
.intro__text { font-family: var(--f-hi); font-size: var(--s1); line-height: 1.8; color: var(--ink-2); }

/* ---------------------------------------------------------------- listing */
.listing { padding: 64px 0 96px; }
.listing__head { max-width: 760px; margin-bottom: 36px; }
.listing__head h1 { font-size: var(--s5); }
.listing__sub { color: var(--ink-2); font-size: var(--s1); margin-top: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.search { flex: 1 1 320px; }
.search input, .filters select {
  width: 100%; height: 46px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-2); color: var(--ink);
}
.filters select { width: auto; padding-right: 36px; }
.search input::placeholder { color: var(--ink-2); opacity: .8; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chips a { padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .95rem; color: var(--ink-2); }
.chips a:hover { color: var(--ink); border-color: var(--zari); }
.chips a[aria-current] { background: var(--zari); color: var(--zari-ink); border-color: var(--zari); }
.count { color: var(--ink-2); margin-bottom: 28px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 64px; }
.pager a { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; text-decoration: none; }
.pager a[aria-current] { background: var(--zari); color: var(--zari-ink); }

.empty { text-align: center; padding: 72px 0; color: var(--ink-2); }
.empty svg { width: 46px; height: 56px; color: var(--zari); margin: 0 auto 18px; display: block; }
.empty p { font-family: var(--f-hi); font-size: var(--s2); color: var(--ink); margin: 0 0 8px; }
.empty .empty__hint { font-family: var(--f-ui); font-size: 1rem; color: var(--ink-2); }

/* ---------------------------------------------------------------- watch page */
.watch__stage { padding: 40px 0 0; }
.watch__stage .player { outline: 1px solid var(--line); outline-offset: 8px; }
.watch__body { max-width: 980px; padding: 48px 0 0; }
.crumbs { color: var(--ink-2); font-size: .92rem; margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--zari); }
.watch__title { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.watch__title:lang(ur) { font-family: var(--f-ur); line-height: 2; }
.watch__alt { color: var(--ink-2); font-size: var(--s1); margin: 10px 0 0; }
.watch__meta { display: flex; gap: 18px; color: var(--ink-2); margin: 16px 0 26px; }
.watch__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.share { display: flex; gap: 16px; margin-left: auto; font-size: .95rem; }
.share a, .share button { color: var(--ink-2); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .2em; }
.share a:hover, .share button:hover { color: var(--zari); }

.lyrics { display: grid; gap: 56px; padding: 64px 0; border-bottom: 1px solid var(--line); text-align: center; }
.lyrics--pair { grid-template-columns: 1fr 1fr; }
.lyrics--pair .lyrics__col + .lyrics__col { border-left: 1px solid var(--line); }
.lyrics h2 { font-family: var(--f-ui); font-size: .95rem; color: var(--zari); margin-bottom: 32px; font-weight: 500; }
.sher { font-size: var(--s1); line-height: 1.75; margin: 0 auto 1.8em; max-width: 30em; }
.sher:lang(hi) { font-family: var(--f-hi); font-size: 1.32rem; }
.sher:lang(ur) { font-family: var(--f-ur); font-size: 1.3rem; line-height: 2.4; }
.sher:lang(en) { font-family: var(--f-hi); font-style: italic; }
.sher::after { content: ""; display: block; width: 18px; height: 18px; margin: 1.1em auto 0; background: var(--zari); opacity: .5;
  -webkit-mask: url("../img/border.svg") no-repeat 50% 55% / 72px 40px; mask: url("../img/border.svg") no-repeat 50% 55% / 72px 40px; }
.sher:last-child::after { display: none; }

.about-video { padding: 48px 0 0; }
.about-video h2 { font-size: var(--s2); margin-bottom: 16px; }
.prose { color: var(--ink-2); max-width: var(--measure); overflow-wrap: anywhere; }
.tags { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.tags a { color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.tags a:hover { color: var(--zari); }
.related { padding: 96px 0 104px; }
.related h2 { font-size: var(--s3); margin-bottom: 36px; }

/* ---------------------------------------------------------------- about page */
.about { max-width: 760px; padding: 72px 0 104px; }
.about__head { text-align: center; padding-bottom: 48px; border-bottom: 1px solid var(--line); margin-bottom: 56px; }
.about__head h1 { font-size: var(--s5); margin-bottom: 26px; }
.about__sher { font-family: var(--f-hi); font-size: var(--s3); line-height: 1.4; margin-bottom: 10px; }
.about__sher-en { font-family: var(--f-hi); font-style: italic; color: var(--ink-2); font-size: var(--s1); }
.about__sec { margin-bottom: 56px; }
.about__sec h2 { font-size: var(--s3); margin-bottom: 18px; color: var(--zari); }
.about__sec p { font-size: 1.12rem; line-height: 1.85; color: var(--ink); }
.about__sec p [lang="hi"] { font-size: 1.18rem; }
.about__ch { font-family: var(--f-hi); font-size: var(--s2); color: var(--ink); }

.notfound { text-align: center; padding: 120px 0; }
.notfound__sher { font-family: var(--f-hi); font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1.5; }
.notfound__en { color: var(--ink-2); margin: 22px auto 36px; max-width: 46ch; }

/* ---------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); }
.foot .shawl-border { opacity: .6; }
.foot__in { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding: 56px 0 40px; }
.foot__sher { font-family: var(--f-hi); font-size: var(--s2); line-height: 1.4; margin-bottom: 8px; }
.foot__sher-en { font-family: var(--f-hi); font-style: italic; color: var(--ink-2); max-width: 30ch; }
.foot__col { display: flex; flex-direction: column; gap: 8px; }
.foot__col h2 { font-family: var(--f-ui); font-size: .95rem; color: var(--zari); font-weight: 500; margin-bottom: 6px; }
.foot__col a { text-decoration: none; color: var(--ink-2); overflow-wrap: anywhere; }
.foot__col a:hover { color: var(--ink); }
.foot__copy { text-align: center; color: var(--ink-2); font-size: .88rem; padding: 18px var(--gutter) 28px; margin: 0; border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .featured, .album__in { grid-template-columns: 1fr; }
  .featured { padding-top: 72px; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 1100px) {
  .masthead__in { gap: 16px; }
  .nav { gap: 14px; }
  .nav__link { padding: 8px 8px; font-size: .94rem; }
  .nav__link::after { left: 8px; right: 8px; }
}
@media (max-width: 960px) {
  :root { --nav-h: 68px; --nav-h-solid: 60px; }
  .menu-btn { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - var(--nav-h));
    flex-direction: column; align-items: stretch; gap: 24px;
    background: var(--bg); padding: 16px var(--gutter) 32px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .masthead.is-solid .nav { height: calc(100dvh - var(--nav-h-solid)); }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 16px 2px; font-size: 1.2rem; border-bottom: 1px solid var(--line); font-family: var(--f-hi); font-weight: 400; }
  .nav__link::after { display: none; }
  .nav__link[aria-current] { color: var(--zari); }
  .nav__auth { justify-content: center; padding: 14px 18px; font-size: 1.05rem; }
  .masthead:has(.nav.is-open) { background: var(--bg); border-bottom-color: var(--line); }
}
@media (max-width: 860px) {
  .dims__pair { grid-template-columns: 1fr; }
  .dims__pair::after { display: none; }
  .dimpanel[data-panel="soul"] { border-top: 2px dashed #e8b4a0; }
  .dimpanel__in, .dimpanel[data-panel="kkaran"] .dimpanel__in { margin: 0; max-width: none; }
  .lyrics--pair { grid-template-columns: 1fr; }
  .lyrics--pair .lyrics__col + .lyrics__col { border-left: 0; border-top: 1px solid var(--line); padding-top: 56px; }
  .share { margin-left: 0; width: 100%; }
}
@media (max-width: 520px) {
  .brand__name { font-size: var(--s1); }
  .misra + .misra { padding-left: 0; }
  .hero { padding-top: 56px; min-height: 78vh; }
  .grid { gap: 40px; }
  .minilist a { grid-template-columns: 92px 1fr; }
  .foot__in { grid-template-columns: 1fr; }
  .listing__head h1 { font-size: var(--s4); }
}

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

/* ---------------------------------------------------------------- scroll reveals
   Add data-reveal to any element (optional style="--d:.2s" delay), or data-reveal-stagger
   to a parent so its children reveal one after another. Only active with JS on. */
html.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s ease var(--d, 0s), transform 1.05s cubic-bezier(.2, .7, .2, 1) var(--d, 0s);
}
html.js [data-reveal="left"]  { transform: translateX(-48px); }
html.js [data-reveal="right"] { transform: translateX(48px); }
html.js [data-reveal="zoom"]  { transform: scale(.95); }
html.js [data-reveal].is-in   { opacity: 1; transform: none; }

/* curtain: children are uncovered top to bottom */
html.js [data-reveal="curtain"] { opacity: 1; transform: none; }
html.js [data-reveal="curtain"] > * { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s cubic-bezier(.77, 0, .18, 1) var(--d, 0s); }
html.js [data-reveal="curtain"].is-in > * { clip-path: inset(0 0 0 0); }

/* mask: a heading slides up from behind its own baseline (site.js wraps its content in .rv-m) */
html.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(-0.15em -1em -0.35em -1em); }
html.js [data-reveal="mask"] .rv-m { display: inline-block; transform: translateY(115%); transition: transform 1.1s cubic-bezier(.2, .75, .15, 1) var(--d, 0s); }
html.js [data-reveal="mask"].is-in .rv-m { transform: none; }

/* the dotted seam between the two channel panels draws downwards */
html.js [data-reveal="seam"] { opacity: 1; transform: none; }
html.js [data-reveal="seam"]::after { transform: scaleY(0); transform-origin: top; transition: transform 1.6s cubic-bezier(.65, 0, .25, 1) .3s; }
html.js [data-reveal="seam"].is-in::after { transform: scaleY(1); }

/* footer: the embroidered border stitches itself across, then the columns follow */
html.js [data-reveal="foot"] { opacity: 1; transform: none; }
html.js [data-reveal="foot"] .shawl-border { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s cubic-bezier(.65, 0, .25, 1); }
html.js [data-reveal="foot"].is-in .shawl-border { clip-path: inset(0 0 0 0); }

/* cards: the thumbnail settles from a slight zoom as the card rises */
html.js .card[data-reveal] .frame img { transform: scale(1.12); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), filter .3s; }
html.js .card[data-reveal].is-in .frame img { transform: none; }

/* lyrics: each couplet fades in after the one before */
html.js .lyrics__col > [data-reveal] { transform: translateY(14px); }

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal], html.js [data-reveal] > *, html.js [data-reveal] .rv-m,
  html.js [data-reveal]::after, html.js [data-reveal] .shawl-border, html.js .card[data-reveal] .frame img {
    opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important;
  }
}
