/* Astrocrony theme — shared by index.html and every inner page.
   Extracted from index.html so the pages cannot drift apart. */

    :root { --gutter: clamp(20px, 5vw, 64px); }

    html, body { background: #241663; }
    body {
      font-family: 'Outfit', sans-serif; color: #F3EEFF; overflow-x: hidden;
      background:
        radial-gradient(1100px 700px at 20% -5%, rgba(158,110,255,.45), transparent 60%),
        radial-gradient(1000px 800px at 90% 10%, rgba(124,110,255,.35), transparent 60%),
        radial-gradient(1200px 900px at 50% 110%, rgba(198,168,255,.30), transparent 60%),
        linear-gradient(180deg, #2A1C6B 0%, #1B1148 55%, #150D3A 100%);
      background-attachment: fixed;
    }

    /* Reusable heading utility */
    .h-serif { font-family: 'Cinzel', serif; letter-spacing: 0.02em; }
    .gradient-text {
      /* Lavender -> cream -> gold. The old ramp parked on a desaturated blue (#7C8BFF)
         at its midpoint, which read as muddy grey against the violet ground and washed
         out every section heading. Staying inside the lavender/gold family keeps the
         accent luminous the whole way across.
         background-image, not the `background` shorthand: the shorthand resets
         background-clip and the text would paint as a solid block. */
      background-image: linear-gradient(100deg, #DCC7FF 0%, #C9A2FF 22%, #FFF3CE 48%,
                                        #F4C542 66%, #E7C6FF 88%, #DCC7FF 100%);
      background-size: 210% auto;
      -webkit-background-clip: text; background-clip: text; color: transparent;
      animation: shimmer 7s ease-in-out infinite;
    }
    @keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

    /* Glassmorphism card */
    .glass {
      background: linear-gradient(160deg, rgba(158,110,255,0.16), rgba(30,20,80,0.34));
      backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
      border: 1px solid rgba(198,168,255,0.26);
      border-radius: 22px;
    }
    /* Gradient border sheen used on premium cards */
    .grad-border { position: relative; }
    .grad-border::before {
      content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
      background: linear-gradient(140deg, rgba(220,199,255,0.6), rgba(158,110,255,0.45), transparent 62%);
      -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
      -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
      opacity: 0.5; transition: opacity .35s ease;
    }
    .grad-border:hover::before { opacity: 1; }

    /* Aurora + starfield background layers */
    #starfield { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
    .aurora { position: fixed; z-index: 0; pointer-events: none; filter: blur(110px); opacity: .5; border-radius: 50%; }
    .aurora.a1 { width: 58vw; height: 58vw; top: -18vw; left: -12vw; background: radial-gradient(circle, rgba(158,110,255,.8), transparent 70%); }
    .aurora.a2 { width: 52vw; height: 52vw; top: 42vh; right: -14vw; background: radial-gradient(circle, rgba(198,168,255,.55), transparent 70%); }
    .aurora.a3 { width: 44vw; height: 44vw; bottom: -12vw; left: 22vw; background: radial-gradient(circle, rgba(124,110,255,.45), transparent 70%); }
    .aurora.a4 { width: 46vw; height: 46vw; top: 8vh; left: 40vw; background: radial-gradient(circle, rgba(91,123,240,.4), transparent 70%); opacity: .4; }

    /* Shooting stars / comets */
    #shooting-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
    .shooting-star {
      position: absolute; height: 2px; width: 150px; border-radius: 999px;
      background: linear-gradient(90deg, rgba(255,255,255,0), rgba(233,230,251,.2) 40%, #fff);
      filter: drop-shadow(0 0 6px rgba(198,168,255,.9));
      opacity: 0; transform: rotate(18deg);
    }
    .shooting-star::after {
      content: ""; position: absolute; right: 0; top: -1.5px; width: 5px; height: 5px;
      border-radius: 50%; background: #fff; box-shadow: 0 0 12px 3px rgba(255,255,255,.8);
    }

    /* Floating cosmic particles */
    .particle { position: absolute; border-radius: 50%; background: #C6A8FF; opacity: .55; animation: floaty 9s ease-in-out infinite; }

    /* ============ GLOBAL MOVING PLANETS (whole-page cosmos) ============ */
    #cosmos { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
    /* A system = a fixed anchor; its arm revolves, carrying a planet in orbit */
    .system { position: absolute; will-change: transform; }
    .orbit-arm { position: absolute; top: 0; left: 0; transform-origin: center; animation: orbit linear infinite; }
    .orbit-ring {
      position: absolute; border-radius: 50%; border: 1px solid rgba(198,168,255,.04);
      transform: translate(-50%, -50%);
    }
    .planet-body {
      position: absolute; border-radius: 50%; transform: translate(-50%, -50%);
    }
    /* Saturn-style ring on select planets */
    /* Saturn's rings: sandy/pink-grey outer band + bright white ice inner band */
    .planet-body .ring {
      position: absolute; top: 50%; left: 50%; width: 205%; height: 58%;
      transform: translate(-50%, -50%) rotate(-24deg); border-radius: 50%;
      border: 4px solid rgba(226,205,182,.6);
      box-shadow: 0 0 12px rgba(240,235,225,.3) inset, 0 0 8px rgba(214,176,168,.28);
    }
    .planet-body .ring::before {
      content: ""; position: absolute; inset: 3px; border-radius: 50%;
      border: 2px solid rgba(255,252,246,.85);   /* pure white ice */
    }
    @keyframes orbit { to { transform: rotate(360deg); } }

    /* Gold glowing button */
    .btn { display: inline-flex; align-items: center; gap: .6em; font-weight: 500; letter-spacing: .02em;
           padding: .95rem 1.8rem; border-radius: 100px; transition: transform .3s ease, box-shadow .3s ease, background .3s ease; }
    .btn-gold { background: linear-gradient(180deg, #FBE6A2, #F4C542); color: #2A1E00; box-shadow: 0 8px 30px rgba(244,197,66,.3); }
    .btn-gold:hover { transform: translateY(-3px); box-shadow: 0 0 44px rgba(244,197,66,.6); }
    .btn-outline { border: 1px solid rgba(185,139,255,.5); color: #E9E6FB; background: rgba(110,63,243,.08); }
    /* Secondary CTA in the palette's OTHER accent — royal purple, not gold.
       Free Horoscope owns the gold; repeating it here made the two buttons
       read as a matched pair with no clear primary. Deliberately plainer:
       no sheen, no rotating rim, no icon — a clean solid pill. */
    #nav .btn-outline {
      position: relative; border: 1px solid rgba(214,196,255,.55);
      color: #FFFFFF; font-weight: 600; letter-spacing: .03em;
      /* Shine as the first background layer. A wide, soft satin band that
         glides continuously — deliberately unlike the gold button's narrow
         hard sheen, which only fires on hover. */
      background-image:
        linear-gradient(105deg, transparent 34%, rgba(255,255,255,.26) 46%,
                        rgba(226,214,255,.38) 52%, transparent 66%),
        radial-gradient(130% 150% at 28% -20%, rgba(255,255,255,.28), transparent 55%),
        linear-gradient(180deg, #7C4DFF 0%, #5B2FC9 100%);
      background-size: 250% 100%, auto, auto;
      background-position: -70% 0, 0 0, 0 0;
      background-repeat: no-repeat;
      animation: ctaSatin 5.5s ease-in-out infinite;
      box-shadow: 0 10px 24px -12px rgba(0,0,0,.8),
                  0 0 22px -10px rgba(124,77,255,.9),
                  inset 0 1px 0 rgba(255,255,255,.3);
      transition: border-color .28s ease, box-shadow .28s ease,
                  transform .28s ease, filter .28s ease;
    }
    @keyframes ctaSatin {
      0%       { background-position: -70% 0, 0 0, 0 0; }
      55%, 100% { background-position: 185% 0, 0 0, 0 0; }
    }
    /* hover sends the shine across once more, a little brighter */
    #nav .btn-outline:hover { animation-duration: 2.6s; }
    @media (prefers-reduced-motion: reduce) {
      #nav .btn-outline { animation: none; background-position: 185% 0, 0 0, 0 0; }
    }
    #nav .btn-outline:hover, #nav .btn-outline:focus-visible {
      transform: translateY(-3px);
      border-color: rgba(230,218,255,.9); filter: brightness(1.12);
      box-shadow: 0 16px 30px -12px rgba(0,0,0,.85),
                  0 0 36px -8px rgba(124,77,255,1),
                  inset 0 1px 0 rgba(255,255,255,.45);
    }
    #nav .btn-outline:focus-visible { outline: 2px solid #C6A8FF; outline-offset: 3px; }
    .btn-outline:hover { border-color: #F4C542; color: #F4C542; background: rgba(244,197,66,.10); transform: translateY(-3px); box-shadow: 0 0 34px rgba(244,197,66,.45); }
    .btn-outline:hover i { color: #F4C542; }

    /* ============================================================
       COSMIC BUTTON  —  the free-horoscope CTA.
       A deep violet glass pill inside a slowly orbiting gold ring, so it
       reads as the celestial counterpart to the solid gold booking button.
       The ring is a big conic gradient rotating behind the pill; the inner
       face (::after) masks all but a 1.5px edge of it.
    ============================================================ */
    /* The only CTA in the nav, so it carries the primary treatment: a solid
       gold pill at rest, not a dark one that only reveals itself on hover. */
    .btn-cosmic {
      position: relative; isolation: isolate; overflow: hidden;
      background: transparent;
      /* transparent 1px border so it matches the height of the bordered
         secondary button beside it — border:0 left it 2px shorter */
      border: 1px solid transparent;
      color: #2A1E00; font-weight: 700; letter-spacing: .04em;
      box-shadow: 0 10px 26px -10px rgba(0,0,0,.75),
                  0 0 28px -8px rgba(244,197,66,.75);
      transition: transform .35s ease, box-shadow .35s ease;
    }
    /* the orbiting ring */
    .btn-cosmic::before {
      content: ""; position: absolute; z-index: -2;
      top: 50%; left: 50%; width: 260%; height: 640%;
      background: conic-gradient(
        #F4C542 0deg, #FBE6A2 28deg, #F4C542 62deg,
        #C6A8FF 100deg, #6E3FF3 126deg, #F4C542 172deg,
        #FBE6A2 205deg, #F4C542 240deg,
        #5B7BF0 288deg, #C6A8FF 312deg, #F4C542 360deg);
      transform: translate(-50%, -50%) rotate(0deg);
      animation: orbitRing 8s linear infinite;
    }
    @keyframes orbitRing { to { transform: translate(-50%, -50%) rotate(360deg); } }
    /* the glass face, leaving the ring showing as a hairline */
    /* The sheen is the FIRST background layer of ::after rather than its own
       pseudo-element: ::before is the rotating conic rim and ::after is the
       inner fill, so both are already spoken for. */
    .btn-cosmic::after {
      content: ""; position: absolute; z-index: -1; inset: 1.25px;
      border-radius: 100px;
      background-image:
        linear-gradient(120deg, transparent 42%, rgba(255,255,255,.6) 50%, transparent 58%),
        radial-gradient(120% 170% at 26% -10%, rgba(255,255,255,.55), transparent 55%),
        linear-gradient(180deg, #FFF6DC 0%, #F4C542 52%, #E0A92E 100%);
      background-size: 220% 100%, auto, auto;
      background-position: -90% 0, 0 0, 0 0;
      background-repeat: no-repeat;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.75),
                  inset 0 -7px 14px -8px rgba(122,78,10,.55);
      transition: background-position .6s ease;
    }
    /* same treatment as the astrology tag pills: lift, fill with gold, sweep */
    .btn-cosmic:hover, .btn-cosmic:focus-visible {
      transform: translateY(-3px);
      box-shadow: 0 16px 32px -10px rgba(0,0,0,.8),
                  0 0 46px -6px rgba(244,197,66,1);
    }
    .btn-cosmic:hover::after, .btn-cosmic:focus-visible::after {
      background-image:
        linear-gradient(120deg, transparent 42%, rgba(255,255,255,.75) 50%, transparent 58%),
        radial-gradient(120% 170% at 26% -10%, rgba(255,255,255,.7), transparent 55%),
        linear-gradient(180deg, #FFFDF4 0%, #FFD966 52%, #F0B833 100%);
      background-position: 190% 0, 0 0, 0 0;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
    }
    /* the spark sits on gold at rest now, so it is dark throughout */
    .btn-cosmic .spark path { fill: #2A1E00; }
    .btn-cosmic .spark { filter: none; }
    .btn-cosmic:hover::before { animation-duration: 3.2s; }
    .btn-cosmic:focus-visible { outline: 2px solid #F4C542; outline-offset: 3px; }
    /* crisp four-point star — tight glow, no smudge */
    .btn-cosmic .spark {
      width: .78em; height: .78em; flex: none;
      filter: drop-shadow(0 0 4px rgba(244,197,66,.95));
      animation: sparkTwinkle 3.2s ease-in-out infinite;
    }
    @keyframes sparkTwinkle {
      0%, 100% { opacity: .85; transform: rotate(0deg)   scale(.92); }
      50%      { opacity: 1;   transform: rotate(90deg)  scale(1.08); }
    }

    /* Section rhythm */
    .section { padding: clamp(64px, 9vw, 120px) 0; position: relative; z-index: 1; }
    /* Two adjacent sections stacked their padding (120px + 120px = a 240px dead
       band). The preceding section's bottom padding alone is the gap. */
    .section + .section { padding-top: 0; }
    /* The hero is not a .section, so the rule above misses the first boundary
       and it doubled up to 176px while every other one was 120px. Trim it to
       roughly match the hero's own bottom padding. */
    #hero + .section { padding-top: clamp(24px, 4.5vw, 64px); }
    .wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

    .eyebrow { font-family: 'Outfit'; font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; color: #F4C542; font-weight: 600; }

    /* FAQ accordion */
    /* ---- FAQ accordion ---------------------------------------------- */
    .faq-list { display: flex; flex-direction: column; gap: .7rem; }
    .faq-item {
      border-radius: 16px; border: 1px solid transparent; overflow: hidden;
      background:
        linear-gradient(160deg, rgba(41,25,96,.82), rgba(23,16,74,.9)) padding-box,
        linear-gradient(140deg, rgba(220,199,255,.22), rgba(244,197,66,.18)) border-box;
      transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
    }
    .faq-item:hover {
      background:
        linear-gradient(160deg, rgba(49,31,112,.88), rgba(27,19,84,.92)) padding-box,
        linear-gradient(140deg, rgba(244,197,66,.55), rgba(158,110,255,.3)) border-box;
      box-shadow: 0 0 26px -14px rgba(110,63,243,.9);
    }
    .faq-item.is-open {
      background:
        linear-gradient(160deg, rgba(49,31,112,.9), rgba(27,19,84,.94)) padding-box,
        linear-gradient(140deg, rgba(244,197,66,.7), rgba(198,168,255,.35)) border-box;
      box-shadow: 0 0 30px -14px rgba(110,63,243,.95);
    }
    .faq-q {
      width: 100%; display: flex; align-items: flex-start; gap: 1rem; text-align: left;
      font: inherit; cursor: pointer; background: none; border: 0;
      padding: 1.15rem 1.35rem;
      font-family: 'Cinzel', serif; font-weight: 600; font-size: 1.12rem; line-height: 1.45;
      color: #FFFFFF; transition: color .25s ease;
    }
    .faq-q:hover { color: #FFE7A0; }
    .faq-q:focus-visible { outline: 2px solid #F4C542; outline-offset: -3px; border-radius: 16px; }
    .faq-sign {
      flex: none; width: 24px; height: 24px; margin-top: .12rem; position: relative;
      border-radius: 50%; border: 1px solid rgba(244,197,66,.5);
      transition: background .3s ease, border-color .3s ease, transform .3s ease;
    }
    /* the + is two bars; the vertical one collapses to make a − */
    .faq-sign::before, .faq-sign::after {
      content: ""; position: absolute; inset: 0; margin: auto;
      background: #F4C542; border-radius: 2px; transition: transform .3s ease, opacity .3s ease;
    }
    .faq-sign::before { width: 10px; height: 1.6px; }
    .faq-sign::after  { width: 1.6px; height: 10px; }
    .faq-item.is-open .faq-sign { background: rgba(244,197,66,.16); border-color: #F4C542; transform: rotate(180deg); }
    .faq-item.is-open .faq-sign::after { transform: scaleY(0); opacity: 0; }
    .faq-a {
      max-height: 0; opacity: 0; overflow: hidden; transform: translateY(-6px);
      transition: max-height .42s cubic-bezier(.22,.61,.36,1), opacity .3s ease, transform .3s ease;
    }
    .faq-item.is-open .faq-a { opacity: 1; transform: none; }
    .faq-a p {
      margin: 0; padding: 0 1.35rem 1.25rem 3.35rem;
      font-family: 'Outfit', sans-serif; font-size: 1rem; line-height: 1.78; color: #C8C1E8;
    }
    .faq-more { margin-top: clamp(1.6rem, 3vw, 2.4rem); text-align: center; }
    @media (max-width: 640px) {
      .faq-q { font-size: 1rem; padding: 1rem 1.05rem; gap: .8rem; }
      .faq-a p { font-size: .92rem; padding: 0 1.05rem 1.1rem 2.85rem; }
    }

    /* Astro glyphs (♃ ♄ ♀ …): name a symbol-capable TEXT font ahead of any
       emoji font. Without this, a platform whose default emoji font claims these
       codepoints paints a coloured emoji badge that ignores `color` — Jupiter was
       the visible offender. The U+FE0E selector in the markup/JS asks for the same
       thing; this stack enforces it where that selector is ignored.
       Font Awesome sets font-family on .fa-* itself, so its icons are unaffected. */
    /* #kuGraha text = the graha glyphs inside the hero kundli. SVG <text> there
       inherits Outfit, which has no astro codepoints, so the fallback font decides
       — and an emoji fallback ignores the chart's `fill` and paints its own badge. */
    .glyph-orb, .blog-glyph, .rz-sym, .nk-sym, .amodal-sym, .pk-ico, #kuGraha text {
      font-family: 'Apple Symbols', 'Segoe UI Symbol', 'Noto Sans Symbols2',
                   'DejaVu Sans', 'Cormorant Garamond', serif;
      font-variant-emoji: text;
    }

    /* Nakshatra + horoscope glyphs */
    .glyph-orb { display:grid; place-items:center; width:52px; height:52px; border-radius:50%;
                 background: rgba(158,110,255,.20); border:1px solid rgba(220,199,255,.4); color:#FBE6A2; }


    /* Testimonial track */
    .testi-track { display: flex; transition: transform .6s cubic-bezier(.6,.05,.2,1); }
    .testi-slide { min-width: 100%; }
    @media (min-width: 768px) { .testi-slide { min-width: 33.3333%; } }

    :focus-visible { outline: 2px solid #F4C542; outline-offset: 3px; border-radius: 4px; }

    /* ============ UNIFIED GOLD HOVER SYSTEM (professional) ============ */
    /* Any link / mobile link turns gold on hover (buttons keep their own styling) */
    a { transition: color .25s ease; }
    a:not(.btn):hover, .mobile-link:not(.btn):hover { color: #F4C542; }

    /* Premium glass cards: gold border + gold glow lift on hover */
    .glass.grad-border { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
    .glass.grad-border:hover {
      border-color: rgba(244,197,66,.55);
      box-shadow: 0 14px 40px rgba(244,197,66,.16), 0 0 0 1px rgba(244,197,66,.25);
    }
    /* Card headings + icon orbs warm to gold when the card is hovered */
    .glass.grad-border:hover .h-serif { color: #F4C542; }
    .glass.grad-border:hover .glyph-orb { color: #F4C542; border-color: rgba(244,197,66,.6); box-shadow: 0 0 22px rgba(244,197,66,.4); }

    /* Nav links: gold underline sweep on hover */
    .nav-links a:not(.btn) { position: relative; }
    .nav-links a:not(.btn)::after {
      content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
      background: #F4C542; transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
    }
    .nav-links a:not(.btn):hover::after { transform: scaleX(1); }

    /* Social + control orbs glow gold on hover */
    .glyph-orb:hover, button.glass:hover { color: #F4C542 !important; border-color: rgba(244,197,66,.6); box-shadow: 0 0 22px rgba(244,197,66,.4); }

    /* ============ PRELOADER (cosmic intro) ============ */
    #preloader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
      background: radial-gradient(circle at 50% 45%, #2A1C6B, #150D3A 70%); transition: opacity .8s ease, visibility .8s ease; }
    /* pointer-events:none as soon as it starts fading — `visibility` only flips
       at the END of a transition, so without this the finished preloader keeps
       swallowing clicks for the length of the fade. */
    #preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
    .loader { position: relative; width: 130px; height: 130px; display: grid; place-items: center; }
    .loader .ringz { position: absolute; inset: 0; border-radius: 50%; border: 1px solid transparent;
      border-top-color: #F4C542; border-right-color: rgba(198,168,255,.6); animation: spin 1.2s linear infinite; }
    .loader .ringz.r2 { inset: 16px; border-top-color: #C6A8FF; border-right-color: rgba(244,197,66,.5); animation-duration: 1.9s; animation-direction: reverse; }
    .loader img { width: 92px; height: auto; filter: drop-shadow(0 0 16px rgba(244,197,66,.6)); }
    .loader-text { position: absolute; bottom: -44px; left: 50%; transform: translateX(-50%);
      font-family: 'Cinzel', serif; letter-spacing: .36em; font-size: .68rem; color: #F4C542; white-space: nowrap; }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* ============ SCROLL PROGRESS BAR ============ */
    #progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 60;
      background: linear-gradient(90deg, #C6A8FF, #5B7BF0, #F4C542); box-shadow: 0 0 10px rgba(244,197,66,.6); }

    /* ============ MILKY WAY BAND ============ */
    #milkyway { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .55; filter: blur(6px);
      background: linear-gradient(115deg, transparent 30%, rgba(158,110,255,.12) 44%, rgba(220,199,255,.20) 50%, rgba(91,123,240,.12) 56%, transparent 70%); }

    /* ============ 3D TILT CARDS ============ */
    .tilt { transition: transform .25s ease, box-shadow .35s ease, border-color .35s ease; transform-style: preserve-3d; }

    /* ============ GOLD BUTTON SHEEN ============ */
    .btn-gold { position: relative; overflow: hidden; }
    .btn-gold::after { content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
      background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg);
      animation: sheen 5s ease-in-out infinite; }
    /* used by the shooting-star JS: star.style.animation = `shoot ...` */
    @keyframes shoot {
      0%   { opacity: 0; transform: translate(0,0) rotate(18deg); }
      8%   { opacity: 1; }
      100% { opacity: 0; transform: translate(60vw, 22vh) rotate(18deg); }
    }

    @keyframes sheen { 0%, 62% { left: -60%; } 88%, 100% { left: 140%; } }

    /* ============================================================
       HEADER — premium brand lockup + readable nav (v2)
    ============================================================ */
    #nav { --nav-scrim: 0; }
    #nav::before {
      content: ""; position: absolute; inset: 0; z-index: -1;
      background: linear-gradient(180deg, rgba(17,10,48,.92) 0%, rgba(19,11,52,.72) 55%, rgba(19,11,52,0) 100%);
      backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
      opacity: .55; transition: opacity .35s ease;
    }
    #nav.scrolled::before { opacity: 1; }
    #nav.scrolled { box-shadow: 0 1px 0 rgba(244,197,66,.20), 0 24px 50px -30px rgba(0,0,0,.9); }
    #nav.scrolled .brand-mark { height: 34px; }

    .brand { display: inline-flex; align-items: center; gap: .9rem; }
    .brand-mark {
      height: 38px; width: auto; object-fit: contain;
      filter: drop-shadow(0 2px 3px rgba(10,4,32,.55)) drop-shadow(0 0 16px rgba(244,197,66,.32));
      transition: height .35s ease, filter .35s ease, transform .35s ease;
    }
    @media (min-width: 1024px) { .brand-mark { height: 46px; } }
    .brand:hover .brand-mark { filter: drop-shadow(0 2px 3px rgba(10,4,32,.5)) drop-shadow(0 0 22px rgba(244,197,66,.7)); transform: translateY(-1px); }
    .nav-links a:not(.btn) { color: #E6DDFF; letter-spacing: .015em; font-weight: 400; }
    .nav-links a:not(.btn):hover { color: #F4C542; }

    /* ---- Astrology dropdown (desktop) ---- */
    .nav-links .has-sub { position: relative; }
    .nav-sub-toggle {
      display: inline-flex; align-items: center; gap: .4rem; font: inherit;
      color: #E6DDFF; letter-spacing: .015em; cursor: pointer; transition: color .3s ease;
    }
    .nav-sub-toggle:hover, .has-sub:hover .nav-sub-toggle, .has-sub.open .nav-sub-toggle { color: #F4C542; }
    .nav-sub-toggle .caret { font-size: .7rem; line-height: 1; transition: transform .3s ease; }
    .has-sub:hover .nav-sub-toggle .caret, .has-sub.open .nav-sub-toggle .caret { transform: rotate(180deg); }
    .nav-sub {
      position: absolute; top: calc(100% + 16px); left: 50%;
      transform: translate(-50%, -8px); min-width: 208px; padding: .5rem;
      border-radius: 14px;
      background: linear-gradient(180deg, rgba(48,30,104,.98), rgba(27,17,72,.98));
      -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
      border: 1px solid rgba(198,168,255,.22);
      box-shadow: 0 30px 60px -28px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.06),
                  0 0 0 1px rgba(244,197,66,.08);
      opacity: 0; visibility: hidden; pointer-events: none; z-index: 50;
      transition: opacity .25s ease, transform .25s ease, visibility .25s;
    }
    /* invisible bridge so the pointer can travel from label to panel */
    .nav-sub::before { content: ""; position: absolute; inset: -16px 0 auto 0; height: 16px; }
    .nav-sub::after {
      content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px;
      transform: translateX(-50%) rotate(45deg); background: rgba(48,30,104,.98);
      border-left: 1px solid rgba(198,168,255,.22); border-top: 1px solid rgba(198,168,255,.22);
    }
    .has-sub:hover .nav-sub, .has-sub:focus-within .nav-sub, .has-sub.open .nav-sub {
      opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
    }
    .nav-sub a {
      display: block; padding: .58rem .8rem; border-radius: 9px; font-size: .9rem;
      color: #E6DDFF; transition: background .25s ease, color .25s ease, padding-left .25s ease;
    }
    .nav-sub a:hover { background: rgba(244,197,66,.1); color: #F4C542; padding-left: 1rem; }
    .nav-sub a::after { display: none; }  /* no underline sweep inside the panel */

    /* ---- Astrology accordion (mobile) ---- */
    .mobile-sub-toggle {
      display: flex; align-items: center; justify-content: space-between; width: 100%;
      font: inherit; color: #E6DDFF; cursor: pointer; transition: color .3s ease;
    }
    .mobile-sub-toggle:hover, .mobile-sub-toggle[aria-expanded="true"] { color: #F4C542; }
    .mobile-sub-toggle .caret { font-size: .85rem; line-height: 1; color: #F4C542; transition: transform .3s ease; }
    .mobile-sub-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
    .mobile-sub {
      display: none; flex-direction: column; gap: .8rem; font-size: .95rem;
      margin: .85rem 0 .35rem; padding-left: .95rem; border-left: 1px solid rgba(244,197,66,.35);
    }
    .mobile-sub.open { display: flex; }
    .mobile-sub a { color: #DCC7FF; }

    .btn-sm { padding: .72rem 1.35rem; font-size: .88rem; }
    /* the nav CTAs must never wrap — adding a nav item squeezes the row and
       two-line buttons break the 86px header's rhythm */
    #nav .btn { white-space: nowrap; }

    /* ============================================================
       HERO v2 — the three practices stacked under one heading
       ============================================================ */
    .hero-stack { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }

    /* Hero introduction band — the three practices side by side */
    .hero-intro {
      /* no margin-top: it existed only to clear the heading that sat above */
      display: grid; gap: 1.1rem;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 258px), 1fr));
    }
    .hero-intro-card { scroll-margin-top: 110px; display: flex; flex-direction: column; padding: 0 1.65rem 1.6rem; text-align: left; overflow: hidden; }
    /* illustration panel — bleeds to the card edges, art authored as inline SVG */
    .hi-art {
      margin: 0 -1.65rem 1.3rem; overflow: hidden;
      background: radial-gradient(125% 135% at 50% 0%, rgba(96,55,220,.55), rgba(18,10,52,.88));
    }
    .hi-art { position: relative; }
    /* gold hairline where the art meets the copy */
    .hi-art::after {
      content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
      background: linear-gradient(90deg, transparent, rgba(244,197,66,.6), transparent);
    }
    .hi-svg { display: block; width: 100%; height: auto; transition: transform .55s ease; }
    .hero-intro-card:hover .hi-svg { transform: scale(1.04); }

    .hi-pulse, .hi-aura { transform-box: fill-box; transform-origin: center; }
    @keyframes hiDash    { to { stroke-dashoffset: -60; } }
    @keyframes hiPulse   { 0%, 100% { opacity: .5; }  50% { opacity: 1; } }
    @keyframes hiAura    { 0%, 100% { opacity: .45; transform: scale(.97); }
                           50%      { opacity: 1;   transform: scale(1.04); } }
    .hi-draw { stroke-dasharray: 5 6; animation: hiDash 14s linear infinite; }
    .hi-pulse { animation: hiPulse 3.6s ease-in-out infinite; }
    .hi-aura { animation: hiAura 5s ease-in-out infinite; }
    .hi-kicker {
      font-size: .58rem; letter-spacing: .2em;
      text-transform: uppercase; color: #C6A8FF;   /* 6.6:1 on the card, up from 5.0:1 */
    }
    .hi-name {
      font-family: 'Cinzel', serif; font-weight: 600;
      font-size: 1.4rem; letter-spacing: .025em;
      color: #FBE6A2; margin-top: .45rem;              /* theme token: gold-soft */
      text-shadow: 0 0 22px rgba(244,197,66,.28);
    }
    /* gold accent bar — the highlight, without competing with the gold CTA */
    .hi-name::after {
      content: ""; display: block; width: 34px; height: 2px; border-radius: 2px;
      margin-top: .6rem;
      background: linear-gradient(90deg, #F4C542, rgba(244,197,66,0));
      transition: width .35s ease;
    }
    .hero-intro-card:hover .hi-name::after { width: 62px; }
    .hi-text {
      margin-top: .85rem;
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.12rem; line-height: 1.72; letter-spacing: .006em;
      color: rgba(220,199,255,.92);              /* 7.5:1 on the card, up from 4.6:1 */
    }
    /* key phrase, in the serif's true italic — palette token gold-soft */
    .hi-em { font-style: italic; color: #FBE6A2; }
    /* what each practice covers, lifted out of the prose so the card scans */
    .hi-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.15rem; }
    /* each tag opens the service it names — a real button, not a label.
       Two-layer background: violet fill on padding-box, gold-violet gradient
       on border-box, so the rim is a gradient rather than a flat hairline. */
    .hi-tags a {
      position: relative; overflow: hidden;
      display: inline-flex; align-items: center;
      font-family: 'Outfit', sans-serif; font-size: .7rem; font-weight: 600;
      letter-spacing: .11em; text-transform: uppercase; color: #FFF6E4;
      padding: .55rem .98rem; border-radius: 100px;
      border: 1.5px solid transparent;
      background:
        linear-gradient(180deg, rgba(138,92,255,.62), rgba(46,28,112,.9)) padding-box,
        linear-gradient(135deg, #FFF3CE, #F4C542 38%, #C6A8FF 62%, #F4C542) border-box;
      box-shadow: 0 6px 18px -8px rgba(0,0,0,.8),
                  0 0 18px -6px rgba(244,197,66,.55),
                  inset 0 1px 0 rgba(255,255,255,.24);
      transition: color .3s ease, background .3s ease, transform .3s ease, box-shadow .3s ease;
    }
    .hi-tags a::after {
      content: ""; position: absolute; top: 0; left: -60%; width: 42%; height: 100%;
      background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent);
      transform: skewX(-20deg); transition: left .6s ease; pointer-events: none;
    }
    .hi-tags a:hover::after, .hi-tags a:focus-visible::after { left: 130%; }
    .hi-tags a:hover, .hi-tags a:focus-visible {
      color: #2A1E00; transform: translateY(-3px);
      background:
        linear-gradient(180deg, #FFF3CE, #F4C542) padding-box,
        linear-gradient(135deg, #FFFFFF, #F4C542 45%, #FFF3CE) border-box;
      box-shadow: 0 12px 26px -8px rgba(244,197,66,.85),
                  0 0 30px -6px rgba(244,197,66,.6),
                  inset 0 1px 0 rgba(255,255,255,.5);
    }
    .hi-tags a:focus-visible { outline: 2px solid #F4C542; outline-offset: 3px; }
    .hi-link {
      margin-top: auto; padding-top: 1.15rem; display: inline-flex; align-items: center; gap: .45rem;
      font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #F4C542;
    }
    .hi-link .arw { transition: transform .3s ease; }
    .hero-intro-card:hover .hi-link .arw { transform: translateX(5px); }

    /* ============================================================
       ASTROLOGY SERVICE TILES
       All 13 categories visible at once. Equal-column grid, two-layer
       background so the rim is a gradient hairline rather than a flat
       border, an inner top highlight for light-from-above, plus a
       cursor-tracking glow. Palette tokens only.
    ============================================================ */
    .svc-tiles {
      list-style: none; padding: 0; margin: 1.5rem 0 0;
      display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem;
    }
    .svc-tile {
      position: relative; overflow: hidden; isolation: isolate;
      display: flex; align-items: center; gap: .7rem;
      flex: 0 0 auto; width: 205px;            /* fixed, and five fit a row */
      min-height: 78px;                         /* every tile the same height */
      padding: .9rem .85rem; border-radius: 14px;
      border: 1px solid transparent;
      background:
        linear-gradient(158deg, rgba(58,37,116,.95), rgba(24,14,64,.97)) padding-box,
        linear-gradient(140deg, rgba(220,199,255,.42), rgba(158,110,255,.22) 48%, rgba(244,197,66,.3)) border-box;
      box-shadow: 0 12px 26px -16px rgba(0,0,0,.95),
                  inset 0 1px 0 rgba(255,255,255,.11);
      /* tilt (--rx/--ry) comes from the pointer, lift/press from CSS state */
      --rx: 0deg; --ry: 0deg; --lift: 0px; --sc: 1;
      transform: perspective(760px) translateY(var(--lift))
                 rotateX(var(--rx)) rotateY(var(--ry)) scale(var(--sc));
      transform-style: preserve-3d;
      transition: transform .18s ease-out, background .26s ease, box-shadow .26s ease;
    }
    /* a soft gold light that follows the cursor across the tile */
    .svc-tile::before {
      content: ""; position: absolute; inset: -1px; z-index: -1; pointer-events: none;
      background: radial-gradient(190px circle at var(--mx, 50%) var(--my, 50%),
                                  rgba(244,197,66,.24), transparent 62%);
      opacity: 0; transition: opacity .3s ease;
    }
    .svc-tile:hover::before, .svc-tile:focus-visible::before { opacity: 1; }
    /* single sheen pass on hover */
    .svc-tile::after {
      content: ""; position: absolute; top: 0; left: -60%; width: 44%; height: 100%; z-index: -1;
      background: linear-gradient(120deg, transparent, rgba(255,255,255,.20), transparent);
      transform: skewX(-20deg); transition: left .7s ease; pointer-events: none;
    }
    .svc-tile:hover::after, .svc-tile:focus-visible::after { left: 135%; }

    .svc-tile-orb {
      flex: none; display: grid; place-items: center;
      width: 40px; height: 40px; border-radius: 50%; font-size: .92rem;
      color: #FFF3CE; border: 1px solid transparent;
      /* three layers: specular highlight, lit violet body, gold hairline rim.
         The body layer stays near-opaque so the rim gradient cannot bleed
         through and wash the whole orb out. */
      background:
        radial-gradient(130% 130% at 30% 22%, rgba(255,255,255,.5), rgba(255,255,255,0) 48%) padding-box,
        linear-gradient(180deg, rgba(132,90,238,.95), rgba(48,27,112,.97)) padding-box,
        linear-gradient(150deg, #FFF3CE, #F4C542 40%, #C6A8FF 76%, #F4C542) border-box;
      box-shadow:
        0 5px 12px -6px rgba(0,0,0,.85),
        0 0 16px -5px rgba(244,197,66,.45),
        inset 0 1px 0 rgba(255,255,255,.45),
        inset 0 -7px 12px -7px rgba(16,8,44,.8);
      text-shadow: 0 0 8px rgba(244,197,66,.4);
      transform: translateZ(18px);
      transition: color .26s ease, background .26s ease, box-shadow .26s ease, transform .26s ease;
    }
    .svc-tile-name {
      transform: translateZ(10px);
      font-family: 'Cinzel', serif; font-weight: 600; font-size: .78rem; line-height: 1.24;
      letter-spacing: .02em; color: #FFF6E4; transition: color .26s ease;
    }
    /* hover: violet warms to gold, the rim brightens to a gold hairline */
    .svc-tile:hover, .svc-tile:focus-visible {
      --lift: -4px; outline: none;
      background:
        linear-gradient(158deg, rgba(96,62,190,.96), rgba(38,22,96,.97)) padding-box,
        linear-gradient(140deg, #FFF3CE, #F4C542 40%, #C6A8FF 72%, #F4C542) border-box;
      box-shadow: 0 18px 34px -18px rgba(0,0,0,.95),
                  0 0 26px -10px rgba(244,197,66,.55),
                  inset 0 1px 0 rgba(255,255,255,.28);
    }
    .svc-tile:hover .svc-tile-orb, .svc-tile:focus-visible .svc-tile-orb {
      color: #2A1E00; transform: translateZ(26px) scale(1.06);
      background:
        radial-gradient(130% 130% at 30% 20%, rgba(255,255,255,.75), rgba(255,255,255,0) 52%) padding-box,
        linear-gradient(180deg, #FFF6DC, #F4C542) padding-box,
        linear-gradient(150deg, #FFFFFF, #F4C542 45%, #FFF3CE) border-box;
      box-shadow:
        0 6px 14px -6px rgba(0,0,0,.6),
        0 0 26px -4px rgba(244,197,66,.9),
        inset 0 1px 0 rgba(255,255,255,.75);
      text-shadow: none;
    }
    .svc-tile:hover .svc-tile-name, .svc-tile:focus-visible .svc-tile-name { color: #FFF8E6; }
    .svc-tile:focus-visible { outline: 2px solid #F4C542; outline-offset: 3px; }
    /* soft press */
    .svc-tile:active { --lift: -1px; --sc: .984; transition-duration: .08s; }

    /* the featured category already wears the gold rim */
    .svc-tile.is-featured {
      background:
        linear-gradient(158deg, rgba(84,52,168,.96), rgba(34,20,88,.97)) padding-box,
        linear-gradient(140deg, #FFF3CE, #F4C542 45%, #C6A8FF 78%, #F4C542) border-box;
      box-shadow: 0 12px 26px -16px rgba(0,0,0,.95),
                  0 0 22px -12px rgba(244,197,66,.6),
                  inset 0 1px 0 rgba(255,255,255,.2);
    }
    @keyframes featBreath {
      0%, 100% { filter: drop-shadow(0 0 3px rgba(244,197,66,.35)); }
      50%      { filter: drop-shadow(0 0 13px rgba(244,197,66,.85)); }
    }
    .svc-tile.is-featured .svc-tile-orb { animation: featBreath 3.4s ease-in-out infinite; }
    .svc-tile.is-featured:hover .svc-tile-orb { animation: none; }
    .svc-tile.is-featured .svc-tile-orb {
      box-shadow:
        0 5px 12px -6px rgba(0,0,0,.85),
        0 0 22px -4px rgba(244,197,66,.75),
        inset 0 1px 0 rgba(255,255,255,.5),
        inset 0 -7px 12px -7px rgba(16,8,44,.8);
    }
    /* the section's own label, centred above both service blocks */
    .svc-section-label { text-align: center; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }

    /* section header: heading left, hairline, count badge right */
    .svc-head { display: flex; align-items: flex-end; gap: 1.1rem; }
    .svc-head-txt { flex: none; }
    .svc-h2 {
      font-family: 'Cinzel', serif; font-weight: 700;
      font-size: clamp(1.5rem, 2.7vw, 2.1rem); line-height: 1.08;
      letter-spacing: .022em; color: #FBE6A2; margin-top: .45rem;
      text-shadow: 0 0 28px rgba(244,197,66,.26);
    }
    .svc-head-rule {
      flex: 1 1 auto; height: 1px; margin-bottom: .62rem;
      background: linear-gradient(90deg, rgba(244,197,66,.6), rgba(198,168,255,.14));
    }
    .svc-badge {
      flex: none; margin-bottom: .34rem;
      display: inline-flex; align-items: baseline; gap: .42rem;
      padding: .42rem .82rem; border-radius: 100px;
      border: 1px solid transparent;
      background:
        linear-gradient(180deg, rgba(58,37,116,.95), rgba(24,14,64,.97)) padding-box,
        linear-gradient(140deg, rgba(220,199,255,.4), rgba(244,197,66,.55)) border-box;
      box-shadow: 0 6px 16px -12px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.12);
      font-family: 'Outfit', sans-serif; font-size: .58rem; font-weight: 600;
      letter-spacing: .18em; text-transform: uppercase; color: #DCC7FF;
      white-space: nowrap;
    }
    .svc-badge b {
      font-family: 'Cinzel', serif; font-weight: 700; font-size: .88rem;
      letter-spacing: .04em; color: #F4C542;
    }
    @media (max-width: 640px) {
      .svc-head { flex-wrap: wrap; align-items: flex-start; gap: .7rem; }
      .svc-head-rule { display: none; }
      .svc-badge { margin-bottom: 0; }
    }

    @media (max-width: 560px) {
      /* block layout, not flex: a percentage width on a flex item can resolve
         against an indefinite size and collapse to the content width */
      .svc-tiles { display: block; max-width: 360px; margin-inline: auto; }
      .svc-tiles li + li { margin-top: .55rem; }
      .svc-tile { width: auto; }
      .svc-tile-name { font-size: .88rem; }
    }

    /* ---- Article artwork: star field + graha glyph, not a flat colour block ---- */
    .blog-art { position: relative; height: 11rem; background: var(--art); overflow: hidden; }
    .blog-art::after {
      content: ""; position: absolute; inset: 0;
      background:
        radial-gradient(1.4px 1.4px at 18% 28%, rgba(255,255,255,.85), transparent 60%),
        radial-gradient(1.2px 1.2px at 62% 18%, rgba(255,255,255,.7), transparent 60%),
        radial-gradient(1px 1px   at 78% 52%, rgba(255,255,255,.6), transparent 60%),
        radial-gradient(1.6px 1.6px at 34% 66%, rgba(255,255,255,.75), transparent 60%),
        radial-gradient(1px 1px   at 88% 78%, rgba(255,255,255,.5), transparent 60%),
        radial-gradient(120% 90% at 20% 0%, rgba(198,168,255,.18), transparent 60%),
        linear-gradient(180deg, rgba(21,13,58,0) 40%, rgba(21,13,58,.7) 100%);
    }
    .blog-glyph {
      /* no font-family here: the astro-glyph stack above must win (same specificity,
         and this rule is later in the sheet, so a local Cinzel would override it) */
      position: absolute; right: .35rem; bottom: -1.4rem; font-size: 6.5rem;
      line-height: 1; color: rgba(251,230,162,.16); transition: color .4s ease, transform .4s ease;
    }
    .group:hover .blog-glyph { color: rgba(251,230,162,.26); transform: translateY(-4px); }

    /* Service cards double as anchor targets for the nav (Numerology, Reiki);
       the scroll-margin-top that clears the fixed header is set on .hero-intro-card above. */

    /* Hero decorative planets sit behind content on small screens */
    @media (max-width: 1023px) { .hero-orbs { opacity: .5; } }

    @media (prefers-reduced-motion: reduce) {
      * { animation: none !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    }

    /* ============================================================
       ASTROLOGY EXPLORER
       Four category cards; hovering (or tapping) one expands a panel
       BELOW the row, so opening never reflows the four-card grid.
       Panel items deliberately carry no data-aos: an AOS element inside
       a collapsed max-height:0 box can be marked "animated" while hidden
       and then stay at opacity 0 when the panel opens. They use the
       stagger keyframe below instead.
    ============================================================ */
    /* .section sets position:relative + z-index:1, making each section its own
       stacking context — so the hover preview's z-index cannot lift it above a
       LATER section. Raising this section is what lets the preview overlay the
       Numerology block beneath it. */
    #astrology { z-index: 5; }
    .astro-head { text-align: center; max-width: 46rem; margin-inline: auto; }
    .astro-h2 {
      font-family: 'Cinzel', serif; font-weight: 700; margin-top: .5rem;
      font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.06; letter-spacing: .05em;
      color: #FBE6A2; text-shadow: 0 0 30px rgba(244,197,66,.25);
    }
    .astro-sub { margin-top: .8rem; color: #D8D1FF; font-size: clamp(.92rem, 1.4vw, 1.05rem); }

    .astro-head-cta { margin-top: clamp(1.4rem, 2.5vw, 2rem); }
    /* Bright nebula pill. The gold CTA reads strongly because it puts DARK
       text on a bright fill — same approach here, which frees the blue to go
       far lighter than white text would allow: #A4C2FF → #6E8CFF measures
       10.1:1 down to 5.9:1 against #0B1433. */
    .astro-cta-link {
      position: relative; overflow: hidden;
      border: 1px solid rgba(214,228,255,.85);
      color: #0B1433; font-weight: 700; letter-spacing: .04em;
      background-image:
        linear-gradient(112deg, transparent 38%, rgba(255,255,255,.55) 48%,
                        rgba(255,255,255,.75) 52%, transparent 64%),
        radial-gradient(130% 170% at 26% -20%, rgba(255,255,255,.65), transparent 55%),
        linear-gradient(180deg, #A4C2FF 0%, #7B9BFF 48%, #6E8CFF 100%);
      background-size: 240% 100%, auto, auto;
      background-position: -80% 0, 0 0, 0 0;
      background-repeat: no-repeat;
      animation: ctaNebula 6s ease-in-out infinite;
      box-shadow: 0 12px 28px -12px rgba(0,0,0,.8),
                  0 0 34px -6px rgba(123,155,255,1),
                  0 0 64px -18px rgba(91,123,240,.9),
                  inset 0 1px 0 rgba(255,255,255,.85);
      transition: border-color .28s ease, box-shadow .28s ease,
                  transform .28s ease, filter .28s ease;
    }
    @keyframes ctaNebula {
      0%        { background-position: -80% 0, 0 0, 0 0; }
      58%, 100% { background-position: 190% 0, 0 0, 0 0; }
    }
    .astro-cta-link:hover, .astro-cta-link:focus-visible {
      transform: translateY(-3px); filter: brightness(1.06);
      border-color: #FFFFFF; animation-duration: 3s;
      box-shadow: 0 18px 34px -12px rgba(0,0,0,.85),
                  0 0 48px -4px rgba(123,155,255,1),
                  0 0 80px -16px rgba(91,123,240,1),
                  inset 0 1px 0 rgba(255,255,255,.95);
    }
    .astro-cta-link:focus-visible { outline: 2px solid #C6D8FF; outline-offset: 3px; }
    /* warm accent, but dark enough to read on a light blue: #B5670A measured
       only 1.62:1 against the fill, #4A2600 gives 5.08:1 */
    .astro-cta-link .fa-sun { color: #4A2600; }
    @media (prefers-reduced-motion: reduce) {
      .astro-cta-link { animation: none; background-position: 190% 0, 0 0, 0 0; }
    }
    .astro-cats {
      margin-top: clamp(2rem, 4vw, 3rem);
      display: grid; gap: .9rem; grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    @media (max-width: 900px) { .astro-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    @media (max-width: 520px) { .astro-cats { grid-template-columns: minmax(0, 1fr); } }

    .astro-cat {
      position: relative; overflow: hidden; isolation: isolate; cursor: pointer;
      display: flex; flex-direction: column; align-items: center; gap: .6rem;
      width: 100%; padding: 1.5rem 1rem 1.35rem; border-radius: 18px;
      border: 1px solid transparent; font: inherit; text-align: center;
      /* same two-layer recipe as .svc-tile: near-opaque body so the gold
         rim stays a hairline instead of bleeding across the card */
      background:
        linear-gradient(158deg, rgba(58,37,116,.95), rgba(24,14,64,.97)) padding-box,
        linear-gradient(140deg, rgba(220,199,255,.42), rgba(158,110,255,.22) 48%, rgba(244,197,66,.3)) border-box;
      box-shadow: 0 14px 30px -18px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.11);
      transition: transform .22s ease-out, box-shadow .28s ease, background .28s ease;
    }
    .astro-cat:hover { transform: translateY(-4px); }
    .astro-cat.is-active { transform: translateY(-2px); }
    .astro-cat:focus-visible { outline: 2px solid #F4C542; outline-offset: 3px; }
    .astro-cat.is-active {
      background:
        linear-gradient(158deg, rgba(78,50,150,.96), rgba(30,18,78,.97)) padding-box,
        linear-gradient(140deg, #FFF3CE, #F4C542 45%, #C6A8FF 85%) border-box;
      box-shadow: 0 18px 38px -18px rgba(0,0,0,.95),
                  0 0 30px -8px rgba(244,197,66,.55),
                  inset 0 1px 0 rgba(255,255,255,.16);
    }
    .astro-cat-orb {
      flex: none; display: grid; place-items: center;
      width: 54px; height: 54px; border-radius: 50%; font-size: 1.2rem;
      color: #FFF3CE; border: 1px solid transparent;
      background:
        radial-gradient(130% 130% at 30% 22%, rgba(255,255,255,.5), rgba(255,255,255,0) 48%) padding-box,
        linear-gradient(180deg, rgba(132,90,238,.95), rgba(48,27,112,.97)) padding-box,
        linear-gradient(150deg, #FFF3CE, #F4C542 40%, #C6A8FF 76%, #F4C542) border-box;
      box-shadow: 0 5px 12px -6px rgba(0,0,0,.85), 0 0 18px -5px rgba(244,197,66,.45),
                  inset 0 1px 0 rgba(255,255,255,.45), inset 0 -7px 12px -7px rgba(16,8,44,.8);
      transition: color .26s ease, background .26s ease, box-shadow .26s ease, transform .26s ease;
    }
    .astro-cat:hover .astro-cat-orb, .astro-cat.is-active .astro-cat-orb {
      color: #2A1E00; transform: scale(1.07);
      background:
        radial-gradient(130% 130% at 30% 20%, rgba(255,255,255,.75), rgba(255,255,255,0) 52%) padding-box,
        linear-gradient(180deg, #FFF6DC, #F4C542) padding-box,
        linear-gradient(150deg, #FFFFFF, #F4C542 45%, #FFF3CE) border-box;
      box-shadow: 0 6px 14px -6px rgba(0,0,0,.6), 0 0 26px -4px rgba(244,197,66,.9),
                  inset 0 1px 0 rgba(255,255,255,.75);
    }
    .astro-cat-name {
      font-family: 'Cinzel', serif; font-weight: 700; font-size: .96rem;
      letter-spacing: .16em; text-transform: uppercase; color: #FFF6E4;
    }
    .astro-cat-sub { font-size: .72rem; color: #D8D1FF; opacity: .82; line-height: 1.35; }
    .astro-cat-hint {
      margin-top: .1rem; font-family: 'Outfit', sans-serif; font-size: .56rem; font-weight: 600;
      letter-spacing: .18em; text-transform: uppercase; color: #F4C542;
    }
    .astro-cat .chev { transition: transform .3s ease; font-size: .6rem; }
    .astro-cat.is-active .chev { transform: rotate(180deg); }

    /* ---- expanding panel ---- */
    /* Closed by default: zero height and hidden, so nothing shows until a card
       is clicked. The wrapper animates height; the panel fades and slides. */
    .astro-panel-wrap {
      overflow: hidden; height: 0;
      transition: height .42s cubic-bezier(.22,.61,.36,1);
    }
    .astro-panel-wrap[hidden] { display: none; }
    .astro-panel {
      opacity: 0; transform: translateY(-6px);
      transition: opacity .34s ease, transform .34s ease;
    }
    .astro-panel.is-open { opacity: 1; transform: none; }
    .astro-panel:focus-visible { outline: 2px solid #F4C542; outline-offset: 4px; border-radius: 18px; }
    .astro-panel-inner {
      margin-top: 1.1rem; padding: 1.3rem 1.15rem 1.4rem; border-radius: 18px;
      border: 1px solid transparent;
      background:
        linear-gradient(160deg, rgba(41,25,96,.92), rgba(20,12,56,.95)) padding-box,
        linear-gradient(140deg, rgba(244,197,66,.42), rgba(158,110,255,.2) 60%, rgba(220,199,255,.3)) border-box;
      box-shadow: 0 24px 54px -30px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.08);
    }
    .astro-panel-title {
      font-family: 'Outfit', sans-serif; font-size: .58rem; font-weight: 600;
      letter-spacing: .2em; text-transform: uppercase; color: #F4C542; margin-bottom: 1rem;
      text-align: center;
    }
    @keyframes aItemIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
    .a-item { animation: aItemIn .42s ease both; animation-delay: calc(var(--i) * 16ms); }

    /* the service panel reuses .svc-tiles / .svc-tile untouched */
    button.svc-tile { font: inherit; text-align: left; cursor: pointer; }
    /* a static tile must not offer affordances it cannot honour */
    .svc-tile.is-static { cursor: default; }
    .svc-tile.is-static:hover { transform: none; }

    /* ---- rashi + zodiac tiles ---- */
    /* Rashi + Zodiac: 4 columns on desktop, 3 on tablet, 2 on phones */
    .rz-grid { display: grid; gap: .7rem; grid-auto-rows: 1fr;
               grid-template-columns: repeat(4, minmax(0, 1fr)); }
    @media (max-width: 900px) { .rz-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
    @media (max-width: 620px) { .rz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    .rz-tile {
      position: relative; overflow: hidden; cursor: pointer; font: inherit;
      display: flex; flex-direction: column; align-items: center; gap: .22rem;
      padding: 1rem .6rem .9rem; border-radius: 14px; border: 1px solid transparent;
      background:
        linear-gradient(158deg, rgba(58,37,116,.95), rgba(24,14,64,.97)) padding-box,
        linear-gradient(140deg, rgba(220,199,255,.42), rgba(158,110,255,.22) 48%, rgba(244,197,66,.3)) border-box;
      box-shadow: 0 12px 26px -16px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.11);
      transition: transform .2s ease-out, box-shadow .26s ease, background .26s ease;
    }
    .rz-tile:hover { transform: translateY(-4px); }
    .rz-tile:focus-visible { outline: 2px solid #F4C542; outline-offset: 3px; }
    .rz-tile:hover, .rz-tile:focus-visible {
      background:
        linear-gradient(158deg, rgba(78,50,150,.96), rgba(30,18,78,.97)) padding-box,
        linear-gradient(140deg, #FFF3CE, #F4C542 48%, #C6A8FF 88%) border-box;
      box-shadow: 0 18px 34px -18px rgba(0,0,0,.95), 0 0 26px -8px rgba(244,197,66,.55),
                  inset 0 1px 0 rgba(255,255,255,.16);
    }
    .rz-sym { font-size: 1.65rem; line-height: 1; color: #F4C542; text-shadow: 0 0 14px rgba(244,197,66,.45);
              transition: color .26s ease, text-shadow .26s ease, transform .26s ease; }
    .rz-tile:hover .rz-sym { color: #FFF6DC; text-shadow: 0 0 20px rgba(244,197,66,.9); transform: scale(1.1); }
    .rz-name { font-family: 'Cinzel', serif; font-weight: 600; font-size: .84rem; letter-spacing: .1em;
               text-transform: uppercase; color: #FFF6E4; margin-top: .25rem; }
    .rz-alt { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: #C6A8FF; }
    .rz-dates { font-size: .6rem; letter-spacing: .06em; color: #A992E0; margin-top: .18rem; }

    /* ---- nakshatra tiles ---- */
    /* Nakshatras: 3 columns on desktop, filled COLUMN-FIRST so each column
       reads 1-9, 10-18, 19-27 down the page rather than across.
       1fr rows keep a wrapped name from making its whole row taller. */
    .nak-grid { display: grid; gap: .7rem;
                grid-template-columns: repeat(3, minmax(0, 1fr));
                grid-template-rows: repeat(9, minmax(0, 1fr));
                grid-auto-flow: column; }
    @media (max-width: 900px) {
      .nak-grid { grid-auto-flow: row; grid-template-rows: none; grid-auto-rows: 1fr;
                  grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 460px) { .nak-grid { grid-template-columns: minmax(0, 1fr); } }
    .nk-tile {
      position: relative; overflow: hidden; cursor: pointer; font: inherit; text-align: left;
      display: flex; align-items: center; gap: .7rem;
      padding: .8rem .85rem; border-radius: 14px; border: 1px solid transparent;
      background:
        linear-gradient(158deg, rgba(58,37,116,.95), rgba(24,14,64,.97)) padding-box,
        linear-gradient(140deg, rgba(220,199,255,.42), rgba(158,110,255,.22) 48%, rgba(244,197,66,.3)) border-box;
      box-shadow: 0 12px 26px -16px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.11);
      transition: transform .2s ease-out, box-shadow .26s ease, background .26s ease;
    }
    .nk-tile:hover { transform: translateY(-3px); }
    .nk-tile:focus-visible { outline: 2px solid #F4C542; outline-offset: 3px; }
    .nk-tile:hover, .nk-tile:focus-visible {
      background:
        linear-gradient(158deg, rgba(78,50,150,.96), rgba(30,18,78,.97)) padding-box,
        linear-gradient(140deg, #FFF3CE, #F4C542 48%, #C6A8FF 88%) border-box;
      box-shadow: 0 16px 32px -18px rgba(0,0,0,.95), 0 0 24px -8px rgba(244,197,66,.5),
                  inset 0 1px 0 rgba(255,255,255,.16);
    }
    .nk-sym {
      flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
      font-size: .92rem; color: #FFF3CE; border: 1px solid transparent;
      background:
        linear-gradient(180deg, rgba(132,90,238,.95), rgba(48,27,112,.97)) padding-box,
        linear-gradient(150deg, #FFF3CE, #F4C542 40%, #C6A8FF 76%, #F4C542) border-box;
      transition: color .26s ease, transform .26s ease;
    }
    .nk-tile:hover .nk-sym { color: #FFF6DC; transform: scale(1.08); }
    /* these are spans inside a flex row, so they must be made block-level
       or the number, name and lord all run together on one line */
    .nk-txt { min-width: 0; display: block; }
    .nk-num { display: block; font-family: 'Cinzel', serif; font-size: .58rem; letter-spacing: .16em; color: #F4C542; }
    .nk-name { display: block; font-family: 'Cinzel', serif; font-weight: 600; font-size: .8rem; line-height: 1.2; color: #FFF6E4; }
    .nk-lord { display: block; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: #C6A8FF; margin-top: .1rem; }

    /* ---- reusable detail modal ---- */
    .amodal[hidden] { display: none !important; }
    .amodal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1rem; }
    .amodal-scrim { position: absolute; inset: 0; background: rgba(8,4,28,.8); backdrop-filter: blur(6px); }
    @keyframes aModalIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
    .amodal-box {
      position: relative; width: min(640px, 100%); max-height: 86vh; overflow: auto;
      padding: 1.6rem 1.5rem 1.7rem; border-radius: 20px; border: 1px solid transparent;
      background:
        linear-gradient(160deg, rgba(45,28,104,.97), rgba(18,10,52,.98)) padding-box,
        linear-gradient(140deg, #FFF3CE, rgba(158,110,255,.5) 55%, #F4C542) border-box;
      box-shadow: 0 40px 90px -40px rgba(0,0,0,1), inset 0 1px 0 rgba(255,255,255,.12);
      animation: aModalIn .32s cubic-bezier(.22,.61,.36,1) both;
    }
    .amodal-close {
      position: absolute; top: .85rem; right: .85rem; width: 34px; height: 34px; border-radius: 50%;
      display: grid; place-items: center; cursor: pointer; font-size: .85rem;
      color: #DCC7FF; background: rgba(158,110,255,.2); border: 1px solid rgba(220,199,255,.35);
      transition: color .22s ease, border-color .22s ease, background .22s ease;
    }
    .amodal-close:hover { color: #F4C542; border-color: rgba(244,197,66,.6); background: rgba(244,197,66,.14); }
    .amodal-close:focus-visible { outline: 2px solid #F4C542; outline-offset: 2px; }
    .amodal-head { text-align: center; }
    .amodal-orb { margin-inline: auto; }
    .amodal-sym { font-size: 2.4rem; line-height: 1; color: #F4C542; text-shadow: 0 0 20px rgba(244,197,66,.5); }
    .amodal-kicker { font-family: 'Outfit', sans-serif; font-size: .56rem; font-weight: 600;
                     letter-spacing: .2em; text-transform: uppercase; color: #C6A8FF; margin-top: .5rem; }
    .amodal-title { font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.55rem;
                    letter-spacing: .04em; color: #FBE6A2; line-height: 1.1; }
    .amodal-alt { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #D8D1FF; margin-top: .2rem; }
    .amodal-rule { height: 1px; margin: 1.1rem 0; background: linear-gradient(90deg, rgba(244,197,66,.6), rgba(198,168,255,.12)); }
    .amodal-facts { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
    .amodal-fact { padding: .6rem .75rem; border-radius: 11px;
                   background: rgba(110,63,243,.14); border: 1px solid rgba(220,199,255,.18); }
    .amodal-fact dt { font-size: .54rem; letter-spacing: .16em; text-transform: uppercase; color: #A992E0; }
    .amodal-fact dd { font-size: .86rem; color: #FFF6E4; margin-top: .2rem; }
    .amodal-sec { margin-top: 1.1rem; }
    .amodal-sec h4 { font-family: 'Outfit', sans-serif; font-size: .56rem; font-weight: 600;
                     letter-spacing: .2em; text-transform: uppercase; color: #F4C542; margin-bottom: .5rem; }
    .amodal-sec p { font-size: .86rem; line-height: 1.65; color: #D8D1FF; }
    .amodal-chips { display: flex; flex-wrap: wrap; gap: .38rem; }
    .amodal-chip { padding: .34rem .7rem; border-radius: 100px; font-size: .7rem; color: #EFE9FF;
                   background: rgba(110,63,243,.2); border: 1px solid rgba(220,199,255,.25); }
    .amodal-cta { margin-top: 1.4rem; display: flex; justify-content: center; }
    @media (max-width: 520px) {
      .amodal-box { padding: 1.3rem 1.05rem 1.4rem; }
      .amodal-title { font-size: 1.3rem; }
    }



    /* Daily horoscope is revealed on demand from the floating button. */
    #horoscope[hidden] { display: none; }
    /* whatever AOS did while the section was hidden, show it once revealed */
    #horoscope:not([hidden]) [data-aos] { opacity: 1 !important; transform: none !important; }

    /* ============================================================
       PALMISTRY — palm diagram + one reusable information panel
       Reuses the site's glass/gold-rim recipe, .btn and .svc-tile.
    ============================================================ */
    .palm-wrap { display: grid; gap: clamp(1.6rem, 3.2vw, 3rem); grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
    @media (max-width: 900px) { .palm-wrap { grid-template-columns: minmax(0, 1fr); } }

    .palm-stage {
      position: relative; border-radius: 22px; padding: clamp(1rem, 2vw, 1.6rem);
      border: 1px solid transparent;
      background:
        radial-gradient(120% 90% at 50% 0%, rgba(110,63,243,.28), rgba(20,12,56,0) 65%) padding-box,
        linear-gradient(160deg, rgba(41,25,96,.9), rgba(18,11,52,.96)) padding-box,
        linear-gradient(140deg, rgba(244,197,66,.45), rgba(158,110,255,.25) 60%, rgba(220,199,255,.35)) border-box;
      box-shadow: 0 26px 60px -34px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.08);
    }
    .palm-svg { display: block; width: 100%; height: auto; max-width: 360px; margin-inline: auto; }
    /* translucent glass form with a fine rim — an opaque silhouette read as a glove */
    .palm-hand { fill: url(#palmSkin); stroke: rgba(226,210,255,.62); stroke-width: 1.5;
                 stroke-linejoin: round;
                 filter: drop-shadow(0 14px 34px rgba(0,0,0,.5)); }
    .palm-edge { fill: none; stroke: rgba(226,210,255,.38); stroke-width: 1; stroke-linecap: round; }

    .palm-line {
      fill: none; stroke: rgba(255,231,160,.6); stroke-width: 2.4; stroke-linecap: round;
      cursor: pointer; transition: stroke .3s ease, stroke-width .3s ease, filter .3s ease;
    }
    .palm-line:hover { stroke: rgba(244,197,66,.75); }
    .palm-line.is-active {
      stroke: #FFE7A0; stroke-width: 3.6;
      filter: drop-shadow(0 0 4px rgba(244,197,66,1)) drop-shadow(0 0 12px rgba(244,197,66,.7));
    }
    /* a single slow pulse of light along the active line only */
    .palm-line.is-active { stroke-dasharray: 14 220; animation: palmFlow 3.2s linear infinite; }
    @keyframes palmFlow { to { stroke-dashoffset: -234; } }
    @media (prefers-reduced-motion: reduce) { .palm-line.is-active { animation: none; stroke-dasharray: none; } }
    .palm-hit { fill: none; stroke: transparent; stroke-width: 20; cursor: pointer; }

    /* non-selected lines recede so the active one reads clearly */
    .palm-line.is-dim { stroke: rgba(255,231,160,.2); }
    .palm-crease { fill: none; stroke: rgba(226,210,255,.26); stroke-width: 1.5; stroke-linecap: round; }

    .palm-lab { pointer-events: none; }
    .palm-label {
      font-family: 'Outfit', sans-serif; font-size: 11px; letter-spacing: .13em;
      text-transform: uppercase; fill: #A992E0; transition: fill .28s ease;
    }
    .palm-leader { stroke: rgba(220,199,255,.28); stroke-width: 1; transition: stroke .28s ease; }
    .palm-dot { fill: rgba(220,199,255,.4); transition: fill .28s ease, r .28s ease; }
    .palm-lab.is-on .palm-label { fill: #F4C542; }
    .palm-lab.is-on .palm-leader { stroke: rgba(244,197,66,.75); }
    .palm-lab.is-on .palm-dot { fill: #F4C542; r: 3.4; }
    /* no room to place labels around the hand on a phone — the picker covers it */
    @media (max-width: 640px) { #palmLabels { display: none; } }

    /* ---- five-line picker ---- */
    /* the line chips and the topic chips are one selector block above the panel;
       split across two columns they read as two unrelated controls */
    .palm-select { margin-bottom: 1.4rem; }
    .palm-sel-label {
      font-family: 'Outfit', sans-serif; font-size: .54rem; font-weight: 600;
      letter-spacing: .2em; text-transform: uppercase; color: #A992E0;
      margin: 0 0 .55rem;
    }
    .palm-sel-label + .palm-tabs, .palm-sel-label + .palm-picks { margin-bottom: 1.1rem; }
    /* fixed 3 columns, not auto-fit: auto-fit packed five on a row and left
       the sixth chip stranded on its own line */
    .palm-picks {
      display: grid; gap: .45rem;
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .palm-pick {
      font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem;
      padding: .55rem .7rem; border-radius: 100px; justify-content: center;
      border: 1px solid rgba(220,199,255,.26); background: rgba(110,63,243,.15);
      font-family: 'Outfit', sans-serif; font-size: .64rem; font-weight: 600;
      letter-spacing: .12em; text-transform: uppercase; color: #D8D1FF;
      transition: color .22s ease, border-color .22s ease, background .22s ease,
                  box-shadow .22s ease, transform .22s ease;
    }
    .palm-pick .pk-ico { color: #F4C542; font-size: .8rem; line-height: 1; transition: color .22s ease; }
    .palm-pick:hover { color: #FFF6E4; border-color: rgba(244,197,66,.55); transform: translateY(-2px); }
    .palm-pick:focus-visible { outline: 2px solid #F4C542; outline-offset: 2px; }
    .palm-pick[aria-pressed="true"] {
      color: #FFF6E4; transform: translateY(-2px);
      border-color: rgba(244,197,66,.85); background: rgba(244,197,66,.14);
      box-shadow: 0 0 22px -6px rgba(244,197,66,.85), inset 0 1px 0 rgba(255,255,255,.14);
    }
    @media (max-width: 420px) { .palm-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    .palm-tabs { margin-bottom: 0; }

    /* panel swap: fade + a short rise */
    @keyframes ppIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
    .palm-panel.is-swapped { animation: ppIn .34s ease both; }
    .palm-caption {
      margin-top: .9rem; text-align: center; font-family: 'Outfit', sans-serif;
      font-size: .56rem; letter-spacing: .18em; text-transform: uppercase; color: #A992E0;
    }

    /* ---- tab row ---- */
    .palm-tabs {
      display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.3rem;
    }
    .palm-tab {
      font: inherit; cursor: pointer; padding: .5rem .85rem; border-radius: 100px;
      border: 1px solid rgba(220,199,255,.26); background: rgba(110,63,243,.14);
      font-family: 'Outfit', sans-serif; font-size: .68rem; font-weight: 600;
      letter-spacing: .1em; text-transform: uppercase; color: #D8D1FF;
      transition: color .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
    }
    .palm-tab:hover { color: #FFF6E4; border-color: rgba(244,197,66,.5); }
    .palm-tab:focus-visible { outline: 2px solid #F4C542; outline-offset: 2px; }
    .palm-tab[aria-selected="true"] {
      color: #FFF6E4; transform: translateY(-2px);
      border-color: rgba(244,197,66,.85); background: rgba(244,197,66,.14);
      box-shadow: 0 0 22px -6px rgba(244,197,66,.85), inset 0 1px 0 rgba(255,255,255,.14);
    }
    .palm-tab { transition: color .22s ease, border-color .22s ease, background .22s ease,
                            box-shadow .22s ease, transform .22s ease; }
    @media (max-width: 560px) {
      /* one tidy scroll row rather than a tall stack of chips */
      .palm-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; padding-bottom: .4rem; }
      .palm-tab { flex: none; }
    }

    /* ---- the single information panel ---- */
    .palm-panel {
      border-radius: 20px; padding: clamp(1.2rem, 2.4vw, 1.9rem); border: 1px solid transparent;
      background:
        linear-gradient(160deg, rgba(41,25,96,.9), rgba(18,11,52,.95)) padding-box,
        linear-gradient(140deg, rgba(244,197,66,.4), rgba(158,110,255,.2) 60%, rgba(220,199,255,.3)) border-box;
      box-shadow: 0 22px 50px -30px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.07);
    }
    .palm-panel h3 { font-family: 'Cinzel', serif; font-size: clamp(1.15rem, 2vw, 1.5rem); color: #FBE6A2; }
    .palm-panel .pp-sub {
      font-family: 'Outfit', sans-serif; font-size: .56rem; letter-spacing: .18em;
      text-transform: uppercase; color: #F4C542; margin-bottom: .35rem;
    }
    .palm-panel .pp-desc { font-size: .9rem; line-height: 1.7; color: #D8D1FF; margin-top: .8rem; }
    .pp-obs-title {
      font-family: 'Outfit', sans-serif; font-size: .56rem; font-weight: 600; letter-spacing: .18em;
      text-transform: uppercase; color: #F4C542; margin: 1.3rem 0 .6rem;
    }
    .pp-obs { display: flex; flex-wrap: wrap; gap: .38rem; }
    .pp-obs span {
      padding: .32rem .7rem; border-radius: 100px; font-size: .7rem; color: #EFE9FF;
      background: rgba(110,63,243,.2); border: 1px solid rgba(220,199,255,.25);
    }
    .pp-list { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
    .pp-item {
      padding: .75rem .85rem; border-radius: 12px;
      background: rgba(110,63,243,.13); border: 1px solid rgba(220,199,255,.18);
    }
    .pp-item h4 { font-family: 'Cinzel', serif; font-size: .86rem; color: #FFF6E4; }
    .pp-item .pp-meta { font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: #F4C542; margin-top: .15rem; }
    .pp-item p { font-size: .78rem; line-height: 1.6; color: #C8C1E8; margin-top: .35rem; }
    .palm-note {
      margin-top: 1.4rem; padding-top: .9rem; border-top: 1px solid rgba(198,168,255,.16);
      font-size: .74rem; line-height: 1.6; color: #A992E0; font-style: italic;
    }


    /* ---- free-horoscope form modal (reuses the .amodal shell) ---- */
    .fh-grid { display: grid; gap: .85rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.2rem; }
    .fh-field.is-wide { grid-column: 1 / -1; }
    @media (max-width: 560px) { .fh-grid { grid-template-columns: minmax(0, 1fr); } }
    .fh-field label {
      display: block; font-family: 'Outfit', sans-serif; font-size: .58rem; font-weight: 600;
      letter-spacing: .16em; text-transform: uppercase; color: #C6A8FF; margin-bottom: .35rem;
    }
    .fh-field label .req { color: #F4C542; }
    .fh-field input, .fh-field select {
      width: 100%; font: inherit; font-size: .88rem; color: #FFF6E4;
      padding: .6rem .8rem; border-radius: 11px;
      background: rgba(20,12,56,.75); border: 1px solid rgba(220,199,255,.3);
      transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
    }
    .fh-field select { appearance: none; cursor: pointer;
      background-image: linear-gradient(45deg, transparent 50%, #C6A8FF 50%),
                        linear-gradient(135deg, #C6A8FF 50%, transparent 50%);
      background-position: right 1rem center, right .75rem center;
      background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
    .fh-field input::placeholder { color: rgba(198,168,255,.5); }
    .fh-field input:focus, .fh-field select:focus {
      outline: none; border-color: #F4C542; background: rgba(28,17,74,.9);
      box-shadow: 0 0 0 3px rgba(244,197,66,.18);
    }
    /* invalid only after a submit attempt, so fields are not red on first sight */
    .fh-form.was-validated .fh-field input:invalid,
    .fh-form.was-validated .fh-field select:invalid { border-color: #FF8A8A; }
    .fh-err { display: none; margin-top: .3rem; font-size: .68rem; color: #FF9E9E; }
    .fh-form.was-validated .fh-field input:invalid ~ .fh-err,
    .fh-form.was-validated .fh-field select:invalid ~ .fh-err { display: block; }
    /* country code + number, side by side inside one labelled field */
    .fh-phone { display: grid; grid-template-columns: minmax(0, 8.2rem) minmax(0, 1fr); gap: .5rem; }
    .fh-phone select { padding-right: 1.6rem; }
    @media (max-width: 380px) { .fh-phone { grid-template-columns: minmax(0, 1fr); } }

    /* hour box : minute box, AM/PM select — same field-styling as the rest
       of .fh-field, just laid out side by side. */
    .fh-time-group { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) minmax(0, 5.2rem); gap: .4rem; align-items: center; }
    .fh-time-group input, .fh-time-group select { text-align: center; }
    .fh-time-group input::-webkit-outer-spin-button,
    .fh-time-group input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
    .fh-time-group input[type="number"] { -moz-appearance: textfield; }
    .fh-time-sep { color: rgba(198,168,255,.6); font-weight: 700; }
    .fh-time-group select { padding-left: .3rem; padding-right: 1.3rem; }
    @media (max-width: 380px) { .fh-time-group { grid-template-columns: 1fr auto 1fr; grid-template-rows: auto auto; } .fh-time-group select { grid-column: 1 / -1; } }
    /* the inputs sit in a wrapper now, so the sibling (~) rule cannot reach
       the message — match on the field instead */
    .fh-form.was-validated .fh-field:has(:invalid) .fh-err { display: block; }
    .fh-form.was-validated .fh-field:has(:invalid) input,
    .fh-form.was-validated .fh-field:has(:invalid) select { border-color: #FF8A8A; }
    .fh-note { margin-top: 1rem; font-size: .7rem; color: #A992E0; line-height: 1.6; }

    /* place-of-birth autocomplete suggestions (assets/js/main.js) */
    .fh-pob-listbox {
      position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20;
      margin: 0; padding: .35rem; list-style: none; max-height: 14rem; overflow-y: auto;
      border-radius: 12px; background: rgba(23,15,66,.98); border: 1px solid rgba(220,199,255,.3);
      box-shadow: 0 18px 40px -16px rgba(0,0,0,.85);
    }
    .fh-pob-option { padding: .55rem .7rem; border-radius: 8px; font-size: .85rem; color: #E9E6FB; cursor: pointer; }
    .fh-pob-option:hover, .fh-pob-option.is-active { background: rgba(244,197,66,.14); color: #F4C542; }
    .fh-pob-empty { padding: .55rem .7rem; font-size: .82rem; color: rgba(198,168,255,.6); font-style: italic; }

    .fh-actions { margin-top: 1.3rem; display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
    .fh-msg { margin-top: .9rem; text-align: center; font-size: .82rem; min-height: 1.2rem; }
    .fh-msg.ok { color: #A8E6B0; }
    .fh-msg.bad { color: #FF9E9E; }
    .fh-done { text-align: center; padding: 1rem 0 .4rem; }
    .fh-done .fh-tick {
      width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 1rem;
      display: grid; place-items: center; font-size: 1.3rem; color: #2A1E00;
      background: radial-gradient(130% 130% at 30% 22%, #FFF6DC, #F4C542 70%);
      box-shadow: 0 0 22px -4px rgba(244,197,66,.9);
    }

    /* ---- service topic modal (reuses the .amodal shell) ---- */
    .tm-lede { font-size: .95rem; line-height: 1.75; color: #E4DCFF; margin-top: .9rem; }
    .tm-body { font-size: .88rem; line-height: 1.8; color: var(--muted, #C8C1E8); margin-top: .9rem; }
    .tm-h4 {
      font-family: 'Outfit', sans-serif; font-size: .56rem; font-weight: 600;
      letter-spacing: .2em; text-transform: uppercase; color: #F4C542; margin: 1.5rem 0 .7rem;
    }
    .tm-covers { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
    .tm-cover {
      padding: .8rem .9rem; border-radius: 12px;
      background: rgba(110,63,243,.14); border: 1px solid rgba(220,199,255,.18);
    }
    .tm-cover .ic { color: #F4C542; font-size: .85rem; }
    .tm-cover h5 { font-family: 'Cinzel', serif; font-size: .84rem; color: #FFF6E4; margin: .35rem 0 0; }
    .tm-cover p { font-size: .76rem; line-height: 1.6; color: #C8C1E8; margin: .3rem 0 0; }
    .tm-inc { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem;
              grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
    .tm-inc li { display: flex; gap: .5rem; font-size: .82rem; line-height: 1.6; color: #C8C1E8; }
    .tm-inc i { color: #F4C542; margin-top: .25rem; font-size: .7rem; }
    .tm-note {
      margin-top: 1.4rem; padding-top: .9rem; border-top: 1px solid rgba(198,168,255,.16);
      font-size: .76rem; line-height: 1.7; color: #A992E0; font-style: italic;
    }
    .tm-cta { margin-top: 1.5rem; display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
  
    /* ============================================================
       INNER PAGES (faq.html and any future inner page)
       These lived in the old inner.css; without them an inner page's
       <h1> falls back to 16px Outfit, left aligned. Styled to match the
       homepage's section headers so the pages read as one site.
    ============================================================ */
    .crumb {
      display: flex; align-items: center; gap: .55rem; flex-wrap: wrap;
      padding-top: 7rem; font-family: 'Outfit', sans-serif;
      font-size: .74rem; letter-spacing: .04em; color: #A992E0;
    }
    .crumb a { color: #C6A8FF; transition: color .25s ease; }
    .crumb a:hover { color: #F4C542; }
    .crumb .sep { opacity: .45; font-size: .6rem; }

    .page-head { text-align: center; max-width: 54rem; margin-inline: auto; }
    .page-head h1 {
      font-family: 'Cinzel', serif; font-weight: 700; margin: .7rem 0 0;
      font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.06; letter-spacing: .035em;
      color: #FBE6A2; text-shadow: 0 0 34px rgba(244,197,66,.28);
      -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
    }
    .page-lede {
      margin: 1.15rem auto 0; max-width: 42rem;
      font-size: clamp(.95rem, 1.5vw, 1.08rem); line-height: 1.75; color: #C8C1E8;
    }
    /* the gold hairline with a star, as used under the homepage headings */
    .page-rule {
      display: flex; align-items: center; justify-content: center;
      gap: clamp(.7rem, 1.6vw, 1.1rem); margin-top: 1.6rem;
    }
    .page-rule i {
      display: block; height: 1px; width: clamp(44px, 10vw, 120px);
      background: linear-gradient(90deg, transparent, rgba(244,197,66,.85));
    }
    .page-rule i + i { background: linear-gradient(90deg, rgba(244,197,66,.85), transparent); }
    .page-rule b {
      font-size: .62rem; color: #F4C542; line-height: 1; font-weight: 400;
      text-shadow: 0 0 9px rgba(244,197,66,.9), 0 0 20px rgba(244,197,66,.45);
    }
    .page-cta { margin-top: 2rem; display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }

    .cta-band { text-align: center; padding: clamp(1.8rem, 3.5vw, 2.8rem); }
    .cta-band h2 {
      font-family: 'Cinzel', serif; font-weight: 700; margin: .5rem 0 0;
      font-size: clamp(1.3rem, 2.6vw, 2rem); color: #FFF6E4;
    }
    .cta-band p { margin: .9rem auto 0; max-width: 34rem; color: #C8C1E8; line-height: 1.7; }

    /* ============================================================
       FAQ PAGE — search, category filter, service cards
       Uses the site palette (space #1B1148 / space-2 #2A1C6B / gold
       #F4C542); gold is kept to accents, borders and icons only.
    ============================================================ */
    .faq-tools { max-width: 1080px; margin-inline: auto; }
    .faq-search { position: relative; max-width: 560px; margin: 0 auto; }
    .faq-search i {
      position: absolute; left: 1.05rem; top: 50%; transform: translateY(-50%);
      color: rgba(244,197,66,.75); font-size: .88rem; pointer-events: none;
    }
    .faq-search input {
      width: 100%; font: inherit; font-size: .95rem; color: #FFF6E4;
      padding: .85rem 2.8rem .85rem 2.75rem; border-radius: 100px;
      background: rgba(20,12,56,.72); border: 1px solid rgba(220,199,255,.26);
      transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
    }
    .faq-search input::placeholder { color: rgba(198,168,255,.55); }
    .faq-search input:focus {
      outline: none; border-color: rgba(244,197,66,.8); background: rgba(28,17,74,.88);
      box-shadow: 0 0 0 3px rgba(244,197,66,.16);
    }
    .faq-clear {
      position: absolute; right: .55rem; top: 50%; transform: translateY(-50%);
      width: 30px; height: 30px; border-radius: 50%; border: 0; cursor: pointer;
      background: rgba(198,168,255,.16); color: #DCC7FF; font-size: .8rem;
      display: none; place-items: center;
    }
    .faq-clear.is-on { display: grid; }
    .faq-clear:hover { background: rgba(244,197,66,.22); color: #F4C542; }
    .faq-clear:focus-visible { outline: 2px solid #F4C542; outline-offset: 2px; }

    .faq-cats { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; margin-top: 1.1rem; }
    .faq-cat {
      font: inherit; cursor: pointer; padding: .48rem .9rem; border-radius: 100px;
      border: 1px solid rgba(220,199,255,.24); background: rgba(110,63,243,.12);
      font-family: 'Outfit', sans-serif; font-size: .68rem; font-weight: 600;
      letter-spacing: .1em; text-transform: uppercase; color: #C8C1E8; white-space: nowrap;
      transition: color .22s ease, border-color .22s ease, background .22s ease;
    }
    .faq-cat:hover { color: #FFF6E4; border-color: rgba(244,197,66,.5); }
    .faq-cat:focus-visible { outline: 2px solid #F4C542; outline-offset: 2px; }
    .faq-cat[aria-pressed="true"] {
      color: #2A1E00; border-color: transparent; font-weight: 700;
      background: linear-gradient(180deg, #FFF6DC, #F4C542);
    }
    @media (max-width: 640px) {
      /* one tidy scroll row rather than a four-line stack */
      .faq-cats { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start;
                  padding-bottom: .4rem; scrollbar-width: thin; }
      .faq-cat { flex: none; }
    }

    .faq-sec-head { max-width: 1080px; margin: clamp(2.4rem,4vw,3.4rem) auto 1.2rem; }
    .faq-sec-head h2 {
      font-family: 'Cinzel', serif; font-weight: 700; font-size: clamp(1.25rem,2.4vw,1.75rem);
      margin: 0;
      /* same lavender -> cream -> gold ramp the homepage headings use */
      background: linear-gradient(100deg, #DCC7FF 0%, #FFF6E4 45%, #F4C542 100%);
      -webkit-background-clip: text; background-clip: text;
      -webkit-text-fill-color: transparent; color: #FFF6E4;
    }
    .faq-sec-head .rule { height: 1px; margin-top: .8rem;
      background: linear-gradient(90deg, rgba(244,197,66,.55), rgba(198,168,255,.1)); }
    .faq-section[hidden] { display: none; }
    .faq-empty {
      max-width: 1080px; margin: 2rem auto 0; text-align: center; padding: 2.4rem 1.5rem;
      border-radius: 16px; border: 1px dashed rgba(220,199,255,.3); background: rgba(20,12,56,.5);
    }
    .faq-empty i { font-size: 1.4rem; color: rgba(244,197,66,.8); }
    .faq-empty h3 { font-family: 'Cinzel', serif; font-size: 1.1rem; color: #FFF6E4; margin: .8rem 0 .4rem; }
    .faq-empty p { color: #C8C1E8; font-size: .9rem; margin: 0; }

    @media (prefers-reduced-motion: reduce) {
      .faq-search input, .faq-cat { transition: none; }
    }

/* visually-hidden label (also a Tailwind utility; defined here so the page
   is still correct if the CDN is unavailable) */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

    /* ---- horoscope.html : date stamp + disclaimer ---- */
    .horo-date {
      display: inline-flex; align-items: center; gap: .6rem;
      margin: 1rem auto 0; padding: .5rem 1.1rem; border-radius: 999px;
      font-family: 'Outfit', sans-serif; font-size: .82rem; letter-spacing: .12em;
      text-transform: uppercase; color: #FBE6A2; border: 1px solid transparent;
      background:
        linear-gradient(160deg, rgba(41,25,96,.9), rgba(23,16,74,.95)) padding-box,
        linear-gradient(120deg, rgba(244,197,66,.6), rgba(198,168,255,.25)) border-box;
    }
    .horo-date i { color: #F4C542; font-size: .9rem; }
    .horo-note {
      max-width: 46rem; margin: 2.4rem auto 0; text-align: center;
      font-size: .82rem; line-height: 1.75; color: rgba(198,168,255,.62);
    }

    /* ============================================================
       NAME NUMEROLOGY PAGE (numerology.html)
       Deliberately restrained: flat deep-blue fills, hairline gold
       rules, small radii. No new animation beyond the shared ones.
    ============================================================ */
    .nav-links a.is-current { color: #F4C542; }
    .nav-links a.is-current::after { transform: scaleX(1); }

    .nm-wrap { max-width: 1080px; margin-inline: auto; }
    .nm-h2 { font-family: 'Cinzel', serif; font-weight: 700; margin: 0;
      font-size: clamp(1.3rem, 2.6vw, 1.95rem);
      background: linear-gradient(100deg, #DCC7FF 0%, #FFF6E4 45%, #F4C542 100%);
      -webkit-background-clip: text; background-clip: text;
      -webkit-text-fill-color: transparent; color: #FFF6E4; }
    .nm-sub { margin: .7rem 0 0; color: rgba(198,168,255,.8); font-size: .93rem; line-height: 1.7; }
    .nm-head { text-align: center; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
    .nm-head .nm-sub { max-width: 40rem; margin-inline: auto; }

    /* ---- calculator panel ---- */
    /* surfaces come from the homepage .glass / .grad-border recipe — these
       rules only set layout, so the page can never drift from the homepage */
    .nm-panel { max-width: 44rem; margin-inline: auto; padding: clamp(1.4rem, 3vw, 2.2rem); }
    .nm-label { display: block; font-family: 'Outfit', sans-serif; font-size: .74rem;
      letter-spacing: .2em; text-transform: uppercase; color: #F4C542; margin-bottom: .6rem; }
    .nm-input {
      width: 100%; padding: .85rem 1rem; border-radius: 12px; font: inherit; font-size: 1rem;
      color: #FFF6E4; background: rgba(20,13,62,.6); border: 1px solid rgba(198,168,255,.3);
      transition: border-color .2s ease, box-shadow .2s ease;
    }
    .nm-input::placeholder { color: rgba(198,168,255,.5); }
    .nm-input:focus { outline: none; border-color: #F4C542; box-shadow: 0 0 0 3px rgba(244,197,66,.16); }
    .nm-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.1rem; }
    .nm-error { margin: .7rem 0 0; font-size: .85rem; color: #FFB4A8; min-height: 1.2em; }
    .nm-error:empty { min-height: 0; }

    /* ---- the three result cards ---- */
    .nm-results { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 2.2rem; }
    .nm-card { text-align: center; padding: 1.6rem 1.1rem; }
    .nm-card .lab { display: block; font-family: 'Outfit', sans-serif; font-size: .68rem;
      letter-spacing: .22em; text-transform: uppercase; color: rgba(198,168,255,.85); }
    .nm-card .val { display: block; font-family: 'Cinzel', serif; font-weight: 700;
      font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1.05; color: #F4C542; margin-top: .5rem;
      transition: text-shadow .32s ease, color .32s ease; }
    .nm-card:hover .val { color: #FFF3CE; text-shadow: 0 0 26px rgba(244,197,66,.7); }
    .nm-card:hover .lab { color: #F4C542; }
    /* "20 -> 2": the arrow stays subordinate to the two numerals */
    .nm-card .val .arrow { font-size: .5em; color: rgba(244,197,66,.55); vertical-align: middle;
      margin: 0 .18em; font-family: 'Outfit', sans-serif; }
    .nm-card .sub { display: block; font-size: .78rem; color: rgba(198,168,255,.7); margin-top: .35rem; }
    @media (max-width: 720px) { .nm-results { grid-template-columns: 1fr; } }

    /* ---- letter breakdown ---- */
    .nm-break { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1rem; }
    .nm-letter {
      min-width: 46px; padding: .55rem .45rem; text-align: center; border-radius: 12px;
      border: 1px solid rgba(198,168,255,.26);
      background: linear-gradient(160deg, rgba(158,110,255,.16), rgba(30,20,80,.34));
      transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
    }
    .nm-letter:hover {
      transform: translateY(-3px); border-color: rgba(244,197,66,.6);
      box-shadow: 0 10px 26px -14px rgba(0,0,0,.9), 0 0 22px -6px rgba(244,197,66,.45);
    }
    .nm-letter:hover span { color: #FFF3CE; }
    .nm-letter b { display: block; font-family: 'Cinzel', serif; font-size: 1.05rem;
      font-weight: 700; color: #FFFFFF; letter-spacing: .04em; }
    .nm-letter span { display: block; font-size: .9rem; color: #F4C542; margin-top: .15rem; }

    /* ---- calculation details ---- */
    /* the details panel reuses .faq-a, whose padding only targets a direct <p> */
    .faq-a .nm-math { padding: .2rem 1.35rem 1.35rem; }
    @media (min-width: 640px) { .faq-a .nm-math { padding-left: 3.35rem; } }
    .nm-math { margin: 0; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
      font-size: .82rem; line-height: 1.9; color: #C8C1E8; white-space: pre-wrap; }
    .nm-math b { color: #F4C542; font-weight: 600; }
    .nm-math h4 { font-family: 'Outfit', sans-serif; font-size: .72rem; letter-spacing: .2em;
      text-transform: uppercase; color: #FFF6E4; margin: 1.3rem 0 .4rem; }
    .nm-math h4:first-child { margin-top: 0; }

    /* ---- Chaldean chart ---- */
    .nm-chart { display: grid; grid-template-columns: repeat(8, minmax(0,1fr));
      gap: 1px; background: rgba(244,197,66,.26); border-radius: 22px; overflow: hidden; }
    .nm-col {
      position: relative; isolation: isolate; padding: 1.15rem .4rem 1.35rem; text-align: center;
      /* deeper than the surrounding glass, so the chart reads as inset panelling
         rather than a pale wash sitting on top of the starfield */
      background: linear-gradient(168deg, rgba(52,34,124,.62), rgba(19,12,58,.88));
      transition: background .32s ease, transform .32s ease;
    }
    /* the light that sweeps in on hover, kept behind the letters */
    .nm-col::before {
      content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
      background:
        radial-gradient(120% 70% at 50% 0%, rgba(244,197,66,.26), transparent 62%),
        linear-gradient(168deg, rgba(126,86,236,.55), rgba(32,20,92,.9));
      transition: opacity .32s ease;
    }
    /* a gold hairline that draws itself across the top of the lit column */
    .nm-col::after {
      content: ""; position: absolute; top: 0; left: 50%; width: 0; height: 2px;
      background: linear-gradient(90deg, transparent, #F4C542, transparent);
      transform: translateX(-50%); transition: width .38s cubic-bezier(.22,.61,.36,1);
    }
    .nm-col:hover { transform: translateY(-3px); }
    .nm-col:hover::before { opacity: 1; }
    .nm-col:hover::after { width: 86%; }
    .nm-col h3 {
      font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.45rem;
      color: #F4C542; margin: 0 0 .75rem; transition: color .32s ease, text-shadow .32s ease;
    }
    .nm-col:hover h3 { color: #FFF3CE; text-shadow: 0 0 18px rgba(244,197,66,.75); }
    .nm-col ul { list-style: none; margin: 0; padding: 0; }
    .nm-col li { font-family: 'Outfit', sans-serif; font-size: .95rem; letter-spacing: .08em;
      color: rgba(255,255,255,.88); line-height: 1.95; transition: color .32s ease, text-shadow .32s ease; }
    .nm-col:hover li { color: #FFFFFF; text-shadow: 0 0 14px rgba(198,168,255,.55); }
    .nm-col li.none { color: rgba(198,168,255,.6); font-size: .78rem; letter-spacing: .02em; }
    @media (max-width: 900px) { .nm-chart { grid-template-columns: repeat(4, minmax(0,1fr)); } }
    @media (max-width: 430px) { .nm-chart { grid-template-columns: repeat(2, minmax(0,1fr)); } }

    /* ---- how it works ---- */
    .nm-how { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0,1fr)); }
    .nm-step { padding: 1.5rem 1.3rem; }
    .nm-step .n { font-family: 'Cinzel', serif; font-size: 1.5rem; font-weight: 700; color: #F4C542;
      transition: text-shadow .32s ease; }
    .nm-step:hover .n { text-shadow: 0 0 20px rgba(244,197,66,.65); }
    .nm-step h3 { font-family: 'Cinzel', serif; font-size: 1.02rem; color: #FFF6E4; margin: .5rem 0 0; }
    .nm-step p { font-size: .87rem; line-height: 1.7; color: rgba(198,168,255,.8); margin: .5rem 0 0; }
    @media (max-width: 860px) { .nm-how { grid-template-columns: 1fr; } }

    /* ---- closing CTA + disclaimer ---- */
    .nm-cta { text-align: center; padding: clamp(1.8rem,4vw,2.8rem) clamp(1.2rem,3vw,2.4rem); }
    .nm-cta.glass { border-color: rgba(244,197,66,.42); }
    .nm-cta h2 { font-family: 'Cinzel', serif; font-weight: 700; color: #FFF6E4; margin: .5rem 0 0;
      font-size: clamp(1.3rem, 2.8vw, 2rem); }
    .nm-note { max-width: 46rem; margin: 2.2rem auto 0; text-align: center;
      font-size: .8rem; line-height: 1.75; color: rgba(198,168,255,.62); }

    /* ---- links into numerology.html from the homepage ---- */
    .hi-name a, .svc-h2 a { color: inherit; text-decoration: none; transition: color .2s ease; }
    .hi-name a:hover, .svc-h2 a:hover,
    .hi-name a:focus-visible, .svc-h2 a:focus-visible { color: #F4C542; }
    .svc-head-link {
      display: inline-flex; align-items: center; gap: .4rem; margin-top: .45rem;
      font-family: 'Outfit', sans-serif; font-size: .78rem; letter-spacing: .16em;
      text-transform: uppercase; color: #F4C542; text-decoration: none;
      border-bottom: 1px solid rgba(244,197,66,.35); padding-bottom: .15rem;
      transition: border-color .2s ease, color .2s ease;
    }
    .svc-head-link:hover, .svc-head-link:focus-visible { color: #FFF3CE; border-color: #F4C542; }
    .svc-head-link span { transition: transform .2s ease; }
    .svc-head-link:hover span { transform: translateX(3px); }

    /* motion is decoration here — honour the system setting */
    @media (prefers-reduced-motion: reduce) {
      .nm-col, .nm-col::before, .nm-col::after, .nm-letter, .nm-card .val, .nm-step .n,
      .nm-input, .svc-head-link, .svc-head-link span { transition: none; }
      .nm-col:hover, .nm-letter:hover { transform: none; }
    }

/* ============================================================
   INNER / SERVICE PAGE FURNITURE
   Ported from the source project's assets/inner.css, which was
   authored as the shared stylesheet for inner pages but never
   actually linked from any shipped HTML page. Its nav/footer/button/
   glass/card rules duplicated (with slightly simplified values) what
   this file already defines above, so only the genuinely new,
   non-duplicate page-furniture classes are carried over here —
   breadcrumb, centered page header, generic content cards, numbered
   steps, checklists, and a CTA band — for use on pages that don't
   have a bespoke section of their own (About, FAQ, Privacy, Terms,
   Contact, 404, and the single-service template).
============================================================ */
.crumb { display: flex; align-items: center; gap: .5rem; font-size: .78rem; color: #C8C1E8; padding-top: 7rem; }
.crumb a:hover { color: #F4C542; }
.crumb .sep { opacity: .5; }

.page-head { text-align: center; max-width: 52rem; margin-inline: auto; }
.page-head h1 {
  font-family: 'Cinzel', serif; font-weight: 700; line-height: 1.08; margin: .6rem 0 0;
  font-size: clamp(2rem, 4.4vw, 3.1rem); color: #FBE6A2; text-shadow: 0 0 30px rgba(244,197,66,.22);
}
.page-lede { margin-top: 1.2rem; font-size: clamp(.95rem, 1.4vw, 1.06rem); line-height: 1.75; color: #C8C1E8; }
.page-cta { margin-top: 2rem; display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }

.sec-head { text-align: center; max-width: 44rem; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.sec-head h2 { font-family: 'Cinzel', serif; font-weight: 700; margin: .5rem 0 0; font-size: clamp(1.5rem, 2.8vw, 2.2rem); color: #FFF6E4; }
.sec-head p { margin-top: .8rem; color: #C8C1E8; line-height: 1.7; }

.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.card { padding: 1.5rem; }
.card .ic {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 1rem;
  color: #FFF3CE; margin-bottom: 1rem;
  background: radial-gradient(130% 130% at 30% 22%, rgba(255,255,255,.4), transparent 48%),
              linear-gradient(180deg, rgba(132,90,238,.95), rgba(48,27,112,.97));
  box-shadow: 0 0 16px -5px rgba(244,197,66,.45), inset 0 1px 0 rgba(255,255,255,.35);
}
.card h3 { font-family: 'Cinzel', serif; font-size: 1.02rem; margin: 0; color: #FFF6E4; }
.card p { margin: .5rem 0 0; font-size: .88rem; line-height: 1.65; color: #C8C1E8; }

.steps { counter-reset: s; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.step { padding: 1.4rem 1.5rem; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: 'Cinzel', serif; font-size: .72rem; letter-spacing: .2em; color: #F4C542; }
.step h3 { font-family: 'Cinzel', serif; font-size: .98rem; margin: .5rem 0 0; color: #FFF6E4; }
.step p { margin: .45rem 0 0; font-size: .86rem; line-height: 1.65; color: #C8C1E8; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.checks li { display: flex; gap: .6rem; font-size: .9rem; line-height: 1.6; color: #C8C1E8; }
.checks i { color: #F4C542; margin-top: .25rem; }

.note { margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid rgba(198,168,255,.16); font-size: .8rem; line-height: 1.7; color: #A992E0; font-style: italic; }

.cta-band { text-align: center; padding: clamp(1.8rem, 3.5vw, 2.8rem); }
.cta-band h2 { font-family: 'Cinzel', serif; font-size: clamp(1.3rem, 2.6vw, 2rem); margin: .5rem 0 0; color: #FFF6E4; }
.cta-band p { margin: .9rem auto 0; max-width: 34rem; color: #C8C1E8; line-height: 1.7; }

/* ============================================================
   WORDPRESS-SPECIFIC HOOKS
   Default wp_nav_menu() output classes mapped to the astrocronyHTML
   dropdown look (`.has-sub` / `.nav-sub`), and default WP list/gallery
   elements kept legible against the dark cosmic background.
============================================================ */
.nav-links li.menu-item-has-children { position: relative; }
/* Same technique the source design used for its .nav-sub-toggle button
   (inline-flex + align-items:center): the down-caret glyph sits low in
   most fonts' em-box, so baseline-aligning it next to the label text (the
   default for an inline span) makes it look like a stray mark hanging
   under the word instead of a centered icon beside it. */
.nav-links li.menu-item-has-children > a {
  display: inline-flex; align-items: center; gap: .35em;
}
/* Mobile: full-width row with the caret pushed to the far right, matching
   the source's .mobile-sub-toggle (justify-content:space-between). */
#mobileMenu li.menu-item-has-children > a {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
}
.nav-links li.menu-item-has-children > a .caret,
#mobileMenu li.menu-item-has-children > a .caret {
  display: inline-block; font-size: .7rem; line-height: 1;
  transition: transform .3s ease;
}
.nav-links li.menu-item-has-children:hover > a .caret,
.nav-links li.menu-item-has-children:focus-within > a .caret,
.nav-links li.menu-item-has-children.open > a .caret {
  transform: rotate(180deg);
}
#mobileMenu li.menu-item-has-children > a[aria-expanded="true"] .caret {
  transform: rotate(180deg);
}
.nav-links .sub-menu {
  list-style: none; margin: 0; position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translate(-50%, -8px); min-width: 208px; padding: .5rem; border-radius: 14px;
  background: linear-gradient(180deg, rgba(48,30,104,.98), rgba(27,17,72,.98));
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(198,168,255,.22);
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 1px rgba(244,197,66,.08);
  opacity: 0; visibility: hidden; pointer-events: none; z-index: 50;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.nav-links li.menu-item-has-children:hover > .sub-menu,
.nav-links li.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.nav-links .sub-menu a {
  display: block; padding: .58rem .8rem; border-radius: 9px; font-size: .9rem;
  color: #E6DDFF; transition: background .25s ease, color .25s ease, padding-left .25s ease;
}
.nav-links .sub-menu a:hover { background: rgba(244,197,66,.1); color: #F4C542; padding-left: 1rem; }
.nav-links .sub-menu a::after { display: none; }

/* Mobile menu accordion (reuses .mobile-sub-toggle / .mobile-sub markup pattern) */
#mobileMenu .menu-item-has-children > .mobile-sub { display: none; flex-direction: column; gap: .8rem; font-size: .95rem; margin: .85rem 0 .35rem; padding-left: .95rem; border-left: 1px solid rgba(244,197,66,.35); list-style: none; }
#mobileMenu .menu-item-has-children > .mobile-sub.open { display: flex; }

/* Native WP content (posts, pages) rendered via the_content() */
.entry-content { color: #E6DDFF; line-height: 1.8; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: 'Cinzel', serif; color: #FFF6E4; }
.entry-content a { color: #F4C542; text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; }
.entry-content blockquote { border-left: 3px solid #F4C542; margin: 1.5rem 0; padding: .5rem 0 .5rem 1.2rem; color: #DCC7FF; font-style: italic; }
.entry-content img { border-radius: 16px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content table th, .entry-content table td { border: 1px solid rgba(198,168,255,.25); padding: .6rem .8rem; }

/* Accessibility utility used by templates for screen-reader-only text */
.screen-reader-text, .sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   SCROLL REVEAL — [data-aos="fade-up"], driven by assets/js/reveal.js
   (replaces the AOS CDN library from the source HTML; only the
   fade-up variant was ever used).
============================================================ */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-aos="fade-up"] { transition: none; }
}

/* ============================================================
   ANNOUNCEMENT BAR (new — configurable via Astrocrony Settings > Header;
   no equivalent existed in the source HTML)
============================================================ */
.announcement-bar {
  position: relative; z-index: 41; background: linear-gradient(90deg, #6E3FF3, #2A1C6B);
  color: #FFF6E4; font-size: .82rem; text-align: center; padding: .55rem 0;
}
.announcement-bar a { color: #FBE6A2; text-decoration: underline; text-underline-offset: 2px; }
