:root {
  --rb-navy: #10174f;
  --rb-navy-deep: #0a0e33;
  --rb-navy-soft: #1b2468;
  --rb-gold: #f5b428;
  --rb-gold-deep: #c8901a;
  --rb-gold-soft: #ffd977;
  --rb-saffron: #ff8a3d;
  --rb-rose: #e85d75;
  --rb-cream: #fff6e8;
  --rb-ink: #171c42;
  --rb-mist: #edf0fb;
  --rb-line: rgba(16, 23, 79, .14);
  --rb-on-dark: rgba(255, 246, 232, .92);
  --rb-on-dark-dim: rgba(255, 246, 232, .62);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--rb-ink);
  background: var(--rb-navy-deep);
  font: 400 16px/1.75 "Poppins", -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; }
img { max-width: 100%; }
.rb-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.rb-skip { position: absolute; top: -60px; left: 16px; z-index: 999; background: #fff; color: var(--rb-navy); padding: 9px 14px; border-radius: 4px; font-weight: 700; }
.rb-skip:focus { top: 12px; }

/* ---------- fixed 3D background + fallback ---------- */
.rb-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; transition: opacity .8s ease; }
.rb-bg.is-off { opacity: 0; }
.rb-bg canvas { display: block; position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; }
.rb-bg-fallback {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 70% 12%, rgba(245, 180, 40, .14), transparent 60%),
    radial-gradient(900px 600px at 20% 85%, rgba(255, 138, 61, .10), transparent 60%),
    linear-gradient(180deg, #0a0e33 0%, #10174f 45%, #0a0e33 100%);
}
.rb-vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(5, 8, 26, .55) 100%); }

/* ---------- pointer-reactive star field ---------- */
/* Fixed to the viewport so the JS glow maths can compare a star's viewport
   position directly against the pointer, with no scroll offset to track. */
.rb-stars { position: fixed; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.rb-star {
  --rb-star-base: .4;
  --rb-star-lit: 0;
  position: absolute; border-radius: 50%;
  background: rgba(255, 246, 232, .95);
  /* Base twinkle stays subtle; the pointer-driven --rb-star-lit adds the local
     flare so only the sky near the cursor lights up. */
  opacity: calc(var(--rb-star-base) + var(--rb-star-lit) * .85);
  transform: scale(calc(1 + var(--rb-star-lit) * 1.5));
  box-shadow:
    0 0 calc(3px + var(--rb-star-lit) * 12px) rgba(255, 231, 176, calc(.35 + var(--rb-star-lit) * .65)),
    0 0 calc(6px + var(--rb-star-lit) * 26px) rgba(245, 180, 40, calc(var(--rb-star-lit) * .75));
  animation: rb-star-twinkle 4s ease-in-out infinite;
  will-change: opacity, transform;
}
@keyframes rb-star-twinkle { 0%, 100% { filter: brightness(.75); } 50% { filter: brightness(1.25); } }

/* ---------- rakhi cursor ---------- */
/* Only applied once JS confirms a real mouse; touch and reduced-motion keep the
   native cursor entirely. */
.rb-has-rakhi-cursor,
.rb-has-rakhi-cursor a,
.rb-has-rakhi-cursor button,
.rb-has-rakhi-cursor summary { cursor: none; }
.rb-cursor {
  --rb-cursor-spin: 0deg;
  --rb-cursor-tilt: 0deg;
  --rb-cursor-scale: 1;
  --rb-cursor-speed: 0;
  position: fixed; top: 0; left: 0; z-index: 200; width: 0; height: 0;
  opacity: 0; pointer-events: none; will-change: transform, opacity;
  transition: opacity .25s ease;
}
.rb-cursor.is-on { opacity: 1; }
.rb-cursor__rakhi {
  position: absolute; top: 0; left: 0; width: 40px; height: 40px; margin: -20px 0 0 -20px;
  transform: rotate(var(--rb-cursor-spin)) rotate3d(0, 1, .25, var(--rb-cursor-tilt)) scale(var(--rb-cursor-scale));
  filter: drop-shadow(0 4px 10px rgba(6, 9, 30, .55)) drop-shadow(0 0 calc(6px + var(--rb-cursor-speed) * 16px) rgba(245, 180, 40, calc(.35 + var(--rb-cursor-speed) * .5)));
  transition: width .22s ease, height .22s ease, margin .22s ease;
}
.rb-cursor__aura {
  position: absolute; top: 0; left: 0; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 180, 40, calc(.24 + var(--rb-cursor-speed) * .22)) 0%, rgba(255, 138, 61, .08) 45%, transparent 72%);
  transform: scale(calc(.85 + var(--rb-cursor-speed) * .5));
  transition: transform .2s ease;
}
.rb-cursor.is-active .rb-cursor__rakhi { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
.rb-cursor.is-press .rb-cursor__rakhi { width: 32px; height: 32px; margin: -16px 0 0 -16px; }

/* ---------- progress ---------- */
.rb-progress { position: fixed; top: 0; left: 0; z-index: 100; width: 100%; height: 3px; background: transparent; pointer-events: none; }
.rb-progress > span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--rb-saffron), var(--rb-gold)); }
.rb-thread-track { position: fixed; top: 0; left: 22px; z-index: 40; width: 2px; height: 100%; background: rgba(128, 128, 160, .18); pointer-events: none; }
.rb-thread-fill { position: absolute; top: 0; left: 0; width: 100%; height: 0; background: linear-gradient(180deg, var(--rb-gold), var(--rb-saffron)); box-shadow: 0 0 12px rgba(245, 180, 40, .55); }
.rb-thread-knot { position: absolute; top: 0; left: 50%; width: 14px; height: 14px; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle at 35% 35%, var(--rb-gold-soft), var(--rb-saffron) 70%); box-shadow: 0 0 14px rgba(245, 180, 40, .9), inset 0 0 4px rgba(255, 255, 255, .6); }

/* ---------- header ---------- */
.rb-topbar { position: relative; z-index: 60; display: flex; justify-content: center; gap: 16px; padding: 7px 18px; background: #090e35; color: rgba(255, 255, 255, .78); font-size: 12px; }
.rb-navbar { position: sticky; top: 0; z-index: 55; display: flex; align-items: center; justify-content: space-between; min-height: 70px; padding: 8px clamp(18px, 4vw, 64px); background: rgba(255, 255, 255, .96); border-bottom: 1px solid rgba(16, 23, 79, .08); backdrop-filter: blur(16px); }
.rb-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--rb-navy); text-decoration: none; font-weight: 700; line-height: 1.2; }
.rb-brand img { width: 46px; height: 46px; object-fit: contain; }
.rb-brand span { font-size: 13px; }
.rb-brand small { display: block; margin-top: 2px; color: #62678a; font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.rb-navlinks { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; font-size: 13px; font-weight: 600; }
.rb-navlinks a { text-decoration: none; }
.rb-navlinks a:hover { color: var(--rb-saffron); }

main { position: relative; z-index: 10; }

/* ---------- cinematic (dark) ---------- */
.rb-cine { position: relative; color: var(--rb-on-dark); }
.rb-cine h1, .rb-cine h2, .rb-cine h3 { font-family: "Playfair Display", Georgia, "Times New Roman", serif; }
.rb-cine > section { position: relative; display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 12vh 6vw; }
.rb-cine > .rb-align-l,
.rb-cine > .rb-align-r { min-height: 78vh; padding-block: 9vh; }
.rb-kicker-light { margin: 0 0 16px; color: var(--rb-gold); font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; }
.rb-gold-display { color: var(--rb-gold-soft); text-shadow: 0 4px 28px rgba(245, 180, 40, .16); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .rb-gold-display {
    background: linear-gradient(105deg, #fff6e8 3%, #ffe9a3 27%, #f5b428 53%, #fff0bd 72%, #cf8613 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  }
}

/* hero */
.rb-cine > .rb-hero { flex-direction: column; min-height: 72vh; padding-top: 10vh; padding-bottom: 9vh; text-align: center; }
.rb-hero .rb-presents { margin: 0 0 20px; color: var(--rb-on-dark-dim); font-size: .74rem; letter-spacing: .34em; text-transform: uppercase; animation: rb-in .4s .06s both; }
.rb-hero h1 {
  max-width: 18ch; margin: 0; font-size: clamp(2rem, 5.4vw, 3.9rem); line-height: 1.12;
  color: var(--rb-cream);
  animation: rb-in .4s .1s both;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .rb-hero h1 {
    background: linear-gradient(105deg, #cf8613 0%, #f5b428 23%, #fff8dc 43%, #fffdf2 50%, #ffe09a 57%, #f5b428 77%, #cf8613 100%);
    background-size: 230% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: rb-in .4s .1s both, rb-title-reflection 6.8s 1s ease-in-out infinite alternate;
  }
}
.rb-hero .rb-sub { max-width: 52ch; margin: 24px 0 0; color: var(--rb-on-dark-dim); font-size: clamp(.95rem, 1.6vw, 1.15rem); font-weight: 300; animation: rb-in .4s .1s both; }
.rb-date-pill { display: inline-flex; align-items: center; gap: 9px; margin: 18px 0 0; padding: 10px 26px; border: 1px solid rgba(245, 180, 40, .4); border-radius: 100px; color: var(--rb-gold-soft); font-size: .88rem; letter-spacing: .1em; animation: rb-in .4s .14s both; }
.rb-date-pill svg, .rb-icon svg { width: 18px; height: 18px; }
@keyframes rb-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes rb-title-reflection { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* glass story cards */
.rb-align-l { justify-content: flex-start; }
.rb-align-r { justify-content: flex-end; }
.rb-card {
  max-width: 620px; padding: 44px 46px; border: 1px solid rgba(245, 180, 40, .18); border-radius: 22px;
  background: rgba(10, 14, 51, .42); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
  opacity: 0; transform: translateY(46px); transition: opacity .9s ease, transform .9s ease;
}
.rb-card.is-on { opacity: 1; transform: none; }
.rb-card h2 { margin: 0 0 18px; color: var(--rb-cream); font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.18; }
.rb-card p { margin: 0; color: var(--rb-on-dark); font-size: clamp(.98rem, 1.35vw, 1.08rem); font-weight: 300; line-height: 1.85; }
.rb-card p + p { margin-top: 14px; }
.rb-card em { color: var(--rb-gold-soft); font-style: italic; }
.rb-values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.rb-values span { padding: 8px 18px; border: 1px solid rgba(245, 180, 40, .35); border-radius: 100px; background: rgba(245, 180, 40, .07); color: var(--rb-gold-soft); font-size: .8rem; letter-spacing: .06em; }

/* ---------- katha: scroll-driven kids story ---------- */
/* Static, readable fallback first — JS adds .is-live to switch on the scroll scene. */
/* Beats `.rb-cine > section`'s flex centring — as a flex item the sticky stage
   would sit half a section down and the whole walk would play below the fold. */
.rb-cine > .rb-katha { position: relative; display: block; min-height: 0; padding: clamp(56px, 9vw, 110px) 6vw; }
.rb-katha-sticky { width: min(1160px, 100%); margin: 0 auto; }
.rb-katha-stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 32px); width: 100%; }
.rb-katha-kids { position: relative; width: min(86vw, 100vh); max-width: 900px; aspect-ratio: 1269 / 1000; z-index: 2; }
.rb-katha-full { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
.rb-katha-sprite, .rb-katha-glow, .rb-katha-bless { display: none; }
.rb-kcap { max-width: 560px; padding: 26px 28px; border: 1px solid rgba(245, 180, 40, .22); border-radius: 18px; background: rgba(10, 14, 51, .55); box-shadow: 0 18px 50px rgba(0, 0, 0, .35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.rb-kcap .rb-kicker-light { margin-bottom: 10px; }
.rb-kcap h2 { margin: 0 0 10px; color: var(--rb-cream); font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.25; }
.rb-kcap p { margin: 0; color: var(--rb-on-dark); font-size: .92rem; font-weight: 300; line-height: 1.75; }
.rb-kcap em { color: var(--rb-gold-soft); font-style: italic; }

/* Live scroll scene */
.rb-cine > .rb-katha.is-live { height: 480vh; padding: 0; }
.rb-katha.is-live .rb-katha-sticky { position: sticky; top: 0; width: 100%; height: 100vh; overflow: hidden; }
.rb-katha.is-live .rb-katha-stage { height: 100%; gap: 0; }
.rb-katha.is-live .rb-katha-full { opacity: 0; will-change: opacity, transform; }
/* height:100% is load-bearing — the frames inside are sized in % of this box. */
.rb-katha.is-live .rb-katha-sprite { display: block; position: absolute; top: auto; bottom: 1%; z-index: 2; width: 0; height: 100%; will-change: transform, opacity; }
.rb-katha.is-live .rb-katha-sprite[data-katha-side="sis"] { left: 27%; }
.rb-katha.is-live .rb-katha-sprite[data-katha-side="boy"] { left: 75%; }
.rb-katha.is-live .rb-katha-sprite img { position: absolute; bottom: 0; left: 0; max-width: none; opacity: 0; transform: translateX(-50%); filter: drop-shadow(0 22px 38px rgba(0, 0, 0, .45)); }
.rb-katha.is-live .rb-katha-glow { display: block; position: absolute; top: 42%; left: 41%; z-index: 3; width: 26%; height: 22%; border-radius: 50%; opacity: 0; background: radial-gradient(circle, rgba(255, 217, 119, .9), rgba(245, 180, 40, .3) 55%, transparent 78%); filter: blur(5px); mix-blend-mode: screen; pointer-events: none; }
.rb-katha.is-live .rb-katha-bless { display: block; position: absolute; inset: 0; z-index: 1; opacity: 0; background: radial-gradient(90% 70% at 50% 30%, rgba(255, 217, 119, .28), transparent 65%); pointer-events: none; }
.rb-katha-action { display: none; }
.rb-katha.is-live .rb-katha-action { position: absolute; inset: -1% 5% 8%; z-index: 4; display: grid; place-items: end center; margin: 0; pointer-events: none; }
/* Scene Three's caption occupies the right side of the stage. Shift the whole
   gift composition into the open left area without interfering with the image's
   inline cinematic float transform. */
.rb-katha.is-live .rb-katha-gift { transform: translateX(clamp(-128px, -9vw, -72px)); }
/* Scene Four's caption occupies the left side, so mirror the composition shift
   into the open right area. */
.rb-katha.is-live .rb-katha-namaste { transform: translateX(clamp(72px, 9vw, 128px)); }
/* height:auto is load-bearing — without it the markup's height attribute keeps the
   box at its natural pixel height, so the frame overruns its reserved band. */
.rb-katha.is-live .rb-katha-action img { display: block; width: min(104%, 980px); height: auto; max-height: 100%; object-fit: contain; object-position: center bottom; opacity: 0; will-change: transform, opacity; filter: drop-shadow(0 24px 35px rgba(0, 0, 0, .45)); }
.rb-katha.is-live .rb-kcap { position: absolute; z-index: 6; max-width: 340px; opacity: 0; transform: translateY(26px); pointer-events: none; transition: opacity .55s ease, transform .55s ease; }
.rb-katha.is-live .rb-kcap.is-on { opacity: 1; transform: translateY(0); }
.rb-katha.is-live .rb-kcap-1 { top: 9%; left: 5%; }
.rb-katha.is-live .rb-kcap-2 { top: 24%; left: 5%; }
.rb-katha.is-live .rb-kcap-3 { top: 26%; right: 5%; left: auto; }
.rb-katha.is-live .rb-kcap-4 { bottom: 12%; left: 5%; }

/* parallax divider */
.rb-parallax { padding: 0; min-height: 110vh; align-items: stretch; }
.rb-px-wrap { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 110vh; overflow: hidden; }
.rb-px-layer { position: absolute; inset: -6% -4%; will-change: transform; pointer-events: none; }
.rb-px-moon { background: radial-gradient(circle at 72% 24%, rgba(255, 246, 232, .95) 0 46px, rgba(255, 217, 119, .35) 60px, transparent 130px); }
.rb-px-stars {
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255, 246, 232, .9), transparent 100%),
    radial-gradient(1px 1px at 28% 34%, rgba(255, 246, 232, .7), transparent 100%),
    radial-gradient(1.5px 1.5px at 44% 12%, rgba(255, 217, 119, .8), transparent 100%),
    radial-gradient(1px 1px at 58% 28%, rgba(255, 246, 232, .6), transparent 100%),
    radial-gradient(1.5px 1.5px at 84% 40%, rgba(255, 246, 232, .8), transparent 100%),
    radial-gradient(1px 1px at 92% 14%, rgba(255, 217, 119, .7), transparent 100%),
    radial-gradient(1.2px 1.2px at 68% 8%, rgba(255, 246, 232, .8), transparent 100%),
    radial-gradient(1px 1px at 6% 44%, rgba(255, 246, 232, .55), transparent 100%);
}
.rb-px-clouds { opacity: .5; background: radial-gradient(240px 60px at 18% 30%, rgba(27, 36, 104, .9), transparent 70%), radial-gradient(320px 70px at 66% 22%, rgba(27, 36, 104, .8), transparent 70%), radial-gradient(280px 60px at 88% 38%, rgba(16, 23, 79, .9), transparent 70%); }
.rb-px-garland { top: 0; height: 64px; inset-inline: 0; opacity: .85; background: radial-gradient(circle at 12px 10px, var(--rb-gold) 7px, transparent 8px), radial-gradient(circle at 12px 30px, var(--rb-saffron) 5px, transparent 6px), radial-gradient(circle at 12px 46px, var(--rb-rose) 3.5px, transparent 4.5px); background-size: 24px 64px; background-repeat: repeat-x; }
.rb-px-mandala { display: flex; align-items: center; justify-content: center; }
.rb-px-mandala svg { width: min(72vw, 620px); height: auto; opacity: .5; }
.rb-px-diyas { top: auto; bottom: 0; height: 180px; inset-inline: 0; display: flex; justify-content: space-around; align-items: flex-end; padding: 0 4vw 26px; }
.rb-diya { width: 64px; height: auto; }
.rb-diya .rb-flame { transform-origin: 50% 90%; animation: rb-flick 1.6s ease-in-out infinite; }
.rb-diya:nth-child(2) .rb-flame { animation-delay: .35s; }
.rb-diya:nth-child(3) .rb-flame { animation-delay: .7s; }
.rb-diya:nth-child(4) .rb-flame { animation-delay: .2s; }
.rb-diya:nth-child(5) .rb-flame { animation-delay: .55s; }
@keyframes rb-flick { 0%, 100% { transform: scale(1) rotate(-2deg); } 50% { transform: scale(1.12) rotate(2.5deg); } }
.rb-px-caption { position: relative; z-index: 5; max-width: 600px; padding: 0 8vw; text-align: center; }
.rb-px-caption h2 { margin: 0 0 16px; color: var(--rb-cream); font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.2; }
.rb-px-caption p { margin: 0; color: var(--rb-on-dark-dim); font-weight: 300; line-height: 1.8; }

/* ---------- garland divider into light content ---------- */
.rb-garland { position: relative; z-index: 10; height: 84px; overflow: hidden; background: linear-gradient(90deg, var(--rb-cream), #fff, var(--rb-cream)); }
.rb-garland::before { position: absolute; top: -39px; left: -3%; width: 106%; height: 73px; content: ""; border-bottom: 2px solid var(--rb-saffron); border-radius: 50%; }
.rb-garland::after { position: absolute; top: 23px; left: 0; width: 100%; height: 11px; content: ""; background: radial-gradient(circle, var(--rb-gold) 0 4px, transparent 5px) 0 0 / 38px 11px repeat-x; }

/* ---------- light article ---------- */
.rb-content { position: relative; z-index: 10; padding: 78px 20px; background: var(--rb-cream); color: var(--rb-ink); }
.rb-content-inner { width: min(900px, 100%); margin: 0 auto; }
.rb-content h2, .rb-content h3 { font-family: "Playfair Display", Georgia, serif; }
.rb-content h2 { margin: 72px 0 16px; color: var(--rb-navy); font-size: clamp(34px, 5vw, 57px); line-height: 1.05; letter-spacing: -.025em; scroll-margin-top: 100px; }
.rb-content .rb-gold-display { color: #9a6406; text-shadow: none; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .rb-content .rb-gold-display { background-image: linear-gradient(105deg, #6d4204, #bb7a09 42%, #e5b43d 65%, #875005); }
}
.rb-content h3 { margin: 33px 0 10px; color: var(--rb-navy); font-size: clamp(24px, 3vw, 33px); line-height: 1.15; }
.rb-content p, .rb-content li { max-width: 65ch; }
.rb-kicker { margin: 0; color: #a7551d; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.rb-intro { max-width: 60ch; color: #4e5271; font-size: 18px; }
.rb-date-card { display: grid; grid-template-columns: 110px 1fr; gap: 22px; align-items: center; max-width: 680px; margin: 32px 0; padding: 20px; border: 1px solid #ecd8a7; background: #fffdf7; box-shadow: 11px 11px 0 rgba(245, 180, 40, .17); }
.rb-date-card-time { display: grid; place-items: center; min-height: 94px; border-right: 1px solid #eadab4; color: var(--rb-navy); font-family: "Playfair Display", serif; font-size: 30px; font-weight: 800; line-height: .9; text-align: center; }
.rb-date-card-time small { margin-top: 8px; font-family: Poppins, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.rb-date-card p { margin: 0; font-size: 15px; }
.rb-callout { margin: 31px 0; padding: 18px 21px; border-left: 3px solid var(--rb-saffron); background: rgba(245, 180, 40, .12); color: #4c3a1c; }
.rb-legend-grid, .rb-craft-grid, .rb-wishes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin: 29px 0; }
.rb-legend, .rb-craft, .rb-wish-card { padding: 21px; border: 1px solid var(--rb-line); background: #fff; }
.rb-icon { display: grid; width: 39px; height: 39px; margin-bottom: 16px; place-items: center; border-radius: 50%; background: #fff2cf; color: #ad6e07; }
.rb-legend h3, .rb-craft h3 { margin: 0 0 8px; font-size: 23px; }
.rb-legend p, .rb-craft p { margin: 0; font-size: 14px; }
.rb-speech { position: relative; margin: 26px 0; padding: 28px 29px 24px; border: 1px solid #d9ddef; background: #fff; box-shadow: 7px 7px 0 var(--rb-mist); }
.rb-speech-label { color: #64709a; font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.rb-speech h3 { margin: 9px 0 17px; }
.rb-speech p { margin: 0; white-space: pre-line; }
.rb-ten-lines { margin: 22px 0; padding: 0; list-style: none; counter-reset: lines; }
.rb-ten-lines li { position: relative; min-height: 52px; padding: 14px 12px 14px 58px; border-bottom: 1px solid var(--rb-line); counter-increment: lines; }
.rb-ten-lines li::before { position: absolute; top: 13px; left: 8px; display: grid; width: 31px; height: 31px; place-items: center; border-radius: 50%; background: var(--rb-navy); color: #fff; content: counter(lines); font-size: 12px; font-weight: 700; }
.rb-craft ol { margin: 12px 0 0; padding-left: 20px; font-size: 14px; }
.rb-wish-card { min-height: 130px; display: flex; align-items: center; color: #3b3f5c; font: italic 18px/1.45 "Playfair Display", serif; }
.rb-download-panel { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin: 62px 0; padding: clamp(26px, 5vw, 46px); background: var(--rb-navy); color: #fff; }
.rb-download-panel h2 { margin: 0 0 10px; color: #fff; font-size: clamp(28px, 4vw, 42px); }
.rb-download-panel p { margin: 0; color: rgba(255, 255, 255, .75); }
.rb-download, .rb-cta { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 10px 17px; border: 1px solid var(--rb-gold); border-radius: 3px; background: var(--rb-gold); color: #241900; font-weight: 700; text-decoration: none; cursor: pointer; }
.rb-download { flex: none; background: #fff; border-color: #fff; color: var(--rb-navy); }
.rb-cta:hover, .rb-download:hover { background: #ffd365; }
.rb-faq { margin-top: 28px; border-top: 1px solid var(--rb-line); }
.rb-faq details { border-bottom: 1px solid var(--rb-line); }
.rb-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 2px; color: var(--rb-navy); font-weight: 700; cursor: pointer; list-style: none; }
.rb-faq summary::-webkit-details-marker { display: none; }
.rb-faq summary::after { content: "+"; color: var(--rb-saffron); font-size: 25px; font-weight: 400; }
.rb-faq details[open] summary::after { content: "−"; }
.rb-faq p { margin: 0; padding: 0 2px 20px; color: #535774; }
.rb-closing { margin-top: 75px; padding: 48px; background: #fff; border-top: 4px solid var(--rb-gold); text-align: center; }
.rb-closing h2 { margin-top: 0; }
.rb-closing p { margin: 0 auto 25px; }
.rb-cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 11px; }
.rb-cta.secondary { background: #fff; border-color: var(--rb-navy); color: var(--rb-navy); }
.rb-placeholder { margin-top: 21px !important; color: #767b97; font-size: 12px; }

/* ---------- footer ---------- */
.rb-footer { position: relative; z-index: 10; padding: 50px 20px 24px; background: #080c30; color: rgba(255, 255, 255, .75); }
.rb-footer-inner { width: min(1160px, 100%); margin: auto; }
.rb-footer-title { margin: 0 0 10px; color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: 31px; }
.rb-footer small { display: block; max-width: 85ch; margin-top: 32px; padding-top: 17px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 11px; line-height: 1.6; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .rb-align-l, .rb-align-r { justify-content: center; }
  /* lift the pair clear of the bottom-pinned caption card */
  .rb-cine > .rb-katha.is-live .rb-katha-kids { width: min(96vw, 680px); margin-bottom: 27vh; }
  .rb-katha.is-live .rb-kcap { top: auto !important; right: auto !important; bottom: 4% !important; left: 50% !important; max-width: 88vw; padding: 18px 20px; transform: translate(-50%, 26px); }
  .rb-katha.is-live .rb-kcap.is-on { transform: translate(-50%, 0); }
  .rb-katha.is-live .rb-kcap h2 { font-size: 1.1rem; }
  .rb-katha.is-live .rb-kcap p { font-size: .82rem; line-height: 1.6; }
  /* The caption is bottom-pinned from this width down, so the post-tie frames
     get their own reserved band above it and sit on that band's floor. */
  .rb-katha.is-live .rb-katha-action { inset: 3% 4% 48%; place-items: end center; }
  .rb-katha.is-live .rb-katha-gift { transform: none; }
  .rb-katha.is-live .rb-katha-namaste { transform: none; }
  .rb-katha.is-live .rb-katha-action img { width: min(100%, 620px); max-height: 100%; object-position: center bottom; }
}
@media (max-width: 760px) {
  .rb-topbar { display: none; }
  .rb-navlinks { display: none; }
  .rb-thread-track { left: 10px; }
  .rb-navbar { min-height: 66px; padding: 7px 18px; }
  .rb-brand img { width: 42px; height: 42px; }
  .rb-brand span { font-size: 12px; }
  .rb-brand small { font-size: 8px; }
  .rb-cine > section { min-height: auto; padding: 72px 7vw; }
  .rb-cine > .rb-hero { min-height: auto !important; padding-top: 44px !important; padding-bottom: 52px !important; }
  .rb-hero .rb-presents { margin-bottom: 13px; font-size: .61rem; letter-spacing: .22em; }
  .rb-hero h1 { font-size: clamp(2.15rem, 10vw, 3rem); }
  .rb-hero .rb-sub { margin-top: 18px; font-size: .94rem; line-height: 1.68; }
  .rb-date-pill { max-width: 100%; margin-top: 16px; padding: 9px 15px; font-size: .73rem; line-height: 1.45; letter-spacing: .035em; text-align: left; }
  .rb-cine > .rb-katha { padding: 36px 0 0; }
  .rb-cine > .rb-katha.is-live { height: 380vh; padding: 0; }
  .rb-katha-kids { width: 96vw; }
  .rb-katha:not(.is-live) .rb-kcap { width: min(100%, 620px); padding: 22px 21px; }
  .rb-katha.is-live .rb-kcap { bottom: 5% !important; max-width: calc(100vw - 32px); padding: 16px 18px; border-radius: 15px; }
  .rb-katha.is-live .rb-kcap .rb-kicker-light { margin-bottom: 8px; font-size: .58rem; letter-spacing: .18em; }
  .rb-katha.is-live .rb-kcap h2 { margin-bottom: 7px; font-size: 1.08rem; line-height: 1.2; }
  .rb-katha.is-live .rb-kcap p { font-size: .78rem; line-height: 1.55; }
  /* Keep the post-tie frames entirely above the caption safe area on phones:
     the figures rest on the floor of a band that stops short of the card. */
  .rb-katha.is-live .rb-katha-action { inset: 3% 3% 50%; place-items: end center; }
  .rb-katha.is-live .rb-katha-action img { width: min(108%, 490px); max-height: 100%; object-position: center bottom; }
  .rb-card { width: 100%; padding: 27px 22px; border-radius: 18px; }
  .rb-card h2 { font-size: 1.7rem; }
  .rb-card p { font-size: .95rem; line-height: 1.75; }
  .rb-values { gap: 8px; margin-top: 19px; }
  .rb-values span { padding: 7px 12px; font-size: .72rem; }
  .rb-cursor { display: none; }
  .rb-parallax { min-height: 82dvh !important; padding: 0 !important; }
  .rb-px-wrap { min-height: 82dvh; }
  .rb-px-garland { height: 48px; background-size: 20px 52px; }
  .rb-px-moon { background: radial-gradient(circle at 74% 22%, rgba(255, 246, 232, .95) 0 34px, rgba(255, 217, 119, .35) 48px, transparent 98px); }
  .rb-px-caption { max-width: 27rem; padding: 0 12vw; }
  .rb-px-caption h2 { font-size: 2.05rem; }
  .rb-px-caption p { font-size: .93rem; line-height: 1.7; }
  .rb-px-mandala svg { width: 96vw; }
  .rb-px-diyas { height: 120px; padding-bottom: 16px; }
  .rb-diya:nth-child(4), .rb-diya:nth-child(5) { display: none; }
  .rb-diya { width: 46px; }
  .rb-content { padding: 56px 18px; }
  .rb-content h2 { margin-top: 54px; font-size: clamp(2rem, 9vw, 2.55rem); }
  .rb-content h3 { font-size: 1.55rem; }
  .rb-content .rb-intro { font-size: 1rem; line-height: 1.72; }
  .rb-legend-grid, .rb-craft-grid { grid-template-columns: 1fr; }
  .rb-wishes { grid-template-columns: 1fr 1fr; }
  .rb-date-card { grid-template-columns: 80px 1fr; gap: 15px; }
  .rb-date-card-time { min-height: 75px; font-size: 25px; }
  .rb-download-panel { display: block; }
  .rb-download { width: 100%; margin-top: 20px; }
  .rb-closing { padding: 32px 20px; }
}

/* Short landscape screens need the post-tie artwork to be height-led rather
   than width-led. Otherwise the 1.05x entrance scale can lift the characters
   above the viewport before the bottom-pinned scene card is reached.
   The cap must be expressed in viewport units only: a percentage operand
   resolves against the indefinite grid area, so the image silently falls back
   to its intrinsic width-driven height and overruns the stage. */
@media (orientation: landscape) {
  .rb-katha.is-live .rb-katha-action img {
    width: auto;
    height: 76vh;
    max-width: 92%;
    max-height: 76vh;
  }
}

/* Landscape phones and small tablets are height-starved: the stacked layout
   (art above a full-width card) leaves too little room, and the sticky navbar
   crops the characters' heads. Switch to the side-by-side composition instead —
   art on one side, caption on the other — mirroring the desktop scenes.
   Heights stay in viewport units: a percentage operand would be indefinite here
   and the art would fall back to its intrinsic width-driven height. */
@media (max-width: 900px) and (orientation: landscape) {
  /* Clear the sticky navbar (70px) at the top of every band. */
  .rb-cine > .rb-katha.is-live .rb-katha-kids {
    width: auto;
    height: 58vh;
    max-width: 54%;
    margin-bottom: 0;
    transform: translateX(30%);
  }
  .rb-katha.is-live .rb-kcap {
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    left: 4% !important;
    max-width: min(44%, 330px);
    padding: 12px 15px;
    transform: translate(0, calc(-50% + 20px));
  }
  .rb-katha.is-live .rb-kcap.is-on { transform: translate(0, -50%); }
  .rb-katha.is-live .rb-kcap-3 { right: 4% !important; left: auto !important; }
  .rb-katha.is-live .rb-katha-gift { inset: 76px 48% 6% 3%; }
  .rb-katha.is-live .rb-katha-namaste { inset: 76px 3% 6% 48%; }
  .rb-katha.is-live .rb-katha-action img {
    width: auto;
    height: 54vh;
    max-width: 100%;
    max-height: 54vh;
  }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
  .rb-card { opacity: 1 !important; transform: none !important; }
  .rb-bg { display: none; }
  .rb-kcap { transition: none !important; }
  .rb-hero h1 { animation: none; background-position: 50% 50%; }
  .rb-cursor, .rb-stars { display: none !important; }
  .rb-has-rakhi-cursor, .rb-has-rakhi-cursor * { cursor: auto; }
}

/* ---------- print ---------- */
@media print {
  .rb-topbar, .rb-navbar, .rb-progress, .rb-thread-track, .rb-bg, .rb-bg-fallback, .rb-vignette, .rb-cine, .rb-garland, .rb-download-panel, .rb-footer { display: none !important; }
  body { background: #fff; }
  .rb-content { padding: 0; background: #fff; }
  .rb-content h2 { margin-top: 34px; }
}

