/* ============================================================
   DUST OF VRAJ — design system v0.1
   White. Sattvic. All thriller, no filler.
   ============================================================ */

:root {
  /* polished silver stage: Mac-Mini aluminum, light sweeping the surface */
  --paper: #e8eaed;               /* page ground: silver base */
  --ink: #22262b;                 /* primary text: charcoal */
  --ink-soft: #5c6066;            /* secondary text: cool gray */
  --accent: #f0b64a;              /* marigold: lives on the dark metal bands */
  --accent-deep: #9d6c10;         /* darkened gold: accents on silver ground */
  --flame: #f89b1c;               /* electric lamp fire (retired from UI chrome) */
  --electric: #6c4df2;            /* electric indigo: titles, active states */
  --hover-gold: #f0b64a;          /* one marigold for ALL hovers, nav to footer */
  --accent-faint: rgba(240, 182, 74, 0.12);
  --line: #b9bdc3;                /* silver hairlines */
  --kicker-ink: #1e4a63;          /* teal-indigo: glowing section titles */

  /* gunmetal band (footer + signup bar) */
  --metal-dark-hi: #26282c;
  --metal-dark-lo: #141518;
  --metal-line: #3a3d42;
  --metal-text: #eef0f2;
  --metal-soft: #8f959d;

  --font-display: "Khand", "Arial Narrow", sans-serif;
  --font-nav: "Khand", "Arial Narrow", sans-serif;
  --font-ui: "Inter", -apple-system, "Helvetica Neue", sans-serif;

  --max: 1080px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --nav-h: calc(clamp(23px, 2.8vw, 37px) + 0.7rem + 1px); /* exact bar height: type + padding + hairline */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  /* F1 polished silver: specular sweep over aluminum */
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(165deg, #fbfcfd 0%, #e8eaed 40%, #d3d6da 72%, #eef0f2 100%);
  background-attachment: fixed, fixed;
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* full-window breakouts must never cause sideways scroll */
  /* no body padding: the footer itself reserves room for the fixed bar,
     so gunmetal runs seamlessly into gunmetal with no silver gap */
}

/* film grain: the whole page breathes texture. Nobody sees it; everyone feels it */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035; /* lighter touch on silver: texture, not dirt */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* menu wings, emblem dead center */
  align-items: center;
  padding: 0.35rem var(--pad);
  z-index: 10;
  /* pure white: the emblem's own paper */
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  animation: fadeIn 0.8s ease 0.2s both;
}

.nav-side {
  display: flex;
  justify-content: space-evenly; /* balanced spacing, mirrored either side */
  align-items: center;
}

.brand-girl {
  display: block;
  height: clamp(23px, 2.8vw, 37px); /* the emblem's lettering in modern gold */
  width: auto;
  transition: filter 0.3s ease;
}

.nav-brand:hover .brand-girl {
  /* glow up, never fade */
  filter: brightness(1.1) drop-shadow(0 0 9px rgba(240, 182, 74, 0.8)) drop-shadow(0 0 22px rgba(240, 176, 80, 0.35));
}

.nav-brand {
  display: block;
  line-height: 0;
  transition: filter 0.3s ease;
}

/* typographic mark: minimal, Sanskrit-inspired via Yatra One */
.brand-mark {
  display: inline-block;
  font-family: "Yatra One", var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  letter-spacing: 0.06em;
  line-height: 1.15;
  color: var(--ink);
  transition: color 0.25s ease;
}

.nav-brand:hover .brand-mark { color: var(--electric); }

.nav-links {
  list-style: none;
}

.nav-links a {
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: clamp(0.92rem, 2vw, 1.22rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.25s ease;
}

.nav-links a:hover { color: var(--hover-gold); text-shadow: 0 0 14px rgba(240, 176, 80, 0.55); }

/* ---------- hero: cinematic slideshow ---------- */

.hero-photo {
  padding-top: var(--nav-h); /* hero sits below the silver nav, never under it */
}

.hero-slides {
  position: relative;
  /* filmic frame: whole image visible between nav, dots, and signup bar */
  height: calc(100vh - var(--nav-h) - 4.2rem - 3.2rem);   /* fallback */
  height: calc(100svh - var(--nav-h) - 4.2rem - 3.2rem);
  min-height: 300px;
  overflow: hidden;
  background: #000; /* the cinema stays black regardless of page ground */
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateX(100%); /* waiting in the wings, stage right */
  transition: transform 1.25s cubic-bezier(0.77, 0, 0.175, 1);
  /* editorial film treatment: softened color, lifted contrast, warm cast */
  filter: saturate(0.82) contrast(1.08) brightness(1.02) sepia(0.14);
  will-change: transform;
}

.hero-art.is-active { transform: translateX(0); }
.hero-art.is-prev   { transform: translateX(-100%); } /* exits stage left */

/* per-slide framing: faces and skylines land where they should */
.hero-slides img:nth-child(1) { object-position: center 62%; } /* jagaa: lift the guys, lose spare sky */
.hero-slides img:nth-child(2) { object-position: center 28%; } /* rainbow arc + water-writing both in frame */
.hero-slides img:nth-child(3) { object-position: center 12%; } /* bros: both heads fully in frame */
.hero-slides img:nth-child(4) { object-position: center 35%; } /* sunset: cloud fan down into frame */

/* yantra dots: manual slide control under the frame */
.hero-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.15rem;
  padding: 0.85rem 0 0.35rem;
}

.hero-dots .dot {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--ink-soft);
  opacity: 0.55;
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.hero-dots .dot svg { width: 19px; height: 19px; display: block; }

.hero-dots .dot:hover { opacity: 0.9; }

.hero-dots .dot.is-on {
  color: var(--electric);
  opacity: 1;
  transform: scale(1.12);
}

@media (prefers-reduced-motion: reduce) {
  .hero-art { transition-duration: 0.5s; }
}

/* lotus garden: three blossoms, three scales, mirrored + tilted for depth.
   Outer .plant handles the rise animation; inner .lotus-stage holds the
   static tilt/mirror so the two transforms never fight. */
.garden {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(1.6rem, 5.5vw, 4.5rem);
  max-width: 100%;
}

.plant { opacity: 0; }

.plant.grow {
  animation: lotusRise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.plant.grown { opacity: 1; }

@keyframes lotusRise {
  from { opacity: 0; transform: translateY(34px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.lotus-stage {
  position: relative;
  aspect-ratio: 514 / 263; /* frame canvas */
}

/* blue: the crown, center, largest, faces forward */
.l-blue { z-index: 3; }
.l-blue .lotus-stage {
  width: clamp(230px, 34vw, 360px);
  transform: perspective(700px) rotateX(4deg);
}

/* pink: left, mid-size, mirrored, leaning in */
.l-pink { z-index: 2; }
.l-pink .lotus-stage {
  width: clamp(150px, 23vw, 245px);
  transform: scaleX(-1) rotate(6deg) translateY(4px);
}

/* white: right, smallest, tilted back */
.l-white { z-index: 1; }
.l-white .lotus-stage {
  width: clamp(120px, 18vw, 195px);
  transform: perspective(600px) rotateX(-7deg) rotate(-5deg) translateY(6px);
}

/* small garden (closes the page below the signup form) */
.garden--small { gap: clamp(0.7rem, 2.5vw, 2rem); margin-top: 3.2rem; }
.garden--small .l-blue .lotus-stage  { width: clamp(104px, 15.3vw, 162px); }
.garden--small .l-pink .lotus-stage  { width: clamp(68px, 10.4vw, 110px); }
.garden--small .l-white .lotus-stage { width: clamp(54px, 8.1vw, 88px); }

.lotus-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.lotus-frame.on { opacity: 1; }

/* wordmark + tagline: closes the page under the garden, 10% smaller */
.fc-mark { margin: 1.2rem 0 0.5rem; }

.fc-mark h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 3.4vw, 2.05rem);
  letter-spacing: 0.16em;
  text-indent: 0.16em; /* optically recenter tracked text */
  text-transform: uppercase;
  line-height: 1;
}

.fc-mark .tagline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.62rem, 1vw, 0.72rem);
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---------- sections ---------- */

section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) var(--pad);
  border-top: 1px solid var(--line);
}

/* tighten seams: close to the hero above, close to the records below */
#now {
  padding-top: clamp(2.2rem, 5vw, 3.4rem);
  padding-bottom: clamp(3.2rem, 8vw, 5.6rem);
}

/* Maharaj narrative rides over the lamp streaks: full ink, no gray */
#now .muted {
  color: #17191c;
  font-weight: 400;
}

.kicker {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--electric); /* electric indigo, violet aura dancing around it */
  margin-bottom: 1.4rem;
  /* electric aura: pale blue core, violet body, dancing */
  text-shadow:
    0 0 5px  rgba(190, 200, 255, 0.50),
    0 0 13px rgba(150, 110, 255, 0.68),
    0 -3px 26px rgba(124, 77, 255, 0.50),
    0 -6px 54px rgba(98, 60, 235, 0.30);
  animation: flameDance 4.6s ease-in-out infinite;
}

/* irregular beats: sway, dip, flare, recover — current in the wire */
@keyframes flameDance {
  0%, 100% {
    text-shadow:
      0 0 5px  rgba(190, 200, 255, 0.50),
      0 0 13px rgba(150, 110, 255, 0.68),
      0 -3px 26px rgba(124, 77, 255, 0.50),
      0 -6px 54px rgba(98, 60, 235, 0.30);
  }
  16% {
    text-shadow:
      0 0 5px  rgba(190, 200, 255, 0.54),
      1px -1px 14px rgba(150, 110, 255, 0.72),
      2px -4px 30px rgba(124, 77, 255, 0.55),
      1px -8px 60px rgba(98, 60, 235, 0.34);
  }
  31% {
    text-shadow:
      0 0 4px  rgba(190, 200, 255, 0.48),
      -1px 0 12px rgba(150, 110, 255, 0.62),
      -2px -3px 24px rgba(124, 77, 255, 0.46),
      -1px -5px 48px rgba(98, 60, 235, 0.26);
  }
  47% {
    text-shadow:
      0 0 6px  rgba(190, 200, 255, 0.56),
      0 -1px 16px rgba(150, 110, 255, 0.78),
      1px -5px 34px rgba(124, 77, 255, 0.60),
      0 -9px 68px rgba(98, 60, 235, 0.38);
  }
  62% {
    text-shadow:
      0 0 4px  rgba(190, 200, 255, 0.46),
      -1px 0 11px rgba(150, 110, 255, 0.58),
      -1px -2px 22px rgba(124, 77, 255, 0.42),
      0 -4px 44px rgba(98, 60, 235, 0.24);
  }
  78% {
    text-shadow:
      0 0 5px  rgba(190, 200, 255, 0.52),
      2px -1px 14px rgba(150, 110, 255, 0.70),
      1px -4px 28px rgba(124, 77, 255, 0.52),
      1px -7px 58px rgba(98, 60, 235, 0.32);
  }
  90% {
    text-shadow:
      0 0 5px  rgba(190, 200, 255, 0.49),
      0 0 12px rgba(150, 110, 255, 0.64),
      -1px -3px 25px rgba(124, 77, 255, 0.47),
      0 -5px 50px rgba(98, 60, 235, 0.27);
  }
}

@media (prefers-reduced-motion: reduce) {
  .kicker { animation: none; }
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.muted {
  color: var(--ink-soft);
  max-width: 34em;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* electric underlay (Option A test): light trails float behind the section.
   screen blend = black vanishes, only the lamps' light renders. */
.electric-zone {
  position: relative;
}

.electric-zone > * { position: relative; z-index: 1; }

/* full-window breakout: the trails run from the far left edge of the
   window to the far right, behind the section content. Left/right of
   the photo are never cropped; screen blend keeps the black invisible. */
.electric-zone .electric {
  position: absolute;
  z-index: 0;
  top: 4.8rem; /* breathing room below the hero photo, ~menu-bar height */
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: calc(100% - 4.8rem);
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.85; /* cutout PNG: streaks carry their own transparency now */
  pointer-events: none;
}

/* single / studio module */

.single-grid {
  display: grid;
  grid-template-columns: minmax(220px, 380px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start; /* headline rides level with the art's upper corner */
}

.single-art {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

/* single headline: one unbroken line */
.single-head {
  font-size: clamp(1.15rem, 2.4vw, 1.85rem);
  white-space: nowrap;
}

.lead-line {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.9rem;
}

.single-grid .muted + .muted { margin-top: 0.8rem; }

@media (max-width: 720px) {
  .single-head { white-space: normal; }
}

.art-placeholder {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 62%, var(--accent-faint), transparent 65%),
    var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-deep);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* listen row */

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.tile { display: block; }

/* LISTEN: Hawaii bamboo canopy, shot from below — cinema band */
#music {
  position: relative;
  text-align: center;
  /* taller band; top padding carries the caption's height so the ART
     (not the tile) sits optically centered: gap above art = gap below art */
  padding-top: clamp(5.4rem, calc(3.6vw + 3.6rem), 6.6rem);
  padding-bottom: clamp(2.2rem, 3.6vw, 3.4rem);
}

#music::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  /* upper canopy in frame: records land in the green pockets either side
     of the converging culms */
  background: url("assets/bamboo-bg.jpg") center 32% / cover no-repeat;
  border-top: 1px solid rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  z-index: 0;
}

#music > * { position: relative; z-index: 1; }

/* album art clean against the canopy: no outline, mystical glow on hover */
#music .art {
  border: none;
  transition: box-shadow 0.45s ease, filter 0.45s ease;
}

#music .tile:hover .art {
  border: none;
  /* candle-aura glow: warm core, wide soft halo */
  box-shadow:
    0 0 18px 4px rgba(240, 182, 74, 0.55),
    0 0 48px 14px rgba(248, 155, 28, 0.30),
    0 0 90px 30px rgba(255, 132, 38, 0.16);
  filter: brightness(1.04);
}

/* captions: marigold over foliage, sized to read */
#music .tile figcaption {
  color: var(--accent);
  font-size: 1.1rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}

#music .tile .sub {
  color: #f6d9a0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

/* Listen: two records, centered with air between them */
#music .tiles {
  display: flex;
  justify-content: center;
  gap: clamp(4.5rem, 13vw, 10rem); /* wide stance, symmetric by construction:
    centered flex = left cover's left margin mirrors right cover's right margin */
  flex-wrap: wrap;
  margin-top: 0; /* no kicker above: the records ARE the section */
}

#music .tile { width: clamp(235px, 26vw, 305px); }

.tile .art-placeholder { transition: border-color 0.3s ease; }
.tile:hover .art-placeholder { border-color: var(--accent); }

/* real artwork tiles: full art preserved (contain), letterboxed on near-black
   so dark covers read as one uninterrupted block */
.art {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #000; /* pure black letterbox, invisible against the void */
  border: 1px solid var(--line);
  transition: border-color 0.3s ease;
}

.tile:hover .art { border-color: var(--accent); }

.tile figcaption {
  font-family: var(--font-display);
  font-weight: 600;
  margin-top: 0.8rem;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tile .sub {
  color: var(--ink-soft);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  display: block;
  margin-top: 0.25rem;
}

/* hand-drawn ink kit: the human hand against the grid */
.no-rule { border-top: none !important; }

.ink-divider {
  display: block;
  margin: 0 auto 3rem;
  width: min(440px, 68%);
  height: auto;
  opacity: 0.75;
  filter: invert(0.92) sepia(0.3) hue-rotate(175deg); /* cream ink -> dark indigo on silver */
}

.ink-dinkus {
  display: block;
  margin: 0 auto 2.6rem;
  width: 42px;
  height: auto;
  opacity: 0.7;
  filter: invert(0.92) sepia(0.3) hue-rotate(175deg);
}

.ink-arrow {
  display: block;
  margin: 0.8rem auto 0.2rem;
  width: 64px;
  height: auto;
  opacity: 0.75;
  transform: rotate(102deg) scaleX(-1); /* curve it downward toward the form */
  filter: invert(0.92) sepia(0.3) hue-rotate(175deg);
}

.om-link {
  position: relative;
  display: block;
  width: 30px;
  margin: 0 auto 4.4rem;
}

.ink-om {
  display: block;
  width: 30px;
  height: auto;
  opacity: 0.55;
  transition: opacity 0.3s ease;
}

/* baked marigold twin sits on top, invisible until hover */
.ink-om--gold {
  position: absolute;
  inset: 0;
  opacity: 0;
}

/* om wakes up: the exact marigold of every other footer hover */
.om-link:hover .ink-om { opacity: 0; }
.om-link:hover .ink-om--gold { opacity: 1; }

.ink-lotus {
  width: 22px;
  height: auto;
  vertical-align: -5px;
  margin-right: 0.5rem;
  opacity: 0.7;
}

/* closing bookend: mirrored twin on the right */
.ink-lotus--end {
  margin-right: 0;
  margin-left: 0.5rem;
  transform: scaleX(-1);
}

/* MERCH: the falls, whole frame — section height IS the photo's height */
#merch {
  position: relative;
  min-height: calc(100vw * 0.6695); /* full image, top to bottom, no crop */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  padding-top: calc(100vw * 0.012); /* MERCH floats in the sky band */
  padding-bottom: calc(100vw * 0.03);
}

#merch .kicker { margin-bottom: 0; }

/* the sky MERCH is a door: glows brighter on approach */
.merch-link {
  display: inline-block;
  cursor: pointer;
  transition: color 0.25s ease;
}

.merch-link:hover { color: var(--hover-gold); text-shadow: 0 0 16px rgba(240, 176, 80, 0.6); }

#merch .merch-head {
  color: #ffffff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.65);
  margin: calc(100vw * 0.048) 0 calc(100vw * 0.022); /* rides the ridge line, in the green */
}

/* coming-soon line: rides the ridge where the grid will return */
#merch .merch-soon {
  color: #ffffff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.65);
  font-size: clamp(1rem, 1.9vw, 1.25rem);
  letter-spacing: 0.04em;
  margin: 0;
}

/* eight windows: 4 x 2, uniform, edge-safe */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.8rem, 1.8vw, 1.5rem);
  width: 100%;
}

@media (max-width: 640px) {
  .merch-grid { grid-template-columns: repeat(2, 1fr); }
}

#merch::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: url("assets/merch-bg.jpg?v=4") center / cover no-repeat;
  z-index: 0;
}

#merch > * { position: relative; z-index: 1; }

#merch h2 {
  color: #ffffff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.65);
}

#merch .muted {
  color: #eef2ea;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

#merch .art-placeholder {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(10, 20, 10, 0.35);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  color: #ffffff;
}

/* THE WAVE: liquid-silver water backdrop, full window, this section only.
   Tall zone — built to grow into a full media area (photos / videos / links) */
#gallery {
  position: relative;
  padding-top: clamp(5rem, 12vw, 8.5rem);
  padding-bottom: clamp(5rem, 12vw, 8.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center; /* strip rides the center of the water */
}

#gallery::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background:
    linear-gradient(rgba(232, 234, 237, 0.5), rgba(232, 234, 237, 0.3)),
    url("assets/waves-bg.jpg?v=4") center / cover no-repeat;
  z-index: 0;
}

#gallery > * { position: relative; z-index: 1; }

/* gallery: horizontal film-strip, each photo at its own aspect ratio,
   uniform height ~15% under the merch tiles */
.gallery-scroll {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  padding-bottom: 0.9rem;
  scrollbar-width: none; /* native bar hidden: the wave scrubber below steers */
  /* full-window breakout: the strip runs edge to edge; photos cut off at
     the right edge advertise that there is more to scroll */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-left: 0;
  padding-right: 0;
}

.gallery-scroll img {
  flex: 0 0 auto;
  height: clamp(180px, 26vw, 280px);
  width: auto;
  border: none;
  transition: box-shadow 0.45s ease, filter 0.45s ease;
}

/* happy-blue aura on hover: the Wave's answer to the records' candle glow */
.gallery-scroll img:hover {
  box-shadow:
    0 0 18px 4px rgba(90, 170, 255, 0.55),
    0 0 48px 14px rgba(70, 140, 255, 0.30),
    0 0 90px 30px rgba(60, 120, 255, 0.16);
  filter: brightness(1.05);
}

/* grid breaks: perfection with two mistakes reads as art */
.gallery-scroll img:nth-child(3) { transform: rotate(-2.1deg) translateY(4px); }
.gallery-scroll img:nth-child(5) { transform: rotate(1.4deg) translateY(-3px); }
.single-art { transform: rotate(-1.1deg); }

.gallery-scroll::-webkit-scrollbar { display: none; }

/* THE WAVE scrubber: visible bar + draggable wave handle */
.wave-scrub {
  position: relative;
  width: min(440px, 68%);
  height: 30px;
  margin: 1.4rem auto 0;
  cursor: pointer;
  touch-action: none;
}

.wave-scrub-track {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: rgba(40, 60, 90, 0.28);
  border-radius: 2px;
}

.wave-scrub-handle {
  position: absolute;
  left: 0; top: 0;
  width: 54px;
  height: 30px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(90, 170, 255, 0.55);
  border-radius: 15px;
  background: rgba(244, 247, 250, 0.92);
  color: #3577c8;
  cursor: grab;
  transition: box-shadow 0.3s ease;
  will-change: transform;
}

.wave-scrub-handle svg { width: 30px; height: 16px; display: block; }

.wave-scrub-handle:hover,
.wave-scrub.is-drag .wave-scrub-handle {
  box-shadow:
    0 0 14px 3px rgba(90, 170, 255, 0.5),
    0 0 34px 10px rgba(70, 140, 255, 0.25);
}

.wave-scrub.is-drag .wave-scrub-handle { cursor: grabbing; }

/* fan club */

.fanclub {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.fanclub > * { position: relative; z-index: 1; }

/* ghost layer: the Maharaja flag as a barely-there presence */
.ghost-flag {
  position: absolute;
  z-index: 0 !important;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(880px, 96%);
  height: auto;
  opacity: 0.07;
  filter: saturate(0.55);
  pointer-events: none;
  -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000 40%, transparent 90%);
  mask-image: radial-gradient(75% 75% at 50% 50%, #000 40%, transparent 90%);
}

/* fan club: the glowing kicker IS the title here, sized up ~27% */
.fanclub .kicker { font-size: 1.4rem; }

.fanclub .muted { margin: 0 auto; }

.fc-form {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

.fc-form input[type="email"] {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 0.85rem 1.1rem;
  width: min(320px, 100%);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s ease;
}

.fc-form input[type="email"]:focus { border-color: var(--accent); }

.fc-form button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.fc-form button:hover { background: transparent; color: var(--ink); }

.fc-note {
  margin-top: 1rem;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

.fc-confirm {
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  min-height: 1.2em;
}

/* fixed signup bar: always-ready capture, The Smile pattern */
.signup-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2.5vw, 2rem);
  padding: 0.6rem var(--pad);
  /* gunmetal gloss: matches the footer band */
  background:
    linear-gradient(108deg, rgba(255, 255, 255, 0) 40%, rgba(200, 210, 225, 0.12) 50%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(165deg, rgba(38, 40, 44, 0.97), rgba(20, 21, 24, 0.97));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--metal-line);
  color: var(--metal-text);
}

.sb-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sb-form {
  display: flex;
  gap: 0.4rem;
}

.sb-form input[type="email"] {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  padding: 0.45rem 0.8rem;
  width: min(220px, 40vw);
  border: 1px solid #4a4d52;
  background: transparent;
  color: var(--metal-text);
  outline: none;
  transition: border-color 0.25s ease;
}

.sb-form input[type="email"]:focus { border-color: var(--accent); }

.sb-form button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--metal-text);
  background: var(--metal-text);
  color: #17181b;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.sb-form button:hover { background: transparent; color: var(--metal-text); }

.sb-icons {
  display: flex;
  gap: 0.9rem;
  list-style: none;
  align-items: center;
}

.sb-icons a {
  color: var(--metal-soft);
  transition: color 0.25s ease;
  display: block;
}

.sb-icons a:hover { color: var(--accent); }

.sb-icons svg { width: 17px; height: 17px; display: block; }

@media (max-width: 760px) {
  .sb-label { display: none; }
  .sb-icons { display: none; }
  .sb-direct { display: none; }
  .sb-form { flex: 1; }
  .sb-form input[type="email"] { flex: 1; width: auto; }
}

/* footer */

footer {
  /* G2 gunmetal gloss: the contained dark band under the silver page */
  border-top: 1px solid var(--metal-line);
  background:
    linear-gradient(108deg, rgba(255, 255, 255, 0) 40%, rgba(200, 210, 225, 0.16) 50%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(165deg, var(--metal-dark-hi) 0%, #1a1c1f 48%, var(--metal-dark-lo) 78%, #212327 100%);
  color: var(--metal-text);
  padding: 2.5rem var(--pad) calc(2.4rem + 3.6rem); /* trimmed; bottom still clears the fixed bar */
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
}

.socials {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  flex-wrap: wrap;
  list-style: none;
}

/* direct line: WhatsApp + SMS, its own separated island */
.direct {
  border-left: 1px solid var(--metal-line);
  padding-left: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}

.direct-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.direct-pair {
  display: flex;
  gap: 1.4rem;
  justify-content: center;
}

.direct-pair a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--metal-soft);
  transition: color 0.25s ease;
}

.direct-pair a:hover { color: var(--accent); }

.direct-pair .ico { width: 22px; height: 22px; display: block; }

@media (max-width: 640px) {
  .direct { border-left: none; padding-left: 0; }
}

/* signup bar mirror: separated direct pair on the far right */
.sb-direct {
  margin-left: 0.2rem;
  padding-left: 1rem;
  border-left: 1px solid var(--metal-line);
}

.socials a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--metal-soft);
  transition: color 0.25s ease;
}

.socials .ico {
  width: 22px;
  height: 22px;
  display: block;
}

.socials a:hover { color: var(--accent); }

.colophon {
  /* its own bottom line, tucked to the right — clear of the social rows */
  margin-top: 2.6rem;
  text-align: right;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--metal-soft);
}

/* ---------- Merch store page: polished silver, 12 windows ----------
   Placeholders now; Printful/Shopify products deep-link in later (Pattern B) */

.store-page {
  min-height: 100svh;
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.5rem var(--pad) 4rem;
  text-align: center;
}

.store-brand {
  display: inline-block;
  margin-bottom: 2.6rem;
}

.store-brand img {
  height: clamp(25px, 3vw, 39px);
  width: auto;
  display: block;
}

.store-title {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  margin-bottom: 2.8rem;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.9rem, 2vw, 1.6rem);
}

@media (max-width: 720px) {
  .store-grid { grid-template-columns: repeat(2, 1fr); }
}

.store-back {
  position: fixed;
  top: 1.2rem;
  left: 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.25s ease;
  z-index: 5;
}

.store-back:hover { color: var(--hover-gold); }

/* ---------- Tour page: one screen, east-meets-west watercolor ---------- */

.tour-page {
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(2rem, 6vh, 4rem) var(--pad);
  text-align: center;
  /* painted night: peacock deep, indigo bloom, ember burning through */
  background:
    radial-gradient(60% 50% at 18% 28%, rgba(14, 82, 87, 0.85), transparent 70%),
    radial-gradient(50% 60% at 78% 18%, rgba(108, 77, 242, 0.42), transparent 72%),
    radial-gradient(42% 46% at 72% 74%, rgba(255, 108, 26, 0.5), transparent 72%),
    radial-gradient(36% 40% at 30% 78%, rgba(240, 182, 74, 0.22), transparent 70%),
    radial-gradient(70% 60% at 42% 55%, rgba(30, 74, 99, 0.8), transparent 78%),
    linear-gradient(175deg, #0b1026 0%, #070818 55%, #050510 100%);
}

.tour-brand {
  display: block;
  margin-top: clamp(0.5rem, 4vh, 2.5rem);
}

.tour-brand img {
  height: clamp(40px, 6.5vw, 72px);
  width: auto;
  display: block;
}

.tour-note {
  margin: 1.9rem 0 auto; /* rides right under the lettering */
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 3.2vw, 2rem);
  letter-spacing: 0.02em; /* crunched tight, Smile-style */
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.tour-back {
  position: fixed;
  top: 1.2rem;
  left: 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 242, 234, 0.6);
  transition: color 0.25s ease;
}

.tour-back:hover { color: var(--accent); }

/* ---------- Jaiva Dharma: the secret door ----------
   Kusha-mat ground, the altar offering framed like a print, one quiet gift */

.jaiva-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  padding: 3.4rem var(--pad) 8rem; /* deep bottom: room for every language's PDF */
  text-align: center;
  background:
    radial-gradient(130% 95% at 50% 42%, rgba(255, 252, 240, 0) 52%, rgba(58, 42, 18, 0.22) 100%),
    url("assets/kusha-bg.jpg?v=2") center / cover no-repeat fixed;
}

.jaiva-title {
  font-family: "Yatra One", var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.4vw, 3.4rem);
  letter-spacing: 0.04em;
  color: #33291a;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55), 0 10px 30px rgba(58, 42, 18, 0.25);
  line-height: 1.1;
}

.jaiva-author {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #6b5a3e;
  margin-bottom: 1.4rem;
}

/* Indian miniature-painting frame: black lacquer outside,
   ornamented gold band with red + indigo blossom dots inside */
.jaiva-frame {
  background: linear-gradient(160deg, #241c12, #120d08 60%, #1e1710);
  padding: clamp(8px, 1.2vw, 14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 190, 0.14),
    0 3px 10px rgba(40, 28, 10, 0.35),
    0 30px 80px rgba(40, 28, 10, 0.5);
}

.jaiva-frame-band {
  padding: clamp(12px, 1.8vw, 20px);
  background:
    radial-gradient(circle at 7px 7px, #a83a26 2.3px, transparent 2.9px),
    radial-gradient(circle at 21px 21px, #2e4f74 2.3px, transparent 2.9px),
    repeating-linear-gradient(45deg, rgba(120, 84, 28, 0.28) 0 5px, rgba(255, 240, 200, 0.12) 5px 10px),
    linear-gradient(#c9a052, #b88c3e);
  background-size: 28px 28px, 28px 28px, auto, auto;
  border: 1px solid #7c5a1e;
  box-shadow: inset 0 0 0 1px rgba(255, 240, 200, 0.35);
}

.jaiva-photo {
  display: block;
  height: min(78svh, 940px);
  width: auto;
  max-width: min(88vw, 720px);
  object-fit: cover;
  border: 1px solid rgba(60, 40, 12, 0.6); /* hairline seating the print in its band */
}

.jaiva-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin-top: 0.4rem; /* row is built to hold every language edition */
}

.jaiva-btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.85rem 2.8rem;
  background: #33291a;
  color: #f6efdd;
  border: 1px solid #33291a;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.jaiva-btn:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #ffffff;
}

.jaiva-back {
  position: fixed;
  top: 1.1rem;
  left: 1.3rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.jaiva-back img {
  height: 26px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(40, 28, 10, 0.45)); /* lifts the gold off the mat */
}

.back-arrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1;
  color: #cd7f46; /* sunset amber, same family as the lettering */
  text-shadow: 0 1px 3px rgba(40, 28, 10, 0.4);
}

.jaiva-back:hover { opacity: 0.8; transform: translateX(-2px); }

/* ---------- Jaiva Dharma book page ---------- */

.book-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 3.5rem var(--pad);
  text-align: center;
}

.book-back {
  position: fixed;
  top: 1.2rem;
  left: 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.25s ease;
}

.book-back:hover { color: var(--hover-gold); }

.book-title {
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  letter-spacing: 0.2em;
}

.book-author {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}

.book-cover {
  display: block;
  height: min(42svh, 400px); /* sized to the source scan: sharp over huge */
  width: auto;
  border: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
  background: #fff;
}

.book-btn {
  display: inline-block;
  margin-top: 1.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.8rem 2.6rem;
  background: var(--ink);
  color: #f4f5f7;
  border: 1px solid var(--ink);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.book-btn:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #ffffff;
}

/* ---------- responsive ---------- */

@media (max-width: 640px) {
  .single-grid { grid-template-columns: 1fr; }
  .nav-links a { font-size: 0.82rem; letter-spacing: 0.06em; }
}

/* ---------- reduced motion: everything lands, nothing moves ---------- */

@media (prefers-reduced-motion: reduce) {
  .nav, .plant {
    animation: none !important;
    opacity: 1 !important;
  }
  .lotus-frame { transition: none !important; }
  html { scroll-behavior: auto; }
}
