/* aarohanah.com v2 · Brand Kit v2 (Prabhat) · one stylesheet for the whole site
   Layout: one calm column that rises section by section; a thin gold thread tracks the ascent.
   Light first; the sky follows the visitor's clock (bhor, dopahar, saanjh, raat). */
:root{
  --ground:#FAF5EC; --ground-2:#F4ECDD; --ink:#1F2440; --ink-2:#3B4160; --muted:#5A6078;
  --gold:#C8962E; --gold-soft:#E9C978; --panel:#EFE4CC; --rekha:#DED4C1; --card:#FFFDF8;
  --deep:#1F2440; --on-deep:#FAF5EC; --on-deep-2:#CFC9DA; --shadow:31 36 64;
  --display:'Eczar', 'Noto Serif Devanagari', Georgia, serif;
  --body:'Mukta', 'Noto Sans Devanagari', system-ui, sans-serif;
  --r:14px; --measure:62ch; --ease:cubic-bezier(.22,.7,.2,1);
  /* Type scale: Mukta's Devanagari runs small, so body starts at 19px and nothing goes below 16px */
  --fs-xs:16px; --fs-sm:17px; --fs-body:19px; --fs-lead:clamp(20px, 2vw, 23px);
  color-scheme: light;
}
:root[data-sky="dopahar"]{ --ground:#FCFAF6; --ground-2:#F6F0E4; }
:root[data-sky="saanjh"]{ --ground:#F7EDDB; --ground-2:#F0E2C8; --panel:#ECDBB9; }
:root[data-sky="raat"]{
  --ground:#151931; --ground-2:#1B2040; --ink:#F3EEE3; --ink-2:#DCD6E6; --muted:#B4AFC6;
  --panel:#232846; --rekha:#343A5C; --card:#1C2140;
  --deep:#0D1023; --on-deep:#F3EEE3; --on-deep-2:#B4AFC6; --shadow:0 0 0;
  color-scheme: dark;
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ margin:0; background:var(--ground); color:var(--ink); font-family:var(--body); font-size:var(--fs-body); line-height:1.7; transition:background-color .9s ease, color .9s ease; -webkit-font-smoothing:antialiased; }
body::before{ content:""; position:fixed; inset:0 0 auto; height:env(safe-area-inset-top,0px); z-index:40; background:var(--ground); }
img{ max-width:100%; }
[hidden]{ display:none !important; }
h1,h2,h3,h4{ font-family:var(--display); font-weight:600; line-height:1.34; text-wrap:balance; margin:0; }
p{ margin:0; }
a{ color:inherit; }
:focus-visible{ outline:3px solid var(--ink); outline-offset:3px; border-radius:8px; }
.wrap{ max-width:1120px; margin:0 auto; padding-left:max(20px, env(safe-area-inset-left,0px)); padding-right:max(20px, env(safe-area-inset-right,0px)); }
.narrow{ max-width:820px; }
.skip{ position:absolute; left:-999px; top:8px; background:var(--card); color:var(--ink); padding:8px 14px; border-radius:8px; z-index:60; }
.skip:focus{ left:16px; }

/* Type helpers (never letter-space Devanagari) */
.kicker{ display:inline-flex; align-items:center; gap:10px; font-size:var(--fs-sm); font-weight:500; color:var(--muted); line-height:1.4; }
.kicker::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--gold); flex:none; }
.h1{ font-size:clamp(38px, 5.6vw, 68px); line-height:1.32; }
.h2{ font-size:clamp(30px, 4.2vw, 48px); line-height:1.34; }
.h3{ font-size:clamp(24px, 2.6vw, 30px); }
.lead{ font-size:var(--fs-lead); line-height:1.65; color:var(--ink-2); max-width:var(--measure); }
.small{ font-size:var(--fs-xs); color:var(--muted); line-height:1.6; }
.en{ font-size:var(--fs-sm); color:var(--muted); font-style:normal; line-height:1.6; }
.sec-head{ display:grid; gap:14px; max-width:780px; }
.prose{ display:grid; gap:18px; max-width:var(--measure); }
.prose p{ font-size:var(--fs-body); color:var(--ink-2); }
.prose h2{ font-size:clamp(26px, 3vw, 34px); margin-top:14px; }
.quote{ font-family:var(--display); font-size:clamp(24px, 2.8vw, 32px); font-weight:500; line-height:1.5; }

/* Buttons and links */
.btn{ position:relative; display:inline-flex; align-items:center; justify-content:center; gap:10px; font:inherit; font-size:18px; font-weight:500; min-height:52px; padding:0 28px; border-radius:999px; cursor:pointer; text-decoration:none; border:1px solid var(--ink); transition:transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s; }
.btn.solid{ background:var(--ink); color:var(--ground); }
.btn.solid:hover{ transform:translateY(-2px); box-shadow:0 10px 24px -12px rgb(var(--shadow) / .55); }
.btn.line{ background:transparent; color:var(--ink); }
.btn.line:hover{ background:color-mix(in srgb, var(--ink) 6%, transparent); }
.btn.sm{ min-height:42px; padding:0 18px; font-size:16px; }
.btn .dot{ width:8px; height:8px; border-radius:50%; background:var(--gold); }
.tlink{ text-decoration:none; font-weight:500; background:linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat; transition:background-size .45s var(--ease); padding-bottom:2px; }
.tlink:hover{ background-size:100% 2px; }

/* Header */
header.site{ position:sticky; top:env(safe-area-inset-top,0px); z-index:30; background:transparent; border-bottom:1px solid transparent; transition:background-color .4s, border-color .4s; }
header.site.scrolled{ background:color-mix(in srgb, var(--ground) 88%, transparent); border-color:var(--rekha); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }
header.site .wrap{ display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:74px; transition:min-height .4s; }
header.site.scrolled .wrap{ min-height:62px; }
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand span{ font-family:var(--display); font-weight:600; font-size:29px; line-height:1; }
nav.main ul{ list-style:none; display:flex; gap:24px; margin:0; padding:0; align-items:center; }
nav.main a{ text-decoration:none; color:var(--ink-2); font-size:18px; font-weight:500; background:linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat; transition:background-size .45s var(--ease), color .3s; padding-bottom:3px; }
nav.main a:hover, nav.main a[aria-current="page"]{ color:var(--ink); background-size:100% 2px; }
.head-right{ display:flex; align-items:center; gap:10px; }
.talk{ display:inline-flex; align-items:center; gap:8px; font-size:var(--fs-xs); font-weight:600; text-decoration:none; border-radius:999px; padding:8px 16px; background:var(--ink); color:var(--ground); }
.help{ display:inline-flex; align-items:center; gap:8px; font-size:var(--fs-xs); font-weight:600; color:var(--ink); text-decoration:none; border:1px solid var(--rekha); border-radius:999px; padding:7px 15px; background:var(--card); }
.menu-btn{ display:none; font:inherit; font-size:16px; background:transparent; color:var(--ink); border:1px solid var(--rekha); border-radius:999px; padding:6px 16px; min-height:42px; cursor:pointer; }
@media (max-width:980px){
  .menu-btn{ display:inline-block; }
  .talk{ display:none; }
  nav.main{ position:absolute; left:0; right:0; top:100%; background:var(--ground); border-bottom:1px solid var(--rekha); display:none; box-shadow:0 18px 30px -24px rgb(var(--shadow) / .5); }
  nav.main.open{ display:block; }
  nav.main ul{ flex-direction:column; align-items:flex-start; gap:2px; padding:10px max(20px, env(safe-area-inset-left,0px)) 20px; }
  nav.main a{ display:block; padding:10px 0; font-size:21px; font-family:var(--display); }
  nav.main .m-only{ display:block; }
}
@media (min-width:981px){ nav.main .m-only{ display:none; } }
.save .tick{ width:16px; height:16px; border-radius:50%; border:1.5px solid currentColor; }
.save[aria-pressed="true"] .tick{ background:var(--gold); border-color:var(--gold); }

/* Thread */
.thread{ position:fixed; left:max(22px, env(safe-area-inset-left,0px)); top:130px; bottom:48px; width:1px; background:var(--rekha); z-index:5; }
.thread b{ position:absolute; left:0; top:0; width:1px; background:var(--gold); height:0; }
.thread i{ position:absolute; left:-5px; top:0; width:11px; height:11px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 5px color-mix(in srgb, var(--gold) 18%, transparent); }
@media (max-width:1220px){ .thread{ display:none; } }

section{ padding-block:clamp(56px, 8vw, 104px); }
.alt{ background:var(--ground-2); }

/* Page hero (inner pages) */
.page-hero{ padding-top:clamp(36px, 6vw, 80px); padding-bottom:clamp(36px, 5vw, 64px); }
.page-hero .wrap{ display:grid; gap:18px; }
.crumbs{ font-size:var(--fs-xs); color:var(--muted); display:flex; gap:8px; flex-wrap:wrap; }
.crumbs a{ text-decoration:none; }
.crumbs a:hover{ color:var(--ink); }
.answer-first{ font-size:var(--fs-lead); line-height:1.7; color:var(--ink); max-width:var(--measure); border-left:3px solid var(--gold); padding-left:18px; }

/* Home hero */
.hero{ padding-top:clamp(28px, 5vw, 64px); padding-bottom:clamp(48px, 7vw, 96px); }
.hero .wrap{ display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:clamp(24px, 4vw, 56px); align-items:center; }
@media (max-width:960px){ .hero .wrap{ grid-template-columns:1fr; } .scene{ order:-1; max-width:520px; } }
.hero-text{ display:grid; gap:20px; min-width:0; }
.greet{ font-family:var(--display); font-size:21px; color:var(--muted); }
.hero h1{ font-size:clamp(40px, 5.8vw, 74px); line-height:1.32; }
.hero .orig{ font-family:var(--display); font-size:clamp(22px, 2.4vw, 26px); color:var(--ink); font-weight:500; }
.doors{ display:flex; flex-wrap:wrap; gap:12px; margin-top:10px; }
.scene svg{ width:100%; height:auto; display:block; overflow:visible; }
.scene .horizon{ stroke:var(--ink); stroke-dasharray:900; stroke-dashoffset:900; animation:draw 2.6s var(--ease) .3s forwards; }
.scene .faint{ stroke:var(--rekha); }
.scene .sun{ opacity:0; transform-origin:430px 150px; animation:light 1.2s var(--ease) 2.6s forwards; }
.scene .glow{ opacity:0; transform-origin:430px 150px; animation:glowIn 2.4s ease 2.8s forwards, breathe 7s ease-in-out 5.2s infinite; }
@keyframes draw{ to{ stroke-dashoffset:0; } }
@keyframes light{ 0%{ opacity:0; transform:scale(.2); } 65%{ opacity:1; transform:scale(1.2); } 100%{ opacity:1; transform:scale(1); } }
@keyframes glowIn{ to{ opacity:1; } }
@keyframes breathe{ 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.12); } }

/* Chips and cards */
.chips{ display:flex; flex-wrap:wrap; gap:10px; }
.chip{ font:inherit; font-size:19px; min-height:50px; padding:0 24px; border-radius:999px; border:1px solid var(--rekha); background:var(--card); color:var(--ink); cursor:pointer; text-decoration:none; display:inline-flex; align-items:center; transition:transform .3s var(--ease), border-color .3s, background-color .3s, color .3s; }
.chip:hover{ transform:translateY(-2px); border-color:var(--ink-2); }
.chip[aria-pressed="true"]{ background:var(--ink); color:var(--ground); border-color:var(--ink); }
.chip.sm{ min-height:42px; font-size:var(--fs-sm); padding:0 18px; }
.card{ background:var(--card); border:1px solid var(--rekha); border-radius:var(--r); padding:24px; display:flex; flex-direction:column; gap:10px; min-width:0; }
.card .lbl{ font-size:var(--fs-xs); font-weight:500; color:var(--muted); }
.card h3{ font-size:26px; }
.card p{ color:var(--ink-2); }
.card.tint{ background:var(--panel); border-color:transparent; }
.card.deep{ background:var(--deep); border-color:var(--deep); color:var(--on-deep); }
.card.deep p,.card.deep .lbl{ color:var(--on-deep-2); }
.grid-3{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:18px; }
.grid-2{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:18px; }
.grid-4{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:16px; }
@media (max-width:900px){ .grid-3,.grid-4{ grid-template-columns:1fr 1fr; } }
@media (max-width:620px){ .grid-3,.grid-2,.grid-4{ grid-template-columns:1fr; } }
a.card{ text-decoration:none; transition:transform .5s var(--ease), border-color .4s; }
a.card:hover{ transform:translateY(-4px); border-color:var(--ink-2); }

/* Check-in answer */
.answer{ margin-top:30px; display:grid; grid-template-columns:1.1fr .9fr 1fr; gap:16px; animation:rise .6s var(--ease); }
@keyframes rise{ from{ transform:translateY(12px); } to{ transform:none; } }
@media (max-width:880px){ .answer{ grid-template-columns:1fr; } }
.mini-reel{ display:grid; grid-template-columns:90px minmax(0,1fr); gap:16px; align-items:center; text-decoration:none; }
.mini-reel .thumb{ aspect-ratio:9/16; border-radius:10px; background:var(--deep); display:grid; place-items:center; }
.mini-reel .thumb::after{ content:""; border-left:14px solid var(--on-deep); border-top:9px solid transparent; border-bottom:9px solid transparent; margin-left:4px; }

/* Breath lamp */
.lamp-sec .wrap{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(24px, 5vw, 72px); align-items:center; }
@media (max-width:880px){ .lamp-sec .wrap{ grid-template-columns:1fr; } }
.lamp-text{ display:grid; gap:18px; min-width:0; }
.recipe{ display:flex; flex-wrap:wrap; gap:10px; }
.recipe span{ border:1px solid var(--rekha); border-radius:999px; padding:6px 16px; font-size:var(--fs-sm); background:var(--card); }
.rounds{ display:flex; gap:8px; align-items:center; }
.rounds i{ width:10px; height:10px; border-radius:50%; border:1.5px solid var(--ink-2); transition:background-color .4s; }
.rounds i.on{ background:var(--gold); border-color:var(--gold); }
.stage{ position:relative; aspect-ratio:1; max-width:440px; width:100%; margin-inline:auto; display:grid; place-items:center; }
.ring{ position:absolute; border-radius:50%; border:1px solid var(--rekha); }
.ring.r1{ inset:2%; } .ring.r2{ inset:14%; opacity:.8; } .ring.r3{ inset:26%; opacity:.6; }
.orb{ width:60%; aspect-ratio:1; border-radius:50%; background:radial-gradient(circle at 50% 42%, #F6E2AE 0%, var(--gold-soft) 28%, var(--gold) 52%, color-mix(in srgb, var(--gold) 0%, transparent) 72%); transform:scale(.56); transition-property:transform; transition-timing-function:cubic-bezier(.45,0,.35,1); }
.orb.idle{ animation:idle 6s ease-in-out infinite; }
@keyframes idle{ 0%,100%{ transform:scale(.54); } 50%{ transform:scale(.6); } }
.count{ position:absolute; text-align:center; display:grid; pointer-events:none; color:#1F2440; }
.count b{ font-family:var(--display); font-size:58px; line-height:1; font-weight:600; min-height:58px; }
.count span{ font-family:var(--display); font-size:20px; font-weight:500; }
.ctrl{ display:flex; flex-wrap:wrap; gap:12px; }
.after{ display:grid; gap:14px; padding:22px; border-radius:var(--r); background:var(--card); border:1px solid var(--rekha); animation:rise .6s var(--ease); }
.after .row{ display:flex; flex-wrap:wrap; gap:10px; }
.reply{ font-family:var(--display); font-size:24px; font-weight:500; }

/* Today */
.slip{ position:relative; max-width:820px; background:var(--card); border:1px solid var(--rekha); border-radius:18px; padding:clamp(28px, 4.5vw, 52px); display:grid; gap:16px; box-shadow:0 30px 60px -48px rgb(var(--shadow) / .6); }
.slip .date{ font-size:var(--fs-xs); color:var(--muted); }
.slip .step{ font-family:var(--display); font-size:clamp(26px, 3.4vw, 38px); font-weight:600; line-height:1.4; }
.slip .foot{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:space-between; }
.slip .mark{ position:absolute; right:clamp(20px,4vw,44px); top:clamp(20px,4vw,40px); }
.done{ display:inline-flex; align-items:center; gap:10px; font:inherit; font-size:var(--fs-sm); min-height:46px; padding:0 22px; border-radius:999px; border:1px solid var(--ink); background:transparent; color:var(--ink); cursor:pointer; transition:background-color .3s, color .3s; }
.done .tick{ width:18px; height:18px; border-radius:50%; border:1.5px solid currentColor; }
.done[aria-pressed="true"]{ background:var(--ink); color:var(--ground); }
.done[aria-pressed="true"] .tick{ background:var(--gold); border-color:var(--gold); }

/* Ladder */
.chain{ font-family:var(--display); font-size:clamp(21px, 2.3vw, 25px); color:var(--ink-2); }
.steps-box{ position:relative; margin-top:28px; }
.ascent{ position:absolute; inset:0; pointer-events:none; }
.ascent path{ stroke:var(--gold); stroke-width:1.5; fill:none; stroke-dasharray:1400; stroke-dashoffset:1400; transition:stroke-dashoffset 2.4s var(--ease); }
.steps-box.seen .ascent path{ stroke-dashoffset:0; }
@media (max-width:960px){ .ascent{ display:none; } }
.steps{ position:relative; display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:16px; align-items:end; }
@media (max-width:960px){ .steps{ grid-template-columns:1fr; } .steps .st{ margin-bottom:0 !important; } }
.st{ background:var(--card); border:1px solid var(--rekha); border-radius:var(--r); padding:24px; display:flex; flex-direction:column; gap:10px; min-width:0; transition:transform 1s var(--ease); text-decoration:none; }
.st.low{ transform:translateY(22px); }
.st .n{ width:34px; height:34px; border-radius:50%; border:1.5px solid var(--ink-2); display:grid; place-items:center; font-family:var(--display); font-size:17px; font-weight:600; }
.st h3{ font-size:30px; }
.st .tag{ font-size:var(--fs-xs); font-weight:500; color:var(--muted); }
.st p.t{ font-size:var(--fs-sm); color:var(--ink-2); line-height:1.7; }
.steps .st:nth-child(2){ margin-bottom:34px; } .steps .st:nth-child(3){ margin-bottom:68px; } .steps .st:nth-child(4){ margin-bottom:102px; }
.st.top{ background:var(--deep); border-color:var(--deep); color:var(--on-deep); }
.st.top .n{ border-color:var(--gold); background:var(--gold); color:#1F2440; }
.st.top .tag,.st.top p.t{ color:var(--on-deep-2); }

/* Deep sections and canvases */
.deep-sec{ background:var(--deep); color:var(--on-deep); }
.deep-sec .kicker,.deep-sec .lead,.deep-sec .small{ color:var(--on-deep-2); }
.deep-sec .wrap{ display:grid; gap:20px; }
.canvas-box{ position:relative; width:100%; aspect-ratio:16/8; min-height:340px; border-radius:20px; border:1px solid color-mix(in srgb, var(--on-deep) 14%, transparent); overflow:hidden; background:radial-gradient(ellipse at 50% 55%, color-mix(in srgb, var(--gold) 9%, transparent), transparent 60%); }
.canvas-box.light{ border-color:var(--rekha); background:var(--card); }
.canvas-box canvas{ width:100%; height:100%; display:block; touch-action:pan-y; }
.canvas-msg{ position:absolute; left:0; right:0; bottom:22px; text-align:center; font-family:var(--display); font-size:clamp(20px, 2.4vw, 26px); padding-inline:20px; }
.canvas-ctrl{ display:flex; gap:14px; flex-wrap:wrap; align-items:center; justify-content:space-between; }
.deep-sec .btn.line{ color:var(--on-deep); border-color:color-mix(in srgb, var(--on-deep) 40%, transparent); min-height:46px; font-size:16px; }

/* Reels */
.reel-row{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:18px; }
.rgrid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:18px; }
.rcard{ display:grid; gap:10px; min-width:0; }
.poster{ position:relative; aspect-ratio:9/14; border-radius:16px; background:var(--deep); color:var(--on-deep); padding:20px; display:flex; flex-direction:column; justify-content:space-between; overflow:hidden; border:0; font:inherit; text-align:left; cursor:pointer; transition:transform .5s var(--ease), box-shadow .5s var(--ease); width:100%; }
.poster:hover{ transform:translateY(-4px); box-shadow:0 24px 40px -28px rgb(var(--shadow) / .8); }
.poster .pt{ font-family:var(--display); font-size:clamp(21px, 2vw, 25px); font-weight:600; line-height:1.4; }
.poster .play{ display:flex; align-items:center; gap:10px; font-size:var(--fs-xs); color:var(--on-deep-2); }
.poster .play::before{ content:""; border-left:11px solid var(--gold); border-top:7px solid transparent; border-bottom:7px solid transparent; }
.poster iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.rcard .meta{ font-size:var(--fs-xs); color:var(--muted); }
.rcard .tags{ display:flex; flex-wrap:wrap; gap:6px; }
.rcard .tags span{ font-size:14px; border:1px solid var(--rekha); border-radius:999px; padding:1px 10px; color:var(--ink-2); }
@media (max-width:820px){ .reel-row{ grid-template-columns:repeat(3, minmax(230px,1fr)); overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:8px; } .reel-row > *{ scroll-snap-align:start; } }
.filters{ display:grid; gap:14px; padding:20px; border-radius:var(--r); background:var(--card); border:1px solid var(--rekha); }
.filters .row{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.filters .row > b{ font-size:var(--fs-xs); color:var(--muted); font-weight:500; min-width:110px; }
.search{ font:inherit; font-size:18px; min-height:48px; padding:0 18px; border-radius:999px; border:1px solid var(--rekha); background:var(--ground); color:var(--ink); width:min(420px, 100%); }
.count-line{ font-size:var(--fs-xs); color:var(--muted); }

/* Practice page */
.practice-steps{ display:grid; gap:14px; counter-reset:s; max-width:760px; padding:0; margin:0; list-style:none; }
.practice-steps li{ counter-increment:s; display:grid; grid-template-columns:44px minmax(0,1fr); gap:14px; align-items:start; font-size:19px; color:var(--ink-2); }
.practice-steps li::before{ content:counter(s); width:36px; height:36px; border-radius:50%; border:1.5px solid var(--ink-2); display:grid; place-items:center; font-family:var(--display); font-weight:600; color:var(--ink); }
.inner-line{ font-family:var(--display); font-size:clamp(24px, 2.8vw, 32px); font-weight:500; line-height:1.5; padding:26px 28px; border-radius:var(--r); background:var(--panel); }
.faq{ display:grid; gap:12px; max-width:820px; }
.faq details{ border:1px solid var(--rekha); border-radius:var(--r); background:var(--card); padding:4px 22px; }
.faq summary{ cursor:pointer; font-family:var(--display); font-size:21px; font-weight:600; padding:14px 0; list-style:none; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; float:right; color:var(--muted); }
.faq details[open] summary::after{ content:"−"; }
.faq details p{ padding-bottom:16px; color:var(--ink-2); }
.save{ display:inline-flex; align-items:center; gap:10px; }
.disc-box{ font-size:var(--fs-xs); color:var(--muted); border-top:1px solid var(--rekha); padding-top:18px; max-width:820px; }

/* Helplines */
.lines{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:14px; }
@media (max-width:700px){ .lines{ grid-template-columns:1fr; } }
.line-card{ background:var(--card); border:1px solid var(--rekha); border-radius:var(--r); padding:22px; display:grid; gap:6px; }
.line-card.main{ background:var(--deep); color:var(--on-deep); border-color:var(--deep); grid-column:1 / -1; }
.line-card .num{ font-family:var(--display); font-size:clamp(30px, 4vw, 44px); font-weight:600; user-select:all; }
.line-card.main p{ color:var(--on-deep-2); }

/* Trust */
.isnot{ display:grid; gap:14px; }
.isnot div{ border-top:1px solid var(--rekha); padding-top:14px; display:grid; gap:4px; }
.isnot b{ font-family:var(--display); font-size:21px; font-weight:600; }
.isnot span{ color:var(--ink-2); font-size:var(--fs-sm); line-height:1.65; }

/* Join band */
.band{ background:var(--deep); color:var(--on-deep); border-radius:22px; padding:clamp(28px, 5vw, 56px); display:flex; flex-wrap:wrap; gap:20px; align-items:center; justify-content:space-between; }
.band p{ color:var(--on-deep-2); }
.band .btn{ background:var(--on-deep); color:#1F2440; border-color:var(--on-deep); }

/* Yatra */
.ylist{ display:grid; gap:10px; }
.ylist li{ list-style:none; border:1px solid var(--rekha); background:var(--card); border-radius:12px; padding:14px 18px; display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.ylist{ padding:0; margin:0; }
.empty{ padding:22px; border:1px dashed var(--rekha); border-radius:var(--r); color:var(--muted); }

/* Footer */
footer{ margin-top:clamp(48px,7vw,96px); border-top:1px solid var(--rekha); padding-block:56px 40px; }
footer .wrap{ display:grid; gap:36px; }
.foot-top{ display:grid; grid-template-columns:minmax(0,1.2fr) repeat(3, minmax(0,.7fr)); gap:32px; }
@media (max-width:820px){ .foot-top{ grid-template-columns:1fr 1fr; } .foot-brand{ grid-column:1 / -1; } }
.foot-brand{ display:grid; gap:10px; align-content:start; }
.foot-brand .name{ display:flex; align-items:center; gap:10px; font-family:var(--display); font-size:28px; font-weight:600; }
.foot-col{ display:grid; gap:8px; align-content:start; }
.foot-col b{ font-size:var(--fs-xs); color:var(--muted); font-weight:500; }
.foot-col a{ text-decoration:none; color:var(--ink-2); }
.foot-col a:hover{ color:var(--ink); }
.lifeline{ background:var(--panel); border-radius:var(--r); padding:22px 24px; display:flex; flex-wrap:wrap; gap:10px 28px; align-items:center; justify-content:space-between; }
.lifeline strong{ font-family:var(--display); font-size:24px; font-weight:600; }
.legal{ display:flex; flex-wrap:wrap; gap:8px 24px; justify-content:space-between; font-size:var(--fs-xs); color:var(--muted); }

/* Review-only preview pill (removed in production) */
.preview{ position:fixed; z-index:35; right:max(14px, env(safe-area-inset-right,0px)); bottom:max(14px, env(safe-area-inset-bottom,0px)); display:flex; align-items:center; gap:6px; background:var(--card); border:1px solid var(--rekha); border-radius:999px; padding:5px 6px 5px 14px; box-shadow:0 14px 30px -18px rgb(var(--shadow) / .6); font-size:14px; color:var(--muted); }
.preview button{ font:inherit; font-size:14px; border:0; background:transparent; color:var(--ink); border-radius:999px; padding:6px 11px; cursor:pointer; min-height:34px; }
.preview button[aria-pressed="true"]{ background:var(--ink); color:var(--ground); }
@media (max-width:520px){ .preview .lab{ display:none; } }

/* Settle-in: visible at rest, only moves */
.rv{ transform:translateY(16px); transition:transform 1s var(--ease); }
.rv.in{ transform:none; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .scene .horizon{ animation:none; stroke-dashoffset:0; }
  .scene .sun,.scene .glow{ animation:none; opacity:1; }
  .orb,.st,.rv,.btn,.chip,a.card,.poster{ transition:none; }
  .orb.idle{ animation:none; }
  .st.low,.rv{ transform:none; }
  .ascent path{ transition:none; stroke-dashoffset:0; }
  .answer,.after{ animation:none; }
}

/* ===== Study template (long reads) ===== */
.study-hero .h1{ font-size:clamp(38px, 5.4vw, 64px); }
.study-body{ display:grid; gap:22px; min-width:0; }
.study-body > p:not([class]){ font-size:var(--fs-body); color:var(--ink-2); line-height:1.8; }
.study-body > p.lead{ color:var(--ink); }
.feature .study-body > p.lead{ color:var(--on-deep); }
.study-body > p strong{ color:var(--ink); font-weight:600; }
.study-ch{ padding-block:clamp(48px, 7vw, 88px); }
.study-ch + .study-ch:not(.alt):not(.feature){ border-top:1px solid var(--rekha); }
.toc{ display:grid; gap:10px; margin-top:8px; }
.guna{ display:inline-flex; justify-self:start; font-size:var(--fs-xs); font-weight:500; border:1px solid var(--rekha); border-radius:999px; padding:3px 14px; color:var(--ink-2); }
.verse{ margin:6px 0; padding:26px 28px; border-radius:var(--r); background:var(--panel); display:grid; gap:10px; }
.verse blockquote{ margin:0; display:grid; gap:4px; }
.verse blockquote p{ font-family:var(--display); font-size:clamp(22px, 2.4vw, 27px); font-weight:500; line-height:1.55; color:var(--ink); }
.verse-trans{ font-size:var(--fs-sm); color:var(--ink-2); line-height:1.7; }
.deep-sec .verse{ background:color-mix(in srgb, var(--on-deep) 8%, transparent); }
.deep-sec .verse blockquote p{ color:var(--on-deep); }
.deep-sec .verse-trans{ color:var(--on-deep-2); }
.callout{ padding:22px 24px; border-radius:var(--r); background:var(--card); border:1px solid var(--rekha); display:grid; gap:10px; }
.callout p{ font-size:var(--fs-body); color:var(--ink); line-height:1.75; }
.deep-sec .callout{ background:color-mix(in srgb, var(--on-deep) 8%, transparent); border-color:color-mix(in srgb, var(--on-deep) 18%, transparent); }
.deep-sec .callout p{ color:var(--on-deep); }
.note{ padding:18px 22px; border-left:3px solid var(--gold); background:var(--card); border-radius:0 var(--r) var(--r) 0; font-size:var(--fs-sm); line-height:1.75; color:var(--ink-2); }
.note strong{ color:var(--ink); }
.tbl{ overflow-x:auto; border:1px solid var(--rekha); border-radius:var(--r); background:var(--card); }
.tbl table{ border-collapse:collapse; width:100%; min-width:460px; font-size:var(--fs-sm); }
.tbl th{ text-align:left; font-weight:600; padding:12px 16px; background:var(--ground-2); color:var(--ink); }
.tbl td{ padding:12px 16px; border-top:1px solid var(--rekha); color:var(--ink-2); vertical-align:top; }
.terms{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.terms li{ display:grid; gap:2px; padding:14px 18px; border:1px solid var(--rekha); border-radius:12px; background:var(--card); }
.terms li b{ font-family:var(--display); font-weight:600; font-size:20px; color:var(--ink); }
.terms li span{ color:var(--ink-2); font-size:var(--fs-sm); line-height:1.65; }
.study-quote{ font-family:var(--display); font-size:clamp(26px, 3.4vw, 40px); font-weight:600; line-height:1.4; color:var(--ink); max-width:24ch; }
.feature .study-quote{ margin-inline:auto; }
.feature .study-body{ text-align:center; justify-items:center; }
.feature .study-body > p:not([class]){ color:var(--on-deep-2); max-width:62ch; text-align:left; }
.feature .study-quote{ color:var(--on-deep); }
.feature .kicker{ color:var(--on-deep-2); }
.feature .en{ color:var(--on-deep-2); }
.final{ font-family:var(--display); font-size:clamp(22px, 2.6vw, 30px); font-weight:500; line-height:1.7; color:var(--on-deep); }
.fl-gold{ font-family:var(--display); font-size:clamp(22px, 2.4vw, 28px) !important; color:var(--on-deep) !important; line-height:1.6 !important; }
.rlines{ display:grid; gap:12px; text-align:left; }
.rlines p{ font-family:var(--display); font-size:clamp(20px, 2.2vw, 25px); font-weight:500; line-height:1.55; color:var(--on-deep); }
.stagemap{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:16px; }
.stg{ background:var(--card); border:1px solid var(--rekha); border-radius:var(--r); padding:22px; display:grid; gap:6px; }
.stg .n,.tf .n{ width:36px; height:36px; border-radius:50%; border:1.5px solid var(--ink-2); display:grid; place-items:center; font-family:var(--display); font-weight:600; font-size:16px; }
.stg h3{ font-size:28px; }
.tfrow{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:12px; }
.tf{ display:grid; gap:4px; justify-items:start; padding:18px; border-radius:var(--r); background:var(--card); border:1px solid var(--rekha); position:relative; }
.tf b{ font-family:var(--display); font-size:24px; font-weight:600; }
.tf:last-child{ background:var(--deep); color:var(--on-deep); border-color:var(--deep); }
.tf:last-child .n{ background:var(--gold); border-color:var(--gold); color:#1F2440; }
.tf:last-child .en{ color:var(--on-deep-2); }
@media (max-width:820px){ .stagemap{ grid-template-columns:1fr; } .tfrow{ grid-template-columns:1fr 1fr; } }
.ringmap{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:28px; align-items:center; }
@media (max-width:760px){ .ringmap{ grid-template-columns:1fr; } }
.rings{ width:100%; max-width:380px; height:auto; justify-self:center; }
.rings circle{ fill:none; stroke:var(--rekha); stroke-width:1.2; }
.rings circle.core{ fill:var(--gold); stroke:none; }
.rings text{ font-family:var(--display); font-size:13px; font-weight:600; text-anchor:middle; fill:var(--ink); }
.ringlist{ list-style:none; margin:0; padding:0; display:grid; gap:8px; counter-reset:r; }
.ringlist li{ display:flex; gap:12px; align-items:baseline; padding:10px 14px; border-radius:10px; background:var(--card); border:1px solid var(--rekha); }
.ringlist li b{ font-family:var(--display); font-size:20px; font-weight:600; min-width:70px; }
.ringlist li span{ color:var(--ink-2); font-size:var(--fs-sm); }
.ringlist li:last-child{ background:var(--deep); border-color:var(--deep); color:var(--on-deep); }
.ringlist li:last-child span{ color:var(--on-deep-2); }
.cast{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:12px; }
@media (max-width:760px){ .cast{ grid-template-columns:1fr 1fr; } }
.cast-item{ display:grid; gap:4px; padding:16px 18px; border-radius:12px; background:var(--card); border:1px solid var(--rekha); }
.cast-item b{ font-family:var(--display); font-size:21px; font-weight:600; }
.cast-item span{ font-size:var(--fs-sm); color:var(--ink-2); }
.diagram .study-body > .h2{ text-align:left; }

.feature .prose p{ color:var(--on-deep-2); }
.feature .study-body strong{ color:var(--on-deep); }

/* Reel posters with thumbnails */
.poster.has-thumb{ justify-content:flex-end; gap:10px; }
.poster > img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .8s var(--ease); }
.poster:hover > img{ transform:scale(1.04); }
.poster .shade{ position:absolute; inset:0; background:linear-gradient(to top, rgba(13,16,35,.94) 0%, rgba(13,16,35,.55) 38%, rgba(13,16,35,0) 70%); }
.poster .pt, .poster .play{ position:relative; z-index:1; }
.poster.has-thumb .pt{ color:#FAF5EC; text-shadow:0 1px 12px rgba(13,16,35,.6); }
.poster.has-thumb .play{ color:#DCD6E6; }
.poster iframe{ z-index:2; }

/* ---------- Add to your phone (PWA) ---------- */
dialog.guide{ width:min(440px, calc(100vw - 32px)); border:1px solid var(--rekha); border-radius:18px; background:var(--card); color:var(--ink); padding:28px; font-family:var(--body); font-size:18px; line-height:1.65; box-shadow:0 30px 70px -30px rgb(var(--shadow) / .55); }
dialog.guide::backdrop{ background:rgb(13 16 35 / .55); }
dialog.guide h2{ font-family:var(--display); font-size:26px; font-weight:600; line-height:1.35; margin:6px 0 14px; }
dialog.guide ol{ margin:0 0 14px; padding-left:22px; display:grid; gap:8px; }
dialog.guide p{ margin:0 0 12px; }
dialog.guide .small{ font-size:var(--fs-xs); color:var(--muted); }
dialog.guide .btn{ margin-top:6px; }
.install-card{ max-width:820px; }
.install-nudge{ font-size:var(--fs-sm); color:var(--ink-2); margin-top:6px; }
.install-nudge button{ font:inherit; background:none; border:0; padding:0; color:var(--ink); text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.poster .offline-note{ position:absolute; left:12px; right:12px; bottom:12px; z-index:3; background:rgb(13 16 35 / .82); color:#F3EEE3; font-size:16px; text-align:center; padding:8px 10px; border-radius:10px; }

/* ---------- साथ रहो: YouTube and Instagram ---------- */
.follow{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:14px; flex:1 1 380px; max-width:520px; }
.follow-card{ display:flex; align-items:center; gap:14px; min-width:0; padding:18px 20px; border-radius:16px; border:1px solid color-mix(in srgb, var(--on-deep) 22%, transparent); background:color-mix(in srgb, var(--on-deep) 6%, transparent); color:var(--on-deep); text-decoration:none; transition:transform .35s var(--ease), background .3s, border-color .3s; }
.follow-card:hover{ transform:translateY(-2px); background:color-mix(in srgb, var(--on-deep) 11%, transparent); border-color:var(--gold); }
.follow-card span{ display:grid; min-width:0; }
.follow-card b{ font-size:19px; font-weight:600; }
.follow-card small{ font-size:16px; color:var(--on-deep-2); overflow:hidden; text-overflow:ellipsis; }
.follow-card i{ margin-left:auto; font-style:normal; color:var(--gold); }
@media (max-width:520px){ .follow{ grid-template-columns:1fr; } }

/* ---------- Pre-launch review fixes (2026-11-21) ---------- */
/* UI borders need 3:1 against their ground (WCAG 1.4.11); --rekha stays for decorative rules */
:root{ --line-ui:#8C7E66; }
:root[data-sky="raat"]{ --line-ui:#737AA0; --deep:#262C52; }
.chip, .search, .faq details, .menu-btn{ border-color:var(--line-ui); }
:root[data-sky="raat"] .card.deep, :root[data-sky="raat"] .st.top, :root[data-sky="raat"] .band{ box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--gold) 35%, transparent); }
/* English lines and focus rings on deep surfaces */
.deep-sec .en, .band .en{ color:var(--on-deep-2); }
.deep-sec :focus-visible, .band :focus-visible, .card.deep:focus-visible, .st.top:focus-visible{ outline-color:var(--gold); }
/* two-column blocks that must stack on phones */
.split{ display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:clamp(28px,5vw,72px); }
@media (max-width:820px){ .split{ grid-template-columns:1fr; } }
/* home hero on phones: words and buttons first, the horizon after them */
@media (max-width:600px){
  .hero{ padding-top:12px; }
  .hero .scene{ order:1; max-width:340px; }
  .hero-text{ gap:14px; }
  .hero h1{ font-size:36px; }
}
/* pill buttons keep their size inside grids */
.btn{ justify-self:start; }
/* breath lamp */
.recipe-line{ font-size:var(--fs-sm); color:var(--muted); }
.count b:empty{ display:none; }
.stage{ max-width:min(440px, 60vh); }
/* reels: two posters a row on phones; empty state */
@media (max-width:620px){
  .rgrid{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px; }
  .rgrid .poster{ padding:12px; border-radius:12px; }
  .rgrid .poster .pt{ font-size:17px; }
}
.reel-empty{ display:grid; gap:12px; justify-items:start; padding:18px 0; color:var(--ink-2); }
.poster.playing{ padding:0; }
/* calmer wrapping for Hindi lines */
.quote, .lead, .band p, .answer-first, .en{ text-wrap:pretty; }
.h1, .h2, .hero h1{ text-wrap:balance; }
/* comfortable tap targets for small links */
.foot-col{ gap:2px; }
.foot-col a, .crumbs a{ display:inline-block; padding-block:6px; }
/* the phone menu scrolls in landscape */
@media (max-width:980px){ nav.main{ max-height:calc(100dvh - 74px); overflow-y:auto; } }
/* the install guide never shows inline where <dialog> is unsupported */
dialog.guide:not([open]){ display:none; }
@media (prefers-reduced-motion: reduce){
  .poster > img, .follow-card, .chip, .tlink, .btn{ transition:none !important; }
  .poster:hover > img, .follow-card:hover, .btn.solid:hover{ transform:none !important; }
}
