/* ==========================================================================
   CCD Udaipur 2026 · premium layer
   The water world, the glory of Mewar, iconic Udaipur, the dive, Moti.
   ========================================================================== */

/* ---------- the lake under the page ---------- */
html { background: var(--paper); }
body { background: transparent; }
.caustics-bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.section.alt { background: color-mix(in srgb, var(--paper-2) 84%, transparent); }
.paused, .paused * { animation-play-state: paused !important; }

/* ink ripple on buttons (a Material touch) */
.btn, .chip, .tabs button, .q-opt { position: relative; overflow: hidden; isolation: isolate; }
.ink { position: absolute; border-radius: 50%; background: currentColor; opacity: .22; transform: scale(0); animation: ink .65s ease-out forwards; pointer-events: none; z-index: -1; }
@keyframes ink { to { transform: scale(1); opacity: 0; } }

/* headings rise word by word */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .1em 0; margin: 0 -.04em -.1em 0; }
.split .w > span { display: inline-block; transform: translateY(108%); transition: transform .95s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms); }
.split.in .w > span { transform: none; }
.split em .w { padding-right: .1em; margin-right: -.1em; }

/* Google-colour cursor ring */
.cursor-ring { position: fixed; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; pointer-events: none; z-index: 150; opacity: 0;
  background: conic-gradient(var(--blue) 0 25%, var(--red) 0 50%, var(--yellow) 0 75%, var(--green) 0);
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 62%); mask: radial-gradient(circle, transparent 60%, #000 62%);
  transition: width .25s, height .25s, margin .25s, opacity .3s; }
.cursor-ring.on { opacity: .8; }
.cursor-ring.hover { width: 58px; height: 58px; margin: -29px 0 0 -29px; opacity: .95; }

/* ---------- The glory of Mewar: Haldighati ---------- */
.glory { position: relative; height: 640vh; background: #1b1535; color: #fff8ea; }
.glory-track { position: absolute; inset: 0; }
.glory-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.glory-scene, .glory-scene svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.glory-grain { position: absolute; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }
.glory-intro { position: absolute; right: max(5vw, 24px); top: 50%; margin-top: -170px; width: min(520px, 46vw); text-shadow: 0 2px 30px rgba(20, 8, 20, .7); will-change: opacity, transform; }
.glory-intro { isolation: isolate; }
.glory-intro::before { content: ""; position: absolute; inset: -70px -90px -70px -110px; z-index: -1; background: radial-gradient(closest-side, rgba(22, 10, 24, .78), rgba(22, 10, 24, .35) 60%, rgba(22, 10, 24, 0)); pointer-events: none; }
.gi-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #ffd38a; }
.gi-eyebrow [lang="hi"], .gi-title [lang="hi"], .leap-title [lang="hi"] { font-family: var(--deva); letter-spacing: 0; text-transform: none; }
.gi-title { margin: 14px 0 12px; line-height: .95; }
.gi-title [lang="hi"] { display: block; font-size: clamp(46px, 6.6vw, 104px); background: linear-gradient(180deg, #fff2c4, #f0b24a 60%, #c6772a); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .1em; }
.gi-title em { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(34px, 4.4vw, 64px); color: #fff8ea; }
.gi-sub { font-size: clamp(16px, 1.4vw, 20px); color: rgba(255, 248, 234, .85); max-width: 420px; }
.gi-scroll { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #ffd38a; }
.gi-scroll i { width: 22px; height: 34px; border: 2px solid currentColor; border-radius: 12px; position: relative; }
.gi-scroll i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: currentColor; animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(10px); opacity: 0; } 61% { transform: none; opacity: 0; } 100% { opacity: 1; } }
.leap-title { position: absolute; left: max(6vw, 28px); top: calc(var(--nav-h) + 30px); text-align: left; transform-origin: 0 0; opacity: 0; pointer-events: none; text-shadow: 0 4px 40px rgba(20, 8, 4, .8); will-change: opacity, transform; }
.leap-title [lang="hi"] { display: block; font-size: clamp(44px, 6vw, 96px); line-height: 1.05; background: linear-gradient(180deg, #fff5d0, #ffc35c 55%, #d9772a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.leap-title b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(28px, 3.4vw, 50px); color: #fff8ea; }
.leap-title small { display: block; margin-top: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #ffd38a; }
.glory-card { position: absolute; right: max(4vw, 20px); top: calc(var(--nav-h) + 40px); width: min(420px, calc(100% - 40px)); padding: 22px 24px; border-radius: 22px;
  background: rgba(24, 12, 22, .5); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255, 214, 150, .28); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
  opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s; }
.glory-card.in { opacity: 1; transform: none; }
.gc-when { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #ffc35c; }
.glory-card h3 { font-size: clamp(26px, 2.6vw, 36px); margin: 8px 0 8px; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.glory-card p { color: rgba(255, 248, 234, .86); font-size: 16px; }
.glory-rail { position: absolute; left: max(2vw, 14px); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.glory-rail li { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: rgba(255, 248, 234, .45); transition: color .4s; }
.glory-rail li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; transition: background-color .4s, transform .4s; }
.glory-rail li.done { color: rgba(255, 211, 138, .7); }
.glory-rail li.done::before { background: currentColor; }
.glory-rail li.on { color: #ffd38a; }
.glory-rail li.on::before { background: #ffc35c; transform: scale(1.5); box-shadow: 0 0 0 4px rgba(255, 195, 92, .25); }
.glory-rail span { opacity: 0; transform: translateX(-4px); transition: opacity .4s, transform .4s; }
.glory-rail li.on span, .glory-rail:hover span { opacity: 1; transform: none; }

/* the land */
.glory-svg .ridge.r4 { fill: #b86d6f; } .glory-svg .mesa, .glory-svg .mesa path, .glory-svg .mesa rect { fill: #9b5c68; }
.glory-svg .ridge.r3 { fill: #8e5064; } .glory-svg .ridge.r2 { fill: #714259; } .glory-svg .ridge.r1 { fill: #4c2f3d; }
.glory-svg .kumbhal path { fill: #664057; } .glory-svg .kumbhal .wallline { fill: none; stroke: #664057; stroke-width: 8; stroke-linejoin: round; }
.glory-svg .gl-haze { fill: #f2a36a; opacity: .16; }
.glory-svg .gl-mid ellipse { fill: #3a2230; } .glory-svg .gl-mid .trunk { fill: none; stroke: #3a2230; stroke-width: 4; }
.glory-svg .gl-ele path { fill: #5a3a47; } .glory-svg .gl-ele .pole { fill: none; stroke: #5a3a47; stroke-width: 3; } .glory-svg .gl-ele .pennant { fill: #b0452e; }
.glory-svg .gl-flag .pole { fill: none; stroke: #3a2230; stroke-width: 3; }
.glory-svg .gl-pennant { transform-box: fill-box; transform-origin: 0 50%; animation: pennant 1.4s ease-in-out infinite alternate; }
@keyframes pennant { to { transform: skewY(8deg) scaleX(.86); } }
.glory-svg .gl-cloud { animation: dustdrift 24s ease-in-out infinite alternate; }
@keyframes dustdrift { to { transform: translateX(-120px); } }
.glory-svg .gl-sky-clouds { fill: #ffb892; opacity: .35; }
.glory-svg .gl-rays { fill: #ffe2a8; opacity: .1; animation: rays 80s linear infinite; }
@keyframes rays { to { transform: rotate(360deg); } }
.glory-svg .gl-bird { fill: none; stroke: #2a1420; stroke-width: 2; stroke-linecap: round; animation: flap .9s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.glory-svg .track { fill: #f0c774; opacity: .35; }
.glory-svg .rock { fill: #7d5a38; opacity: .85; }
.glory-svg .ground .trunk { fill: none; stroke: #3b2414; stroke-width: 5; stroke-linecap: round; }
.glory-svg .ground > g > ellipse, .glory-svg .ground g[transform] > ellipse { fill: #4d5a26; }
.glory-svg .bank { fill: #7a4f1e; }
.glory-svg .glint { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; opacity: .55; animation: glint 2.4s ease-in-out infinite alternate; }
@keyframes glint { to { opacity: .15; transform: translateX(14px); } }
.glory-svg .reeds { fill: none; stroke: #4b5a24; stroke-width: 2.4; stroke-linecap: round; }
.glory-svg .gl-refl { opacity: .34; }
.glory-svg .pt-water { fill: #e2f6ff; }
.glory-svg .pt-dust { fill: #eccb92; }
.glory-svg .gl-vig { pointer-events: none; }

/* Chetak and Maharana Pratap */
.ck-line { fill: none; stroke: #4f6378; stroke-opacity: .32; stroke-width: 1.5; stroke-linecap: round; }
.ck-line.faint { stroke-opacity: .14; }
.ck-rim { fill: none; stroke: #ffc98a; stroke-width: 3; stroke-linecap: round; opacity: .75; }
.ck .tendon, .statue .tendon, .tendon { fill: none; stroke: #546a82; stroke-opacity: .3; stroke-width: 1.3; }
.feather { fill: none; stroke: #c7d2dd; stroke-width: 1.3; stroke-linecap: round; }
.far .feather { stroke: #8394a8; }
.far .ck-line { stroke-opacity: .2; }
.coronet { fill: none; stroke: #1d1f23; stroke-width: 1; }
.ck-reins { fill: none; stroke: #3a2414; stroke-width: 2.4; stroke-linecap: round; }
.ck-mane { transform-box: fill-box; transform-origin: 85% 10%; animation: ckmane .85s ease-in-out infinite alternate; }
@keyframes ckmane { from { transform: skewY(-2deg); } to { transform: skewY(2.5deg) rotate(-1.5deg); } }
.ck-tail-hair { transform-box: fill-box; transform-origin: 100% 20%; animation: cktail 1.05s ease-in-out infinite alternate; }
@keyframes cktail { from { transform: rotate(-4deg); } to { transform: rotate(5deg) skewX(3deg); } }
.ck-sash { transform-box: fill-box; transform-origin: 100% 25%; animation: cksash .7s ease-in-out infinite alternate; }
@keyframes cksash { from { transform: rotate(-6deg) skewX(4deg); } to { transform: rotate(5deg); } }
.ck-turra, .ck-kalgi { transform-box: fill-box; transform-origin: 50% 0; animation: cksway 1.2s ease-in-out infinite alternate; }
.ck-kalgi { transform-origin: 0 100%; }
@keyframes cksway { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
.statue .ck-mane, .statue .ck-tail-hair, .statue .ck-sash, .statue .ck-turra, .statue .ck-kalgi { animation: none; }

/* ---------- Iconic Udaipur: horizontal gallery ---------- */
.places { position: relative; }
.places-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 26px; padding-top: calc(var(--nav-h) + 12px); }
.places-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.places-head h2 { font-size: clamp(36px, 5vw, 66px); margin-top: 8px; }
.places-head h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.places-head p { color: var(--ink-2); max-width: 440px; }
.places-count { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.places-count b { font-size: 28px; color: var(--ink); font-weight: 600; }
.places-rail { display: flex; gap: 32px; width: max-content; padding: 0 max(20px, calc((100vw - 1200px) / 2)); will-change: transform; }
.place-card { flex: none; width: min(80vw, 920px); display: grid; grid-template-columns: 1.55fr 1fr; gap: 28px; align-items: end; outline: none; }
.pc-frame { position: relative; aspect-ratio: 3 / 2; border-radius: 50% 50% 22px 22px / 20% 20% 22px 22px; overflow: hidden; background: #cfe6f3;
  box-shadow: 0 0 0 3px rgba(200, 150, 45, .55), 0 0 0 9px color-mix(in srgb, var(--paper) 80%, transparent), 0 0 0 10.5px rgba(200, 150, 45, .35), 0 40px 70px -30px rgba(40, 25, 5, .55);
  transform: scale(calc(1 - min(.06, abs(var(--off, 0)) * .08))); transition: transform .3s; }
.place-card:focus-visible .pc-frame { box-shadow: 0 0 0 3px var(--blue), 0 0 0 9px color-mix(in srgb, var(--paper) 80%, transparent); }
.pc-scene, .pc-scene svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pc-num { position: absolute; left: 18px; bottom: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: #fff; background: rgba(0, 0, 0, .3); padding: 4px 10px; border-radius: 99px; backdrop-filter: blur(6px); }
.pc-cap { padding-bottom: 12px; }
.pc-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron); }
.pc-cap h3 { font-size: clamp(26px, 2.6vw, 38px); margin: 10px 0 10px; }
.pc-cap h3 [lang="hi"] { display: block; font-family: var(--deva); font-size: .6em; color: var(--muted); letter-spacing: 0; margin-top: 6px; font-weight: 400; }
.pc-cap p { color: var(--ink-2); }
.pc-map { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 9px 16px 9px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-weight: 600; font-size: 14px; transition: transform .2s, box-shadow .2s; }
.pc-map:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pc-map svg { width: 20px; height: 20px; }
.places-progress { align-self: center; width: min(460px, 60vw); height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.places-progress i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), var(--green), var(--yellow), var(--red)); }

/* the scenes inside the gallery */
.place-svg { --bird: #2a2a30; --birdA: 1; --diya: 1; --glow: 0; --mist: 0; }
.place-svg .pc-cloud { fill: #fff; opacity: .85; animation: drift 60s ease-in-out infinite alternate; }
.place-svg .pc-cloud.pink { fill: #ffc4b0; opacity: .55; }
.place-svg .pc-rays { fill: #fff; opacity: .07; animation: rays 90s linear infinite; }
.place-svg .pc-glint ellipse { fill: #fff; opacity: .65; animation: twinkle 1.5s ease-in-out infinite alternate; }
.place-svg .jet { fill: none; stroke: #eaf8ff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 7 9; animation: jetflow .55s linear infinite; opacity: .92; }
.place-svg .jet.j2 { animation-duration: .7s; }
@keyframes jetflow { to { stroke-dashoffset: -32; } }
.place-svg .spray { fill: #fff; opacity: .4; animation: spray 1.2s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes spray { to { transform: scale(1.35); opacity: .15; } }
.place-svg .marble-el path { fill: #f5f2eb; stroke: #9a9486; stroke-width: 1.4; }
.place-svg .marble-el .ear { fill: #e6e0d4; }
.place-svg .marble-el .tusk-m { fill: #fffdf6; }
.place-svg .marble-el .spout { fill: none; stroke: #dff3ff; stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 6 8; animation: jetflow .6s linear infinite; }
.place-svg .marble-el .spout.s2 { stroke-width: 2; opacity: .7; animation-duration: .8s; }
.place-svg .pc-shimmer { fill: none; stroke: #e9fbff; stroke-width: 2.4; stroke-linecap: round; opacity: .5; animation: shimmer 4s ease-in-out infinite alternate; }
.place-svg .stone, .place-svg .stone rect, .place-svg .stone path, .place-svg .stone ellipse, .place-svg .stone circle { fill: var(--stone, #e6d7b8); stroke: #8f7a58; stroke-width: 1.2; }
.place-svg .band { fill: none; stroke: #8f7a58; stroke-opacity: .5; stroke-width: 1.2; }
.place-svg .carve { fill: #cdb893; stroke: #9a8562; stroke-width: .8; }
.place-svg .gold { fill: #e2b04c; }
.place-svg .pole { fill: none; stroke: #6b4a2a; stroke-width: 3; }
.place-svg .dhvaja { fill: #f47b1c; transform-box: fill-box; transform-origin: 0 50%; animation: pennant 1.2s ease-in-out infinite alternate; }
.place-svg .step-l { stroke: #9c8a6a; stroke-width: 1.4; }
.place-svg .stone-el path, .place-svg .stone-el rect { fill: #bdb19b; stroke: #7d705c; stroke-width: 1.2; }
.place-svg .stone-el .plinth { fill: #a39680; }
.place-svg .stone-el .howdah { fill: #a3504a; }
.place-svg .lamp path { fill: #3b3a36; }
.place-svg .lamp .post { fill: none; stroke: #3b3a36; stroke-width: 4; }
.place-svg .lamp-glow { fill: #ffe39a; }
.place-svg .prom rect:not([fill]) { fill: #e3d2b4; }
.place-svg .camel { animation: bob 1.6s ease-in-out infinite alternate; }
.place-svg .camel-b { fill: #b98552; }
.place-svg .leg-c { fill: none; stroke: #9a6a3e; stroke-width: 6; stroke-linecap: round; }
.place-svg .road { fill: none; stroke: #f0c49a; stroke-width: 4; stroke-dasharray: 10 8; opacity: .6; }
.place-svg .pc-stars { opacity: .9; }
.place-svg .pc-stars circle:nth-child(4n) { animation: twinkle 2.4s ease-in-out infinite alternate; }

/* ---------- Beneath the lake ---------- */
.dive { position: relative; overflow: hidden; color: #eafcff; isolation: isolate; padding: 170px 0 0;
  background: linear-gradient(180deg, transparent 0 90px, #0f7a95 90px, #0b5a7a 30%, #073a57 62%, #031a2c 100%); }
.dive-surface { position: absolute; left: 0; right: 0; top: 0; height: 110px; z-index: 1; pointer-events: none; }
.dive-surface i { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background-repeat: repeat-x; background-size: 600px 90px; animation: waves 9s linear infinite; }
.dive-surface i:nth-child(1) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='90'%3E%3Cpath d='M0 45C100 15 200 15 300 45C400 75 500 75 600 45V90H0Z' fill='%236cc3d8' fill-opacity='.55'/%3E%3C/svg%3E"); animation-duration: 13s; bottom: 8px; }
.dive-surface i:nth-child(2) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='90'%3E%3Cpath d='M0 55C100 30 200 30 300 55C400 80 500 80 600 55V90H0Z' fill='%231d8fab'/%3E%3C/svg%3E"); animation-direction: reverse; }
.dive-surface i:nth-child(3) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='90'%3E%3Cpath d='M0 64C100 46 200 46 300 64C400 82 500 82 600 64V90H0Z' fill='%230f7a95'/%3E%3Cpath d='M0 64C100 46 200 46 300 64C400 82 500 82 600 64' fill='none' stroke='%23ffffff' stroke-opacity='.6' stroke-width='2'/%3E%3C/svg%3E"); animation-duration: 7s; }
@keyframes waves { to { background-position-x: 600px; } }
.dive-caustics { position: absolute; inset: 90px 0 0; width: 100%; height: calc(100% - 90px); z-index: -1; mix-blend-mode: screen; opacity: .85; pointer-events: none; }
.dive-rays { position: absolute; inset: 90px 0 0; z-index: -1; pointer-events: none; overflow: hidden; }
.dive-rays i { position: absolute; top: -10%; width: 14vw; height: 80%; background: linear-gradient(180deg, rgba(210, 250, 255, .32), transparent 80%); transform: skewX(-16deg); filter: blur(10px); animation: ray 9s ease-in-out infinite alternate; }
.dive-rays i:nth-child(1) { left: 6%; } .dive-rays i:nth-child(2) { left: 26%; width: 8vw; animation-delay: -3s; } .dive-rays i:nth-child(3) { left: 44%; width: 18vw; animation-delay: -5s; }
.dive-rays i:nth-child(4) { left: 64%; width: 10vw; animation-delay: -1s; } .dive-rays i:nth-child(5) { left: 82%; animation-delay: -6s; }
@keyframes ray { from { opacity: .35; transform: skewX(-16deg) translateX(-20px); } to { opacity: .9; transform: skewX(-10deg) translateX(30px); } }
.dive-lotus { position: absolute; top: 88px; left: 0; right: 0; height: 280px; z-index: 0; pointer-events: none; }
.dive-lotus svg { width: 100%; height: 100%; }
.dive-lotus .leaf { fill: #0a3a2e; opacity: .75; }
.dive-lotus .stem { fill: none; stroke: #0b4a3a; stroke-width: 4; opacity: .7; animation: stem 5s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 0; }
@keyframes stem { to { transform: rotate(3deg); } }
.dive-bubbles, .dive-fish { position: absolute; inset: 90px 0 0; pointer-events: none; z-index: 0; overflow: hidden; }
.dive-bubbles i { position: absolute; bottom: -40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45);
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .18) 45%, rgba(255, 255, 255, .04) 70%);
  animation: bubble linear infinite; }
@keyframes bubble { 0% { transform: translate(0, 0); opacity: 0; } 8% { opacity: 1; } 100% { transform: translate(var(--sway, 10px), -1700px); opacity: .2; } }
.dive-fish .fish { position: absolute; left: 0; animation: swim linear infinite; opacity: .9; }
.dive-fish .fish.rev { animation-name: swimrev; }
.dive-fish .fish .tail { transform-box: fill-box; transform-origin: 100% 50%; animation: tailwag .4s ease-in-out infinite alternate; }
@keyframes swim { from { transform: translateX(-120px); } to { transform: translateX(calc(100vw + 120px)); } }
@keyframes swimrev { from { transform: translateX(calc(100vw + 120px)) scaleX(-1); } to { transform: translateX(-120px) scaleX(-1); } }
@keyframes tailwag { to { transform: scaleY(.6) skewY(10deg); } }
.dive-inner { position: relative; z-index: 2; padding-bottom: 20px; }
.dive .section-head h2 { color: #fff; }
.dive .section-head h2 em { color: #9fe8ff; }
.dive .section-head p { color: rgba(234, 252, 255, .82); }
.dive .eyebrow { color: #9fe8ff; }
.orbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 30px 16px; margin: 20px 0 30px; }
.orb { position: relative; background: none; border: 0; color: inherit; display: grid; justify-items: center; gap: 6px; text-align: center; cursor: pointer; padding: 8px 6px; border-radius: 22px;
  animation: orbbob var(--dur, 5s) ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.7s); font: inherit; }
.orb-glass { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .6) 26%, rgba(190, 236, 255, .25) 55%, rgba(255, 255, 255, .1) 70%);
  box-shadow: inset -8px -12px 20px rgba(0, 50, 80, .4), inset 4px 6px 12px rgba(255, 255, 255, .6), 0 18px 30px -14px rgba(0, 0, 0, .6);
  border: 1px solid rgba(255, 255, 255, .55); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.orb svg { width: 50px; height: 50px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25)); }
.orb b { font-size: 16px; margin-top: 6px; }
.orb small { font-size: 12.5px; opacity: .78; max-width: 160px; line-height: 1.35; }
.orb:hover .orb-glass, .orb:focus-visible .orb-glass { transform: scale(1.12) rotate(-6deg); }
.orb.pop .orb-glass { animation: orbpop .55s ease-out; }
@keyframes orbbob { from { transform: translateY(-7px); } to { transform: translateY(9px); } }
@keyframes orbpop { 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.dive-floor { position: relative; height: 380px; margin-top: 10px; }
.dive-floor > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dive-floor .sand { fill: #1d3b44; } .dive-floor .sand2 { fill: #264a52; }
.dive-floor .ruin { fill: #3b5d63; stroke: #5e8388; stroke-width: 1.5; }
.dive-floor .weed { fill: none; stroke: #2f7a54; stroke-width: 5; stroke-linecap: round; transform-box: fill-box; transform-origin: 50% 100%; animation: weed 3.4s ease-in-out infinite alternate; }
.dive-floor .weed:nth-child(2n) { animation-duration: 4.2s; stroke: #3b8d5f; }
@keyframes weed { from { transform: rotate(-6deg); } to { transform: rotate(7deg); } }
.chest { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); display: grid; justify-items: center; gap: 12px; text-decoration: none; color: #eafcff; width: min(420px, 90vw); text-align: center; }
.chest svg { width: 230px; height: auto; overflow: visible; }
.chest-glow { opacity: .35; transition: opacity .8s; }
.chest.glow .chest-glow { opacity: .9; animation: chestglow 2s ease-in-out infinite alternate; }
@keyframes chestglow { to { opacity: .55; } }
.chest-lid { transform-box: fill-box; transform-origin: 0 100%; transition: transform .8s cubic-bezier(.3, 1.4, .5, 1); }
.chest.open .chest-lid { transform: rotate(-38deg) translate(-6px, -4px); }
.chest-ticket { opacity: 0; transform: translateY(30px) scale(.8); transition: transform .9s .25s cubic-bezier(.3, 1.4, .5, 1), opacity .5s .25s; transform-box: fill-box; transform-origin: 50% 100%; }
.chest.open .chest-ticket { opacity: 1; transform: translateY(-58px) rotate(-6deg); }
.chest-cta { font-weight: 600; background: rgba(4, 30, 45, .55); border: 1px solid rgba(159, 232, 255, .35); padding: 10px 18px; border-radius: 99px; backdrop-filter: blur(6px); }
.chest:hover .chest-cta { background: rgba(4, 30, 45, .8); }

/* ---------- Moti, the Udaipur bot ---------- */
.moti { position: fixed; right: 18px; bottom: 14px; z-index: 70; width: 92px; transform: translateY(170%); transition: transform .9s cubic-bezier(.3, 1.3, .5, 1), right .9s cubic-bezier(.3, 1.2, .5, 1); }
.moti.in { transform: none; }
.moti.left { right: calc(100% - 110px); }
.moti.bye { transform: translateY(170%); }
.moti-btn { display: block; width: 92px; padding: 0; border: 0; background: none; cursor: pointer; rotate: var(--tilt, 0deg); transition: rotate .35s; }
.moti-svg { width: 92px; height: auto; overflow: visible; display: block; }
.moti .m-float { animation: mfloat 2.8s ease-in-out infinite alternate; }
@keyframes mfloat { to { transform: translateY(-9px); } }
.moti .m-shadow { fill: rgba(10, 20, 40, .2); transform-box: fill-box; transform-origin: center; animation: mshadow 2.8s ease-in-out infinite alternate; }
@keyframes mshadow { to { transform: scaleX(.7); opacity: .5; } }
.moti .m-thrust { transform-box: fill-box; transform-origin: 50% 0; animation: thrust .22s ease-in-out infinite alternate; }
@keyframes thrust { to { transform: scaleY(.7); opacity: .7; } }
.moti .m-eye { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.moti .m-turra, .moti .m-kalgi { transform-box: fill-box; transform-origin: 0 0; animation: cksway 1.4s ease-in-out infinite alternate; }
.moti .m-arm { transform-box: fill-box; transition: transform .5s cubic-bezier(.3, 1.4, .5, 1); }
.moti .m-arm-r { transform-origin: 50% 0; }
.moti .m-arm-l { transform-origin: 50% 0; }
.moti.m-wave .m-arm-r { animation: mwave .6s ease-in-out infinite alternate; }
@keyframes mwave { from { transform: rotate(-150deg); } to { transform: rotate(-115deg); } }
.moti.m-salute .m-arm-r { transform: rotate(-160deg) translate(4px, 6px); }
.moti.m-cheer .m-arm-r { animation: mwave .4s ease-in-out infinite alternate; }
.moti.m-cheer .m-arm-l { animation: mwavel .4s ease-in-out infinite alternate; }
@keyframes mwavel { from { transform: rotate(150deg); } to { transform: rotate(115deg); } }
.moti.m-look .m-head { transform: rotate(-8deg); transform-box: fill-box; transform-origin: 50% 100%; }
.moti .m-goggles, .moti .m-bubbles { display: none; }
.moti.m-dive .m-goggles, .moti.m-dive .m-bubbles { display: inline; }
.moti .m-bubbles circle { fill: rgba(200, 245, 255, .8); stroke: #fff; stroke-width: .6; animation: mbub 1.8s ease-in infinite; }
.moti .m-bubbles circle:nth-child(2) { animation-delay: .5s; } .moti .m-bubbles circle:nth-child(3) { animation-delay: 1s; }
@keyframes mbub { from { transform: translateY(20px); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(-20px); opacity: 0; } }
.moti.spin .moti-btn { animation: mspin .8s cubic-bezier(.3, 1.3, .5, 1); }
@keyframes mspin { to { transform: rotate(360deg); } }
.moti.lap { animation: mlap 5s ease-in-out; }
.moti.lap.left { animation-name: mlapl; }
@keyframes mlap { 25% { transform: translate(-32vw, -40vh) rotate(-8deg); } 50% { transform: translate(-64vw, -12vh) rotate(6deg); } 75% { transform: translate(-30vw, -56vh) rotate(-4deg); } }
@keyframes mlapl { 25% { transform: translate(32vw, -40vh) rotate(8deg); } 50% { transform: translate(64vw, -12vh) rotate(-6deg); } 75% { transform: translate(30vw, -56vh) rotate(4deg); } }
.moti-say { position: absolute; bottom: calc(100% - 8px); right: 16px; width: max-content; max-width: 240px; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14px; line-height: 1.35; opacity: 0; transform: translateY(8px) scale(.94); transform-origin: 100% 100%; transition: opacity .3s, transform .3s; pointer-events: none; }
.moti.left .moti-say { right: auto; left: 16px; border-radius: 16px 16px 16px 4px; transform-origin: 0 100%; }
.moti.talking .moti-say { opacity: 1; transform: none; }
.moti-x { position: absolute; top: -4px; right: -2px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 15px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s; }
.moti:hover .moti-x, .moti:focus-within .moti-x { opacity: 1; }
.moti-launch { position: fixed; right: 16px; bottom: 16px; z-index: 70; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 12px; cursor: pointer; }
.moti-launch span { border-radius: 50%; }
.moti-launch span:nth-child(1) { background: var(--blue); } .moti-launch span:nth-child(2) { background: var(--red); } .moti-launch span:nth-child(3) { background: var(--yellow); } .moti-launch span:nth-child(4) { background: var(--green); }

/* ---------- small screens ---------- */
@media (max-width: 1080px) {
  .place-card { grid-template-columns: 1fr; width: min(84vw, 640px); gap: 14px; }
  .pc-cap { padding-bottom: 0; }
  .pc-cap p { font-size: 15px; }
  .places-head p { display: none; }
}
@media (max-width: 680px) {
  .glory { height: 560vh; }
  .glory-intro { left: 20px; right: 20px; width: auto; top: auto; bottom: 28px; margin-top: 0; }
  .gi-title [lang="hi"] { font-size: 52px; }
  .gi-title em { font-size: 34px; }
  .glory-card { left: 16px; right: 16px; width: auto; bottom: 18px; padding: 16px 18px; }
  .glory-card h3 { font-size: 24px; }
  .glory-card p { font-size: 14.5px; }
  .glory-rail { display: none; }
  .leap-title [lang="hi"] { font-size: 50px; }
  .places-stage { gap: 16px; }
  .pc-frame { aspect-ratio: 4 / 3.2; }
  .pc-cap h3 { font-size: 24px; margin: 6px 0; }
  .pc-cap p { display: none; }
  .pc-map { margin-top: 8px; }
  .dive { padding-top: 140px; }
  .orbs { grid-template-columns: repeat(3, 1fr); gap: 20px 8px; }
  .orb-glass { width: 76px; height: 76px; }
  .orb svg { width: 40px; height: 40px; }
  .orb small { display: none; }
  .dive-floor { height: 330px; }
  .chest svg { width: 190px; }
  .moti { width: 70px; bottom: 10px; right: 10px; }
  .moti.left { right: calc(100% - 84px); }
  .moti-btn, .moti-svg { width: 70px; }
  .moti-say { max-width: 200px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-ring { display: none; }
  .split .w > span { transform: none; }
}

.chest-ticket text { font-family: var(--mono); fill: #2b2116; }
.chest-ticket .t1 { font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.chest-ticket .t2 { font-size: 7.5px; letter-spacing: .1em; fill: #7a5a2e; }
.pill-live { text-decoration: none; }

/* ---------- the venue tour: The Third Space ---------- */
.venue { grid-template-columns: 1fr 1.2fr; align-items: center; }
.tsx { position: relative; height: 460vh; background: #060a1a; color: #fff8ea; }
.tsx-track { position: absolute; inset: 0; }
.tsx-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.tsx-ext, .tsx-int { position: absolute; inset: 0; will-change: transform, opacity; }
.tsx-ext { transform-origin: 50% 82%; }
.tsx-int { opacity: 0; background: #05060a; }
.tsx-svg { width: 100%; height: 100%; display: block; }
.tsx-flash { position: absolute; inset: 0; background: radial-gradient(circle at 50% 70%, #fff6dc, #ffd88a 45%, rgba(255, 200, 120, 0) 80%); opacity: 0; pointer-events: none; }
.tsx-clock { position: absolute; right: max(4vw, 20px); top: calc(var(--nav-h) + 28px); display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 99px; background: rgba(10, 12, 28, .45); backdrop-filter: blur(8px); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.tsx-clock i { width: 10px; height: 10px; border-radius: 50%; background: #ffd27a; box-shadow: 0 0 12px #ffd27a; }
.tsx-card { position: absolute; left: max(5vw, 24px); bottom: max(8vh, 40px); width: min(470px, calc(100% - 48px)); padding: 26px 28px; border-radius: 24px;
  background: rgba(12, 14, 30, .55); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border: 1px solid rgba(255, 230, 180, .22);
  opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; pointer-events: none; }
.tsx-card.in { opacity: 1; transform: none; pointer-events: auto; }
.tsx-card .eyebrow { color: #ffd38a; margin-bottom: 10px; }
.tsx-card .eyebrow [lang="hi"] { font-family: var(--deva); letter-spacing: 0; text-transform: none; }
.tsx-card h2 { font-size: clamp(36px, 4.4vw, 60px); margin-bottom: 12px; }
.tsx-card h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: #ffd38a; }
.tsx-card p { color: rgba(255, 248, 234, .86); }
.tsx-facts { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tsx-facts li { padding: 5px 12px; border-radius: 99px; border: 1px solid rgba(255, 230, 180, .3); font-size: 13px; }
.tsx-hint { display: block; margin-top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #ffd38a; }
.tsx-card .cta-row { margin-top: 18px; }

/* outside */
.tsx-svg .tsx-stars { fill: #fff; opacity: calc(var(--night) * .9); }
.tsx-svg .tsx-sun { fill: #fff3c4; opacity: calc(1 - var(--night) * 1.6); }
.tsx-svg .tsx-moon { fill: #f4efdf; opacity: calc(var(--night) * 1.4 - .4); }
.tsx-svg .tsx-hills { fill: color-mix(in srgb, #a7b4c4 calc(100% - var(--night) * 100%), #10142a); }
.tsx-svg .tsx-wall { fill: color-mix(in srgb, #4b525d calc(100% - var(--night) * 100%), #ffd98a); }
.tsx-svg .tsx-conc { fill: color-mix(in srgb, #b9b6b0 calc(100% - var(--night) * 100%), #3a3f50); }
.tsx-svg .tsx-sail { opacity: .92; }
.tsx-svg .tsx-sailframe { fill: none; stroke: color-mix(in srgb, #f4f3ef calc(100% - var(--night) * 100%), #7a8094); stroke-width: 2.4; }
.tsx-svg .tsx-frame { stroke: color-mix(in srgb, #ffffff calc(100% - var(--night) * 100%), #8a90a6); stroke-width: 2.4; }
.tsx-svg .tsx-soffit { fill: color-mix(in srgb, #9b9893 calc(100% - var(--night) * 100%), #23283a); }
.tsx-svg .tsx-shadows { fill: #1a1c22; opacity: calc(.35 - var(--night) * .35); }
.tsx-svg .tsx-glowbox { opacity: var(--night); mix-blend-mode: screen; }
.tsx-svg .tsx-leds { fill: none; stroke: #fffdf2; stroke-width: 3.4; stroke-linecap: round; opacity: var(--night); filter: drop-shadow(0 0 6px #fff3c0); }
.tsx-svg .tsx-under { fill: color-mix(in srgb, #3a3c42 calc(100% - var(--night) * 100%), #2a2018); }
.tsx-svg .tsx-lobby { opacity: calc(.15 + var(--night) * .85); }
.tsx-svg .tsx-glass { fill: color-mix(in srgb, #6f8aa0 calc(100% - var(--night) * 100%), #ffe0a0); }
.tsx-svg .tsx-banner text { font-family: var(--font); fill: #17171c; font-weight: 700; }
.tsx-svg .tsx-banner .b1 { font-size: 22px; } .tsx-svg .tsx-banner .b2 { font-size: 11px; letter-spacing: .12em; } .tsx-svg .tsx-banner .b3 { font-size: 16px; } .tsx-svg .tsx-banner .b4 { font-size: 12px; font-weight: 500; }
.tsx-svg .tsx-person { animation: bob 1.3s ease-in-out infinite alternate; }
.tsx-svg .tsx-pole { fill: none; stroke: color-mix(in srgb, #8d8a84 calc(100% - var(--night) * 100%), #0c0e16); stroke-width: 9; stroke-linecap: square; }
.tsx-svg .tsx-wires { fill: none; stroke: #1b1d24; stroke-width: 1.4; opacity: .7; }
.tsx-svg .tsx-paving { fill: color-mix(in srgb, #c9c6bf calc(100% - var(--night) * 100%), #1d1f2a); }
.tsx-svg .tsx-fencetop { fill: none; stroke: var(--corten); stroke-width: 6; }
.tsx-svg .tsx-lawn { fill: color-mix(in srgb, #7c9a4a calc(100% - var(--night) * 100%), #0d140c); }
.tsx-svg .tsx-cypress ellipse { fill: color-mix(in srgb, #4f8a34 calc(100% - var(--night) * 100%), #0a1008); }
.tsx-svg .tsx-cypress ellipse:nth-child(2n) { fill: color-mix(in srgb, #6aa645 calc(100% - var(--night) * 100%), #0c140a); }
.tsx-svg .tsx-palm .trunk { fill: none; stroke: color-mix(in srgb, #7a6448 calc(100% - var(--night) * 100%), #07080c); stroke-width: 16; stroke-linecap: round; }
.tsx-svg .tsx-palm .fronds { fill: none; stroke: color-mix(in srgb, #4a7a34 calc(100% - var(--night) * 100%), #07080c); stroke-width: 7; stroke-linecap: round; transform-box: fill-box; transform-origin: 50% 100%; animation: cksway 3s ease-in-out infinite alternate; }

/* inside */
.tsx-svg .tsx-ceiling { opacity: var(--ceil, 0); }
.tsx-svg .tsx-star { animation: twinkle 2.6s ease-in-out infinite alternate; }
.tsx-svg .tsx-panel { fill: none; stroke: #1c2030; stroke-width: 22; }
.tsx-svg .tsx-exit { fill: #e8453c; opacity: .9; }
.tsx-svg .tsx-floorlight { fill: #d9dde6; opacity: calc(.15 + var(--ceil, 0) * .5); }
.tsx-svg .tsx-spillglow { opacity: var(--show, 0); }
.tsx-svg .tsx-show { opacity: var(--show, 0); }
.tsx-svg .tsx-show text { font-family: var(--font); fill: #fff8ea; }
.tsx-svg .tsx-show .sc1 { font-size: 30px; font-weight: 500; }
.tsx-svg .tsx-show .sc2 { font-family: var(--serif); font-style: italic; font-size: 54px; fill: #ffd38a; }
.tsx-svg .tsx-show .sc3 { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; fill: #a9c4ff; }
.tsx-svg .tsx-beam { opacity: calc(var(--beam, 0) * .55); }
.tsx-svg .tsx-dusts { fill: #e6efff; opacity: var(--beam, 0); }
.tsx-svg .tsx-dust { animation: dustfloat 6s ease-in-out infinite alternate; }
@keyframes dustfloat { to { transform: translate(30px, -20px); opacity: .2; } }
.tsx-svg .tsx-tier { fill: #15171f; }
.tsx-svg .tsx-seat { fill: #2a3042; stroke: #12141c; stroke-width: 1.2; }
.tsx-svg .tsx-arm { fill: #c7a24a; opacity: .7; }
.tsx-svg .tsx-step { fill: #3d64ff; opacity: var(--steps, 0); filter: drop-shadow(0 0 6px #3d64ff); }
.tsx-svg .tsx-bench { fill: #0c0d10; stroke: #2a2c33; stroke-width: 2; }
.tsx-svg .tsx-block { fill: #c99a2e; }
.tsx-svg .tsx-blocktop { fill: #f2c95a; }
.tsx-svg .tsx-hole { fill: #3a2a10; }
@media (max-width: 680px) {
  .tsx { height: 400vh; }
  .tsx-card { left: 16px; right: 16px; width: auto; bottom: 18px; padding: 18px 20px; }
  .tsx-card p { font-size: 15px; }
  .tsx-clock { top: calc(var(--nav-h) + 18px); }
}
