/* ==========================================================================
   Navrang design system
   Apple-inspired: lots of space, big type, one action per screen, quiet UI,
   and one festive gradient used sparingly.
   ========================================================================== */

/* Hero script font: Z003 by URW (free, AGPL-3 with font exception), bundled so it works offline */
@font-face {
  font-family: "Navrang Script";
  src: url(fonts/Z003-MediumItalic.otf) format("opentype");
  font-display: swap;
}

/* Hindi name: Noto Serif Devanagari Bold (free, OFL licence), bundled so it works offline */
@font-face {
  font-family: "Ekatmya Devanagari";
  src: url(fonts/NotoSerifDevanagari-Bold.ttf) format("truetype");
  font-display: swap;
}

:root {
  --deva: "Ekatmya Devanagari", "Noto Serif Devanagari", "Kohinoor Devanagari", "Devanagari Sangam MN", serif;
  --script: "Navrang Script", "Z003", "URW Chancery L", "Apple Chancery", cursive;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --green: #28cd41;
  --orange: #ff9f0a;
  --red: #ff3b30;
  --nav-bg: rgba(255, 255, 255, 0.72);
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.08);
  --brand: linear-gradient(120deg, #ff9f0a 0%, #ff375f 45%, #bf5af2 75%, #5e5ce6 100%);
  --pass-bg: linear-gradient(160deg, #2b1055 0%, #7a1f6b 48%, #d6336c 78%, #ff8a3d 100%);
  --radius: 22px;
  --radius-lg: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto,
    "Helvetica Neue", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #101012;
    --card: #1c1c1e;
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --text-3: #86868b;
    --line: rgba(255, 255, 255, 0.12);
    --blue: #2997ff;
    --blue-hover: #47a6ff;
    --nav-bg: rgba(22, 22, 23, 0.72);
    --shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.4);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.07; font-weight: 700; }
p { margin: 0; }
button, input, select { font: inherit; letter-spacing: inherit; color: inherit; }

.wrap { width: 100%; max-width: 1024px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 680px; }
.center { text-align: center; }
.muted { color: var(--text-2); }
.small { font-size: 14px; }
.gradient-text {
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Navigation (frosted glass) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 52px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 19px; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 22px; height: 22px; border-radius: 7px; background: var(--brand); }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 13px; white-space: nowrap; }
.nav-links a { color: var(--text); opacity: 0.8; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; text-decoration: none; }
.nav-links a[aria-current="page"] { font-weight: 600; }
.nav-cta { font-size: 13px; }
@media (max-width: 640px) {
  .nav .wrap { gap: 12px; }
  .nav-links { gap: 14px; }
  .nav-links .hide-sm { display: none; }
}

.proto-badge {
  text-align: center; font-size: 12px; padding: 6px 12px;
  background: var(--bg-alt); color: var(--text-2); border-bottom: 1px solid var(--line);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: 980px; cursor: pointer;
  padding: 12px 22px; font-size: 17px; font-weight: 500;
  transition: background 0.2s, transform 0.1s, opacity 0.2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--blue-hover); }
.btn-secondary { background: var(--bg-alt); color: var(--text); border: 1px solid var(--line); }
.btn-small { padding: 7px 15px; font-size: 14px; }
.btn-block { width: 100%; }
.link-arrow::after { content: " ›"; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.alt { background: var(--bg-alt); }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.headline { font-size: clamp(36px, 7vw, 64px); }
.subhead { font-size: clamp(21px, 3vw, 28px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.lead { font-size: clamp(19px, 2.4vw, 24px); color: var(--text-2); line-height: 1.35; margin-top: 16px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; text-align: center; overflow-x: clip; }
.hero h1 { font-size: clamp(64px, 16vw, 152px); letter-spacing: -0.05em; line-height: 0.95; }
.hero .year { display: block; font-size: 0.3em; letter-spacing: 0.2em; font-weight: 600; color: var(--text-2); margin-top: 10px; }
.hero .tagline { font-size: clamp(26px, 4.5vw, 44px); font-weight: 700; margin-top: 28px; }
.hero .meta { font-size: clamp(17px, 2.2vw, 21px); color: var(--text-2); margin-top: 12px; }
.hero .actions { display: flex; gap: 20px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.hero-glow {
  height: 220px; margin: 56px auto 0; max-width: 900px; border-radius: 50%;
  background: var(--brand); filter: blur(90px); opacity: 0.35;
}

/* ---------- Countdown ---------- */
.countdown { display: flex; gap: 12px; justify-content: center; margin-top: -150px; position: relative; }
.countdown .unit {
  min-width: 84px; padding: 18px 10px; border-radius: 20px;
  background: var(--card); box-shadow: var(--shadow); text-align: center;
}
.countdown .num { font-size: 40px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; line-height: 1; }
.countdown .lbl { font-size: 12px; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 6px; }
@media (max-width: 420px) {
  .hero-glow { height: 160px; margin-top: 40px; }
  .countdown { gap: 8px; margin-top: -110px; }
  .countdown .unit { min-width: 0; flex: 1; padding: 14px 4px; }
  .countdown .num { font-size: 30px; }
}

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid.single { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; text-align: center; }
.card {
  background: var(--card); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow);
}
section.alt .card { box-shadow: none; }
.card .icon { font-size: 34px; line-height: 1; margin-bottom: 18px; }
.card h3 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 6px; }
.card p { color: var(--text-2); }

.steps { counter-reset: step; }
.step { position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--text); color: var(--bg); font-weight: 700; margin-bottom: 18px;
}

/* Split feature (text + pass preview) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; text-align: center; } }

/* ---------- Lists, schedule, FAQ ---------- */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 0; }
.timeline .t { min-width: 88px; font-weight: 600; font-variant-numeric: tabular-nums; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 12px 0 12px 34px; position: relative; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 12px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; background: var(--green);
}
details { border-bottom: 1px solid var(--line); }
details summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-size: 19px; font-weight: 600;
  display: flex; justify-content: space-between; gap: 16px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-weight: 300; font-size: 26px; line-height: 0.9; color: var(--text-2); transition: transform 0.25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 20px; color: var(--text-2); }

.night-tabs { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }

/* Segmented control */
.segmented {
  display: inline-flex; padding: 3px; border-radius: 10px; background: var(--bg-alt);
  border: 1px solid var(--line); gap: 2px;
}
.segmented button {
  border: 0; background: transparent; padding: 7px 18px; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 500;
}
.segmented button[aria-pressed="true"] { background: var(--card); box-shadow: 0 1px 4px rgba(0,0,0,0.12); }

/* ---------- Ticket purchase ---------- */
.buy-step { margin-bottom: 44px; }
.buy-step h2 { font-size: 28px; margin-bottom: 18px; }
.buy-step h2 .muted { font-weight: 600; }
.choices { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.choice {
  text-align: left; cursor: pointer; padding: 20px; border-radius: 18px;
  background: var(--card); border: 2px solid var(--line); transition: border-color 0.15s, box-shadow 0.15s;
}
.choice:hover { border-color: var(--text-3); }
.choice[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent); }
.choice:disabled { opacity: 0.45; cursor: not-allowed; }
.choice .c-title { font-size: 19px; font-weight: 600; }
.choice .c-sub { color: var(--text-2); font-size: 15px; margin-top: 2px; }
.choice .c-price { font-size: 24px; font-weight: 700; margin-top: 12px; }
.choice .c-tag { display: inline-block; font-size: 12px; font-weight: 600; margin-top: 10px; padding: 3px 9px; border-radius: 99px; background: var(--bg-alt); color: var(--text-2); }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; background: var(--card); }
.stepper button { width: 48px; height: 48px; border: 0; background: transparent; font-size: 24px; cursor: pointer; color: var(--blue); }
.stepper button:disabled { color: var(--text-3); cursor: not-allowed; }
.stepper output { min-width: 44px; text-align: center; font-size: 21px; font-weight: 600; font-variant-numeric: tabular-nums; }

.form { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.field { position: relative; }
.field input, .field select {
  width: 100%; padding: 26px 16px 10px; border-radius: 12px; border: 1px solid var(--text-3);
  background: var(--card); font-size: 17px; outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.field label { position: absolute; left: 17px; top: 9px; font-size: 12px; color: var(--text-2); pointer-events: none; }
.field input:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 20%, transparent); }
.field.invalid input { border-color: var(--red); }
.field .err { color: var(--red); font-size: 13px; margin-top: 5px; display: none; }
.field.invalid .err { display: block; }

.summary {
  position: sticky; bottom: 0; z-index: 20; margin-top: 24px;
  background: var(--nav-bg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--line);
}
.summary .wrap { display: flex; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.summary .total { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.summary .breakdown { font-size: 13px; color: var(--text-2); }
.summary .btn { margin-left: auto; min-width: 150px; }

/* ---------- Sheet (fake checkout) ---------- */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.45);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.sheet-backdrop.open { opacity: 1; pointer-events: auto; }
.sheet {
  width: 100%; max-width: 460px; background: var(--card); color: var(--text);
  border-radius: 24px 24px 0 0; padding: 12px 24px 32px;
  transform: translateY(100%); transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}
.sheet-backdrop.open .sheet { transform: translateY(0); }
@media (min-width: 600px) { .sheet-backdrop { align-items: center; } .sheet { border-radius: 24px; } }
.sheet .grabber { width: 36px; height: 5px; border-radius: 3px; background: var(--text-3); opacity: 0.5; margin: 0 auto 18px; }
.sheet .row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sheet .row:last-of-type { border-bottom: 0; }
.sheet .amount { font-size: 44px; font-weight: 700; text-align: center; margin: 8px 0 18px; letter-spacing: -0.03em; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 100px; z-index: 200; transform: translate(-50%, 20px);
  background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: 14px; font-size: 15px;
  opacity: 0; transition: opacity 0.25s, transform 0.25s; pointer-events: none; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   The pass — modelled on an Apple Wallet event ticket
   ========================================================================== */
.pass-row {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px 22px 30px; margin: 0 -22px; justify-content: safe center;
  scrollbar-width: none;
}
.pass-row::-webkit-scrollbar { display: none; }
.pass-slot { scroll-snap-align: center; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }

.pass {
  position: relative; width: 340px; max-width: calc(100vw - 44px);
  border-radius: 20px; color: #fff; background: var(--pass-bg);
  box-shadow: 0 1px 2px rgba(0,0,0,0.2), 0 20px 50px -10px rgba(122, 31, 107, 0.55);
  /* The notch at the top, like Wallet event tickets */
  -webkit-mask: radial-gradient(circle 15px at 50% 0, transparent 14.5px, #000 15px);
  mask: radial-gradient(circle 15px at 50% 0, transparent 14.5px, #000 15px);
  font-family: var(--font); letter-spacing: -0.01em; overflow: hidden; text-align: left;
}
.pass::before {
  /* soft sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 60% at 0% 0%, rgba(255,255,255,0.18), transparent 60%);
}
.pass-inner { position: relative; padding: 18px 18px 20px; }
.pass-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pass-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; letter-spacing: 0.02em; }
.pass-logo .mark { width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(135deg, #ffd60a, #ff9f0a 40%, #ff375f); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.5); }
.pf .l { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.72; }
.pf .v { font-size: 17px; font-weight: 600; line-height: 1.2; margin-top: 2px; }
.pf.right { text-align: right; }
.pass-primary { margin: 26px 0 22px; }
.pass-primary .v { font-size: 38px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-top: 6px; }
.pass-primary .sub { font-size: 15px; opacity: 0.85; margin-top: 6px; }
.pass-fields { display: grid; grid-template-columns: 1.4fr 1fr 0.7fr; gap: 14px 12px; }
.pass-fields .pf:nth-child(3n) { text-align: right; }
.pass-fields + .pass-fields { margin-top: 14px; }
.pass-code { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pass-qr { background: #fff; padding: 10px; border-radius: 12px; width: 168px; height: 168px; }
.pass-qr svg { width: 100%; height: 100%; display: block; }
.pass-num { font-family: var(--mono); font-size: 14px; letter-spacing: 0.12em; opacity: 0.9; }

.pass.used .pass-qr { opacity: 0.25; }
.pass .stamp {
  position: absolute; left: 50%; bottom: 74px; transform: translateX(-50%) rotate(-8deg);
  border: 3px solid #fff; border-radius: 10px; padding: 4px 14px; font-weight: 800; font-size: 26px; letter-spacing: 0.1em;
  background: rgba(0,0,0,0.25);
}

/* Floating preview on the home page (scroll turns it; see index.html) */
.pass-float { display: flex; justify-content: center; perspective: 1200px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gallery-grid figure { margin: 0; border-radius: 16px; overflow: hidden; background: var(--bg-alt); aspect-ratio: 4 / 3; position: relative; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 10px; color: #fff; font-size: 14px; background: linear-gradient(transparent, rgba(0,0,0,0.6)); }
.soon-tile { aspect-ratio: 4 / 3; border-radius: 16px; background: var(--brand); opacity: 0.12; animation: pulse 2.4s ease-in-out infinite; }
.soon-tile:nth-child(2) { animation-delay: 0.3s; } .soon-tile:nth-child(3) { animation-delay: 0.6s; }
@keyframes pulse { 50% { opacity: 0.22; } }

/* ---------- Footer ---------- */
footer { background: var(--bg-alt); color: var(--text-2); font-size: 12px; padding: 28px 0 40px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer a { color: var(--text-2); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.static .reveal { transition: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Motion layer (only active when assets/motion.js adds .motion to <html>)
   ========================================================================== */
.motion main { animation: page-in 0.7s ease both; }
.no-intro main { animation: none; }
@keyframes page-in { from { opacity: 0; } }

/* Split headlines and staggered groups start hidden, then animate in */
[data-split] .w { display: inline-block; white-space: nowrap; }
[data-split] .c { display: inline-block; }
.motion [data-split]:not(.split-ready) { opacity: 0; }
.motion [data-split] .c { opacity: 0; }
.motion [data-stagger] > :not(.shown) { opacity: 0; }

/* Scroll-lit paragraph */
.words-section { padding: 120px 0; }
.words-text { font-size: clamp(30px, 5.2vw, 56px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.12; text-align: center; }
.words-text .w { transition: opacity 0.15s linear; }

/* ---------- Pinned particle hero ---------- */
.hero-pin { position: relative; padding: 0; }
.stage { position: relative; text-align: center; padding: 72px 0 40px; }
.stage .layer-1 h1 { font-size: clamp(64px, 19.5vw, 176px); letter-spacing: -0.05em; line-height: 0.95; }
.stage .year { display: block; font-size: clamp(18px, 3vw, 28px); letter-spacing: 0.3em; font-weight: 600; color: var(--text-2); margin-top: 14px; }
.stage .meta { font-size: clamp(17px, 2.2vw, 21px); color: var(--text-2); margin-top: 18px; }
.stage .actions { display: flex; gap: 20px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.stage .ring-text { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; margin-top: 48px; }
.stage .count-wrap { margin-top: 40px; }
.stage .countdown { margin-top: 0; }
.scroll-hint { display: none; }

.motion .hero-pin { height: 230vh; height: 230svh; }
.motion .stage {
  position: sticky; top: 52px; height: calc(100vh - 84px); height: calc(100svh - 84px); padding: 0; overflow: hidden;
  display: flex; flex-direction: column;
}
.stage .layer-1, .stage .layer-2, .stage .count-wrap { position: relative; z-index: 1; }
.stage .hero-glow { position: absolute; z-index: 0; left: 50%; top: 46%; width: min(900px, 120vw); height: 260px; margin: 0; transform: translate(-50%, -50%); }
.motion .stage .layer-1 { position: relative; z-index: 2; margin-top: auto; padding-top: 20px; will-change: transform, opacity; }
.motion .stage .layer-2 { position: absolute; z-index: 2; left: 0; right: 0; top: 46%; transform: translateY(-50%); opacity: 0; pointer-events: none; }
.motion .stage .ring-text { margin: 0; }
.motion .stage .count-wrap { position: relative; z-index: 2; margin: auto 0 0; padding: 0 22px max(28px, 4vh); }
.motion .scroll-hint {
  display: block; position: absolute; z-index: 2; left: 50%; bottom: 10px; transform: translateX(-50%);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3);
}
.motion .scroll-hint::after { content: ""; display: block; width: 1px; height: 18px; margin: 6px auto 0; background: currentColor; animation: hint 1.6s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.p-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; touch-action: pan-y; }
.particles-on .p-title { color: transparent; background: none; -webkit-text-fill-color: transparent; }
@media (max-width: 600px) {
  .motion .stage .layer-1 { padding-top: 40px; }
  .motion .stage .count-wrap { padding-bottom: 36px; }
}

/* ---------- Marquee band ---------- */
.marquee { padding: 56px 0; overflow: hidden; background: var(--bg); }
.mq-row { overflow: hidden; white-space: nowrap; }
.mq-track { display: inline-block; will-change: transform; font-size: clamp(48px, 9vw, 110px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.mq-track span { margin-right: 0.35em; }
.mq-track .star { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mq-row.outline .mq-track { color: transparent; -webkit-text-stroke: 1.5px var(--text-3); }
.mq-row.outline .mq-track .star { -webkit-text-stroke: 0; }

/* ---------- Gallery strip (photos glide sideways, edge to edge) ---------- */
.gallery-band { padding-bottom: 72px; }
.g-strip { padding: 8px 0 24px; background: transparent; }
.g-strip .mq-row + .mq-row { margin-top: 16px; }
.g-strip .mq-track { font-size: 0; line-height: 0; }
.g-tile {
  display: inline-block; vertical-align: top; width: clamp(200px, 30vw, 380px); aspect-ratio: 4 / 3;
  margin-right: 16px; border-radius: 22px; overflow: hidden; background: var(--card);
}
.g-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-ph-0 { background: linear-gradient(135deg, #ff9f0a, #ff375f); }
.g-ph-1 { background: linear-gradient(135deg, #bf5af2, #5e5ce6); }
.g-ph-2 { background: linear-gradient(135deg, #ff375f, #bf5af2); }
.g-ph-3 { background: linear-gradient(135deg, #ffd60a, #ff9f0a); }
.g-ph-4 { background: linear-gradient(135deg, #5e5ce6, #64d2ff); }
.g-ph-5 { background: linear-gradient(135deg, #ff2d55, #ff9f0a); }
.g-ph-6 { background: linear-gradient(135deg, #30d158, #64d2ff); }
.g-ph-7 { background: linear-gradient(135deg, #bf5af2, #ff375f); }

/* ---------- Feel the beat (always dark, like Apple's black product sections) ---------- */
.beat { background: #000; color: #f5f5f7; padding: 100px 0; }
.beat .lead { color: #a1a1a6; }
.beat-grid {
  display: grid; gap: 0; margin: 48px auto 0; max-width: 820px; touch-action: manipulation;
  cursor: pointer; user-select: none; -webkit-user-select: none;
}
.beat-grid .dot { display: block; width: 12px; height: 12px; margin: 12px auto; border-radius: 50%; background: #2c2c2e; }
@media (max-width: 600px) { .beat-grid .dot { width: 10px; height: 10px; margin: 9px auto; } }
.beat-controls { display: flex; gap: 12px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.beat .btn-secondary { background: #1c1c1e; color: #f5f5f7; border-color: rgba(255,255,255,0.14); }
.beat .btn-primary { background: #2997ff; }

/* ---------- Mandala CTA ---------- */
.mandala-cta { position: relative; overflow: hidden; padding: 220px 0; }
.mandala-cta .wrap { position: relative; z-index: 1; }
.mandala {
  position: absolute; left: 50%; top: 50%; width: min(760px, 150vw); height: auto; aspect-ratio: 1;
  transform: translate(-50%, -50%); opacity: 0.4; pointer-events: none;
}
.mandala g { animation: spin 90s linear infinite; transform-origin: center; transform-box: fill-box; }
.mandala path, .mandala circle { fill: none; stroke: url(#mg); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 0; stroke-linecap: round; }
.motion .mandala path, .motion .mandala circle { stroke-dashoffset: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Playful pass: tilt, glare, drag ---------- */
.pass.is-playful {
  transform: perspective(1000px) translate3d(var(--tx, 0px), var(--ty, 0px), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(var(--rz, 0deg));
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.pass.is-playful.is-active { transition: transform 0.12s linear; }
.pass.is-playful.is-dragging { transition: none; cursor: grabbing; }
.pass.is-playful::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,0.38), rgba(255,255,255,0) 50%);
  opacity: var(--glare, 0); transition: opacity 0.4s;
}

/* ---------- Confetti ---------- */
.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 400; }

/* ---------- Script typeface for the hero name, circle tagline and countdown ---------- */
.stage .layer-1 h1 .p-title {
  font-family: var(--deva); font-weight: 700; letter-spacing: 0;
  font-size: clamp(56px, 23vw, 184px); line-height: 1.25;
  padding: 0 0.08em;
}
/* "3.0" sits right after the Hindi name, in the script font, and is drawn by the particles too */
.stage .layer-1 h1 .p-title { white-space: nowrap; }
.stage .p-title .edition {
  display: inline-block; font-family: var(--script); font-weight: normal; letter-spacing: 0;
  font-size: 0.55em; line-height: 1; margin-left: 0.1em; vertical-align: 0.05em;
  -webkit-text-stroke: 0.02em currentColor;
}
.stage .ring-text { font-family: var(--script); font-weight: normal; letter-spacing: 0; font-size: clamp(38px, 6vw, 62px); line-height: 1.1; -webkit-text-stroke: 0.025em currentColor; }
.countdown .num { font-family: var(--script); font-weight: normal; letter-spacing: 0; font-size: 46px; -webkit-text-stroke: 1px currentColor; }
@media (max-width: 420px) { .countdown .num { font-size: 36px; } }

/* ==========================================================================
   Wave route (schedule)
   ========================================================================== */
.journey { position: relative; --row: 190px; --pin: 52px; --side: 16%; margin-top: 8px; }
.j-svg { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.j-base { fill: none; stroke: var(--text-3); stroke-opacity: 0.45; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 0 13; }
.j-done { fill: none; stroke: url(#jg); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.j-dot {
  position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; z-index: 2;
  border-radius: 50%; background: #fff; border: 5px solid #ff375f;
  box-shadow: 0 0 0 6px rgba(255, 55, 95, 0.18), 0 4px 14px rgba(255, 55, 95, 0.5);
  transition: opacity 0.3s; will-change: transform;
}
.j-dot::after { content: ""; position: absolute; inset: -11px; border-radius: 50%; border: 2px solid rgba(255, 55, 95, 0.5); animation: j-ping 1.6s ease-out infinite; }
.j-dot.hidden { opacity: 0; }
@keyframes j-ping { from { transform: scale(0.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.j-stops { list-style: none; margin: 0; padding: 40px 0; position: relative; z-index: 1; }
.j-stop { position: relative; height: var(--row); }
.j-pin {
  position: absolute; top: 50%; width: var(--pin); height: var(--pin); margin: calc(var(--pin) / -2) 0 0 calc(var(--pin) / -2);
  display: grid; place-items: center; font-size: 24px; border-radius: 50%;
  background: var(--card); box-shadow: 0 0 0 2px var(--line), var(--shadow);
  transform: scale(0.82); transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s;
}
.j-stop.left .j-pin { left: var(--side); }
.j-stop.right .j-pin { left: calc(100% - var(--side)); }
.j-card {
  position: absolute; top: 50%; width: min(360px, calc(100% - var(--side) - 70px));
  padding: 16px 20px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow);
  transition: opacity 0.5s, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.j-stop.left .j-card { left: calc(var(--side) + 46px); transform: translateY(-62%); }
.j-stop.right .j-card { right: calc(var(--side) + 46px); transform: translateY(-62%); text-align: right; }
.j-time { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.j-title { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-top: 2px; }
.j-note { font-size: 15px; color: var(--text-2); margin-top: 2px; }
/* Before the travelling dot arrives, stops wait quietly */
.motion .j-stop:not(.on) .j-card { opacity: 0.35; }
.motion .j-stop.left:not(.on) .j-card { transform: translate(24px, -62%); }
.motion .j-stop.right:not(.on) .j-card { transform: translate(-24px, -62%); }
.j-stop.on .j-pin { transform: scale(1); box-shadow: 0 0 0 3px #ff375f, 0 8px 22px rgba(255, 55, 95, 0.35); }
.motion .j-stop:not(.on) .j-pin { transform: scale(0.82); }
@media (max-width: 640px) {
  .journey { --row: 150px; --pin: 44px; --side: 30px; }
  .j-pin { font-size: 20px; }
  .j-card { width: calc(100% - 30px - 40px - 8px); padding: 12px 16px; }
  .j-stop.left .j-card { left: calc(30px + 34px); }
  .j-stop.right .j-card { right: calc(30px + 34px); }
  .j-title { font-size: 18px; }
}

/* ==========================================================================
   Venue card with illustrated map
   ========================================================================== */
.venue-card {
  display: grid; grid-template-columns: 1.35fr 1fr; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow);
}
@media (max-width: 760px) { .venue-card { grid-template-columns: 1fr; } }
.venue-map { position: relative; min-height: 300px; background: #eef1ec; }
.venue-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.venue-note { position: absolute; left: 12px; top: 10px; font-size: 11px; color: rgba(0,0,0,0.45); }
.venue-info { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; }
.venue-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.m-bg { fill: #eef1ec; }
.m-park { fill: #cfe8d2; }
.m-lake { fill: #a8d4f5; }
.m-roads path { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; }
.m-main { fill: none; stroke: #f5d78e; stroke-width: 18; stroke-linecap: round; }
.m-label { font: 600 12px var(--font); fill: #8a7a52; letter-spacing: 0.04em; }
.m-route { fill: none; stroke: #ff375f; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 0 12; animation: m-flow 1.2s linear infinite; }
@keyframes m-flow { to { stroke-dashoffset: -12; } }
.m-drop { fill: #ff375f; stroke: #fff; stroke-width: 2; }
.m-shadow { fill: rgba(0,0,0,0.18); }
.m-pulse { fill: rgba(255, 55, 95, 0.35); transform-box: fill-box; transform-origin: center; animation: m-pulse 2s ease-out infinite; }
.m-pulse-2 { animation-delay: 1s; }
@keyframes m-pulse { from { transform: scale(0.4); opacity: 1; } to { transform: scale(3); opacity: 0; } }
.m-tag { fill: #fff; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15)); }
.m-tagtext { font: 700 13px var(--font); fill: #1d1d1f; }
.motion .m-pin { animation: m-drop-in 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) both; animation-play-state: paused; }
.motion .venue-card.in .m-pin { animation-play-state: running; }
@keyframes m-drop-in { from { transform: translate(300px, 120px); opacity: 0; } to { transform: translate(300px, 196px); opacity: 1; } }
@media (prefers-color-scheme: dark) {
  .venue-map, .m-bg { background: #1f2420; fill: #1f2420; }
  .m-park { fill: #23392a; } .m-lake { fill: #1d3b55; }
  .m-roads path { stroke: #3a3f3b; } .m-main { stroke: #6b5a2c; } .m-label { fill: #c9b27a; }
  .venue-note { color: rgba(255,255,255,0.45); }
}

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.person { padding: 36px 24px; }
.person .phone { margin-top: 10px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.person { text-align: center; }
.person .avatar {
  width: 88px; height: 88px; margin: 0 auto 18px; border-radius: 50%; padding: 3px; background: var(--brand);
}
.person .avatar span {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
  background: var(--card); font-size: 30px; font-weight: 700; letter-spacing: 0;
}
.person p { color: var(--text-2); }

/* About paragraph */
.about-text { font-size: clamp(19px, 2.3vw, 23px); line-height: 1.5; color: var(--text-2); text-align: center; }

/* ==========================================================================
   Live site additions
   ========================================================================== */

/* Long values on the pass end with "…" instead of breaking the layout */
.pass-fields .pf { min-width: 0; }
.pass-fields .pf .v { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Dropdowns (branch, year) look like the text fields */
.field select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2386868b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field select:invalid { color: var(--text-3); }
.field select option { color: var(--text); background: var(--card); }
.field.invalid select { border-color: var(--red); }

.proto-badge[hidden] { display: none; }
.proto-badge { background: #fff4e5; color: #8a4b00; border-bottom-color: #ffd8a8; font-weight: 500; }
@media (prefers-color-scheme: dark) { .proto-badge { background: #2b1d0a; color: #ffc078; border-bottom-color: #4a3210; } }

.spinner {
  width: 28px; height: 28px; border-radius: 50%; display: inline-block; vertical-align: middle;
  border: 3px solid color-mix(in srgb, var(--text) 15%, transparent); border-top-color: var(--blue);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.notice { border-radius: 16px; padding: 14px 16px; background: var(--bg-alt); color: var(--text); font-size: 15px; }
.notice.warn { background: #fff4e5; color: #8a4b00; }
.notice.bad { background: #ffe9e7; color: #a1140c; }
@media (prefers-color-scheme: dark) {
  .notice.warn { background: #2b1d0a; color: #ffc078; }
  .notice.bad { background: #2c0d0b; color: #ff9e98; }
}
.btn.busy { pointer-events: none; opacity: 0.7; }
