/* ==========================================================================
   FORTUNISE — Design System v2
   Dr. Swaruupa Gaikwad · Kolhapur

   Studied directly from screen captures of the two references:
   · wonjyou.studio — pure black canvas, giant edge-to-edge caps, monochrome
     portrait photography masked into the type, left rail nav with roman
     numerals, vertical accent tab, one hot accent colour.
   · astrala.com — bone paper sections, high-contrast display serif, gold
     foil line art on dark panels, generous centred compositions.

   Palette taken from HER OWN assets:
   · #2B6B87 teal — the Fortunise clinic signage
   · #1E3163 navy — her banner
   ========================================================================== */

/* ---------- 1. TOKENS ---------- */
/* v3 — PINK & WHITE.
   The rose is #C1969C, sampled from the blazer Dr. Swaruupa is wearing in her
   own studio portrait, so the palette belongs to her rather than to a mood board.
   The old token NAMES are kept so every page keeps working; only the values flip.
   --ink is now the light page, --on-ink is now dark text. */
:root {
  /* Canvas — now light */
  --ink:        #FCF2F2;   /* page: warm white with a pink cast */
  --ink-2:      #F7E1E3;   /* blush band */
  --ink-3:      #EDC5C9;   /* pink surface */
  --ghost:      #EFD6D9;   /* giant background letterforms */

  /* Hers */
  --navy:       #3A1F2A;      /* deep plum — the one dark surface */
  --panel:      #3F2330;      /* foil panel, now plum */
  --teal:       #8E4356;
  --teal-lift:  #8E4356;      /* ACCENT = deep rose (readable on white) */
  --teal-glow:  rgba(176,110,124,.18);
  --brass:      #B06E7C;

  /* astrala */
  --bone:       #EDC5C9;      /* pink section */
  --bone-2:     #FFFFFF;      /* pure white section */
  --gold:       #B06E7C;      /* HER rose — line art, rules, ornament */
  --gold-pale:  #E6B9C0;
  --gold-dim:   #8E4356;      /* deep rose for small text */

  /* Text — now dark on light */
  --on-ink:     #281419;
  --on-ink-dim: #5E454D;
  --on-bone:    #281419;
  --on-bone-dim:#5E454D;
  --on-plum:    #FAEEF0;
  --on-plum-dim:#D6BAC3;

  /* Rules */
  --rule-ink:   rgba(40,20,25,.15);
  --rule-bone:  rgba(40,20,25,.16);
  --rule-plum:  rgba(250,238,240,.2);

  /* Type */
  --sans:   "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif:  "Fraunces", Georgia, serif;
  --deva:   "Mukta", "Archivo", sans-serif;
  --deva-serif: "Tiro Devanagari Marathi", "Bodoni Moda", serif;

  /* Motion */
  --ease:       cubic-bezier(.215,.61,.355,1);
  --ease-out:   cubic-bezier(.16,1,.3,1);
  --ease-inout: cubic-bezier(.76,0,.24,1);

  /* Radius */
  --r-sm:    10px;
  --r:       18px;
  --r-lg:    28px;
  --r-xl:    40px;

  /* Layout */
  --rail:    72px;
  --gutter:  clamp(20px, 4vw, 64px);
  --maxw:    1680px;
}

html[lang="mr"] { --sans: var(--deva); --serif: var(--deva-serif); }

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--sans);
  font-size: 17.5px; line-height: 1.66; font-weight: 400;
  background: var(--ink); color: var(--on-ink);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
::selection { background: var(--gold); color: var(--on-ink); }
/* Symbols must render as line art, never as coloured system emoji */
.glyph__s, .orn span, .olist li::before, .cost li::before, .mq__i::after, .note > span:first-child {
  font-variant-emoji: text;
}
html[lang="mr"] body { line-height: 1.8; }

/* ---------- 3. LAYOUT ---------- */
.shell { padding-left: var(--rail); }
@media (max-width: 1100px) { .shell { padding-left: 0; } :root { --rail: 0px; } }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 880px; }
.sec { padding-block: clamp(90px, 12vw, 200px); position: relative; }
.sec--tight { padding-block: clamp(56px, 7vw, 110px); }
.grid { display: grid; gap: clamp(24px, 3vw, 52px); }
.g2 { grid-template-columns: repeat(2,1fr); }
.g3 { grid-template-columns: repeat(3,1fr); }
.g4 { grid-template-columns: repeat(4,1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,96px); align-items: center; }
.split--top { align-items: start; }
.split--wide { grid-template-columns: 1.25fr .75fr; }
@media (max-width: 1000px) { .g3,.g4 { grid-template-columns: repeat(2,1fr); } .split,.split--wide { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .g2,.g3,.g4 { grid-template-columns: 1fr; } }

/* Surfaces */
.on-ink   { background: var(--ink);   color: var(--on-ink); }
.on-ink2  { background: var(--ink-2); color: var(--on-ink); }
.on-navy  { background: var(--navy);  color: var(--on-plum); }
/* The plum section is the only dark surface, so it needs its own inversions */
.on-navy .lead, .on-navy .body, .on-navy .step__d, .on-navy .stat__l,
.on-navy .olist li, .on-navy .duo__l li, .on-navy .acc__in p,
.on-navy .quote__by, .on-navy .tcard__w span, .on-navy .note { color: var(--on-plum-dim); }
.on-navy .lbl, .on-navy .step__n, .on-navy .card__ix, .on-navy .stat__n,
.on-navy .tl, .on-navy .offer__p { color: var(--gold-pale); }
.on-navy .hair { background: linear-gradient(90deg, var(--gold-pale), transparent); }
.on-navy .card, .on-navy .tcard, .on-navy .duo__c, .on-navy .glyph,
.on-navy .acc, .on-navy .acc__i, .on-navy .step, .on-navy .crow,
.on-navy .olist li, .on-navy .duo__l li, .on-navy .plist span,
.on-navy .tcard__w, .on-navy .field input, .on-navy .field textarea,
.on-navy .field select { border-color: var(--rule-plum); }
.on-navy .btn--line { border-color: var(--rule-plum); color: var(--on-plum); }
.on-navy .btn--line::before { background: var(--gold-pale); }
.on-navy .btn--line:hover { color: var(--navy); border-color: var(--gold-pale); }
.on-navy .note b { color: var(--on-plum); }
.on-navy .acc__ic::before, .on-navy .acc__ic::after { background: var(--gold-pale); }
.on-bone  { background: var(--bone);  color: var(--on-bone); }
.on-bone2 { background: var(--bone-2); color: var(--on-bone); }

/* ---------- 4. TYPE ---------- */
/* Giant caps — the wonjyou signature. Edge to edge, tight, heavy. */
.mega {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2.9rem, 8.6vw, 8.8rem);
  line-height: .86;
  letter-spacing: -.042em;
  text-transform: uppercase;
}

.mega--md { font-size: clamp(2.6rem, 8.6vw, 8.4rem); line-height: .88; }
html[lang="mr"] .mega { text-transform: none; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; font-size: clamp(2.4rem, 8.4vw, 8rem); }
html[lang="mr"] .mega--md { font-size: clamp(2rem, 6.4vw, 5.6rem); line-height: 1.16; }

/* Portrait masked inside the type */
.mega--photo {
  background-image: url('../img/swaruupa-tarot.jpg');
  background-size: cover;
  background-position: 50% 26%;
  filter: contrast(1.04) saturate(1.05);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* astrala display serif */
.disp {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: "SOFT" 20, "WONK" 0;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -.012em;
}
.disp--sm { font-size: clamp(1.75rem, 2.9vw, 2.5rem); line-height: 1.18; letter-spacing: -.008em; }
html[lang="mr"] .disp { line-height: 1.3; }

.h3 { font-family: var(--sans); font-weight: 600; font-size: clamp(1.1rem,1.6vw,1.35rem); line-height: 1.28; letter-spacing: -.01em; }
.lead { font-size: clamp(1.08rem,1.35vw,1.3rem); line-height: 1.64; max-width: 60ch; color: var(--on-ink-dim); }
.on-bone .lead, .on-bone2 .lead { color: var(--on-bone-dim); }
.body { font-size: 1.04rem; line-height: 1.72; max-width: 62ch; color: var(--on-ink-dim); }
.on-bone .body, .on-bone2 .body { color: var(--on-bone-dim); }
p + p { margin-top: 1em; }

/* Small bold caps label — used everywhere on both references */
.lbl {
  font-family: var(--sans);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal-lift);
}
.on-bone .lbl, .on-bone2 .lbl { color: var(--gold-dim); }
html[lang="mr"] .lbl { letter-spacing: .05em; text-transform: none; }

.num { font-family: var(--serif); font-variant-numeric: tabular-nums; }

/* ---------- 5. LEFT RAIL (wonjyou) ---------- */
.rail {
  position: fixed; left: 0; top: 0; bottom: 0; width: var(--rail);
  z-index: 120;
  border-right: 1px solid var(--rule-ink);
  display: flex; flex-direction: column;
  background: var(--ink);
}
.rail__logo {
  height: 88px; flex: none;
  display: grid; place-items: center;
  border-bottom: 1px solid var(--rule-ink);
  font-family: var(--serif); font-weight: 600; font-size: 1.45rem;
  color: var(--on-ink);
  transition: color .4s var(--ease), background-color .4s var(--ease);
}
.rail__logo:hover { color: var(--gold-dim); background: var(--ink-2); }

.rail__items { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 14px 0; }

/* Only the numeral lives in the rail. The name flies out on hover, so nothing
   can ever collide or overflow, however long the section is called. */
.rail__item {
  position: relative; flex: none;
  height: 44px;
  display: grid; place-items: center;
  color: var(--on-ink-dim);
  transition: color .4s var(--ease);
}
.rail__item .n {
  font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
  transition: transform .45s var(--ease);
}
.rail__item .lbl-out {
  position: absolute; left: calc(100% + 12px); top: 50%;
  transform: translate(-8px, -50%);
  white-space: nowrap;
  font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); background: var(--gold-dim);
  padding: .55em .85em; border-radius: 100px;
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  box-shadow: 0 8px 20px -8px rgba(58,31,42,.5);
}
html[lang="mr"] .rail__item .lbl-out { letter-spacing: .03em; text-transform: none; font-size: .78rem; }
.rail__item:hover .lbl-out { opacity: 1; transform: translate(0, -50%); color: #fff; }
.rail__item:hover { color: var(--on-ink); }
.rail__item:hover .n { transform: scale(1.12); }

/* A hairline tick marks position; the active one fills and turns rose */
.rail__item::before {
  content: ""; position: absolute; left: 50%; bottom: 5px;
  width: 14px; height: 1px; margin-left: -7px;
  background: currentColor; opacity: .35;
  transition: width .45s var(--ease), background-color .45s var(--ease), opacity .45s var(--ease);
}
.rail__item.is-active { color: var(--gold-dim); }
.rail__item.is-active::before { width: 26px; background: var(--gold-dim); opacity: 1; }
.rail__item.is-active .n { transform: scale(1.14); }

.rail__tab {
  flex: none; writing-mode: vertical-rl;
  background: var(--gold-dim); color: #fff;
  font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding: 26px 0; text-align: center;
  transition: background-color .4s var(--ease);
}
.rail__tab:hover { background: var(--navy); }
html[lang="mr"] .rail__tab { letter-spacing: .04em; text-transform: none; font-size: .78rem; }
@media (max-width: 1100px) { .rail { display: none; } }

/* ---------- 6. TOP BAR ---------- */
.top {
  position: fixed; top: 0; left: var(--rail); right: 0; z-index: 130;
  height: 88px; display: flex; align-items: center;
  transition: background-color .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.top.is-stuck { background: rgba(252,242,242,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--rule-ink); }
.top.on-light.is-stuck { background: rgba(255,255,255,.93); border-bottom-color: var(--rule-bone); color: var(--on-bone); }
.top__in { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-inline: var(--gutter); }
.top__brand { display: none; font-family: var(--serif); font-size: 1.3rem; }
@media (max-width: 1100px) { .top { left: 0; } .top__brand { display: block; } }
.top__nav { display: flex; gap: clamp(14px,1.8vw,30px); }
.top__link { position: relative; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 6px 0; overflow: hidden; display: block; }
html[lang="mr"] .top__link { letter-spacing: .03em; text-transform: none; font-size: .86rem; }
.top__link i { display: block; font-style: normal; transition: transform .5s var(--ease); }
.top__link i + i { position: absolute; inset: 0; transform: translateY(105%); color: var(--teal-lift); }
.top__link:hover i:first-child { transform: translateY(-105%); }
.top__link:hover i + i { transform: translateY(0); }
.top__link[aria-current="page"] { color: var(--teal-lift); }
.top__right { display: flex; align-items: center; gap: 12px; }
@media (max-width: 1150px) { .top__nav { display: none; } }

/* Language toggle */
.lang { display: inline-flex; border: 1px solid currentColor; border-radius: 100px; position: relative; isolation: isolate; opacity: .9; }
.lang__b { position: relative; z-index: 2; padding: .5em .9em; border-radius: 100px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; transition: color .4s var(--ease); }
.lang__b[aria-pressed="true"] { color: #fff; }
.top.on-light .lang__b[aria-pressed="true"] { color: var(--bone); }
.lang__p { position: absolute; z-index: 1; inset-block: 2px; border-radius: 100px; background: var(--gold-dim); transition: left .5s var(--ease), width .5s var(--ease); }
.top.on-light .lang__p { background: var(--on-bone); }

/* ---------- 7. BUTTONS ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .7em;
  padding: 1.05em 2em; overflow: hidden; isolation: isolate;
  font-size: .76rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  border-radius: 100px;
  transition: color .35s var(--ease);
}
html[lang="mr"] .btn { letter-spacing: .04em; text-transform: none; font-size: .88rem; }
.btn span { position: relative; z-index: 2; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: 1; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn--fill { background: var(--gold-dim); color: #fff; }
.btn--fill::before { background: var(--navy); }
.btn--gold { background: var(--gold); color: var(--on-ink); }
.btn--gold::before { background: var(--gold-dim); }
.btn--line { border: 1px solid var(--rule-ink); color: var(--on-ink); }
.btn--line::before { background: var(--teal-lift); }
.btn--line:hover { color: var(--ink); border-color: var(--teal-lift); }
.on-bone .btn--line, .on-bone2 .btn--line { border-color: var(--rule-bone); color: var(--on-bone); }
.on-bone .btn--line::before, .on-bone2 .btn--line::before { background: var(--on-bone); }
.on-bone .btn--line:hover, .on-bone2 .btn--line:hover { color: var(--bone); border-color: var(--on-bone); }
.btn .ar { transition: transform .5s var(--ease); }
.btn:hover .ar { transform: translateX(6px); }

.tl { position: relative; display: inline-flex; align-items: center; gap: .5em; font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; padding-bottom: .5em; color: var(--teal-lift); }
.on-bone .tl, .on-bone2 .tl { color: var(--gold-dim); }
html[lang="mr"] .tl { letter-spacing: .04em; text-transform: none; font-size: .88rem; }
.tl::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease); }
.tl:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- 8. MOTION PRIMITIVES ---------- */
.rv { display: block; overflow: hidden; }
.rv > * { display: block; transform: translateY(108%) rotate(.001deg); }
/* GSAP owns these once it loads — otherwise the two systems fight and lose */
html.gsap .rv > * { transform: none; }
html.gsap .fade { opacity: 1; transform: none; }
html.gsap .clip { clip-path: none; }
html.gsap .drw { transform: none; }
.fade { opacity: 0; transform: translateY(24px); }
.clip { clip-path: inset(100% 0 0 0); }
.drw { transform: scaleX(0); transform-origin: left; }
.is-in .rv > *, .rv.is-in > * { transform: translateY(0) rotate(.001deg); transition: transform .8s var(--ease); }
.is-in.fade, .is-in .fade { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.is-in.clip, .is-in .clip { clip-path: inset(0 0 0 0); transition: clip-path 1.05s var(--ease); }
.is-in.drw, .is-in .drw { transform: scaleX(1); transition: transform .9s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .rv > *, .fade, .clip, .drw { transform: none !important; opacity: 1 !important; clip-path: none !important; }
}

/* ---------- 9. HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  padding-block: clamp(120px,14vh,170px) clamp(40px,7vh,80px); }
.hero__ghost {
  position: absolute; inset: 0; z-index: 0;
  display: grid; place-items: center;
  font-family: var(--sans); font-weight: 800; text-transform: uppercase;
  font-size: 27vw; line-height: .8; letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(142,67,86,.2);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.hero__photo {
  position: absolute; right: clamp(0px,1.4vw,22px); top: 96px; bottom: clamp(0px,1.4vw,22px); width: 46%;
  z-index: 1; border-radius: var(--r-xl);
  background: url('../img/swaruupa-framed.jpg') 50% 12%/cover no-repeat;
  -webkit-mask-image: none; mask-image: none;
  border-radius: var(--r-xl);
  box-shadow: 0 40px 90px -40px rgba(58,31,42,.5);
}
.hero__photo::after { content: none; }
/* A soft rose halo sits behind her instead of a black backdrop */
.hero__photo::before {
  content: ""; position: absolute; z-index: -1;
  inset: -7% -5% -5% -7%;
  border-radius: calc(var(--r-xl) + 18px);
  border: 1px solid rgba(176,110,124,.4);
}
@media (max-width: 900px) { .hero__photo { width: 100%; opacity: .34; } }
.hero__in { position: relative; z-index: 2; width: 100%; }
.hero__cue { display: inline-flex; align-items: center; gap: .8em; font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--on-ink-dim); }
html[lang="mr"] .hero__cue { letter-spacing: .04em; text-transform: none; }
.hero__cue i { display: block; width: 1px; height: 38px; background: var(--rule-ink); position: relative; overflow: hidden; }
.hero__cue i::after { content: ""; position: absolute; inset: 0; background: var(--gold-dim); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 55%,100% { transform: translateY(100%); } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .6em 1.05em; border: 1px solid var(--rule-ink); border-radius: 100px; color: var(--on-ink-dim); white-space: nowrap; }
.chip--on { border-color: var(--gold-dim); color: var(--gold-dim); background: rgba(237,197,201,.7); }
html[lang="mr"] .chip { letter-spacing: .03em; text-transform: none; font-size: .76rem; }

/* ---------- 10. MARQUEE ---------- */
.mq { overflow: hidden; display: flex; border-block: 1px solid var(--rule-ink); padding-block: clamp(14px,1.6vw,22px); }
.on-bone .mq, .on-bone2 .mq { border-color: var(--rule-bone); }
.mq__t { display: flex; flex-shrink: 0; animation: loop 34s linear infinite; }
.mq:hover .mq__t { animation-play-state: paused; }
@keyframes loop { to { transform: translateX(-100%); } }
.mq__i { display: inline-flex; align-items: center; gap: 1.2em; padding-inline: 1.2em; white-space: nowrap;
  font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; font-size: clamp(1.3rem,3vw,2.8rem); }
.mq__i::after { content: "✦"; font-size: .34em; color: var(--gold); font-weight: 400; }
html[lang="mr"] .mq__i { text-transform: none; }

/* ---------- 11. CARDS ---------- */
.card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: clamp(24px,2.6vw,38px);
  border: 1px solid var(--rule-ink);
  border-radius: var(--r);
  overflow: hidden; isolation: isolate;
  transition: border-color .6s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease);
}
.on-bone .card, .on-bone2 .card { border-color: var(--rule-bone); background: rgba(255,255,255,.5); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: translateY(101%); transition: transform .7s var(--ease); }
.on-bone .card::before, .on-bone2 .card::before { background: var(--navy); }
.card:hover { transform: translateY(-5px); border-color: var(--gold); color: var(--on-plum); }
.card:hover .card__b, .card:hover .card__f { color: var(--on-plum-dim); }
.card:hover .card__ix, .card:hover .lbl { color: var(--gold-pale); }
.card:hover .card__r { background: var(--rule-plum); }
.card:hover::before { transform: translateY(0); }
.on-bone .card:hover, .on-bone2 .card:hover { color: var(--on-ink); }
.on-bone .card:hover .body, .on-bone2 .card:hover .body { color: var(--on-ink-dim); }
.on-bone .card:hover .lbl, .on-bone2 .card:hover .lbl { color: var(--teal-lift); }
.card__ix { font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem,3.4vw,3.4rem); line-height: 1; color: var(--rule-ink); transition: color .6s var(--ease); }
.card:hover .card__ix { color: var(--gold); }
.on-bone .card__ix, .on-bone2 .card__ix { color: var(--gold-dim); }
.card__t { font-family: var(--sans); font-weight: 700; font-size: clamp(1.25rem,1.8vw,1.7rem); line-height: 1.12; letter-spacing: -.022em; text-transform: uppercase; margin-top: .5em; }
html[lang="mr"] .card__t { text-transform: none; }
.card__r { height: 1px; background: var(--rule-ink); margin-block: clamp(16px,1.8vw,24px); }
.on-bone .card__r, .on-bone2 .card__r { background: var(--rule-bone); }
.card__b { flex: 0 0 auto; font-size: .93rem; line-height: 1.62; color: var(--on-ink-dim); }
.on-bone .card__b, .on-bone2 .card__b { color: var(--on-bone-dim); }
.card__f { margin-top: auto; padding-top: 1.8em; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card__p { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; letter-spacing: -.005em; }

/* ---------- 12. STEPS ---------- */
.step { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px,2.6vw,42px); padding-block: clamp(22px,2.6vw,38px); border-top: 1px solid var(--rule-ink); }
.on-bone .step, .on-bone2 .step { border-color: var(--rule-bone); }
.step__n { font-family: var(--serif); font-weight: 600; font-size: clamp(1.1rem,1.7vw,1.6rem); color: var(--teal-lift); min-width: 2.2ch; }
.on-bone .step__n, .on-bone2 .step__n { color: var(--gold-dim); }
.step__t { font-weight: 700; font-size: clamp(1.1rem,1.6vw,1.45rem); line-height: 1.2; letter-spacing: -.014em; text-transform: uppercase; }
html[lang="mr"] .step__t { text-transform: none; }
.step__d { margin-top: .6em; font-size: .95rem; line-height: 1.64; color: var(--on-ink-dim); max-width: 58ch; }
.on-bone .step__d, .on-bone2 .step__d { color: var(--on-bone-dim); }
.step__k { display: inline-block; margin-top: .9em; font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
html[lang="mr"] .step__k { letter-spacing: .04em; text-transform: none; font-size: .8rem; }

/* ---------- 13. FIGURES ---------- */
.fig { position: relative; overflow: hidden; background: var(--ink-2); border-radius: var(--r-lg); }
.fig img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; transition: transform 1.3s var(--ease); }
.fig:hover img { transform: scale(1.03); }
.fig--tall { aspect-ratio: 3/4; }
.fig--wide { aspect-ratio: 16/9; }
.fig--sq { aspect-ratio: 1; }
.fig__cap { position: absolute; left: 0; bottom: 0; right: 0; padding: 18px; background: linear-gradient(to top, rgba(6,7,10,.9), transparent); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink); }
html[lang="mr"] .fig__cap { letter-spacing: .04em; text-transform: none; font-size: .8rem; }

/* Gold foil zodiac ring — astrala's line-art language, drawn not imported */
.ring { width: 100%; aspect-ratio: 1; position: relative; }
.ring svg { width: 100%; height: 100%; }
.ring circle, .ring line, .ring path { fill: none; stroke: var(--gold); vector-effect: non-scaling-stroke; }

/* ---------- 14. QUOTE / STATS ---------- */
.quote { font-family: var(--serif); font-weight: 500; font-size: clamp(1.45rem,3vw,2.7rem); line-height: 1.26; letter-spacing: -.008em; }
.quote__by { margin-top: 1.5em; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink-dim); }
.on-bone .quote__by, .on-bone2 .quote__by { color: var(--on-bone-dim); }
html[lang="mr"] .quote__by { letter-spacing: .04em; text-transform: none; font-size: .84rem; }
.stat__n { font-family: var(--serif); font-weight: 600; font-size: clamp(2.5rem,5.2vw,4.4rem); line-height: 1; letter-spacing: -.02em; color: var(--teal-lift); }
.on-bone .stat__n, .on-bone2 .stat__n { color: var(--gold-dim); }
.stat__l { margin-top: .6em; font-size: .82rem; line-height: 1.5; color: var(--on-ink-dim); max-width: 25ch; }
.on-bone .stat__l, .on-bone2 .stat__l { color: var(--on-bone-dim); }

/* ---------- 15. CONVERSION ---------- */
.cost { list-style: none; }
.cost li { display: grid; grid-template-columns: auto 1fr; gap: 1em; padding-block: clamp(14px,1.6vw,22px); border-bottom: 1px solid var(--rule-ink);
  font-weight: 600; font-size: clamp(1.05rem,1.8vw,1.5rem); line-height: 1.26; letter-spacing: -.016em; }
.on-bone .cost li, .on-bone2 .cost li { border-color: var(--rule-bone); }
.cost li::before { content: "✕"; font-size: .56em; color: var(--teal-lift); line-height: 2.2; font-weight: 400; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px,2.4vw,36px); }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }
.duo__c { padding: clamp(22px,2.6vw,38px); border: 1px solid var(--rule-ink); border-radius: var(--r); }
.on-bone .duo__c, .on-bone2 .duo__c { border-color: var(--rule-bone); }
.duo__c--y { border-color: var(--teal-lift); }
.duo__h { font-weight: 700; font-size: clamp(1.1rem,1.7vw,1.5rem); text-transform: uppercase; letter-spacing: -.015em; }
html[lang="mr"] .duo__h { text-transform: none; }
.duo__l { list-style: none; margin-top: 1.3em; }
.duo__l li { display: grid; grid-template-columns: auto 1fr; gap: .8em; padding-block: .6em; font-size: .94rem; line-height: 1.55; color: var(--on-ink-dim); border-bottom: 1px solid var(--rule-ink); }
.on-bone .duo__l li, .on-bone2 .duo__l li { color: var(--on-bone-dim); border-color: var(--rule-bone); }
.duo__l li:last-child { border-bottom: 0; }
.duo__c--y .duo__l li::before { content: "✓"; color: var(--teal-lift); font-weight: 700; }
.duo__c--n .duo__l li::before { content: "—"; opacity: .5; }

.offer { border: 1px solid var(--teal-lift); border-radius: var(--r-lg); padding: clamp(26px,3.4vw,54px); }
.offer__g { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px,3.6vw,54px); align-items: center; }
@media (max-width: 820px) { .offer__g { grid-template-columns: 1fr; } }
.offer__p { font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem,5.6vw,4.6rem); line-height: 1; letter-spacing: -.022em; color: var(--teal-lift); }
.on-bone .offer__p, .on-bone2 .offer__p { color: var(--on-bone); }
.offer__u { display: block; margin-top: .8em; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-dim); }
.on-bone .offer__u, .on-bone2 .offer__u { color: var(--on-bone-dim); }
html[lang="mr"] .offer__u { letter-spacing: .04em; text-transform: none; font-size: .84rem; }

.olist { list-style: none; }
.olist li { display: grid; grid-template-columns: auto 1fr; gap: .9em; padding-block: .7em; border-bottom: 1px solid var(--rule-ink); font-size: .95rem; line-height: 1.6; color: var(--on-ink-dim); }
.on-bone .olist li, .on-bone2 .olist li { border-color: var(--rule-bone); color: var(--on-bone-dim); }
.olist li::before { content: "✦"; color: var(--gold); font-size: .62em; line-height: 2.2; }

.plist { display: flex; flex-wrap: wrap; gap: 8px; }
.plist span { font-size: .78rem; padding: .55em 1.1em; border: 1px solid var(--rule-ink); border-radius: 100px; color: var(--on-ink-dim); }
.on-bone .plist span, .on-bone2 .plist span { border-color: var(--rule-bone); color: var(--on-bone-dim); }

.note { display: flex; gap: .9em; padding: 1.1em 1.3em; border-left: 2px solid var(--gold); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: rgba(220,196,140,.07); font-size: .9rem; line-height: 1.6; color: var(--on-ink-dim); max-width: 64ch; }
.on-bone .note, .on-bone2 .note { color: var(--on-bone-dim); }
.note b { color: var(--on-ink); font-weight: 700; }
.on-bone .note b, .on-bone2 .note b { color: var(--on-bone); }

/* Testimonials */
.tcard { padding: clamp(22px,2.4vw,34px); border: 1px solid var(--rule-ink); border-radius: var(--r); display: flex; flex-direction: column; height: 100%; transition: border-color .6s var(--ease), transform .6s var(--ease); }
.on-bone .tcard, .on-bone2 .tcard { border-color: var(--rule-bone); }
.tcard:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 24px 50px -32px rgba(58,31,42,.4); }
.tcard__s { color: var(--gold); font-size: .8rem; letter-spacing: .18em; }
.tcard__t { margin-top: 1em; font-family: var(--serif); font-weight: 500; font-size: 1.16rem; line-height: 1.52; flex: 1; }
.tcard__w { margin-top: 1.4em; padding-top: 1em; border-top: 1px solid var(--rule-ink); font-size: .78rem; }
.on-bone .tcard__w, .on-bone2 .tcard__w { border-color: var(--rule-bone); }
.tcard__w b { font-weight: 700; }
.tcard__w span { display: block; margin-top: .2em; font-size: .72rem; color: var(--on-ink-dim); }
.on-bone .tcard__w span, .on-bone2 .tcard__w span { color: var(--on-bone-dim); }

/* Video placeholder */
.vcard { position: relative; aspect-ratio: 9/14; overflow: hidden; background: var(--navy); color: var(--on-plum); border: 1px solid var(--rule-ink); border-radius: var(--r-lg); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(14px,1.6vw,22px); transition: border-color .6s var(--ease), transform .6s var(--ease); }
.vcard:hover { transform: translateY(-4px); border-color: var(--teal-lift); }
.vcard__p { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 52px; height: 52px; border: 1px solid var(--rule-ink); border-radius: 50%; display: grid; place-items: center; transition: background-color .5s var(--ease), border-color .5s var(--ease); }
.vcard:hover .vcard__p { background: var(--teal-lift); border-color: var(--teal-lift); }
.vcard__p::after { content: ""; border-left: 10px solid var(--on-plum); border-block: 6px solid transparent; margin-left: 3px; }
.vcard:hover .vcard__p::after { border-left-color: var(--ink); }
.vcard__w { position: relative; z-index: 2; font-size: .82rem; font-weight: 600; }
.vcard__w span { display: block; margin-top: .25em; font-size: .7rem; font-weight: 400; color: var(--on-plum-dim); }

/* Accordion */
.acc { border-top: 1px solid var(--rule-ink); }
.on-bone .acc, .on-bone2 .acc { border-color: var(--rule-bone); }
.acc__i { border-bottom: 1px solid var(--rule-ink); }
.on-bone .acc__i, .on-bone2 .acc__i { border-color: var(--rule-bone); }
.acc__h { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: clamp(18px,2vw,28px); text-align: left; }
.acc__q { font-weight: 600; font-size: clamp(1.02rem,1.45vw,1.28rem); line-height: 1.24; letter-spacing: -.012em; }
.acc__ic { flex-shrink: 0; width: 20px; height: 20px; position: relative; }
.acc__ic::before, .acc__ic::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: var(--teal-lift); transition: transform .5s var(--ease); }
.on-bone .acc__ic::before, .on-bone .acc__ic::after, .on-bone2 .acc__ic::before, .on-bone2 .acc__ic::after { background: var(--gold-dim); }
.acc__ic::after { transform: rotate(90deg); }
.acc__i.open .acc__ic::after { transform: rotate(0); }
.acc__b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc__i.open .acc__b { grid-template-rows: 1fr; }
.acc__in { overflow: hidden; }
.acc__in p { padding-bottom: clamp(18px,2vw,28px); max-width: 64ch; font-size: .96rem; line-height: 1.66; color: var(--on-ink-dim); }
.on-bone .acc__in p, .on-bone2 .acc__in p { color: var(--on-bone-dim); }

/* Form */
.field { margin-bottom: 24px; }
.field label { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-dim); margin-bottom: .6em; }
.on-bone .field label, .on-bone2 .field label { color: var(--on-bone-dim); }
html[lang="mr"] .field label { letter-spacing: .04em; text-transform: none; font-size: .82rem; }
.field input, .field textarea, .field select { width: 100%; padding: .9em 0; border-radius: 0; background: transparent; border: 0; border-bottom: 1px solid var(--rule-ink); font-size: 1rem; border-radius: 0; }
.on-bone .field input, .on-bone .field textarea, .on-bone .field select,
.on-bone2 .field input, .on-bone2 .field textarea, .on-bone2 .field select { border-bottom-color: var(--rule-bone); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-bottom-color: var(--teal-lift); }
.field textarea { resize: vertical; min-height: 100px; }
.field select option { background: var(--ink); color: var(--on-ink); }

.crow { display: grid; grid-template-columns: 1fr 2fr; gap: 18px; padding-block: 1.1em; border-bottom: 1px solid var(--rule-ink); align-items: baseline; }
.on-bone .crow, .on-bone2 .crow { border-color: var(--rule-bone); }
.crow dt { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-dim); }
.on-bone .crow dt, .on-bone2 .crow dt { color: var(--on-bone-dim); }
html[lang="mr"] .crow dt { letter-spacing: .04em; text-transform: none; font-size: .82rem; }
.crow dd { font-size: 1rem; }
@media (max-width: 560px) { .crow { grid-template-columns: 1fr; gap: 5px; } }

/* Page header for inner pages */
.phead { padding-block: clamp(150px,16vw,240px) clamp(46px,6vw,90px); position: relative; overflow: hidden; }
.phead__c { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-lift); margin-bottom: clamp(16px,2.2vw,28px); }
html[lang="mr"] .phead__c { letter-spacing: .04em; text-transform: none; font-size: .82rem; }

.cta { text-align: center; }
.cta__a { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: clamp(26px,3.2vw,44px); }

/* ---------- 16. FOOTER ---------- */
.foot { background: var(--navy); color: var(--on-plum); padding-block: clamp(56px,7vw,100px) 32px; }
.foot__t { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(26px,3.4vw,54px); }
@media (max-width: 900px) { .foot__t { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__t { grid-template-columns: 1fr; } }
.foot__h { font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-pale); margin-bottom: 1.4em; }
html[lang="mr"] .foot__h { letter-spacing: .04em; text-transform: none; font-size: .8rem; }
.foot__l { list-style: none; display: flex; flex-direction: column; gap: .75em; font-size: .88rem; color: var(--on-plum-dim); }
.foot__l a { transition: color .35s var(--ease); }
.foot__l a:hover { color: var(--gold-pale); }
.foot__b { margin-top: clamp(40px,5vw,72px); padding-top: 24px; border-top: 1px solid var(--rule-plum); display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; font-size: .76rem; color: var(--on-plum-dim); }

/* ---------- 17. CHROME ---------- */
.prog { position: fixed; top: 0; left: 0; z-index: 140; height: 2px; width: 100%; background: var(--gold-dim); transform: scaleX(0); transform-origin: left; }
.cur { position: fixed; top: 0; left: 0; z-index: 200; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-dim); pointer-events: none; transform: translate(-50%,-50%); transition: width .4s var(--ease), height .4s var(--ease), background-color .4s var(--ease); }
.cur.big { width: 58px; height: 58px; background: rgba(142,67,86,.24); }
@media (hover: none), (max-width: 900px) { .cur { display: none; } }

.pre { position: fixed; inset: 0; z-index: 300; background: var(--navy); color: var(--on-plum); display: grid; place-items: center; transition: clip-path 1s var(--ease-inout); }
.pre.done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.pre__m { font-family: var(--serif); font-size: clamp(1.7rem,5vw,3rem); overflow: hidden; display: block; }
.pre__m span { display: block; animation: rise 1s var(--ease) both .1s; }
@keyframes rise { from { transform: translateY(110%); } to { transform: translateY(0); } }
.pre__b { margin-top: 18px; width: min(220px,44vw); height: 1px; background: var(--rule-plum); overflow: hidden; }
.pre__b i { display: block; height: 100%; background: var(--gold-pale); transform: scaleX(0); transform-origin: left; animation: ld 1.05s var(--ease) both .15s; }
@keyframes ld { to { transform: scaleX(1); } }

.burger { display: none; width: 28px; height: 16px; position: relative; }
.burger i { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), opacity .3s; }
.burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 7px; } .burger i:nth-child(3) { top: 14px; }
body.menu .burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu .burger i:nth-child(2) { opacity: 0; }
body.menu .burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1150px) { .burger { display: block; } }

.drawer { position: fixed; inset: 0; z-index: 125; background: var(--navy); color: var(--on-plum); padding: 120px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: center; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-inout); pointer-events: none; }
body.menu .drawer { clip-path: inset(0 0 0 0); pointer-events: auto; }
body.menu { overflow: hidden; }
.drawer a { font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem,6.4vw,2.6rem); line-height: 1.22; letter-spacing: -.03em; opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html[lang="mr"] .drawer a { text-transform: none; }
body.menu .drawer a { opacity: 1; transform: none; }

.wa { position: fixed; right: clamp(14px,2vw,26px); bottom: clamp(14px,2vw,26px); z-index: 115; width: 50px; height: 50px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; transition: transform .5s var(--ease); }
.wa:hover { transform: scale(1.08); }
.wa svg { width: 24px; height: 24px; fill: currentColor; }

.sticky { position: fixed; left: var(--rail); right: 0; bottom: 0; z-index: 116; background: rgba(58,31,42,.96); color: var(--on-plum); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--rule-ink); padding: 11px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; transform: translateY(110%); transition: transform .6s var(--ease); }
.sticky.is-in { transform: translateY(0); }
.sticky__x { font-size: .82rem; color: var(--on-ink-dim); }
.sticky__x b { color: var(--on-ink); font-weight: 700; }
@media (max-width: 680px) { .sticky { left: 0; justify-content: center; } .sticky__x { display: none; } .wa { bottom: 76px; } }

/* Utilities */
.mts { margin-top: clamp(14px,1.8vw,22px); }
.mtm { margin-top: clamp(24px,3vw,42px); }
.mtl { margin-top: clamp(38px,5vw,74px); }
.ctr { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* ---------- 18. GRAIN + GLOW (depth on a black canvas) ---------- */
body::after {
  content: ""; position: fixed; inset: -150%; z-index: 90; pointer-events: none;
  opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 10% { transform: translate(-4%,-6%); }
  30% { transform: translate(5%,-3%); } 50% { transform: translate(-3%,5%); }
  70% { transform: translate(4%,4%); } 90% { transform: translate(-5%,2%); }
}
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }

/* Soft brand glow behind dark sections */
.glow { position: relative; isolation: isolate; }
.glow::before {
  content: ""; position: absolute; z-index: -1;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  top: -20%; right: -14%;
  background: radial-gradient(circle, rgba(176,110,124,.32), transparent 64%);
  pointer-events: none;
}
.glow--l::before { right: auto; left: -16%; top: auto; bottom: -22%;
  background: radial-gradient(circle, rgba(237,197,201,.7), transparent 66%); }

/* Gold hairline divider */
.hair { height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }

/* Card gets a gold top edge on hover */
.card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease);
}
.card:hover::after { transform: scaleX(1); }

/* Kerned display numerals */
.tab-num { font-variant-numeric: tabular-nums; letter-spacing: -.02em; }


/* ==========================================================================
   19. ASTROLOGY SYSTEM — studied from astrala.com
   Dark foil panels with pale-gold line art, zodiac glyph tiles, sacred
   geometry, moon phases. All drawn as SVG/CSS — no image files.
   ========================================================================== */

/* --- Dark foil panel (astrala's signature numerology card) --- */
.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid rgba(230,185,192,.28);
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  display: grid; place-items: center;
  padding: clamp(18px,2.4vw,36px);
}
.panel svg { width: 100%; height: 100%; overflow: hidden; }
.panel svg [stroke] { stroke: var(--gold-pale); fill: none; vector-effect: non-scaling-stroke; }
.panel svg text { fill: var(--gold-pale); font-family: var(--sans); font-weight: 500; }
.panel__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-pale); background: linear-gradient(to top, rgba(63,35,48,.96), transparent);
}
html[lang="mr"] .panel__cap { letter-spacing: .04em; text-transform: none; font-size: .8rem; }

/* --- Zodiac glyph tiles --- */
.glyphs { display: grid; grid-template-columns: repeat(6,1fr); gap: clamp(8px,1vw,14px); }
@media (max-width: 1000px) { .glyphs { grid-template-columns: repeat(4,1fr); } }
@media (max-width: 560px)  { .glyphs { grid-template-columns: repeat(3,1fr); } }
.glyph {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4em;
  padding: clamp(14px,1.6vw,22px) 8px;
  border: 1px solid var(--rule-ink);
  border-radius: var(--r);
  text-align: center;
  transition: transform .55s var(--ease), border-color .55s var(--ease), background-color .55s var(--ease);
}
.on-bone .glyph, .on-bone2 .glyph { border-color: var(--rule-bone); background: rgba(255,255,255,.55); }
.glyph:hover { transform: translateY(-5px); border-color: var(--gold); background: rgba(237,197,201,.7); }
.glyph__s { width: clamp(30px,2.9vw,40px); height: clamp(30px,2.9vw,40px); color: var(--gold); transition: transform .55s var(--ease), color .55s var(--ease); }
.glyph__s svg { width: 100%; height: 100%; }
.on-bone .glyph__s, .on-bone2 .glyph__s { color: var(--gold-dim); }
.glyph:hover .glyph__s { transform: scale(1.14) rotate(-6deg); }
.glyph__n { font-size: .72rem; font-weight: 700; letter-spacing: .06em; }
.glyph__d { font-size: .62rem; color: var(--on-ink-dim); }
.on-bone .glyph__d, .on-bone2 .glyph__d { color: var(--on-bone-dim); }

/* --- Loshu / sacred geometry grid --- */
.loshu { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(230,185,192,.3); border: 1px solid rgba(230,185,192,.3); border-radius: var(--r); overflow: hidden; }
.loshu span {
  aspect-ratio: 1; display: grid; place-items: center;
  background: var(--panel);
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.2rem,2.2vw,1.9rem); color: var(--gold-pale);
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
.loshu span:hover { background: rgba(230,185,192,.16); color: #fff; }

/* --- Moon phases --- */
.moons { display: flex; flex-wrap: wrap; gap: clamp(10px,1.6vw,26px); align-items: center; justify-content: center; }
.moon { width: clamp(30px,3.4vw,46px); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--gold); position: relative; overflow: hidden; }
.moon::after { content: ""; position: absolute; inset: 0; background: var(--gold); }
.moon--0::after { transform: translateX(-100%); }
.moon--1::after { clip-path: inset(0 55% 0 0); }
.moon--2::after { clip-path: inset(0 50% 0 0); }
.moon--3::after { clip-path: inset(0 22% 0 0); }
.moon--4::after { clip-path: none; }
.moon--5::after { clip-path: inset(0 0 0 22%); }
.moon--6::after { clip-path: inset(0 0 0 50%); }
.moon--7::after { clip-path: inset(0 0 0 55%); }

/* --- SVG stroke-draw animation --- */
.draw-svg [stroke] { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); }
.draw-svg.is-in [stroke] { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease); }

/* --- Slow-rotating ring --- */
.spin { animation: spin 90s linear infinite; transform-origin: 50% 50%; }
.spin--r { animation-direction: reverse; animation-duration: 130s; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }

/* --- Constellation scatter --- */
.constel { position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .5; }
.constel circle { fill: var(--gold); }
.constel line { stroke: var(--gold); stroke-width: .5; opacity: .45; }
.twinkle { animation: tw 4s var(--ease) infinite alternate; }
.twinkle:nth-child(3n) { animation-delay: -1.4s; }
.twinkle:nth-child(3n+1) { animation-delay: -2.6s; }
@keyframes tw { from { opacity: .25; } to { opacity: 1; } }

/* --- Tilt on hover (cards) --- */
.card, .tcard, .glyph, .vcard { will-change: transform; }
.card:hover { box-shadow: 0 30px 66px -34px rgba(58,31,42,.45); }

/* --- Number ticker for prices --- */
.tick { display: inline-block; }

/* ==========================================================================
   20. VASTU SYSTEM — directional mandala, compass, elements
   ========================================================================== */
.mandala { width: 100%; aspect-ratio: 1; }
.mandala svg { width: 100%; height: 100%; overflow: hidden; }
.mandala [stroke] { stroke: var(--gold); fill: none; vector-effect: non-scaling-stroke; }
.mandala text { fill: var(--gold); font-family: var(--sans); font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.on-bone .mandala [stroke], .on-bone2 .mandala [stroke] { stroke: var(--gold-dim); }
.on-bone .mandala text, .on-bone2 .mandala text { fill: var(--gold-dim); }

/* Directional cells light up on hover */
.mandala .cell { fill: transparent; transition: fill .45s var(--ease); }
.mandala .cell:hover { fill: rgba(220,196,140,.14); }

/* Panchtatva — the five elements */
.elements { display: grid; grid-template-columns: repeat(5,1fr); gap: clamp(8px,1vw,16px); }
@media (max-width: 680px) { .elements { grid-template-columns: repeat(2,1fr); } }
.element {
  border: 1px solid var(--rule-ink); border-radius: var(--r);
  padding: clamp(16px,2vw,26px) 12px; text-align: center;
  transition: transform .55s var(--ease), border-color .55s var(--ease), background-color .55s var(--ease);
}
.on-bone .element, .on-bone2 .element { border-color: var(--rule-bone); background: rgba(255,255,255,.5); }
.element:hover { transform: translateY(-5px); border-color: var(--gold); background: rgba(237,197,201,.7); }
.element__i { width: 38px; height: 38px; margin: 0 auto .8em; }
.element__i svg { width: 100%; height: 100%; }
.element__i [stroke] { stroke: var(--gold); fill: none; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.on-bone .element__i [stroke], .on-bone2 .element__i [stroke] { stroke: var(--gold-dim); }
.element__n { font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.element__d { font-size: .66rem; margin-top: .3em; color: var(--on-ink-dim); }
.on-bone .element__d, .on-bone2 .element__d { color: var(--on-bone-dim); }

/* Gold ornamental divider */
.orn { display: flex; align-items: center; gap: 14px; justify-content: center; }
.orn::before, .orn::after { content: ""; flex: 1; height: 1px; max-width: 220px;
  background: linear-gradient(90deg, transparent, var(--gold)); }
.orn::after { background: linear-gradient(90deg, var(--gold), transparent); }
.orn span { color: var(--gold); font-size: .9rem; }

/* ==========================================================================
   21. MOBILE — corrections found by testing at 390px
   ========================================================================== */
@media (max-width: 900px) {
  /* The pinned horizontal track is disabled below 900px, so it must become a
     swipeable carousel instead of silently overflowing the document. */
  [data-hscroll] { overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scrollbar-width: none; }
  [data-hscroll]::-webkit-scrollbar { display: none; }
  [data-hscroll-in] { width: max-content; }
  [data-hscroll-in] > * { scroll-snap-align: center; min-width: min(78vw, 340px) !important; }

  /* Hero portrait must sit inside the viewport, not bleed past it */
  .hero__photo { left: 0; right: 0; width: auto; border-radius: 0;
    -webkit-mask-image: linear-gradient(to top, transparent 4%, #000 46%);
    mask-image: linear-gradient(to top, transparent 4%, #000 46%); opacity: .3; }
  .hero { min-height: auto; padding-block: calc(88px + 46px) 64px; }
  .hero__ghost { font-size: 44vw; }

  /* Anything absolutely positioned must not create scroll */
  html, body { overflow-x: clip; max-width: 100vw; }
  .glow::before { width: 120vw; height: 120vw; right: -30vw; }
  .glow--l::before { left: -30vw; right: auto; }

  /* Type and rhythm */
  .mega { font-size: clamp(2.5rem, 12vw, 4rem); }
  .mega--md { font-size: clamp(2.1rem, 10vw, 3.2rem); }
  .disp { font-size: clamp(1.9rem, 8.4vw, 2.6rem); }
  .sec { padding-block: clamp(64px, 14vw, 96px); }
  .phead { padding-block: 130px 48px; }
  .split, .offer__g, .duo { gap: 28px; }

  /* Tap targets */
  .btn { padding: 1.05em 1.6em; font-size: .72rem; }
  .top__right { gap: 8px; }
  .lang__b { padding: .5em .7em; font-size: .64rem; }
  .top { height: 66px; }
  .drawer { padding-top: 96px; }

  /* Tables of pills wrap rather than stretch */
  .crow { grid-template-columns: 1fr; }
  .glyphs { gap: 8px; }
  .glyph { padding: 14px 6px; }
  .glyph__d { font-size: .56rem; }

  /* Sticky bar must not cover the WhatsApp button */
  .wa { width: 46px; height: 46px; }
  .wa svg { width: 21px; height: 21px; }
}

@media (max-width: 480px) {
  .mega { font-size: clamp(2.2rem, 11.5vw, 3.1rem); letter-spacing: -.035em; }
  .hero .mega { max-width: none; }
  .moons { gap: 8px; }
  .moon { width: 26px; }
  .panel { aspect-ratio: 4/3; }
  .loshu span { font-size: 1.1rem; }
  .foot__t { gap: 30px; }
}

/* Never let a stray element create a horizontal scrollbar */
@media (max-width: 1200px) { .mq { max-width: 100vw; } }

@media (max-width: 900px) {
  .top__right .btn--fill { display: none; }
  .top__brand { font-size: 1.15rem; }
}
@media (max-width: 480px) { .glyph__s { width: 26px; height: 26px; } }


/* ==========================================================================
   22. FINISHING — the layer that separates good from expensive
   ========================================================================== */

/* Paper grain on bone sections — stops them reading as flat white boxes */
.on-bone, .on-bone2 { position: relative; isolation: isolate; }
.on-bone::before, .on-bone2::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .5;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(176,110,124,.2), transparent 44%),
    radial-gradient(circle at 84% 78%, rgba(58,31,42,.05), transparent 48%);
}

/* Fine hairline at every surface change */
.on-bone + .on-ink, .on-bone2 + .on-ink, .on-bone + .on-ink2, .on-bone2 + .on-ink2,
.on-ink + .on-bone, .on-ink2 + .on-bone, .on-ink + .on-bone2, .on-ink2 + .on-bone2 {
  border-top: 1px solid rgba(176,110,124,.36);
}

/* Panels and offers get gold corner ticks — a quiet luxury detail */
.panel::before, .panel::after { content: ""; position: absolute; width: 16px; height: 16px; pointer-events: none; border-color: var(--gold-pale); border-style: solid; border-width: 0; }
.offer::before, .offer::after { content: ""; position: absolute; width: 16px; height: 16px; pointer-events: none; border-color: var(--gold); border-style: solid; border-width: 0; }
.panel::before, .offer::before { top: 12px; left: 12px; border-top-width: 1px; border-left-width: 1px; border-top-left-radius: 4px; }
.panel::after,  .offer::after  { bottom: 12px; right: 12px; border-bottom-width: 1px; border-right-width: 1px; border-bottom-right-radius: 4px; }
.offer { position: relative; }

/* Glyph tiles: refined proportion, gold hairline on hover, inner glow */
.glyph { aspect-ratio: 3/3.4; gap: .55em; background: rgba(255,255,255,.03); }
.on-bone .glyph, .on-bone2 .glyph { background: rgba(255,255,255,.62); box-shadow: 0 1px 2px rgba(22,24,28,.04); }
.glyph::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .55s var(--ease);
}
.glyph:hover::after { box-shadow: inset 0 0 22px rgba(176,110,124,.34); }
.glyph__n { letter-spacing: .02em; font-size: .78rem; }

/* Buttons: subtle lift, never a hard shadow */
.btn--fill, .btn--gold { box-shadow: 0 12px 30px -16px rgba(58,31,42,.5); }

/* Headings on bone get true optical sizing */
.on-bone .disp, .on-bone2 .disp { font-variation-settings: "opsz" 72; }

/* Links inside body copy */
.body a, .step__d a, .acc__in a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.on-bone .body a, .on-bone2 .body a { color: var(--gold-dim); }

/* Focus ring — accessible and on-brand */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px;
}

/* Rail: gold wash on the active section */
.rail__item.is-active { background: linear-gradient(90deg, rgba(176,110,124,.26), transparent); }

/* Marquee reads as an ornament, not a banner */
.mq__i { font-weight: 700; }
.mq__i::after { color: var(--gold); }

/* Stat numbers get the serif's tabular figures */
.stat__n { font-variant-numeric: tabular-nums; }

/* Images fade up from their own colour rather than popping */
.fig { background: linear-gradient(140deg, var(--ink-3), var(--ink-2)); }
.fig__cap { background: linear-gradient(to top, rgba(58,31,42,.88), transparent); }
.fig::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(176,110,124,.4);
}

/* Section eyebrow gets a small gold dot */
.lbl::after { content: "✦"; margin-left: .8em; font-size: .8em; opacity: .7; }
html[lang="mr"] .lbl::after { margin-left: .5em; }

/* Loshu must fit its panel by height, not width — the panel is 16:10 */
.panel .loshu { width: min(40%, 168px); height: auto; aspect-ratio: 1; }
.panel { color: var(--on-plum); padding-bottom: clamp(44px,4.4vw,60px); }
/* Rail labels must never truncate */
.rail__item span { font-size: .58rem; letter-spacing: .12em; }

/* The pinned horizontal track must never produce a page scrollbar before
   ScrollTrigger takes it over. */
[data-hscroll] { max-width: 100%; overflow: hidden; }
@media (max-width: 900px) { [data-hscroll] { overflow-x: auto; } }

/* Her cut-out sits to the right; the type is scaled so the longest word
   ("NUMEROLOGIST") clears her without being clipped by its reveal mask. */
@media (min-width: 1001px) {
  .hero__photo { width: 40%; right: 0; }
  .hero .mega { position: relative; z-index: 3; max-width: none;
    font-size: clamp(2.6rem, 6.4vw, 6.1rem); }
  .hero .split { grid-template-columns: 1fr; max-width: 56%; }
  .hero .split > div:last-child { flex-direction: row !important; align-items: center !important; gap: 26px !important; flex-wrap: wrap; }
}
@media (min-width: 1500px) { .hero .mega { font-size: 6.4rem; } }

/* ==========================================================================
   23. GLOSS — polished surfaces, not gradients.
   A specular sheen across the top of a surface plus a bright top edge reads as
   lacquer. Kept to one highlight per element so it stays expensive, not shiny.
   ========================================================================== */

.card, .tcard, .glyph, .element, .panel, .duo__c, .offer, .vcard, .btn, .chip, .plist span {
  position: relative;
}

/* The sheen itself */
.card::before, .tcard::before, .glyph::before, .element::before,
.duo__c::before, .offer::before, .vcard::before {
  pointer-events: none;
}
.tcard, .glyph, .element, .duo__c, .vcard, .card {
  background-image: linear-gradient(177deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.16) 26%, rgba(255,255,255,0) 52%);
  background-repeat: no-repeat;
}
.on-navy .tcard, .on-navy .glyph, .on-navy .element, .on-navy .duo__c, .on-navy .card,
.panel, .vcard {
  background-image: linear-gradient(177deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 24%, rgba(255,255,255,0) 50%);
}
.panel { background-color: var(--panel); }
.vcard { background-color: var(--navy); }

/* Bright top edge — the lacquer line */
.card, .tcard, .glyph, .element, .duo__c, .offer, .vcard, .panel {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 1px 2px rgba(58,31,42,.05);
}
.on-navy .card, .on-navy .tcard, .on-navy .glyph, .on-navy .element,
.on-navy .duo__c, .panel, .vcard {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 2px 6px rgba(0,0,0,.2);
}
.card:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 30px 66px -34px rgba(58,31,42,.5);
}
.tcard:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 24px 50px -30px rgba(58,31,42,.4);
}

/* Buttons get a lacquered top and a soft floor shadow */
.btn--fill, .btn--gold {
  background-image: linear-gradient(176deg, rgba(255,255,255,.28), rgba(255,255,255,.04) 44%, rgba(255,255,255,0) 60%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 12px 28px -14px rgba(58,31,42,.55);
}
.btn--fill:hover, .btn--gold:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 16px 34px -14px rgba(58,31,42,.6);
}
.btn--line { background-image: linear-gradient(176deg, rgba(255,255,255,.4), rgba(255,255,255,0) 52%); }
.on-navy .btn--line { background-image: linear-gradient(176deg, rgba(255,255,255,.12), rgba(255,255,255,0) 52%); }

/* Chips and pills: small, wet-looking */
.chip, .plist span, .lang {
  background-image: linear-gradient(175deg, rgba(255,255,255,.7), rgba(255,255,255,.1) 55%, rgba(255,255,255,0));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.on-navy .chip, .on-navy .plist span {
  background-image: linear-gradient(175deg, rgba(255,255,255,.16), rgba(255,255,255,0) 55%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}

/* The portrait frame picks up a glass edge */
.hero__photo { box-shadow: inset 0 2px 0 rgba(255,255,255,.22), 0 40px 90px -40px rgba(58,31,42,.5); }

/* Figures: a single sweep of light across the top corner */
.fig::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(152deg, rgba(255,255,255,.3) 0%, rgba(255,255,255,.05) 22%, rgba(255,255,255,0) 44%);
}

/* The plum band and footer get a top sheen so they read as lacquer, not flat */
.on-navy, .foot {
  background-image: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,0) 22%);
}

/* Rail tab and sticky bar */
.rail__tab, .sticky, .wa {
  background-image: linear-gradient(176deg, rgba(255,255,255,.22), rgba(255,255,255,0) 55%);
}
.wa { box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 12px 26px -10px rgba(31,168,85,.6); }

@media (prefers-reduced-transparency: reduce) {
  .card, .tcard, .glyph, .element, .duo__c, .vcard, .panel, .btn, .chip { background-image: none; }
}

@media (max-width: 900px) { .hero__photo { top: 74px; } }

/* ==========================================================================
   24. MOBILE HERO — stack, don't overlay.
   Behind-the-text photography works at 1440px and turns to mud at 390px, so on
   phones her portrait becomes its own framed card above the headline.
   ========================================================================== */
@media (max-width: 900px) {
  .hero { display: block; padding-block: 86px 56px; }

  .hero__photo {
    position: relative; inset: auto; top: auto; bottom: auto;
    width: 100%; height: 52vh; max-height: 420px; min-height: 280px;
    margin: 0 0 clamp(26px,5vw,38px);
    opacity: 1;
    border-radius: var(--r-lg);
    background-position: 50% 14%;
    -webkit-mask-image: none; mask-image: none;
    box-shadow: inset 0 2px 0 rgba(255,255,255,.2), 0 24px 50px -28px rgba(58,31,42,.55);
  }
  .hero__photo::before { inset: -10px; border-radius: calc(var(--r-lg) + 10px); }
  .hero__photo::after { content: none; }

  .hero__ghost { display: none; }

  /* Sized so "NUMEROLOGIST" — the longest word — never hits its reveal mask */
  .hero .mega { font-size: clamp(1.85rem, 9.4vw, 2.6rem); line-height: .94; max-width: none; }
  .hero .split { grid-template-columns: 1fr; max-width: none; gap: 24px; }
  .hero .split > div:last-child { flex-direction: column !important; align-items: flex-start !important; gap: 14px !important; }
  .hero .chips { gap: 6px; }
  .hero .chip { font-size: .58rem; padding: .5em .85em; }
  .hero .lead { font-size: 1rem; }
  .hero__cue { display: none; }
}
@media (max-width: 400px) {
  .hero .mega { font-size: 8.9vw; }
}

/* ==========================================================================
   25. ASTROLOGY CURSOR
   A slowly turning four-point star, with a lagging astrolabe ring that opens
   over anything interactive, and a trail of sparks. Pointer devices only.
   ========================================================================== */
.cur { display: none; }        /* retire the old dot */

.astro-cur, .astro-ring { position: fixed; top: 0; left: 0; z-index: 210; pointer-events: none; will-change: transform; }

.astro-cur { width: 18px; height: 18px; margin: -9px 0 0 -9px; }
.astro-cur svg { width: 100%; height: 100%; display: block; }
.astro-cur path { fill: var(--gold-dim); transition: fill .4s var(--ease); }
body.cur-on-dark .astro-cur path { fill: var(--gold-pale); }

.astro-ring { width: 46px; height: 46px; margin: -23px 0 0 -23px; opacity: 0; transition: opacity .45s var(--ease); }
.astro-ring svg { width: 100%; height: 100%; display: block; animation: ringspin 14s linear infinite; }
.astro-ring circle, .astro-ring line { fill: none; stroke: var(--gold-dim); stroke-width: 1; vector-effect: non-scaling-stroke; }
body.cur-on-dark .astro-ring circle, body.cur-on-dark .astro-ring line { stroke: var(--gold-pale); }
body.cur-active .astro-ring { opacity: .85; }
@keyframes ringspin { to { transform: rotate(360deg); } }

/* Sparks left behind as the pointer moves */
.spark {
  position: fixed; z-index: 209; pointer-events: none;
  width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
  color: var(--gold);
  animation: sparkout .85s var(--ease) forwards;
}
.spark svg { width: 100%; height: 100%; fill: currentColor; }
@keyframes sparkout {
  0%   { opacity: .9; transform: scale(.4) rotate(0deg); }
  100% { opacity: 0;  transform: scale(1.5) rotate(120deg); }
}

@media (hover: none), (max-width: 900px) {
  .astro-cur, .astro-ring, .spark { display: none !important; }
}

/* ==========================================================================
   26. MOTION LAYER — works on touch as well as pointer
   ========================================================================== */

/* Page transition curtain */
.curtain {
  position: fixed; inset: 0; z-index: 400; pointer-events: none;
  background: var(--navy);
  transform: scaleY(0); transform-origin: bottom;
}
.curtain.in  { transform: scaleY(1); transform-origin: bottom; transition: transform .5s var(--ease-inout); }
.curtain.out { transform: scaleY(0); transform-origin: top;    transition: transform .55s var(--ease-inout); }
.curtain__m {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.6rem; color: var(--gold-pale);
  opacity: 0; transition: opacity .3s var(--ease);
}
.curtain.in .curtain__m { opacity: 1; }

/* Touch ripple */
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.55), transparent 70%);
  transform: translate(-50%,-50%) scale(0); opacity: .8;
  animation: rip .6s var(--ease) forwards;
}
@keyframes rip { to { transform: translate(-50%,-50%) scale(1); opacity: 0; } }

/* Drifting constellation for plum sections */
.stars { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.stars i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: var(--gold-pale); opacity: .35;
  animation: drift linear infinite, blink 4s var(--ease) infinite alternate;
}
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-140px); } }
@keyframes blink { from { opacity: .16; } to { opacity: .75; } }
.on-navy > .wrap, .on-navy > div { position: relative; z-index: 1; }

/* Marquee leans with scroll velocity */
.mq__t { will-change: transform; }

/* Section headings settle as they arrive */
.settle { will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  .astro-ring svg, .stars i, .spark { animation: none !important; }
  .curtain { display: none; }
}

/* Fraunces is a variable face — keep it optically sized and never too light */
.disp, .quote, .stat__n, .offer__p, .card__p, .card__ix, .step__n, .tcard__t,
.loshu span, .rail__logo, .top__brand, .pre__m, .curtain__m, .num {
  font-variation-settings: "SOFT" 20, "WONK" 0;
  font-optical-sizing: auto;
}
