/* ============================================================
   Viraj Bahri · Design System · colors_and_type.css
   The single source of CSS tokens for the brand.
   Reference: source/Visual Identity Foundation v0.1.txt §03---04
   ============================================================ */

/* ============================================================
   FONTS · three families self-hosted as variable TTFs.
   No external imports --- the page renders the brand's chosen
   faces even offline / on locked-down networks.
   ============================================================ */

/* ---------- Newsreader · Latin serif (display + body) ---------- */
@font-face {
  font-family: "Newsreader";
  src:
    url("../fonts/Newsreader-VariableFont_opsz_wght.ttf")
      format("truetype-variations"),
    url("../fonts/Newsreader-VariableFont_opsz_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src:
    url("../fonts/Newsreader-Italic-VariableFont_opsz_wght.ttf")
      format("truetype-variations"),
    url("../fonts/Newsreader-Italic-VariableFont_opsz_wght.ttf")
      format("truetype");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

/* ---------- Eczar · Devanagari companion ---------- */
@font-face {
  font-family: "Eczar";
  src:
    url("../fonts/Eczar-VariableFont_wght.ttf") format("truetype-variations"),
    url("../fonts/Eczar-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- JetBrains Mono · UI chrome (nav, labels, metadata) ---------- */
@font-face {
  font-family: "JetBrains Mono";
  src:
    url("../fonts/JetBrainsMono-VariableFont_wght.ttf")
      format("truetype-variations"),
    url("../fonts/JetBrainsMono-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src:
    url("../fonts/JetBrainsMono-Italic-VariableFont_wght.ttf")
      format("truetype-variations"),
    url("../fonts/JetBrainsMono-Italic-VariableFont_wght.ttf")
      format("truetype");
  font-weight: 100 800;
  font-style: italic;
  font-display: swap;
}

:root {
  /* ---------- COLOUR · core palette (Saanjh) ---------- */
  --vb-ink: #1a1815; /* near-black warm */
  --vb-walnut: #3d2920; /* deep wood */
  --vb-teak: #5a3a20; /* mid wood */
  --vb-brass: #a08653; /* aged brass */
  --vb-tungsten: #c98a3d; /* warm key light */
  --vb-bone: #efe9d9; /* paper / off-cream */

  /* ---------- COLOUR · functional accents (use sparingly) ---------- */
  --vb-wine: #5a1f25;
  --vb-steel: #b8b8ba;

  /* ---------- COLOUR · derived tonal steps ---------- */
  --vb-bone-deep: #e4dcc6; /* shaded bone */
  --vb-bone-soft: #f6f1e3; /* lifted bone */
  --vb-ink-soft: #2a241f; /* one step up from ink */
  --vb-shadow: rgba(26, 24, 21, 0.62);
  --vb-tungsten-glow: rgba(201, 138, 61, 0.18);

  /* ---------- COLOUR · semantic ---------- */
  --bg: var(--vb-bone);
  --bg-elevated: var(--vb-bone-soft);
  --bg-inverse: var(--vb-ink);
  --fg-1: var(--vb-ink); /* primary text on bone */
  --fg-2: var(--vb-walnut); /* secondary text */
  --fg-3: var(--vb-teak); /* tertiary / metadata */
  --fg-mute: rgba(26, 24, 21, 0.48); /* labels, plate fields */
  --fg-on-ink-1: var(--vb-bone);
  --fg-on-ink-2: rgba(239, 233, 217, 0.72);
  --fg-on-ink-3: rgba(239, 233, 217, 0.48);
  --accent: var(--vb-tungsten);
  --accent-deep: var(--vb-brass);
  --rule: rgba(26, 24, 21, 0.18);
  --rule-soft: rgba(26, 24, 21, 0.08);
  --rule-on-ink: rgba(239, 233, 217, 0.18);

  /* ---------- TYPOGRAPHY · families (3 faces) --------------------
     Serif  → Newsreader   wordmark, headings, body, leads
     Deva   → Eczar        Devanagari companion lines
     UI     → JetBrains Mono  nav, eyebrows, labels, metadata
     Legacy aliases (--font-display, --font-body, --font-mono) map
     to the three roles above for existing page styles.
  -------------------------------------------------------------- */
  --font-serif: "Newsreader", Georgia, serif;
  --font-deva: "Eczar", "Kohinoor Devanagari", serif;
  --font-ui:
    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-display: var(--font-serif);
  --font-body: var(--font-serif);
  --font-mono: var(--font-ui);

  /* ---------- TYPOGRAPHY · scale ----------
     Display = Newsreader italic. Body = Newsreader roman.
     UI = JetBrains Mono uppercase + tracked.
  ---------------------------------------------- */
  --t-display-1: clamp(56px, 8vw, 132px); /* hero / wordmark */
  --t-display-2: clamp(40px, 5vw, 72px); /* page / song title */
  --t-display-3: clamp(28px, 3vw, 44px); /* section opener */
  --t-h1: 40px;
  --t-h2: 28px;
  --t-h3: 20px;
  --t-body: 17px;
  --t-body-sm: 15px;
  --t-caption: 13px;
  --t-plate: 12px; /* CAT / TITLE / KEY / BPM / CUT */
  --t-plate-sm: 10px;

  --lh-tight: 1.02;
  --lh-snug: 1.18;
  --lh-body: 1.55;
  --lh-loose: 1.7;

  --tr-display: -0.018em; /* slightly tightened display */
  --tr-body: 0;
  --tr-ui: 0.22em; /* nav, eyebrows, labels */
  --tr-plate: var(--tr-ui);
  --tr-plate-tight: 0.08em;

  /* ---------- SPACING · 4px base ---------- */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* ---------- RADII · subtle, never decorative ---------- */
  --r-0: 0; /* default --- system favours hard edges */
  --r-1: 1px; /* hairline rounding */
  --r-2: 2px;
  --r-pill: 999px; /* used for tags only */

  /* ---------- BORDERS ---------- */
  --bd-hair: 0.5px solid var(--rule);
  --bd-hair-soft: 0.5px solid var(--rule-soft);
  --bd-1: 1px solid var(--rule);

  /* ---------- ELEVATION · paper-flat by default ----------
     Two levels only. Recognition comes from type and the plate,
     not from depth.
  ---------------------------------------------- */
  --shadow-0: none;
  --shadow-1: 0 1px 0 rgba(26, 24, 21, 0.06);
  --inner-warm: inset 0 0 60px rgba(201, 138, 61, 0.06);

  /* ---------- MOTION · slow, restrained ---------- */
  --ease-saanjh: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-1: 180ms;
  --dur-2: 320ms;
  --dur-3: 560ms;
  --dur-4: 900ms; /* fades to/from black */

  /* ---------- LAYOUT ---------- */
  --measure: 62ch; /* body copy width */
  --max-w: 1280px;
  --gutter: clamp(20px, 3vw, 48px);

  /* ---------- SCROLL PANELS · 50/50 sticky text + tall image ---------- */
  --scroll-image-min: clamp(1320px, 175vh, 2400px);
  --scroll-sticky-top: clamp(56px, 8vh, 96px);
  --scroll-display: clamp(44px, 5.6vw, 76px);
  --scroll-body: clamp(19px, 1.4vw, 23px);
  --scroll-eyebrow: 12px;
  --scroll-copy-pad-top: clamp(32px, 5vh, 56px);
  --scroll-copy-pad-bottom: clamp(96px, 18vh, 200px);
  --scroll-copy-gap: clamp(40px, 6vw, 72px);
}

/* ============================================================
   SEMANTIC ELEMENT DEFAULTS
   Apply this stylesheet at the page root and most things "just work".
   ============================================================ */

html {
  overflow-x: clip;
  width: 100%;
}

body {
  background: var(--bg);
  color: var(--fg-1);
  font-family: var(--font-serif);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  letter-spacing: var(--tr-body);
  font-feature-settings: "kern", "liga", "onum", "calt";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

main {
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

/* Full-bleed bands — no cream/dark edge bleed on zoom or scroll */
:is(
    .site-footer,
    .aangan,
    .listen-strip,
    .overture,
    .press-hero,
    .about-hero,
    .music-hero,
    .weddings-hero,
    .aangan-hero,
    .category-image,
    .album-image,
    .about-story,
    .about-intro
  ) {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: clip;
}

/* Overscan cover — prevents cream/dark edge bleed on zoom + parallax scroll */
:is(
    img[data-parallax-image],
    img.cover-overscan,
    .press-hero-image img,
    .about-hero-image img,
    .music-hero-image img,
    .weddings-hero-image img,
    .aangan-hero .hero-image,
    .aangan-image > img,
    .category-image img,
    .album-image img
  ) {
  min-width: calc(100% + 8px);
  min-height: calc(100% + 8px);
  margin: -4px;
}

/* Flow portraits use negative margin-top crops — never overscan/parallax */
.about-story-portrait img,
.about-intro-portrait img {
  min-width: 100%;
  min-height: 0;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
}

/* Display headings --- italic by default, mirroring the wordmark behaviour */
h1,
.h1,
.display-1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--t-display-1);
  line-height: var(--lh-tight);
  letter-spacing: var(--tr-display);
  color: var(--fg-1);
  margin: 0;
}
h2,
.h2,
.display-2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--t-display-2);
  line-height: var(--lh-snug);
  letter-spacing: var(--tr-display);
  color: var(--fg-1);
  margin: 0;
}
h3,
.h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--t-display-3);
  line-height: var(--lh-snug);
  letter-spacing: var(--tr-display);
  color: var(--fg-1);
  margin: 0;
}
h4,
.h4 {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 500;
  font-size: var(--t-h3);
  line-height: var(--lh-snug);
  margin: 0;
}

p,
.body {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
  font-size: var(--t-body);
  line-height: var(--lh-body);
  max-width: var(--measure);
  text-wrap: pretty;
  margin: 0;
}
.body-sm {
  font-size: var(--t-body-sm);
  line-height: var(--lh-body);
}
.caption {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: var(--t-caption);
  line-height: var(--lh-body);
  color: var(--fg-3);
}

/* Editorial lead / standfirst */
.lead,
.standfirst {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.55;
  text-wrap: pretty;
  color: var(--fg-2);
}

/* Devanagari companion --- always equal-weight to Latin */
.deva,
[lang="hi"] {
  font-family: var(--font-deva);
  font-weight: 500;
  letter-spacing: 0;
}

/* UI chrome · nav, eyebrows, labels, metadata */
.plate,
.meta,
.eyebrow,
.ui-label,
code,
kbd,
label,
button[type="submit"],
input,
textarea,
select {
  font-family: var(--font-ui);
}
.plate,
.meta,
.eyebrow,
.ui-label,
code,
kbd {
  font-size: var(--t-plate);
  letter-spacing: var(--tr-ui);
  text-transform: uppercase;
  color: var(--fg-2);
}
.plate-label,
.eyebrow {
  color: var(--fg-mute);
  font-size: var(--t-plate-sm);
}
input,
textarea,
select {
  font-family: var(--font-serif);
  font-style: normal;
  letter-spacing: var(--tr-body);
  text-transform: none;
  font-size: var(--t-body);
  color: var(--fg-1);
}
button[type="submit"] {
  letter-spacing: var(--tr-ui);
  text-transform: uppercase;
}

/* Inline */
em,
i {
  font-style: italic;
}
strong,
b {
  font-weight: 500;
} /* never bold */
a {
  color: inherit;
  text-decoration: none;
  border-bottom: 0.5px solid currentColor;
  padding-bottom: 1px;
  transition: opacity var(--dur-1) var(--ease-saanjh);
}
a:hover {
  opacity: 0.62;
}

hr,
.rule {
  border: 0;
  border-top: var(--bd-hair);
  margin: var(--s-7) 0;
}

::selection {
  background: var(--vb-tungsten);
  color: var(--vb-ink);
}

/* Ink-mode helper --- for full-bleed dark sections */
.on-ink {
  background: var(--bg-inverse);
  color: var(--fg-on-ink-1);
}
.on-ink p,
.on-ink .body {
  color: var(--fg-on-ink-2);
}
.on-ink hr {
  border-top-color: var(--rule-on-ink);
}
.on-ink .plate {
  color: var(--fg-on-ink-2);
}
.on-ink .plate-label {
  color: var(--fg-on-ink-3);
}

/* ============================================================
   MOTION · Saanjh reveal utilities
   One ease, one curve, four durations. Honours prefers-reduced-motion.
   ============================================================ */
.reveal,
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 900ms var(--ease-saanjh, cubic-bezier(0.22, 0.61, 0.36, 1))
      var(--stagger-delay, 0s),
    transform 900ms var(--ease-saanjh, cubic-bezier(0.22, 0.61, 0.36, 1))
      var(--stagger-delay, 0s);
  will-change: opacity, transform;
}
.reveal.is-in,
.reveal-stagger > .is-in {
  opacity: 1;
  transform: none;
}

/* Photographs carry a little depth without turning the page into a gallery. */
figure:has(> img) {
  isolation: isolate;
}
figure:has(> img)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1;
}
figure:has(> img) > img {
  transition:
    transform 900ms var(--ease-saanjh),
    filter 900ms var(--ease-saanjh);
  will-change: transform;
}
figure:has(> img) > img[data-parallax-image] {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.12);
}
figure:has(> img):hover > img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}
figure:has(> img):hover > img[data-parallax-image] {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.12);
}

/* Home Aangan band --- scroll parallax, no hover zoom */
figure.aangan-image > img[data-parallax-image] {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.14);
}
figure.aangan-image:hover > img[data-parallax-image] {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.14);
  filter: inherit;
}
.aangan [data-parallax-text] {
  transition:
    transform 900ms var(--ease-saanjh),
    opacity 900ms var(--ease-saanjh);
}

/* Scroll-linked text float */
[data-parallax-text] {
  transform: translate3d(0, var(--parallax-text-y, 56px), 0);
  will-change: transform, opacity;
}

/* Let image reveals feel like a curtain lifting, rather than a box appearing. */
figure.reveal > img {
  clip-path: inset(0 0 100% 0);
  transition:
    clip-path 1100ms var(--ease-saanjh),
    transform 900ms var(--ease-saanjh),
    filter 900ms var(--ease-saanjh);
}
figure.reveal.is-in > img {
  clip-path: inset(0 0 0 0);
}

@media (prefers-reduced-motion: reduce) {
  figure:has(> img) > img[data-parallax-image],
  figure:has(> img):hover > img[data-parallax-image] {
    transform: none;
  }
  [data-parallax-text] {
    transform: none;
    opacity: 1;
  }
}

/* Soft variant --- used for body text, less travel */
.reveal-soft {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 700ms var(--ease-saanjh, cubic-bezier(0.22, 0.61, 0.36, 1)),
    transform 700ms var(--ease-saanjh, cubic-bezier(0.22, 0.61, 0.36, 1));
}
.reveal-soft.is-in {
  opacity: 1;
  transform: none;
}

/* Brass hairline --- draws left to right when revealed */
.reveal-rule {
  position: relative;
  display: block;
  height: 0.5px;
  background: var(--rule, rgba(26, 24, 21, 0.18));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 900ms
    var(--ease-saanjh, cubic-bezier(0.22, 0.61, 0.36, 1));
}
.reveal-rule.is-in {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > *,
  .reveal-soft {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .reveal-rule {
    transform: scaleX(1);
    transition: none;
  }
  figure:has(> img) > img,
  figure.reveal > img {
    transition: none;
    transform: none;
    clip-path: none;
  }
}

/* ============================================================
   RELEASE PAGE · audio card
   Sits inline in the hero between the title-stack and listen-mini.
   Bone-on-ink panel mirroring the audio-transport prototype.
   ============================================================ */
.audio-card {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 0;
  align-items: stretch;
  background: var(--vb-ink-soft);
  color: var(--vb-bone);
  border: 0.5px solid rgba(239, 233, 217, 0.14);
  margin-top: clamp(20px, 2.5vw, 32px);
  position: relative;
  overflow: hidden;
}
.audio-card .ac-cover {
  background:
    radial-gradient(
      ellipse 80% 60% at 25% 30%,
      rgba(201, 138, 61, 0.32) 0%,
      transparent 60%
    ),
    linear-gradient(160deg, var(--vb-teak, #5a3a20) 0%, var(--vb-ink) 78%);
  border-right: 0.5px solid rgba(239, 233, 217, 0.14);
  position: relative;
}
.audio-card .ac-cover .ac-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(239, 233, 217, 0.5);
}
.audio-card .ac-body {
  padding: 14px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.audio-card .ac-plate {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(239, 233, 217, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.audio-card .ac-track-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.audio-card .ac-track-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1;
  letter-spacing: -0.018em;
  color: var(--vb-bone);
}
.audio-card .ac-track-deva {
  font-family: var(--font-deva);
  font-weight: 500;
  font-size: 13px;
  color: rgba(239, 233, 217, 0.62);
  letter-spacing: 0;
}
.audio-card .ac-scrub-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 14px;
  align-items: center;
  margin-top: 2px;
}
.audio-card .ac-scrub {
  position: relative;
  height: 18px;
  display: flex;
  align-items: center;
  cursor: pointer;
  grid-column: 1 / -1;
}
.audio-card .ac-scrub-track {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(239, 233, 217, 0.18);
}
.audio-card .ac-scrub-fill {
  position: absolute;
  left: 0;
  top: 50%;
  height: 1px;
  margin-top: -0.5px;
  width: 0%;
  background: var(--vb-tungsten);
  transition: width 80ms linear;
}
.audio-card .ac-scrub-thumb {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--vb-tungsten);
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition:
    left 80ms linear,
    transform 200ms var(--ease-saanjh, cubic-bezier(0.22, 0.61, 0.36, 1));
}
.audio-card .ac-scrub:hover .ac-scrub-thumb {
  transform: translate(-50%, -50%) scale(1.2);
}
.audio-card .ac-times {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(239, 233, 217, 0.55);
  grid-column: 1 / -1;
}
.audio-card .ac-transport {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 14px 6px;
  align-self: center;
}
.audio-card .ac-play {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: var(--vb-tungsten);
  color: var(--vb-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 200ms var(--ease-saanjh, cubic-bezier(0.22, 0.61, 0.36, 1)),
    transform 200ms var(--ease-saanjh, cubic-bezier(0.22, 0.61, 0.36, 1));
}
.audio-card .ac-play:hover {
  transform: scale(1.04);
}
.audio-card .ac-play .icon-play {
  display: block;
}
.audio-card .ac-play .icon-pause {
  display: none;
}
.audio-card .ac-play.is-playing .icon-play {
  display: none;
}
.audio-card .ac-play.is-playing .icon-pause {
  display: block;
}
.audio-card .ac-preview-tag {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(239, 233, 217, 0.42);
  white-space: nowrap;
  margin-left: 2px;
}

@media (max-width: 720px) {
  .audio-card {
    grid-template-columns: 64px 1fr auto;
  }
  .audio-card .ac-body {
    padding: 12px 14px;
  }
  .audio-card .ac-transport {
    padding: 0 14px 0 4px;
  }
  .audio-card .ac-preview-tag {
    display: none;
  }
}

@media (max-width: 480px) {
  .audio-card {
    grid-template-columns: 1fr auto;
  }
  .audio-card .ac-cover {
    display: none;
  }
}

/* ===== Mobile navigation (markup injected by _nav.js) ================== */
.mnav-toggle,
.mnav-panel {
  display: none;
}
body.mnav-open {
  overflow: hidden;
}
@media (max-width: 720px) {
  .nav-meta {
    display: none !important;
  }
  .strip {
    min-height: 76px;
    box-sizing: border-box;
  }
  .strip .nav-wordmark {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1;
  }
  .strip .nav-wordmark .latin {
    font-size: 28px;
    line-height: 0.92;
    letter-spacing: -0.018em;
  }
  .strip .nav-wordmark .deva {
    display: block;
    font-family: var(--font-deva);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    color: rgba(239, 233, 217, 0.72);
    text-align: right;
  }
  .mnav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: fixed;
    top: max(16px, env(safe-area-inset-top, 0px));
    right: max(var(--gutter), calc(env(safe-area-inset-right, 0px) + 12px));
    z-index: 100;
    height: 44px;
    width: 44px;
    padding: 0;
    box-sizing: border-box;
    background: rgba(26, 24, 21, 0.55);
    color: var(--vb-bone);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
  }
  .mnav-toggle .mnav-bar {
    display: block;
    width: 22px;
    height: 1px;
    background: currentColor;
    transition:
      transform var(--dur-2) var(--ease-saanjh),
      opacity var(--dur-2) var(--ease-saanjh);
  }
  .mnav-toggle[aria-expanded="true"] .mnav-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .mnav-toggle[aria-expanded="true"] .mnav-bar:nth-child(2) {
    opacity: 0;
  }
  .mnav-toggle[aria-expanded="true"] .mnav-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .mnav-panel {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 55;
    background: var(--vb-ink);
    color: var(--vb-bone);
    padding: calc(env(safe-area-inset-top, 0px) + 84px) var(--gutter) 32px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-6px);
    transition:
      opacity var(--dur-2) var(--ease-saanjh),
      transform var(--dur-2) var(--ease-saanjh);
  }
  .mnav-panel[hidden] {
    display: none;
  }
  .mnav-panel.is-open {
    opacity: 1;
    transform: none;
  }
  .mnav-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .mnav-links a {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(32px, 9.5vw, 48px);
    line-height: 1.14;
    letter-spacing: -0.018em;
    color: var(--vb-bone);
    border-bottom: 0;
    padding: 9px 0;
    min-height: 44px;
  }
  .mnav-links a[aria-current="page"] {
    color: var(--vb-tungsten);
  }
  .mnav-foot {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-top: 44px;
    padding-top: 16px;
    border-top: 0.5px solid rgba(239, 233, 217, 0.18);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(239, 233, 217, 0.5);
  }
  .mnav-foot .deva {
    font-family: var(--font-deva);
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mnav-panel {
    transition: none;
  }
}

/* ===== Async form status (contact / weddings inquiry / newsletter) ===== */
.async-form-status {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tr-ui);
  text-transform: uppercase;
  margin: 10px 0 0;
  max-width: none !important; /* must beat container rules like .footer-col p { max-width: Nch } */
}
.async-form-status.is-ok {
  color: var(--vb-tungsten);
}
.async-form-status.is-error {
  color: #b4483a;
}
.newsletter-form .async-form-status {
  flex: 1 0 100%;
  margin-top: 8px;
}
/* On success, collapse the now-empty fields --- only the status message remains */
form.is-done > *:not(.async-form-status) {
  display: none;
}
form.is-done .async-form-status {
  margin-top: 0;
  font-size: 13px;
}

/* ===== Form fields (shared · compact underline inputs) ============== */
.field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.field label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
  line-height: 1.2;
}
.field label .opt {
  color: var(--fg-3);
  margin-left: 4px;
  letter-spacing: 0.16em;
  font-size: 8px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: 0;
  border-bottom: 0.5px solid var(--rule);
  outline: 0;
  color: var(--fg-1);
  caret-color: var(--vb-tungsten);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.35;
  padding: 2px 0 4px;
  border-radius: 0;
  transition: border-color var(--dur-1) var(--ease-saanjh);
  -webkit-appearance: none;
  appearance: none;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--fg-mute);
}
.field select:invalid {
  color: var(--fg-mute);
}
.field select option {
  color: var(--fg-1);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-bottom-color: var(--vb-tungsten);
  outline: 0;
}
.field textarea {
  resize: vertical;
  min-height: calc(1.35em * 2 + 4px);
  max-height: 14em;
}
.field select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--fg-2) 50%),
    linear-gradient(135deg, var(--fg-2) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 10px,
    calc(100% - 10px) 10px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 26px;
}

.vb-form,
.contact-form,
.inquiry-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 560px;
}
.form-fields,
.fields {
  display: grid;
  gap: 14px;
}
.form-pair,
.pair,
.vb-form .row-2,
.contact-form .row-2,
.inquiry-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}
@media (min-width: 560px) {
  .form-pair,
  .pair,
  .vb-form .row-2,
  .contact-form .row-2,
  .inquiry-form .row-2 {
    gap: 14px 16px;
  }
}
@media (max-width: 360px) {
  .form-pair,
  .pair,
  .vb-form .row-2,
  .contact-form .row-2,
  .inquiry-form .row-2 {
    grid-template-columns: 1fr;
  }
}
.pair > .field:only-child,
.row-2 > .field:only-child {
  grid-column: 1 / -1;
}
.hp-field,
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}
.form-submit-row,
.submit-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.newsletter-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 0.5px solid rgba(239, 233, 217, 0.55);
  padding-bottom: 4px;
  gap: 10px;
}
.newsletter-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--vb-bone);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.35;
  padding: 2px 0;
}
.newsletter-form input::placeholder {
  color: rgba(239, 233, 217, 0.4);
}
.newsletter-form button {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vb-tungsten);
}

/* ===== Scroll panels · sticky copy + tall image ===================== */
.scroll-panel-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.2vw, 28px);
}
.scroll-panel-inner[data-parallax-text] {
  opacity: 1;
}
@media (min-width: 960px) {
  :is(.category-copy, .album-copy) {
    position: sticky;
    top: var(--scroll-sticky-top);
    align-self: start;
    box-sizing: border-box;
    padding-top: var(--scroll-copy-pad-top);
    padding-bottom: var(--scroll-copy-pad-bottom);
    max-width: 640px;
  }
  .category-copy {
    padding-left: var(--gutter);
    padding-right: clamp(24px, 4vw, 56px);
  }
  .album-copy {
    padding-left: clamp(24px, 4vw, 56px);
    padding-right: var(--gutter);
    margin-left: auto;
  }
  .album-copy .scroll-panel-inner {
    align-items: flex-end;
    max-width: 48ch;
    width: 100%;
    margin-left: auto;
    text-align: right;
  }
  :is(.category-image, .album-image) {
    min-height: var(--scroll-image-min);
  }
  :is(.category-image img, .album-image img) {
    min-height: var(--scroll-image-min);
  }
}
@media (min-width: 880px) {
  .about-intro-copy {
    position: sticky;
    top: var(--scroll-sticky-top);
    align-self: start;
    box-sizing: border-box;
    padding-top: var(--scroll-copy-pad-top);
    padding-bottom: var(--scroll-copy-pad-bottom);
    max-width: 640px;
    padding-left: var(--gutter);
    padding-right: clamp(24px, 4vw, 56px);
  }
  .about-intro-portrait {
    min-height: var(--scroll-image-min);
  }
  .about-intro-portrait img {
    min-height: var(--scroll-image-min);
  }
  .about-story-rail {
    align-items: stretch;
  }
  .about-story-copy {
    align-self: center;
    box-sizing: border-box;
    max-width: 640px;
    padding: clamp(64px, 10vw, 120px) clamp(24px, 4vw, 56px)
      clamp(64px, 10vw, 120px) var(--gutter);
    margin-left: auto;
  }
  .about-story-portrait {
    align-self: stretch;
    min-height: 100%;
  }
  .about-story-portrait img {
    min-height: 100%;
    height: 100%;
  }
}
@media (min-width: 880px) {
  :is(.bios-rail, .downloads-rail, .coverage-rail, .facts-rail, .pc-rail) {
    align-items: start;
  }
  :is(.bios-rail, .downloads-rail, .coverage-rail, .facts-rail, .pc-rail)
    > .section-head {
    position: sticky;
    top: var(--scroll-sticky-top);
    align-self: start;
    box-sizing: border-box;
    padding-top: var(--scroll-copy-pad-top);
    padding-bottom: var(--scroll-copy-pad-bottom);
  }
}
/* Scroll panels · phone: text first, image full-bleed after */
@media (max-width: 959px) {
  :is(.category, .album) {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }
  .category {
    padding-top: clamp(40px, 7vw, 64px);
  }
  .album {
    padding-top: clamp(40px, 7vw, 64px);
    border-top: 0;
  }
  :is(.category-rail, .album-rail) {
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 5vw, 48px);
  }
  :is(.category-copy, .album-copy) {
    order: 0;
    width: 100%;
    padding: 0 var(--gutter);
  }
  :is(.category-image, .album-image) {
    order: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    aspect-ratio: 4 / 5;
    min-height: clamp(300px, 70vw, 460px);
  }
  :is(.category-image, .album-image)::after {
    border: 0;
  }
  :is(.category-image img, .album-image img) {
    min-height: clamp(300px, 70vw, 460px);
  }
  .album-copy .scroll-panel-inner {
    align-items: flex-start;
    max-width: none;
    width: 100%;
    margin-left: 0;
    text-align: left;
  }
}
@media (max-width: 879px) {
  :is(.about-intro, .about-story) {
    padding-left: 0;
    padding-right: 0;
  }
  .about-intro {
    padding-top: clamp(40px, 7vw, 64px);
    padding-bottom: 0;
  }
  .about-story {
    padding-top: clamp(56px, 10vw, 80px);
    padding-bottom: clamp(48px, 8vw, 80px);
    border-top: 0;
  }
  .about-story-copy {
    padding-top: clamp(8px, 2vw, 16px);
  }
  :is(.about-rail, .about-story-rail) {
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 5vw, 48px);
  }
  :is(.about-intro-copy, .about-story-copy) {
    order: 0;
    width: 100%;
    padding: 0 var(--gutter);
  }
  :is(.about-intro-portrait, .about-story-portrait) {
    order: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    aspect-ratio: 4 / 5;
    min-height: clamp(300px, 70vw, 460px);
  }
  :is(.about-intro-portrait, .about-story-portrait)::after {
    border: 0;
  }
  :is(.about-intro-portrait img, .about-story-portrait img) {
    min-height: clamp(300px, 70vw, 460px);
  }
}
@media (max-width: 720px) {
  :is(.press-hero-content, .music-hero-content) {
    padding-bottom: clamp(28px, 5vw, 44px);
  }
  :is(.press-hero .page-title, .music-hero .catalogue-title) {
    font-size: clamp(40px, 11vw, 56px);
  }
  :is(.press-hero .lede-line, .music-hero .catalogue-framing) {
    font-size: clamp(22px, 5.5vw, 32px);
    max-width: none;
  }
  .inquiry-rail {
    grid-template-columns: 1fr !important;
    gap: clamp(28px, 4vw, 40px) !important;
  }
}

/* ===== Aangan register CTA + modal ================================= */
.aangan-register-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(24px, 3vw, 36px);
  width: 100%;
}
.aangan-register-cta__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 14ch;
  text-wrap: balance;
  color: var(--vb-bone);
  background-image: linear-gradient(
    105deg,
    rgba(239, 233, 217, 0.96) 0%,
    rgba(201, 160, 92, 1) 42%,
    rgba(239, 233, 217, 0.96) 84%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-position 900ms var(--ease-saanjh);
}
.aangan-register-cta:hover .aangan-register-cta__title,
.aangan-register-cta__title:hover {
  background-position: 100% 50%;
}
@supports not (background-clip: text) {
  .aangan-register-cta__title {
    color: var(--vb-bone);
    background-image: none;
  }
}
.aangan-register-btn {
  --glow-x: 50%;
  --glow-y: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--vb-bone);
  border: 0.5px solid rgba(201, 160, 92, 0.55);
  background: rgba(15, 12, 9, 0.18);
  padding: 16px 26px;
  border-radius: 1px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    color var(--dur-2) var(--ease-saanjh),
    border-color var(--dur-2) var(--ease-saanjh),
    box-shadow var(--dur-2) var(--ease-saanjh);
}
.aangan-register-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    150% 140% at var(--glow-x) var(--glow-y),
    rgba(201, 160, 92, 0.58) 0%,
    rgba(176, 120, 70, 0.42) 18%,
    rgba(110, 43, 34, 0.46) 36%,
    rgba(15, 12, 9, 0) 58%
  );
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease-saanjh);
  z-index: -1;
  pointer-events: none;
}
.aangan-register-btn:hover,
.aangan-register-btn:focus-visible {
  color: #fff8eb;
  border-color: rgba(201, 160, 92, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}
.aangan-register-btn:hover::before,
.aangan-register-btn:focus-visible::before {
  opacity: 1;
}
.aangan-register-btn--hero {
  color: var(--vb-bone);
  border: 1px solid rgba(201, 160, 92, 0.78);
  background: rgba(15, 12, 9, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 17px 28px;
  margin-top: clamp(8px, 1.2vw, 16px);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
  box-shadow:
    0 6px 28px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(239, 233, 217, 0.1);
}
.aangan-register-btn--hero::before {
  opacity: 0.28;
}
.aangan-register-btn--hero:hover,
.aangan-register-btn--hero:focus-visible {
  color: #fff8eb;
  border-color: rgba(224, 186, 120, 0.95);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(239, 233, 217, 0.14);
}
.aangan-register-btn--hero:hover::before,
.aangan-register-btn--hero:focus-visible::before {
  opacity: 1;
}

body.aangan-register-open {
  overflow: hidden;
}
.aangan-register-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: clamp(16px, 3vw, 32px);
}
.aangan-register-modal:not([hidden]) {
  display: grid;
  place-items: center;
}
.aangan-register-modal[hidden] {
  display: none !important;
}
.aangan-register-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 9, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.aangan-register-modal__panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(92vh, 960px);
  background: #f1e8d5;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.aangan-register-modal__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.aangan-register-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  background: rgba(110, 43, 34, 0.08);
  color: #6e2b22;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  border-radius: 1px;
  transition: background var(--dur-1) var(--ease-saanjh);
}
.aangan-register-modal__close:hover {
  background: rgba(110, 43, 34, 0.16);
}
.aangan-register-modal__frame {
  width: 100%;
  flex: 1 1 auto;
  min-height: min(78vh, 820px);
  border: 0;
  display: block;
  background: #f1e8d5;
}
@media (prefers-reduced-motion: reduce) {
  .aangan-register-cta__title,
  .aangan-register-btn,
  .aangan-register-btn::before {
    transition: none;
  }
}
