/* ==========================================================================
   ASTRO SIDDHI — "Aurora Celestial" design system  ·  v5
   Deep-space indigo · iris violet · star gold — modern glass & gradients
   Solar-system living background · scroll-uncover · video testimonials
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* surfaces */
  --bg: #07060f;
  --bg-2: #0c0a1a;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: #12101f;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.2);

  /* type */
  --heading: #f5f3ff;
  --text: rgba(238, 235, 252, 0.94);
  --text-2: rgba(238, 235, 252, 0.7);

  /* accents */
  --iris: #8b5cf6;
  --iris-2: #c4b5fd;
  --fuchsia: #e879f9;
  --gold: #e6b64c;
  --gold-2: #fcd34d;
  --grad-accent: linear-gradient(92deg, #c4b5fd, #e879f9 52%, #fcd34d);

  /* fx */
  --glow: 0 0 46px rgba(139, 92, 246, 0.28);
  --glow-gold: 0 0 40px rgba(230, 182, 76, 0.25);
  --shadow: 0 24px 70px rgba(3, 2, 10, 0.6);
  --ring: rgba(255, 255, 255, 0.1);

  /* fonts */
  --f-display: "Space Grotesk", "Outfit", sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "Outfit", "Segoe UI", system-ui, sans-serif;

  --r: 24px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Reset & base ---------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--f-body);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

::selection { background: var(--iris); color: #fff; }
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--iris), var(--fuchsia)); border-radius: 8px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }

/* ---------- 3. Cosmos: aurora + stars + revolving solar system ----------- */
.cosmos { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg); }
/* aurora blobs */
.cosmos::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(38% 30% at 78% 10%, rgba(139, 92, 246, 0.24), transparent 65%),
    radial-gradient(32% 28% at 12% 32%, rgba(232, 121, 249, 0.13), transparent 65%),
    radial-gradient(36% 30% at 68% 88%, rgba(76, 60, 200, 0.2), transparent 65%),
    radial-gradient(24% 22% at 30% 78%, rgba(230, 182, 76, 0.07), transparent 65%);
  animation: aurora 26s ease-in-out infinite alternate;
}
@keyframes aurora {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(2%, 2%, 0) scale(1.08); }
}
.stars, .stars-2 {
  position: absolute; inset: -50%;
  background-image:
    radial-gradient(1.4px 1.4px at 20% 14%, rgba(245, 243, 255, .9), transparent 55%),
    radial-gradient(1px 1px at 66% 32%, rgba(196, 181, 253, .9), transparent 55%),
    radial-gradient(1.2px 1.2px at 44% 64%, rgba(245, 243, 255, .66), transparent 55%),
    radial-gradient(1px 1px at 86% 76%, rgba(252, 211, 77, .7), transparent 55%),
    radial-gradient(1.6px 1.6px at 10% 84%, rgba(196, 181, 253, .6), transparent 55%),
    radial-gradient(1px 1px at 92% 6%, rgba(245, 243, 255, .8), transparent 55%);
  background-size: 640px 640px, 500px 500px, 560px 560px, 440px 440px, 720px 720px, 400px 400px;
  animation: starDrift 240s linear infinite, starPulse 6s ease-in-out infinite alternate;
}
.stars-2 {
  background-size: 340px 340px, 280px 280px, 300px 300px, 260px 260px, 380px 380px, 240px 240px;
  opacity: .5; animation-duration: 160s, 4.2s;
}
@keyframes starDrift { to { transform: translate3d(240px, 160px, 0); } }
@keyframes starPulse { from { opacity: .55; } to { opacity: 1; } }

/* — solar system — */
.solar {
  position: absolute; top: 4vh; right: -320px;
  width: min(920px, 88vw); aspect-ratio: 1;
  transform: rotateX(58deg) rotateZ(-16deg);
  transform-style: preserve-3d;
  opacity: .9;
}
.sun {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 92px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fff3c9, var(--gold) 48%, #c2711d 82%);
  box-shadow: 0 0 60px rgba(230, 182, 76, .75), 0 0 150px rgba(230, 182, 76, .3);
  animation: sunPulse 5s ease-in-out infinite alternate;
}
@keyframes sunPulse {
  from { box-shadow: 0 0 50px rgba(230,182,76,.65), 0 0 120px rgba(230,182,76,.28); }
  to   { box-shadow: 0 0 85px rgba(230,182,76,.95), 0 0 200px rgba(230,182,76,.42); }
}
.orbit {
  position: absolute; top: 50%; left: 50%;
  width: var(--d); aspect-ratio: 1;
  border: 1px solid var(--ring); border-radius: 50%;
  transform-style: preserve-3d;
  animation: orbitSpin var(--t) linear infinite;
}
@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
.planet {
  position: absolute; top: 0; left: 50%; translate: -50% -50%;
  width: var(--s); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--c1), var(--c2) 72%);
  box-shadow: 0 0 16px rgba(196, 181, 253, .5);
  transform: rotateZ(16deg) rotateX(-58deg);
}
.planet.ringed::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 210%; height: 60%; translate: -50% -50%;
  border: 2px solid rgba(196, 181, 253, .55); border-radius: 50%;
  transform: rotate(-24deg);
}
.drifter {
  position: absolute; bottom: 8vh; left: -60px;
  width: 120px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #c4b5fd, #3b2a63 76%);
  box-shadow: 0 0 36px rgba(139, 92, 246, .35);
  animation: drift 14s ease-in-out infinite alternate;
  opacity: .65;
}
.drifter::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 200%; height: 52%; translate: -50% -50%;
  border: 3px solid rgba(196, 181, 253, .4); border-radius: 50%;
  transform: rotate(-18deg);
}
@keyframes drift { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(-34px) rotate(5deg); } }

/* ---------- 4. Scroll progress ------------------------------------------ */
.progress {
  position: fixed; top: 0; left: 0; z-index: 300;
  height: 3px; width: 0;
  background: var(--grad-accent);
  box-shadow: 0 0 14px rgba(232, 121, 249, .5);
}

/* ---------- 5. Header ----------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.site-header.scrolled {
  background: rgba(7, 6, 15, .8);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 44px rgba(3, 2, 10, .5);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(196, 181, 253, .5)); transition: transform .5s var(--ease); }
/* lift the logo's dark strokes on the dark theme */
:root:not([data-theme="light"]) .brand-mark,
:root:not([data-theme="light"]) .foot-brand img {
  filter: drop-shadow(0 0 12px rgba(196, 181, 253, .55)) brightness(1.45) saturate(1.15);
}
.brand:hover .brand-mark { transform: rotate(180deg); }
.brand-name { font-family: var(--f-display); font-weight: 700; font-size: 1.32rem; letter-spacing: .01em; color: var(--heading); line-height: 1; }
.brand-tag { display: block; font-size: .54rem; letter-spacing: .26em; text-transform: uppercase; color: var(--iris-2); margin-top: 4px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn) {
  position: relative; padding: 10px 16px; font-size: .92rem; font-weight: 400;
  color: var(--text-2); border-radius: 12px; transition: color .25s, background .25s;
}
.nav-links a:not(.btn):hover { color: var(--heading); background: var(--surface); }
.nav-links a.active { color: var(--heading); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; border-radius: 2px;
  background: var(--grad-accent);
}
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: transparent; color: var(--heading); font-size: 1rem; cursor: pointer;
  display: grid; place-items: center; transition: .3s var(--ease); margin-inline: 6px;
}
.theme-toggle:hover { background: var(--iris); border-color: var(--iris); color: #fff; transform: rotate(24deg) scale(1.1); box-shadow: var(--glow); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; z-index: 10; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--heading); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- 6. Buttons / shared ------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 60px; font-size: .93rem; font-weight: 500;
  letter-spacing: .02em; cursor: pointer; border: 1px solid transparent;
  transition: .35s var(--ease); position: relative; overflow: hidden;
}
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-gold {
  background: linear-gradient(120deg, var(--iris), #a855f7 55%, var(--fuchsia));
  color: #fff; font-weight: 600;
  box-shadow: 0 12px 36px rgba(139, 92, 246, .38), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-gold::before {
  content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-22deg); animation: sheen 3.8s var(--ease) infinite;
}
@keyframes sheen { 0% { left: -70%; } 55%, 100% { left: 135%; } }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 48px rgba(139, 92, 246, .55), var(--glow); }
.btn-ghost { border-color: var(--line-strong); color: var(--heading); background: var(--surface); }
.btn-ghost:hover { border-color: var(--iris); background: rgba(139, 92, 246, .12); transform: translateY(-3px); }
.btn-sm { padding: 11px 22px; font-size: .85rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
  color: var(--iris-2);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, var(--iris), var(--fuchsia)); }

.sec-head { margin-bottom: 56px; max-width: 660px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, var(--fuchsia), var(--iris)); }
.sec-title {
  font-family: var(--f-display); font-weight: 700; line-height: 1.1;
  font-size: clamp(1.9rem, 4vw, 3rem); color: var(--heading); margin: 16px 0 16px;
  letter-spacing: -.01em;
}
.sec-title em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: 1.12em; line-height: 1;
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.sec-sub { color: var(--text-2); font-size: 1.02rem; }

.section { padding: 110px 0; position: relative; }
.section-tight { padding: 70px 0; }

/* ---------- 7. Hero -------------------------------------------------------- */
.hero { position: relative; padding: 72px 0 120px; overflow: visible; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }

.hero-kicker { margin-bottom: 24px; }
.hero-title {
  font-family: var(--f-display); font-weight: 700; color: var(--heading);
  font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 1.06; letter-spacing: -.025em;
}
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero-title .w > i {
  display: inline-block; font-style: normal;
  transform: translateY(110%); animation: wordUp 1s var(--ease) forwards;
  animation-delay: var(--wd, 0s);
}
@keyframes wordUp { to { transform: translateY(0); } }
.hero-title .accent i {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.1em;
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { margin: 26px 0 36px; max-width: 480px; font-size: 1.08rem; color: var(--text-2); }
.hero-sub strong { color: var(--iris-2); font-weight: 500; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 14px; margin-top: 52px; flex-wrap: wrap; }
.globe-strip {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line);
}
.globe-label { font-size: .78rem; font-weight: 500; letter-spacing: .04em; color: var(--text-2); white-space: nowrap; }
.globe-flags { display: inline-flex; gap: 7px; font-size: 1.15rem; line-height: 1; }
.globe-flags i { font-style: normal; filter: drop-shadow(0 2px 5px rgba(0,0,0,.25)); transition: transform .3s var(--ease); cursor: default; }
.globe-flags i:hover { transform: translateY(-3px) scale(1.15); }
.stat {
  padding: 18px 26px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  transition: .35s var(--ease);
}
.stat:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: var(--glow); }
.stat b {
  display: block; font-family: var(--f-display); font-size: 1.9rem; font-weight: 700; line-height: 1.15;
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat span { font-size: .78rem; color: var(--text-2); letter-spacing: .05em; }

/* hero visual: arch photo + rotating ring + chips */
.hero-visual { position: relative; display: grid; place-items: center; }
.photo-arch {
  position: relative; width: min(400px, 82vw); aspect-ratio: 4 / 5;
  border-radius: 999px 999px 30px 30px; overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow), var(--glow);
}
.photo-arch img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .8s var(--ease); }
.hero-visual:hover .photo-arch img { transform: scale(1.05); }
.photo-arch::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7, 6, 15, .55), transparent 40%);
}
.arch-ring {
  position: absolute; width: min(480px, 96vw); aspect-ratio: 1; border-radius: 50%;
  border: 1px dashed rgba(196, 181, 253, .4);
  animation: ringSpin 26s linear infinite;
}
.arch-ring::before {
  content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px;
  border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, var(--iris));
  box-shadow: 0 0 18px var(--iris);
}
@keyframes ringSpin { to { transform: rotate(360deg); } }

.chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 16px; font-size: .82rem; font-weight: 400;
  color: var(--heading);
  background: rgba(18, 16, 31, .78); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow); backdrop-filter: blur(10px);
  animation: chipFloat 5.5s ease-in-out infinite alternate;
}
.chip .ci { font-size: 1rem; filter: drop-shadow(0 0 8px rgba(196,181,253,.8)); }
.chip-1 { top: 12%; left: 0; animation-delay: 0s; }
.chip-2 { top: 48%; right: 0; animation-delay: 1.4s; }
.chip-3 { bottom: 6%; left: 4%; animation-delay: 2.6s; }
@keyframes chipFloat { from { transform: translateY(0); } to { transform: translateY(-14px); } }

/* ---------- 8. Marquee ----------------------------------------------------- */
.marquee {
  border-block: 1px solid var(--line); padding: 20px 0; overflow: hidden;
  background: rgba(18, 16, 31, .5);
}
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--f-serif); font-size: 1.35rem; font-style: italic;
  color: var(--text-2); white-space: nowrap; display: flex; align-items: center; gap: 56px;
}
.marquee-track span::after { content: "✦"; color: var(--gold); font-style: normal; font-size: .85rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 9. Service cards ---------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  position: relative; padding: 38px 30px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
  overflow: hidden;
}
.svc::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 330deg, var(--iris) 345deg, var(--fuchsia) 352deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.svc:hover { transform: translateY(-9px); border-color: var(--line-strong); box-shadow: var(--shadow), var(--glow); }
.svc:hover::before { opacity: 1; animation: angSpin 2.6s linear infinite; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes angSpin { to { --ang: 360deg; } }

.svc-ico {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 22px;
  background: linear-gradient(140deg, rgba(139, 92, 246, .22), rgba(139, 92, 246, .06));
  border: 1px solid rgba(139, 92, 246, .4);
  box-shadow: inset 0 0 18px rgba(139, 92, 246, .12), 0 0 18px rgba(139, 92, 246, .12);
  transition: .4s var(--ease);
}
.svc:hover .svc-ico { transform: scale(1.1) rotate(-6deg); box-shadow: inset 0 0 18px rgba(139,92,246,.2), 0 0 30px rgba(139,92,246,.45); }
.svc h3 { font-family: var(--f-display); font-size: 1.22rem; font-weight: 700; color: var(--heading); margin-bottom: 10px; }
.svc p { font-size: .93rem; color: var(--text-2); margin-bottom: 18px; }
.svc-link { font-size: .84rem; font-weight: 500; color: var(--iris-2); display: inline-flex; align-items: center; gap: 8px; }
.svc-link .arr { transition: transform .35s var(--ease); }
.svc:hover .svc-link .arr { transform: translateX(6px); }
/* whole card is clickable — the link stretches to cover it (accessible, no JS) */
.svc { cursor: pointer; }
.svc-link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.svc:hover .svc-link { color: var(--fuchsia); }
.svc:active { transform: translateY(-4px) scale(.994); }

/* ---------- 10. Split ------------------------------------------------------ */
.split { display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: center; }
.split-media { position: relative; }
.frame {
  position: relative; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .8s var(--ease); }
.frame:hover img { transform: scale(1.06); }
.frame::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px; pointer-events: none;
}
.frame-tag {
  position: absolute; z-index: 2; left: 24px; bottom: 24px;
  padding: 12px 20px; border-radius: 14px;
  background: rgba(7, 6, 15, .72); border: 1px solid var(--line-strong);
  font-family: var(--f-serif); font-style: italic; font-size: 1.1rem; color: var(--iris-2); backdrop-filter: blur(8px);
}
.split-media .orbit-deco {
  position: absolute; top: -46px; right: -46px; width: 130px; aspect-ratio: 1;
  border: 1px dashed rgba(196, 181, 253, .5); border-radius: 50%;
  animation: ringSpin 20s linear infinite;
}
.split-media .orbit-deco::before {
  content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px;
  border-radius: 50%; background: var(--fuchsia); box-shadow: 0 0 12px var(--fuchsia);
}
.ticks { display: grid; gap: 14px; margin: 26px 0 34px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-size: .98rem; }
.ticks .tk {
  flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: 2px;
  display: grid; place-items: center; font-size: .68rem; color: #fff;
  background: linear-gradient(135deg, var(--iris), var(--fuchsia));
  box-shadow: 0 0 14px rgba(139, 92, 246, .4);
}

/* ---------- 11. Steps ------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 34px 26px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line);
  transition: .4s var(--ease);
}
.step:hover { transform: translateY(-7px); border-color: var(--line-strong); box-shadow: var(--glow); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--f-display); font-size: 2.7rem; font-weight: 700; line-height: 1;
  display: block; margin-bottom: 16px;
  background: linear-gradient(180deg, var(--iris-2), rgba(139, 92, 246, .12));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.step h4 { font-family: var(--f-display); font-size: 1.12rem; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.step p { font-size: .9rem; color: var(--text-2); }
.step .step-arr { position: absolute; top: 40px; right: -16px; color: var(--fuchsia); font-size: 1.1rem; z-index: 2; }
.step:last-child .step-arr { display: none; }

/* ---------- 12. Band (full-bleed accent) ---------------------------------- */
.band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 90% at 50% -20%, rgba(139, 92, 246, .2), transparent 60%),
    linear-gradient(150deg, rgba(37, 24, 74, .85), rgba(10, 8, 22, .96));
  border-block: 1px solid var(--line);
}
.band .bigq {
  font-family: var(--f-serif); font-style: italic; text-align: center;
  font-size: clamp(1.7rem, 3.6vw, 2.8rem); color: var(--heading); max-width: 820px; margin-inline: auto;
}
.band .q-mark { display: block; text-align: center; font-size: 3.4rem; color: var(--fuchsia); line-height: 1; margin-bottom: 8px; text-shadow: 0 0 26px rgba(232,121,249,.6); }

.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 64px; }
.trust {
  text-align: center; padding: 30px 20px; border-radius: var(--r);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  transition: .4s var(--ease);
}
.trust:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--glow); }
.trust .ti { font-size: 1.9rem; display: block; margin-bottom: 12px; filter: drop-shadow(0 0 12px rgba(196,181,253,.6)); }
.trust h4 { font-family: var(--f-display); font-size: 1.05rem; font-weight: 700; color: var(--heading); }
.trust p { font-size: .82rem; color: var(--text-2); }

/* ---------- 13. VIDEO testimonials — continuous marquee flow ----------------- */
/* Cards are duplicated (2 identical sets); the track glides one set's width
   on a GPU transform and loops seamlessly. Hover or a playing video pauses it. */
.vt-wrap {
  position: relative; overflow: hidden;
  padding: 6px; margin: -6px;
  mask-image: linear-gradient(90deg, transparent, #000 3.5%, #000 96.5%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3.5%, #000 96.5%, transparent);
}
.vt-grid {
  display: flex; gap: 22px; width: max-content;
  animation: vtFlow 60s linear infinite;
  will-change: transform;
}
@keyframes vtFlow {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 11px)); }   /* one card-set + the seam gap */
}
.vt-wrap:hover .vt-grid,
.vt-grid.vt-hold { animation-play-state: paused; }
.vt {
  position: relative; border-radius: var(--r); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
  aspect-ratio: 3 / 4;
  flex: 0 0 auto; width: min(368px, 78vw);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
/* reduced motion: static, but still reachable by swipe/scroll */
@media (prefers-reduced-motion: reduce) {
  .vt-wrap { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
}
.vt:hover { transform: translateY(-8px); border-color: var(--line-strong); box-shadow: var(--shadow), var(--glow); }
.vt video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.vt-play {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 72px; height: 72px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(18, 16, 31, .55); color: #fff; font-size: 1.5rem;
  display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(8px);
  transition: .35s var(--ease); z-index: 3; padding-left: 5px;
}
.vt-play::before {
  content: ""; position: absolute; inset: -12px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  animation: playPulse 2.2s ease-out infinite;
}
@keyframes playPulse {
  from { transform: scale(.8); opacity: 1; }
  to   { transform: scale(1.35); opacity: 0; }
}
.vt-play:hover { background: var(--iris); border-color: var(--iris); transform: translate(0, 0) scale(1.12); box-shadow: var(--glow); }
.vt.playing .vt-play { display: none; }
.vt-label {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  padding: 9px 16px; border-radius: 12px; font-size: .8rem;
  background: rgba(7, 6, 15, .7); border: 1px solid var(--line-strong);
  color: var(--heading); backdrop-filter: blur(8px);
  pointer-events: none;
}
.vt.playing .vt-label { display: none; }
/* empty slot: shows until a video file is uploaded */
.vt.vt-empty { border-style: dashed; border-color: var(--line-strong); background: var(--surface); }
.vt.vt-empty video, .vt.vt-empty .vt-play, .vt.vt-empty .vt-label { display: none; }
.vt-hint {
  display: none; position: absolute; inset: 0; padding: 28px; text-align: center;
  flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.vt.vt-empty .vt-hint { display: flex; }
.vt-hint .vh-ico { font-size: 2.2rem; filter: drop-shadow(0 0 14px rgba(196,181,253,.6)); }
.vt-hint p { font-family: var(--f-display); font-weight: 700; color: var(--heading); font-size: 1rem; }
.vt-hint small { font-size: .78rem; color: var(--text-2); line-height: 1.6; }
.vt-hint code {
  display: inline-block; margin-top: 4px; padding: 6px 12px; border-radius: 8px;
  background: rgba(139, 92, 246, .14); border: 1px solid rgba(139, 92, 246, .35);
  color: var(--iris-2); font-size: .74rem;
}

/* ---------- 14. Gallery ----------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery a { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-strong); display: block; }
.gallery img { aspect-ratio: 3 / 4; object-fit: cover; object-position: top center; width: 100%; transition: transform .7s var(--ease); }
.gallery a:hover img { transform: scale(1.08); }
.gallery a::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7, 6, 15, .55), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.gallery a:hover::after { opacity: 1; }

/* ---------- 15. CTA panel ---------------------------------------------------- */
.cta-panel {
  position: relative; overflow: hidden; text-align: center;
  padding: 76px 44px; border-radius: 32px;
  background:
    radial-gradient(ellipse 75% 120% at 50% -30%, rgba(139, 92, 246, .28), transparent 55%),
    linear-gradient(150deg, rgba(37, 24, 74, .85), rgba(14, 11, 28, .95));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow), var(--glow);
}
.cta-panel .cta-orbit {
  position: absolute; top: -90px; right: -90px; width: 240px; aspect-ratio: 1;
  border: 1px dashed rgba(196, 181, 253, .4); border-radius: 50%;
  animation: ringSpin 22s linear infinite;
}
.cta-panel .cta-orbit::before {
  content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold);
}
.cta-panel h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.9rem, 4.2vw, 3rem); color: var(--heading); margin: 12px 0; letter-spacing: -.02em; }
.cta-panel h2 em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.1em;
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.cta-panel p { color: var(--text-2); max-width: 540px; margin: 0 auto 34px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 16. Contact ------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 44px; align-items: start; }
.icard {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px; border-radius: 20px; margin-bottom: 16px;
  background: var(--surface); border: 1px solid var(--line);
  transition: .35s var(--ease);
}
.icard:hover { transform: translateX(8px); border-color: var(--line-strong); box-shadow: var(--glow); }
.icard .ii {
  flex: none; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.25rem;
  background: linear-gradient(140deg, rgba(139, 92, 246, .22), rgba(139, 92, 246, .06));
  border: 1px solid rgba(139, 92, 246, .4);
}
.icard h4 { font-family: var(--f-display); font-size: 1.05rem; font-weight: 700; color: var(--heading); margin-bottom: 4px; }
.icard p, .icard a { font-size: .92rem; color: var(--text-2); display: block; }
.icard a:hover { color: var(--iris-2); }

.form {
  padding: 40px; border-radius: var(--r);
  background: var(--surface-2); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.form h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; color: var(--heading); margin-bottom: 6px; }
.form .fnote { font-size: .88rem; color: var(--text-2); margin-bottom: 26px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .78rem; font-weight: 500; letter-spacing: .1em; color: var(--iris-2); margin-bottom: 8px; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 18px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(7, 6, 15, .5);
  color: var(--heading); font-family: var(--f-body); font-size: .95rem;
  transition: .25s;
}
.field select option { background: var(--surface-2); color: var(--heading); }
.field input::placeholder, .field textarea::placeholder { color: rgba(236, 233, 250, .3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--iris);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .18), 0 0 24px rgba(139, 92, 246, .2);
}
.field textarea { min-height: 120px; resize: vertical; }
.form .btn { width: 100%; justify-content: center; }

.map-wrap { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; filter: saturate(.85); }

/* ---------- 17. Footer -------------------------------------------------------- */
.site-footer {
  margin-top: 40px; border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(7, 6, 15, .92));
  padding: 70px 0 30px;
}
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; margin-bottom: 50px; }
.foot-grid h4 { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; color: var(--heading); margin-bottom: 20px; }
.foot-grid a, .foot-grid p { display: block; font-size: .9rem; color: var(--text-2); margin-bottom: 10px; transition: .25s; }
.foot-grid a:hover { color: var(--iris-2); transform: translateX(4px); }
.foot-brand p { margin-top: 14px; max-width: 300px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--heading); background: var(--surface);
  transition: .3s var(--ease); margin: 0;
}
.socials a:hover { background: var(--iris); border-color: var(--iris); color: #fff; transform: translateY(-4px); box-shadow: var(--glow); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.foot-bottom {
  border-top: 1px solid var(--line); padding-top: 24px; text-align: center;
  font-size: .82rem; color: var(--text-2);
}

/* ---------- 18. Floaters -------------------------------------------------------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 250;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 12px 32px rgba(37, 211, 102, .5);
  animation: waPulse 2.4s infinite; transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.12) rotate(8deg); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes waPulse { 0%,100% { box-shadow: 0 12px 28px rgba(37,211,102,.45); } 50% { box-shadow: 0 12px 40px rgba(37,211,102,.85); } }

.to-top {
  position: fixed; right: 26px; bottom: 96px; z-index: 250;
  width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-strong);
  background: rgba(18, 16, 31, .85); color: var(--heading); cursor: pointer;
  display: grid; place-items: center; font-size: 1.05rem;
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: .35s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--iris); border-color: var(--iris); color: #fff; box-shadow: var(--glow); }

/* ---------- 19. Page hero ------------------------------------------------------- */
.page-hero { position: relative; padding: 96px 0 84px; text-align: center; overflow: hidden; }
.page-hero .eyebrow { justify-content: center; }
.page-hero .eyebrow::after { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, var(--fuchsia), var(--iris)); }
.page-hero h1 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.4rem, 5.6vw, 4rem); color: var(--heading); margin: 18px 0 10px;
  letter-spacing: -.025em;
}
.page-hero h1 em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.1em;
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.page-hero .crumbs { font-size: .78rem; letter-spacing: .16em; color: var(--iris-2); text-transform: uppercase; margin-top: 18px; }
.page-hero .crumbs a:hover { color: var(--heading); }
.page-hero::after {
  content: ""; position: absolute; left: 50%; bottom: 0; translate: -50%;
  width: min(720px, 90vw); height: 1px;
  background: linear-gradient(90deg, transparent, var(--iris), var(--fuchsia), transparent);
}

/* ---------- 20. Reveal-on-scroll system ------------------------------------------- */
[data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease), clip-path .9s var(--ease); will-change: transform; }
[data-reveal="up"]    { transform: translateY(44px); }
[data-reveal="left"]  { transform: translateX(-52px); }
[data-reveal="right"] { transform: translateX(52px); }
[data-reveal="zoom"]  { transform: scale(.88); }
[data-reveal="clip"]  { clip-path: inset(0 0 100% 0); transform: none; }
[data-reveal].in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }

[data-stagger] > * { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-stagger].in > * { opacity: 1; transform: none; }
[data-stagger].in > *:nth-child(1) { transition-delay: .05s; }
[data-stagger].in > *:nth-child(2) { transition-delay: .15s; }
[data-stagger].in > *:nth-child(3) { transition-delay: .25s; }
[data-stagger].in > *:nth-child(4) { transition-delay: .35s; }
[data-stagger].in > *:nth-child(5) { transition-delay: .45s; }
[data-stagger].in > *:nth-child(6) { transition-delay: .55s; }
[data-stagger].in > *:nth-child(7) { transition-delay: .65s; }
[data-stagger].in > *:nth-child(8) { transition-delay: .75s; }
[data-stagger].in > *:nth-child(9) { transition-delay: .85s; }
[data-stagger].in > *:nth-child(10) { transition-delay: .9s; }
[data-stagger].in > *:nth-child(11) { transition-delay: .95s; }
[data-stagger].in > *:nth-child(12) { transition-delay: 1s; }

.tilt { will-change: transform; }

/* ---------- 21. RASHI flip cards --------------------------------------------------- */
.rashi-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.rashi { perspective: 900px; height: 200px; cursor: pointer; }
.rashi-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform .8s var(--ease);
}
.rashi:hover .rashi-inner,
.rashi.flipped .rashi-inner,
.rashi:focus-visible .rashi-inner { transform: rotateY(180deg); }
.rashi-face {
  position: absolute; inset: 0; border-radius: 20px; padding: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; text-align: center;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.rashi-front { background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.rashi:hover .rashi-front { border-color: var(--line-strong); box-shadow: var(--glow); }
.rashi-front .rg {
  font-size: 2.2rem; line-height: 1; color: var(--iris-2);
  font-family: "Times New Roman", serif;
  text-shadow: 0 0 22px rgba(196, 181, 253, .65);
}
.rashi-front h4 { font-family: var(--f-display); font-size: 1.05rem; font-weight: 700; color: var(--heading); }
.rashi-front p { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }
.rashi-back {
  transform: rotateY(180deg);
  background:
    radial-gradient(ellipse 90% 120% at 50% -20%, rgba(139, 92, 246, .3), transparent 55%),
    linear-gradient(150deg, rgba(37, 24, 74, .96), rgba(14, 11, 28, .98));
  border: 1px solid var(--line-strong); box-shadow: var(--glow);
}
.rashi-back b { color: var(--iris-2); font-size: .74rem; letter-spacing: .08em; font-weight: 600; }
.rashi-back p { font-size: .8rem; line-height: 1.5; color: rgba(236, 233, 250, .88); }
.rashi-back .rg2 { font-size: 1.15rem; color: var(--gold-2); font-family: "Times New Roman", serif; }

/* ---------- 22. NAVAGRAHA spheres --------------------------------------------------- */
.ng-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ng {
  position: relative; padding: 36px 28px 30px; border-radius: var(--r); text-align: center;
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.ng:hover { transform: translateY(-9px); border-color: var(--line-strong); box-shadow: var(--shadow), 0 0 38px var(--pglow); }
.ng .glyph {
  position: absolute; top: 16px; right: 20px; font-size: 1.25rem;
  color: var(--gold); opacity: .9; font-family: "Times New Roman", serif;
}
.ng-orb { position: relative; width: 88px; margin: 0 auto 20px; }
.ng-sphere {
  width: 88px; aspect-ratio: 1; border-radius: 50%;
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 32% 28%, var(--pc1), var(--pc2) 74%);
  box-shadow: inset -12px -10px 26px rgba(0, 0, 0, .5), 0 0 28px var(--pglow);
  transition: transform .5s var(--ease);
}
.ng:hover .ng-sphere { transform: scale(1.15) rotate(8deg); }
.ng-sphere::before {
  content: ""; position: absolute; inset: -6px -70%;
  background: repeating-linear-gradient(104deg,
    transparent 0 13px, rgba(255, 255, 255, .1) 13px 21px,
    transparent 21px 33px, rgba(0, 0, 0, .14) 33px 43px);
  animation: sphereSpin 7s linear infinite;
}
@keyframes sphereSpin { from { transform: translateX(-16%); } to { transform: translateX(16%); } }
.ng-sphere::after {
  content: ""; position: absolute; top: 9%; left: 15%; width: 32%; height: 24%;
  border-radius: 50%; background: radial-gradient(rgba(255, 255, 255, .55), transparent 70%);
  filter: blur(2px);
}
.ng-ring {
  position: absolute; top: 50%; left: 50%; width: 150%; height: 42%;
  translate: -50% -50%; transform: rotate(-20deg);
  border: 3px solid rgba(196, 181, 253, .55); border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(196, 181, 253, .3);
}
.ng-sun .ng-sphere { animation: sunBreathe 4.5s ease-in-out infinite alternate; }
@keyframes sunBreathe {
  from { box-shadow: inset -12px -10px 26px rgba(0,0,0,.35), 0 0 26px var(--pglow); }
  to   { box-shadow: inset -12px -10px 26px rgba(0,0,0,.35), 0 0 52px var(--pglow), 0 0 90px rgba(230,182,76,.35); }
}
.ng h4 { font-family: var(--f-display); font-size: 1.25rem; font-weight: 700; color: var(--heading); }
.ng .sname { display: block; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--iris-2); margin: 2px 0 12px; }
.ng p { font-size: .88rem; color: var(--text-2); }

/* ---------- 23. LIGHT THEME --------------------------------------------------------- */
:root[data-theme="light"] {
  --bg: #f7f5fc;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --line: rgba(60, 40, 120, 0.12);
  --line-strong: rgba(60, 40, 120, 0.26);
  --heading: #1d1336;
  --text: #322a4d;
  --text-2: #554b74;
  --iris: #7c3aed;
  --iris-2: #6d28d9;
  --fuchsia: #c026d3;
  --gold: #b45309;
  --gold-2: #d97706;
  --grad-accent: linear-gradient(92deg, #7c3aed, #c026d3 55%, #d97706);
  --glow: 0 0 36px rgba(124, 58, 237, 0.14);
  --shadow: 0 22px 56px rgba(34, 23, 64, 0.12);
  --ring: rgba(60, 40, 120, 0.16);
}
[data-theme="light"] .cosmos::before {
  background:
    radial-gradient(38% 30% at 78% 10%, rgba(139, 92, 246, .14), transparent 65%),
    radial-gradient(32% 28% at 12% 32%, rgba(192, 38, 211, .07), transparent 65%),
    radial-gradient(36% 30% at 68% 88%, rgba(124, 58, 237, .1), transparent 65%),
    radial-gradient(24% 22% at 30% 78%, rgba(217, 119, 6, .06), transparent 65%);
}
[data-theme="light"] .stars, [data-theme="light"] .stars-2 { opacity: .16; }
[data-theme="light"] .solar { opacity: .5; }
[data-theme="light"] .drifter { opacity: .35; }
[data-theme="light"] .site-header.scrolled { background: rgba(247, 245, 252, .85); }
[data-theme="light"] .chip { background: rgba(255, 255, 255, .92); }
[data-theme="light"] .frame-tag { background: rgba(255, 255, 255, .92); color: var(--iris); }
[data-theme="light"] .marquee { background: rgba(124, 58, 237, .05); }
[data-theme="light"] .btn-gold { color: #fff; }
[data-theme="light"] .field input, [data-theme="light"] .field select, [data-theme="light"] .field textarea { background: #f7f5fc; }
[data-theme="light"] .field input::placeholder, [data-theme="light"] .field textarea::placeholder { color: rgba(61, 52, 89, .4); }
[data-theme="light"] .to-top { background: rgba(255, 255, 255, .92); }
[data-theme="light"] .photo-arch::after { background: linear-gradient(to top, rgba(34, 23, 64, .35), transparent 40%); }
[data-theme="light"] .stat { backdrop-filter: none; }
/* dark islands stay cosmic in light mode */
[data-theme="light"] :is(.band, .cta-panel, .site-footer, .rashi-back, .vt) {
  --heading: #f5f3ff; --text: rgba(236, 233, 250, .9); --text-2: rgba(236, 233, 250, .6);
  --iris-2: #c4b5fd; --gold-2: #fcd34d;
  --surface: rgba(255, 255, 255, .05); --line: rgba(255, 255, 255, .1); --line-strong: rgba(255, 255, 255, .22);
  --grad-accent: linear-gradient(92deg, #c4b5fd, #e879f9 52%, #fcd34d);
}
[data-theme="light"] .site-footer { background: linear-gradient(180deg, #180f30, #0d081c); border-top-color: rgba(139, 92, 246, .3); }
[data-theme="light"] .vt.vt-empty { background: #ffffff; --heading: #221740; --text-2: #6f678c; border-color: rgba(60, 40, 120, .3); }

/* ---------- 24. Motion preferences -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal], [data-stagger] > * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ---------- 25. Responsive ----------------------------------------------------------- */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step .step-arr { display: none; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .rashi-grid { grid-template-columns: repeat(4, 1fr); }
  .ng-grid { grid-template-columns: repeat(3, 1fr); }
  .solar { right: -420px; opacity: .65; }
}
@media (max-width: 880px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 72px; }
  .hero-visual { order: -1; }
  .split-media { max-width: 420px; }
  .rashi-grid { grid-template-columns: repeat(3, 1fr); }
  .ng-grid { grid-template-columns: repeat(2, 1fr); }
}
/* always-visible mobile theme toggle lives in the header bar */
.theme-toggle-m { display: none; }

/* mobile + small-tablet off-canvas nav */
@media (max-width: 860px) {
  nav { display: flex; align-items: center; gap: 6px; }
  .theme-toggle-m { display: grid; }
  .nav-links {
    position: fixed; inset: 84px 0 auto auto; width: min(320px, 84vw); height: calc(100vh - 84px);
    flex-direction: column; align-items: stretch; gap: 6px; padding: 28px 22px;
    background: rgba(7, 6, 15, .97); border-left: 1px solid var(--line-strong);
    transform: translateX(110%); transition: transform .4s var(--ease);
  }
  [data-theme="light"] .nav-links { background: rgba(247, 245, 252, .98); }
  .nav-links.open { transform: none; }
  .nav-links a:not(.btn) { padding: 14px 16px; font-size: 1rem; }
  /* toggle already shown in the header bar — hide the duplicate inside the drawer */
  .nav-links .theme-toggle { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 680px) {
  .section { padding: 76px 0; }
  .container { padding-inline: 20px; }
  .svc-grid, .steps, .trust-row, .foot-grid, .ng-grid { grid-template-columns: 1fr; }
  .gallery, .rashi-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 40px; }
  .hero-stats { gap: 10px; }
  .stat { padding: 14px 18px; }
  .solar, .drifter { display: none; }
  .foot-map { aspect-ratio: 16/10; }
}
@media (max-width: 400px) {
  .container { padding-inline: 16px; }
  .hero-stats { flex-direction: column; }
  .stat { width: 100%; }
  .btn { padding: 14px 22px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- 26. Faith badges (all religions welcome) ----------------------- */
.faiths { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.faith {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 40px; font-size: .84rem; font-weight: 500;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  transition: .3s var(--ease);
}
.faith:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--glow); }
.faith i { font-style: normal; font-size: 1.02rem; line-height: 1; }
.faith-note {
  font-family: var(--f-serif); font-style: italic; font-size: .92rem;
  color: var(--text-2); letter-spacing: .02em; padding-left: 2px;
}

/* ---------- 27. Footer location map ----------------------------------------- */
.foot-map {
  position: relative; width: 100%; aspect-ratio: 3/2; margin: 14px 0 12px;
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
}
.foot-map iframe { width: 100%; height: 100%; border: none; display: block; }
