/* Layout: dark navy hero where a birth chart draws itself, then calm light sections, closing on a navy booking band.
   Motion: ease-out only, transform + opacity only, one orchestrated hero sequence, quiet scroll reveals.
   Shared by the English (/) and Hindi (/hi/) pages; Hindi overrides are grouped under :lang(hi) at the end. */
:root {
  --paper: #f6f7f9;
  --surface: #ffffff;
  --ink: #111a2e;
  --ink-soft: #4a556b;
  --ink-faint: #667085;   /* 4.6:1 on paper */
  --line: #d8dde6;
  --navy: #0f1a33;
  --navy-2: #16244a;
  --brass: #806327;       /* 5.2:1 on paper */
  --brass-light: #cfae68;
  --brass-soft: #efe7d6;
  --on-navy: #eef1f6;
  --on-navy-soft: #a9b3c9;
  --on-navy-line: rgba(255, 255, 255, .14);
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Figtree", -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --max: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html.jl { scroll-behavior: auto; }   /* smooth scrolling fights the journey's scroll snapping */
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--brass-soft); color: var(--ink); }
.container { max-width: var(--max); margin: 0 auto; padding-inline: 24px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); letter-spacing: -0.025em; line-height: 1.04; }
h2 { font-size: clamp(1.95rem, 3.7vw, 2.85rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.005em; }
p { margin: 0; text-wrap: pretty; }
.label { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 58ch; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
.journey :focus-visible, .page-hero :focus-visible, .book-copy :focus-visible, .counsel :focus-visible, .cta-band :focus-visible, footer :focus-visible, .nav.on-hero :focus-visible { outline-color: var(--brass-light); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 15px var(--body); padding: 13px 22px; border-radius: 4px; border: 1px solid var(--navy); background: var(--navy); color: var(--on-navy); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
.btn:active { transform: scale(0.97); }
.btn .arrow { display: inline-block; transition: transform 240ms var(--ease-out); }
.btn.light { background: var(--on-navy); color: var(--navy); border-color: var(--on-navy); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--navy-2); }
  .btn:hover .arrow { transform: translateX(4px); }
  .btn.light:hover { background: #ffffff; }
}

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; background: rgba(246, 247, 249, .92); background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease; }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { font-family: var(--display); font-size: 1.3rem; text-decoration: none; white-space: nowrap; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--ink-soft); position: relative; padding-block: 6px; white-space: nowrap; transition: color 200ms ease; }
.nav-links a.page::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 280ms var(--ease-out); }
.nav-links a.lang { border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; font-size: 14px; color: var(--ink); transition: border-color 200ms ease, color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .nav-links a.page:hover { color: var(--ink); }
  .nav-links a.page:hover::after { transform: scaleX(1); }
  .nav-links a.lang:hover { border-color: var(--brass); }
}
.nav-links .btn { padding: 9px 16px; }
.nav.on-hero { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--on-navy); }
.nav.on-hero .nav-links a.page { color: var(--on-navy-soft); }
.nav.on-hero .nav-links a.lang { color: var(--on-navy); border-color: rgba(255, 255, 255, .3); }
.nav.on-hero .btn { background: var(--on-navy); color: var(--navy); border-color: var(--on-navy); }
@media (hover: hover) and (pointer: fine) { .nav.on-hero .nav-links a.page:hover { color: var(--on-navy); } }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brass-light); transform: scaleX(0); transform-origin: left; }
/* phone menu */
.menu-btn { display: none; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: inherit; cursor: pointer; place-content: center; gap: 5px; transition: border-color 200ms ease; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform 240ms var(--ease-out), opacity 160ms ease; }
.nav.open .menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.open .menu-btn span:nth-child(2) { opacity: 0; }
.nav.open .menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav.on-hero .menu-btn { border-color: rgba(255, 255, 255, .3); }
.menu-panel { display: none; }
@media (max-width: 980px) {
  .nav-links a.page { display: none; }
  .nav-links > .btn { display: none; }
  .menu-btn { display: inline-grid; }
  .nav.open { background: var(--paper); color: var(--ink); border-bottom-color: var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.open .nav-links a.lang { color: var(--ink); border-color: var(--line); }
  .nav.open .menu-btn { border-color: var(--line); }
  .nav.open .menu-panel { display: grid; gap: 2px; padding: 8px 24px 24px; border-top: 1px solid var(--line); animation: menu-in 240ms var(--ease-out); }
  .menu-panel a:not(.btn) { padding: 14px 0; font-family: var(--display); font-size: 1.35rem; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav.open .menu-panel .btn { margin-top: 18px; background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .nav.open .menu-panel { animation: none; } }
@media (max-width: 460px) { .brand { font-size: 1.1rem; } .nav-links { gap: 10px; } }

/* journey: six scenes. Default (no JS, reduced motion, or a very short phone screen) is a plain stacked read; with the
   "jl" class set in the page head it becomes one pinned,
   scroll-driven screen where the canvas carries the story and the panels cross-fade over it. */
.journey { position: relative; background: var(--navy); color: var(--on-navy); padding-block: 120px 72px; overflow: hidden; }
.j-canvas, .j-frags, .j-rail, .j-cue { display: none; }
.j-panels { max-width: var(--max); margin: 0 auto; padding-inline: 24px; display: grid; gap: 72px; }
.j-panel { display: grid; gap: 20px; max-width: 560px; align-content: start; }
.journey .label { color: var(--brass-light); }
.journey h1 em, .journey h2 em { font-style: italic; color: var(--brass-light); }
h1.label { font-family: var(--body); line-height: 1.6; margin: 0; }
.j-display { font-family: var(--display); font-weight: 500; font-size: clamp(2.5rem, 5.2vw, 4.1rem); line-height: 1.04; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
.j-display em { font-style: italic; color: var(--brass-light); }
.j-display .line { display: block; overflow: hidden; padding-bottom: .1em; }
.j-display .line > span { display: block; }
.journey h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); letter-spacing: -0.02em; }
.journey .lede { color: var(--on-navy-soft); font-size: 1.12rem; }
.journey .lede strong { color: var(--on-navy); font-weight: 500; }
.j-term { display: flex; align-items: baseline; gap: 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-soft); }
.j-term b { font-family: "Noto Serif Devanagari", "Mukta", serif; font-weight: 500; font-size: 1.5rem; letter-spacing: 0; color: var(--brass-light); text-transform: none; }
.j-epigraph { display: grid; gap: 2px; font-size: 13.5px; color: var(--on-navy-soft); padding-left: 14px; border-left: 1px solid var(--brass-light); }
.j-epigraph b { font-family: "Noto Serif Devanagari", "Mukta", serif; font-weight: 500; font-size: 1.1rem; color: var(--on-navy); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.diamond-list li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--brass-light); transform: rotate(45deg); margin-right: 10px; vertical-align: 2px; }
.j-portrait { display: none; }
.j-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: n; }
.j-notes li { counter-increment: n; display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: var(--on-navy); font-size: 1.02rem; }
.j-notes li::before { content: counter(n); font: 400 1.05rem var(--display); color: var(--brass-light); border: 1px solid rgba(207, 174, 104, .5); border-radius: 50%; width: 26px; height: 26px; display: grid; place-items: center; }
.j-sample { font-size: 12.5px; color: var(--on-navy-soft); opacity: .8; }

@media (prefers-reduced-motion: no-preference) {
  .jl .journey { height: 100vh; height: 100svh; padding: 0; }
  .jl .j-canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
  .jl .j-panels { position: absolute; inset: 0; max-width: none; padding: 0; display: block; pointer-events: none; }
  .jl .j-panel { position: absolute; left: clamp(24px, 7vw, 120px); top: 0; bottom: 0; width: min(520px, 36vw); max-width: none; align-content: center; opacity: 0; will-change: transform, opacity; }
  .jl .j-panel:first-child { opacity: 1; }
  .jl .j-display .line > span { transform: translateY(110%); }
  .jl .j-panel:first-child [data-in] { opacity: 0; }
  .jl .j-frags { display: block; position: absolute; inset: 0; pointer-events: none; opacity: var(--frag, 0); }
  .j-frags span { position: absolute; transform: translate(-50%, -50%); font-family: var(--display); font-style: italic; color: var(--on-navy-soft); white-space: nowrap; animation: frag-drift 9s ease-in-out infinite alternate; }
  .j-frags span:nth-child(3n) { color: var(--on-navy); }
  @keyframes frag-drift { from { translate: -14px 10px; opacity: .35; } 50% { opacity: 1; } to { translate: 16px -12px; opacity: .5; } }
  @keyframes frag-shake { from { translate: -5px 3px; opacity: .6; } to { translate: 5px -4px; opacity: 1; } }
  .jl .j-portrait { display: block; position: absolute; border-radius: 50%; object-fit: cover; object-position: 50% 18%; opacity: 0; pointer-events: none; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(circle, #000 56%, transparent 71%); mask-image: radial-gradient(circle, #000 56%, transparent 71%); will-change: transform, opacity; }
  .jl .j-notes li { opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
  .jl .j-notes li.on { opacity: 1; transform: none; }
  .jl .j-rail { display: grid; gap: 14px; position: absolute; right: clamp(14px, 2.4vw, 34px); top: 50%; transform: translateY(-50%); }
  .j-rail i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .25); transition: transform 300ms var(--ease-out), background-color 300ms ease; }
  .j-rail i.on { background: var(--brass-light); transform: scale(1.9); }
  .jl .j-cue { display: grid; justify-items: center; gap: 10px; position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-navy-soft); opacity: 0; }
  .j-cue::after { content: ""; width: 1px; height: 38px; background: linear-gradient(var(--brass-light), transparent); animation: cue 1.8s var(--ease-out) infinite; transform-origin: top; }
  @keyframes cue { from { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } to { transform: scaleY(1); opacity: 0; } }
  @media (max-width: 880px) {
    /* Phones: text sits at the bottom, and journey.js fits each scene's drawing into the space above it. */
    .jl .j-panel { left: 20px; right: 20px; width: auto; top: auto; bottom: 0; align-content: end; padding-bottom: 48px; gap: 11px; }
    .jl .j-panels::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: calc(var(--scrim, 45%) - 28px); background: linear-gradient(transparent, rgba(8, 14, 31, .86) 56px); }
    .jl .j-display { font-size: 2.2rem; }
    .jl .journey h2 { font-size: 1.55rem; }
    .jl .journey .lede { font-size: .98rem; line-height: 1.55; }
    .jl .j-term { font-size: 11.5px; gap: 9px; }
    .jl .j-term b { font-size: 1.2rem; }
    .jl .j-notes { gap: 6px; }
    .jl .j-notes li { font-size: .9rem; line-height: 1.42; grid-template-columns: 22px 1fr; gap: 8px; }
    .jl .j-notes li::before { width: 22px; height: 22px; font-size: .9rem; }
    .jl .j-sample { font-size: 11.5px; line-height: 1.4; }
    .jl .j-epigraph { font-size: 12.5px; }
    .jl .j-cue { display: none; }
    .j-frags span:nth-child(n+7) { display: none; }
    .jl .j-rail { right: 8px; top: 26%; gap: 11px; }
    .jl:lang(hi) .j-display { font-size: 1.95rem; }
    .jl:lang(hi) .journey h2 { font-size: 1.4rem; line-height: 1.38; }
    .jl:lang(hi) .journey .lede { font-size: 1rem; line-height: 1.6; }
    .jl:lang(hi) .j-term { font-size: 13px; }
    .jl:lang(hi) .j-notes li { font-size: .95rem; line-height: 1.48; }
    .jl:lang(hi) .j-sample { font-size: 12.5px; }
  }
}

/* sections */
section { padding-block: clamp(64px, 9vw, 116px); }
section.tint { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 62ch; }

/* situations: a ruled grid of the questions people arrive with */
.q-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.q-card { position: relative; display: grid; gap: 12px; align-content: start; padding: 30px 28px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); min-width: 0; overflow: hidden; }
.q-card::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease-out); }
.q-card h3 { font-style: italic; font-size: 1.5rem; }
.q-card p { color: var(--ink-soft); font-size: 15.5px; }
.q-card.wide { grid-column: 1 / -1; grid-template-columns: 1fr 1.6fr; gap: 12px 40px; align-items: baseline; background: var(--paper); }
@media (hover: hover) and (pointer: fine) { .q-card:hover::after { transform: scaleX(1); } }
.after { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.after p { color: var(--ink-soft); }
@media (max-width: 900px) { .q-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .q-grid { grid-template-columns: 1fr; } .q-card.wide { grid-template-columns: 1fr; } }

/* difference: what people usually meet, set against what happens here */
.diff { display: grid; border-top: 1px solid var(--line); }
.diff-head, .diff-row { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12px 48px; }
.diff-head { padding: 14px 0; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); border-bottom: 1px solid var(--line); }
.diff-head span + span { color: var(--brass); }
.diff-row { padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.diff-row > * { min-width: 0; }
.diff-row .them { font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--ink-faint); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--ink-faint) 55%, transparent); text-decoration-thickness: 1px; }
.diff-row .here { display: grid; gap: 6px; }
.diff-row .here b { font-family: var(--display); font-weight: 500; font-size: 1.3rem; letter-spacing: -0.005em; }
.diff-row .here p { color: var(--ink-soft); font-size: 16px; max-width: 56ch; }
@media (max-width: 720px) { .diff-head { display: none; } .diff-row { grid-template-columns: 1fr; } .diff-row .them { font-size: 1.05rem; } }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.steps li { position: relative; counter-increment: s; display: grid; gap: 10px; align-content: start; padding-top: 22px; min-width: 0; }
.steps li .bar { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--navy); transform-origin: left; }
.steps li::before { content: "0" counter(s); font: 400 1.7rem var(--display); color: var(--brass); }
.steps p { color: var(--ink-soft); font-size: 15.5px; }
.diamond-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; color: var(--ink-soft); font-size: 16px; }
.diamond-list li::before { background: var(--brass); }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .diamond-list { grid-template-columns: 1fr; } }

/* counsel: the coaching side, on a dark band with his photograph */
.counsel { background: var(--navy); color: var(--on-navy); }
.counsel .container { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.counsel .label { color: var(--brass-light); }
.counsel .lede { color: var(--on-navy-soft); }
.counsel-photo { margin: 0; position: sticky; top: 96px; }
.counsel-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; outline: 1px solid oklch(1 0 0 / 0.12); outline-offset: -1px; }
.counsel-photo figcaption { font-size: 11.5px; color: var(--on-navy-soft); margin-top: 8px; opacity: .7; }
.counsel-copy { min-width: 0; }
.counsel-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--on-navy-line); }
.counsel-list > div { display: grid; gap: 8px; align-content: start; padding: 26px 26px 26px 0; border-bottom: 1px solid var(--on-navy-line); min-width: 0; }
.counsel-list > div:nth-child(even) { padding-left: 26px; padding-right: 0; border-left: 1px solid var(--on-navy-line); }
.counsel-list p { color: var(--on-navy-soft); font-size: 15.5px; }
.counsel-close { margin-top: 28px; font-family: var(--display); font-size: 1.25rem; color: var(--brass-light); max-width: 46ch; }
@media (max-width: 880px) { .counsel .container { grid-template-columns: 1fr; } .counsel-photo { position: static; max-width: 300px; } }
@media (max-width: 600px) { .counsel-list { grid-template-columns: 1fr; } .counsel-list > div, .counsel-list > div:nth-child(even) { padding: 22px 0; border-left: 0; } }
.video-slot video { width: 100%; display: block; background: #000; border-radius: 4px; }
.video-slot p { font-size: 13px; color: var(--ink-faint); margin-top: 6px; }

/* case notes */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.case { background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; align-content: start; min-width: 0; }
.case .who { font-size: 14px; color: var(--ink-faint); }
.case dl { margin: 0; display: grid; gap: 14px; }
.case dt { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 4px; }
.case dd { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* about */
.about .container { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.portrait { aspect-ratio: 4 / 5; max-width: 100%; background: var(--brass-soft); display: grid; place-items: center; overflow: hidden; outline: 1px solid oklch(0 0 0 / 0.1); outline-offset: -1px; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .mono { font: 400 5rem var(--display); color: var(--brass); }
.about-copy { display: grid; gap: 18px; min-width: 0; }
.about-copy p { color: var(--ink-soft); max-width: 60ch; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.facts div { font-size: 15px; }
.facts b { display: block; font-weight: 600; }
.facts span { color: var(--ink-soft); }
@media (max-width: 760px) { .about .container { grid-template-columns: 1fr; } .portrait { max-width: 280px; } }

/* consultations */

/* faq */
.faq { display: grid; border-top: 1px solid var(--line); max-width: 840px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--display); font-size: 1.22rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; flex: none; width: 14px; height: 14px; color: var(--brass); }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: currentColor; transition: transform 280ms var(--ease-out); }
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] summary .plus::after { transform: rotate(0deg); }
.faq .answer { color: var(--ink-soft); max-width: 64ch; padding-bottom: 22px; }
.faq details[open] .answer { animation: answer-in 320ms var(--ease-out); }
@keyframes answer-in { from { opacity: 0; transform: translateY(-6px); } }

/* writing (blog) */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.post { display: grid; gap: 10px; align-content: start; padding: 26px 28px 30px 0; text-decoration: none; min-width: 0; }
.post + .post { padding-left: 28px; border-left: 1px solid var(--line); }
.post time { font-size: 13px; color: var(--ink-faint); letter-spacing: .04em; }
.post h3 { transition: color 200ms ease; }
.post p { color: var(--ink-soft); font-size: 15.5px; }
.post .more { font-size: 14px; font-weight: 600; color: var(--brass); }
@media (hover: hover) and (pointer: fine) { a.post:hover h3 { color: var(--brass); } }
@media (max-width: 820px) { .posts { grid-template-columns: 1fr; } .post, .post + .post { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

/* booking */
.book { background: var(--navy); color: var(--on-navy); }
.book .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.book .label { color: var(--brass-light); }
.book .lede { color: var(--on-navy-soft); }
.book-copy { display: grid; gap: 18px; min-width: 0; }
.book-copy .diamond-list { grid-template-columns: 1fr; color: var(--on-navy-soft); }
.book-copy .diamond-list li::before { background: var(--brass-light); }
.book-copy .alt { color: var(--on-navy-soft); font-size: 15px; }
.book-copy .alt a { color: var(--on-navy); }
form { background: var(--surface); color: var(--ink); padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; min-width: 0; border-radius: 6px; box-shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 12px 32px rgba(0, 0, 0, .22); }
.field { display: grid; gap: 6px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-size: 14px; font-weight: 600; }
input, select, textarea { font: 400 16px var(--body); color: var(--ink); background: var(--paper); border: 1px solid #8a93a6; border-radius: 4px; padding: 11px 12px; width: 100%; transition: border-color 160ms ease, box-shadow 160ms ease; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(143, 111, 46, .18); }
textarea { min-height: 96px; resize: vertical; }
.hint { font-size: 13.5px; color: var(--ink-soft); }
#form-note { font-size: 14.5px; color: var(--brass); }
@media (max-width: 880px) { .book .container { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .row { grid-template-columns: 1fr; } }

footer { background: var(--navy); color: var(--on-navy-soft); border-top: 1px solid var(--on-navy-line); padding-block: 32px 44px; font-size: 14px; }
footer .container { display: grid; gap: 12px; }
footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--on-navy); }

/* Hindi: Devanagari needs taller lines, no tracking, no italics or uppercase, and room for matras above and below. */
:lang(hi) { --display: "Noto Serif Devanagari", "Newsreader", Georgia, serif; --body: "Mukta", "Figtree", -apple-system, sans-serif; }
:lang(hi) body { font-size: 18px; line-height: 1.75; }
:lang(hi) h1, :lang(hi) h2, :lang(hi) h3 { letter-spacing: 0; font-weight: 600; }
:lang(hi) h1 { line-height: 1.32; font-size: clamp(2.2rem, 5vw, 3.8rem); }
:lang(hi) h2 { line-height: 1.35; font-size: clamp(1.75rem, 3.2vw, 2.45rem); }
:lang(hi) h3 { line-height: 1.4; }
:lang(hi) h1.label { font-size: 14px; line-height: 1.6; font-weight: 600; }
:lang(hi) .j-display { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.32; letter-spacing: 0; font-weight: 600; }
:lang(hi) .j-display .line { padding-block: .16em .12em; margin-block: -.1em; }
:lang(hi) .journey h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
:lang(hi) .counsel-close { font-size: 1.15rem; }
:lang(hi) .j-term { letter-spacing: .02em; text-transform: none; font-size: 15px; }
:lang(hi) .j-frags span, :lang(hi) .j-display em, :lang(hi) .journey h2 em, :lang(hi) .q-card h3, :lang(hi) .diff-row .them, :lang(hi) .page-hero h1 em { font-style: normal; }
:lang(hi) .label, :lang(hi) .diff-head, :lang(hi) .case dt { letter-spacing: .02em; text-transform: none; font-size: 14px; }
:lang(hi) .q-card h3 { font-size: 1.4rem; }
:lang(hi) .faq summary { font-size: 1.15rem; line-height: 1.5; }
:lang(hi) .btn { font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq details[open] .answer { animation: none; }
  .btn:active { transform: none; }
}

/* ---------- inner pages: consultations, consultation types, about ---------- */
.more { font-size: 14.5px; font-weight: 600; color: var(--brass); text-decoration: none; width: fit-content; }
.more span { display: inline-block; transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { a.more:hover span, .type-card:hover .more span { transform: translateX(4px); } }
.after a { color: var(--brass); font-weight: 600; }

.page-hero { position: relative; background: radial-gradient(120% 90% at 85% 20%, var(--navy-2) 0%, var(--navy) 60%); color: var(--on-navy); padding-block: clamp(116px, 13vw, 160px) clamp(48px, 7vw, 88px); overflow: hidden; }
.page-hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.page-hero.solo .container { grid-template-columns: 1fr; }
.page-hero .copy { display: grid; gap: 20px; min-width: 0; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.page-hero h1 em { font-style: italic; color: var(--brass-light); }
.page-hero .label { color: var(--brass-light); }
.page-hero .label a { color: inherit; text-decoration: none; }
.page-hero .lede { color: var(--on-navy-soft); }
.t-canvas { width: 100%; max-width: 460px; aspect-ratio: 1; display: block; justify-self: end; }
.page-hero img.portrait-wide { width: 100%; max-width: 420px; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; justify-self: end; outline: 1px solid oklch(1 0 0 / 0.14); outline-offset: -1px; }
@media (max-width: 880px) { .page-hero .container { grid-template-columns: 1fr; } .t-canvas, .page-hero img.portrait-wide { justify-self: start; max-width: 340px; } }

/* the row of consultation types; it sticks under the menu on the type pages */
.tabs { position: sticky; top: 68px; z-index: 10; background: rgba(246, 247, 249, .95); background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.tabs .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs .container::-webkit-scrollbar { display: none; }
.tabs a { flex: none; padding: 14px 14px; font-size: 14.5px; color: var(--ink-soft); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; transition: color 200ms ease, border-color 200ms ease; }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brass); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .tabs a:hover { color: var(--ink); } }

/* consultation types as a ruled grid on the overview page */
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.type-card { position: relative; display: grid; gap: 10px; align-content: start; padding: 28px 26px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); text-decoration: none; min-width: 0; overflow: hidden; }
.type-card::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease-out); }
.type-card .houses { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }
.type-card p { color: var(--ink-soft); font-size: 15.5px; }
.type-card .more { margin-top: 4px; }
@media (hover: hover) and (pointer: fine) { .type-card:hover::after { transform: scaleX(1); } }
@media (max-width: 900px) { .type-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .type-grid { grid-template-columns: 1fr; } }

.q-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.q-list li { font-family: var(--display); font-style: italic; font-size: 1.3rem; padding-left: 18px; border-left: 2px solid var(--brass); }
.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.two-col > * { min-width: 0; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

.house-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.house { display: grid; gap: 8px; align-content: start; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); cursor: default; text-align: left; font: inherit; color: inherit; min-width: 0; transition: background-color 200ms ease; }
.house .n { font: 400 2.2rem var(--display); color: var(--brass); line-height: 1; font-variant-numeric: tabular-nums; }
.house .name { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.house p { color: var(--ink-soft); font-size: 15.5px; }
@media (hover: hover) and (pointer: fine) { .house:hover { background: var(--brass-soft); } .house:hover .name { color: var(--ink-soft); } }
.planet-list { display: grid; border-top: 1px solid var(--line); }
.planet-list div { display: grid; grid-template-columns: 130px 1fr; gap: 8px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.planet-list b { font-family: var(--display); font-weight: 500; font-size: 1.2rem; }
.planet-list span { color: var(--ink-soft); font-size: 15.5px; }
@media (max-width: 520px) { .planet-list div { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
.positions { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 15.5px; }
.positions th, .positions td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.positions thead th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; background: var(--paper); }
.positions tr:last-child td { border-bottom: 0; }
.positions tbody th { font-family: var(--display); font-weight: 400; font-size: 1.12rem; color: var(--ink); width: 26%; }
.positions tbody tr:last-child th { border-bottom: 0; }
.table-wrap:focus-visible { outline-offset: 2px; }
.positions td { color: var(--ink-soft); }
.note { margin-top: 16px; font-size: 14px; color: var(--ink-faint); max-width: 70ch; }

.limits h2 { font-size: 1.35rem; letter-spacing: -0.005em; }
.limits { border-left: 3px solid var(--brass); background: var(--surface); padding: 22px 26px; display: grid; gap: 8px; max-width: 760px; }
.limits p { color: var(--ink-soft); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--ink-soft); }
.check-list li { padding-left: 22px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--brass); transform: rotate(45deg); }

.guide-sections { display: grid; gap: clamp(36px, 5vw, 56px); max-width: 760px; }
.guide-sections section { padding: 0; display: grid; gap: 14px; }
.guide-sections h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.guide-sections p { color: var(--ink-soft); }
.related { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: baseline; padding-block: 26px; border-top: 1px solid var(--line); }
.related b { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
:lang(hi) .related b { letter-spacing: .02em; text-transform: none; font-size: 14px; }
.positions.wide tbody th { width: 22%; }
.cta-band { background: var(--navy); color: var(--on-navy); }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 22ch; }
.cta-band p { color: var(--on-navy-soft); margin-top: 8px; max-width: 46ch; }
.pager { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px; border-top: 1px solid var(--line); }
footer .links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer .links a { color: var(--on-navy); }
footer .phone a { color: var(--on-navy); }

:lang(hi) .q-list li { font-style: normal; font-size: 1.2rem; }
:lang(hi) .type-card .houses, :lang(hi) .house .name, :lang(hi) .positions thead th { letter-spacing: .02em; text-transform: none; font-size: 14px; }
:lang(hi) .page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.35; }
:lang(hi) .positions tbody th { font-size: 1.05rem; }
:lang(hi) .brand, :lang(hi) .diff-row .here b, :lang(hi) .counsel-close { letter-spacing: 0; }

/* print: everything visible, nothing pinned or fixed */
@media print {
  .nav, .tabs, .j-canvas, .j-frags, .j-rail, .j-cue, .j-portrait, .t-canvas, .menu-panel, form, .cta-row { display: none !important; }
  .journey, .page-hero, .book, .counsel, .cta-band, footer { background: none !important; color: var(--ink) !important; height: auto !important; padding-block: 16px !important; }
  .journey .lede, .page-hero .lede, .counsel .lede, .counsel-list p, .book .lede, footer, .cta-band p { color: var(--ink-soft) !important; }
  .j-panels { position: static !important; display: grid !important; gap: 24px; max-width: none; padding: 0 24px !important; }
  .j-panel { position: static !important; opacity: 1 !important; visibility: visible !important; transform: none !important; width: auto !important; }
  .j-display .line > span { transform: none !important; }
  .j-notes li, [data-reveal], [data-reveal-group] > *, [data-in], #steps li { opacity: 1 !important; transform: none !important; }
  section { padding-block: 20px; }
}

/* pause / play control for the animated heroes */
.motion-btn { position: absolute; right: 14px; bottom: 10px; z-index: 3; width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(15, 26, 51, .55); color: var(--on-navy); cursor: pointer; display: grid; place-items: center; transition: border-color 200ms ease, transform 160ms var(--ease-out); }
.motion-btn::before { content: ""; width: 9px; height: 11px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.paused .motion-btn::before { width: 0; height: 0; border: 6px solid transparent; border-left: 10px solid currentColor; border-right: 0; margin-left: 3px; }
.motion-btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .motion-btn:hover { border-color: rgba(255, 255, 255, .7); } }
.paused .j-frags span, .paused .j-cue::after { animation-play-state: paused; }
@media print { .motion-btn { display: none !important; } }
