/* SADHANA website — structure shared by both looks. Colours, fonts and
   surfaces come from tokens that aurora.css (new look) and classic.css
   (classic look) define on html[data-look=…]. */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--bg); font-family: var(--body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img, video, svg { max-width: 100%; display: block; }
a { color: var(--link); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; font-weight: var(--display-weight); letter-spacing: var(--display-track); }
h1 { font-size: clamp(36px, 6vw, 68px); }
h2 { font-size: clamp(28px, 4vw, 46px); }
h3 { font-size: 19px; }
p { margin: 0 0 12px; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--card-solid); color: var(--ink); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.fine { font-size: 13.5px; color: var(--muted); }
.kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--kicker); margin-bottom: 10px; }
.h-sm { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 18px; }
.h-md { font-size: clamp(26px, 3.4vw, 40px); }
em { font-style: normal; }
h2 em, h1 em { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Layout ─────────────────────────────────────────────────────────── */
main { position: relative; z-index: 1; min-height: 70vh; outline: none; }
.block { width: min(1220px, 100% - 32px); margin: 0 auto; padding: clamp(36px, 6vw, 72px) 0 0; }
.block.narrow, .page-head.narrow { width: min(820px, 100% - 32px); }
.page-head { padding-top: clamp(28px, 5vw, 56px); }
.page-head .lead { max-width: 720px; }
.sec-head { margin-bottom: 26px; max-width: 760px; }
.sec-head p { color: var(--muted); margin-top: 10px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.more { margin-top: 24px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); }
.crumbs { width: min(1220px, 100% - 32px); margin: 22px auto 0; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* ── Header ─────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 10px; z-index: 50; width: min(1240px, 100% - 20px); margin: 10px auto 0; display: flex; align-items: center; gap: 14px; padding: 8px 10px 8px 14px; border-radius: var(--r-pill); background: var(--nav-bg); border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); box-shadow: var(--nav-shadow); transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.nav.hide { transform: translateY(-130%); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: .28em; font-size: 14px; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav-links { display: flex; gap: 4px; margin-left: 10px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 650; font-size: 14px; padding: 8px 12px; border-radius: var(--r-pill); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: var(--hover); }
.nav-links a.on { color: var(--ink); background: var(--hover-strong); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.look-switch { display: inline-flex; padding: 3px; border-radius: var(--r-pill); background: var(--hover); border: 1px solid var(--line); }
.look-switch button { border: 0; background: transparent; padding: 6px 10px; border-radius: var(--r-pill); cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--muted); display: inline-flex; gap: 5px; align-items: center; transition: background .25s, color .25s; }
.look-switch button[aria-pressed="true"] { background: var(--switch-on); color: var(--switch-on-ink); box-shadow: var(--switch-shadow); }
.acct-chip { font-size: 13px; font-weight: 700; text-decoration: none; color: var(--ink); padding: 7px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); white-space: nowrap; }
.burger { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; border-radius: 12px; }
.burger span { display: block; height: 2px; margin: 7px 10px; background: var(--ink); border-radius: 2px; transition: transform .3s; }
.nav.menu .burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav.menu .burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ── Buttons, chips, status ─────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: var(--r-btn); font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer; border: 0; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, filter .25s; white-space: nowrap; }
.btn.small { padding: 9px 16px; font-size: 13.5px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-main { color: var(--btn-ink); background: var(--grad-btn); box-shadow: var(--btn-shadow); }
.btn-main:hover { box-shadow: var(--btn-shadow-hover); filter: saturate(1.1); }
.btn-soft { color: var(--ink); background: var(--soft-bg); border: 1px solid var(--line); }
.btn-soft:hover { background: var(--hover-strong); }
.btn-ghost { color: var(--ink-soft); background: transparent; border: 1px solid var(--line); }
.link-btn { border: 0; background: none; color: var(--link); cursor: pointer; padding: 0 4px; font-weight: 700; text-decoration: underline; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--soft-bg); color: var(--ink-soft); font-weight: 650; font-size: 14px; text-decoration: none; cursor: pointer; transition: all .2s; }
.chips.small .chip { font-size: 12.5px; padding: 6px 12px; }
.chip:hover { color: var(--ink); border-color: var(--line-strong); }
.chip.on { background: var(--chip-on); color: var(--chip-on-ink); border-color: transparent; }
.status { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; padding: 3px 10px; border-radius: var(--r-pill); white-space: nowrap; }
.s-ok { background: var(--st-ok-bg); color: var(--st-ok); }
.s-in { background: var(--st-in-bg); color: var(--st-in); }
.s-soon { background: var(--st-soon-bg); color: var(--st-soon); }
.s-dev { background: var(--st-dev-bg); color: var(--st-dev); }
.s-plan { background: var(--st-plan-bg); color: var(--st-plan); }
.s-new { background: var(--grad-btn); color: var(--btn-ink); }
.tag { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--muted); text-decoration: none; }

/* ── Cards ──────────────────────────────────────────────────────────── */
.card { position: relative; display: block; padding: 22px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--card-shadow); color: var(--ink); text-decoration: none; backdrop-filter: var(--card-blur); -webkit-backdrop-filter: var(--card-blur); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; overflow: hidden; isolation: isolate; }
.card::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), var(--spot), transparent 60%); }
a.card:hover, .card.app-card:hover { transform: translateY(-5px); box-shadow: var(--card-shadow-hover); border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.card p { color: var(--ink-soft); margin: 10px 0 0; }
.card-top { display: flex; gap: 14px; align-items: center; }
.card-top h3 { margin-bottom: 5px; }
.card-go { position: absolute; right: 18px; top: 18px; font-weight: 800; color: var(--muted); transition: transform .3s, color .3s; }
a.card:hover .card-go { transform: translateX(4px); color: var(--ink); }
.app-card .ms { font-size: 13.5px; }
.app-card .why { font-weight: 600; color: var(--ink); }
.as-btn { margin-top: 14px; }
.ico { width: var(--s, 56px); height: var(--s, 56px); border-radius: 22%; object-fit: cover; flex: none; box-shadow: var(--ico-shadow); }
.ico.round { border-radius: 50%; }
.ico.mono { display: inline-grid; place-items: center; font-weight: 800; font-size: calc(var(--s, 56px) * .36); color: #fff; background: var(--grad-mono); letter-spacing: .02em; }
.help-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.hc-ico { font-size: 30px; display: block; margin-bottom: 10px; }

/* ── Hero & journey ─────────────────────────────────────────────────── */
.hero { width: min(1240px, 100% - 32px); margin: 0 auto; padding-top: clamp(20px, 4vw, 44px); }
.hero-count { text-align: center; }
.acct { min-height: 74px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.acct-n { font-family: var(--count-font); font-weight: 800; font-size: clamp(54px, 9vw, 92px); line-height: 1; letter-spacing: -.02em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.acct-na { font-size: 54px; color: var(--muted); line-height: 1; }
.journey { position: relative; height: 112px; margin: 10px auto 0; width: min(980px, 100%); --p: 0%; }
.j-track { position: absolute; left: 0; right: 0; top: 30px; height: 10px; border-radius: 99px; background: var(--track); overflow: hidden; }
.j-fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--grad-btn); border-radius: 99px; transition: transform 1.8s cubic-bezier(.2,.8,.2,1) .2s; }
.journey.live .j-fill { transform: scaleX(calc(var(--p-num, 0))); }
.j-beyond { position: absolute; left: var(--last, 44%); right: 0; top: 0; bottom: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent); mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent); }
.j-beyond::before { content: ''; position: absolute; top: 3px; height: 4px; left: -40px; right: 0; background: repeating-linear-gradient(90deg, var(--beyond) 0 14px, transparent 14px 26px); animation: march 2.6s linear infinite; }
@keyframes march { to { transform: translateX(26px); } }
.j-traveller { position: absolute; top: -5px; left: 0; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--traveller); box-shadow: 0 0 0 6px var(--traveller-ring), 0 0 24px var(--traveller-glow); transform: translateX(0); opacity: 0; transition: opacity .6s; animation: breathe 2.8s ease-in-out infinite; }
.journey.live .j-traveller { opacity: 1; left: var(--p); transition: left 1.8s cubic-bezier(.2,.8,.2,1) .2s, opacity .6s; }
@keyframes breathe { 50% { box-shadow: 0 0 0 10px transparent, 0 0 30px var(--traveller-glow); } }
.j-mark { position: absolute; left: var(--x); top: 14px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); width: 140px; opacity: 0; animation: pop .6s cubic-bezier(.2,1.4,.4,1) forwards; animation-delay: calc(.5s + var(--d) * .18s); }
.j-dot { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--card-solid); border: 2px solid var(--line-strong); box-shadow: var(--card-shadow); transition: transform .3s; }
.j-dot img { width: 26px; height: 26px; border-radius: 7px; }
.j-mark:hover .j-dot { transform: scale(1.12); }
.j-mark.reached .j-dot { border-color: var(--reached); }
.j-label { margin-top: 6px; text-align: center; line-height: 1.2; }
.j-label b { display: block; font-size: 12.5px; }
.j-label small { font-size: 11.5px; color: var(--muted); }
@keyframes pop { from { opacity: 0; transform: translateX(-50%) translateY(8px) scale(.8); } to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; margin-top: 20px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--soft-bg); font-weight: 700; font-size: 13px; color: var(--kicker); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 var(--accent-soft); } 70%, 100% { box-shadow: 0 0 0 12px transparent; } }
.hero h1 { font-size: clamp(56px, 10vw, 140px); margin: 14px 0 8px; letter-spacing: var(--hero-track); }
.shine { background: var(--grad-shine); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 9s ease-in-out infinite; }
@keyframes shine { 50% { background-position: 100% 50%; } }
.phones { position: relative; height: 520px; }
.phone { position: absolute; margin: 0; width: 210px; aspect-ratio: 412 / 860; border-radius: 30px; overflow: hidden; border: 6px solid var(--phone-edge); background: var(--phone-edge); box-shadow: var(--phone-shadow); animation: float 9s ease-in-out infinite; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.p1 { left: 4%; top: 70px; transform: rotate(-8deg); animation-delay: -3s; }
.p2 { left: 32%; top: 0; z-index: 2; width: 236px; }
.p3 { right: 2%; top: 80px; transform: rotate(8deg); animation-delay: -6s; }
@keyframes float { 50% { translate: 0 -14px; } }

/* ── Search ─────────────────────────────────────────────────────────── */
.search-hero { text-align: center; }
.search-hero h2 { margin-bottom: 18px; }
.search-hero .chips { justify-content: center; }
.searchbox { display: flex; align-items: center; gap: 8px; max-width: 720px; margin: 18px auto 0; padding: 8px 8px 8px 18px; border-radius: var(--r-pill); background: var(--input-bg); border: 1px solid var(--line-strong); box-shadow: var(--card-shadow); transition: box-shadow .3s, border-color .3s; }
.page-head .searchbox { margin-left: 0; }
.searchbox:focus-within { border-color: var(--focus); box-shadow: 0 0 0 4px var(--focus-ring), var(--card-shadow); }
.searchbox input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 0; font-size: 16px; outline: none; }
.s-ico { font-size: 22px; color: var(--muted); }
.instant { max-width: 720px; margin: 10px auto 0; text-align: left; border-radius: var(--r-card); background: var(--card-solid); border: 1px solid var(--line); box-shadow: var(--card-shadow-hover); overflow: hidden; animation: drop .25s ease-out; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.hit { display: flex; align-items: center; gap: 12px; padding: 10px 14px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.hit:hover { background: var(--hover); }
.hit span { flex: 1; min-width: 0; }
.hit b { display: block; }
.hit small { color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hit.all { justify-content: center; font-weight: 700; color: var(--link); border: 0; }
.empty { padding: 14px; color: var(--muted); }
.count-line { color: var(--muted); font-size: 14px; margin-bottom: 14px; }

/* ── Discover ───────────────────────────────────────────────────────── */
.need-chips, .need-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.need-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.need { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--r-btn); background: var(--card); border: 1px solid var(--card-line); color: var(--ink); font-weight: 650; text-decoration: none; cursor: pointer; text-align: left; transition: transform .25s, box-shadow .25s, background .25s; }
.need span { font-size: 22px; }
.need:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.need.big { padding: 18px; font-size: 15.5px; }
.need.on { background: var(--chip-on); color: var(--chip-on-ink); border-color: transparent; box-shadow: var(--btn-shadow); }
.suggest { margin-top: 30px; }
.suggest .grid { animation: rise .5s cubic-bezier(.2,.8,.2,1); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.temple-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.temple-teaser .searchbox { margin: 0; }
.upcoming .card { padding-bottom: 20px; }
.also { margin-top: 18px; color: var(--muted); font-size: 14.5px; }
.also a { color: var(--ink); }

/* ── What's new, videos ─────────────────────────────────────────────── */
.news { list-style: none; padding: 0; margin: 0; position: relative; }
.news::before { content: ''; position: absolute; left: 112px; top: 6px; bottom: 6px; width: 2px; background: var(--track); }
.news li { display: grid; grid-template-columns: 100px 1fr; gap: 30px; padding: 0 0 26px; position: relative; }
.news li::before { content: ''; position: absolute; left: 106px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--grad-btn); box-shadow: 0 0 0 4px var(--bg); }
.news time { font-weight: 800; font-size: 13.5px; color: var(--kicker); padding-top: 2px; }
.news h3 { margin-bottom: 4px; }
.news p { color: var(--ink-soft); margin: 0 0 6px; }
.news-apps { display: flex; flex-wrap: wrap; gap: 6px; }
.news-apps a { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; text-decoration: none; padding: 3px 10px 3px 4px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--ink); }
.news-apps .ico, .news-apps .ico.mono { --s: 20px; width: 20px; height: 20px; border-radius: 6px; box-shadow: none; font-size: 8px; }
.videos { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.video { margin: 0; flex: 1 1 420px; max-width: 760px; border-radius: var(--r-card); overflow: hidden; background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--card-shadow); }
.video.portrait { flex: 0 1 300px; }
.video video { width: 100%; background: #000; aspect-ratio: 16 / 9; object-fit: contain; }
.video.portrait video { aspect-ratio: 9 / 16; max-height: 560px; }
.video figcaption { padding: 12px 16px; font-weight: 700; font-size: 14.5px; }

/* ── Detail page ────────────────────────────────────────────────────── */
.detail-hero { position: relative; width: min(1220px, 100% - 32px); margin: 18px auto 0; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: clamp(22px, 4vw, 40px); border-radius: calc(var(--r-card) + 8px); background: var(--hero-card); border: 1px solid var(--card-line); box-shadow: var(--card-shadow); overflow: hidden; }
[data-profile] .detail-hero { width: 100%; }
.detail-hero .cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .12; z-index: 0; }
.dh-icon, .dh-copy { position: relative; z-index: 1; }
.dh-icon .ico { --s: 112px; width: 112px; height: 112px; animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-2deg); } }
.dh-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.dh-copy h1 { font-size: clamp(34px, 5vw, 58px); }
.apk-meta { margin-top: 10px; }
.notice { width: min(1220px, 100% - 32px); margin: 18px auto 0; padding: 14px 18px; border-radius: var(--r-btn); border: 1px solid var(--line); background: var(--soft-bg); }
.notice.under-development, .notice.planned { border-color: var(--st-dev); background: var(--st-dev-bg); }
.notice.coming-soon { border-color: var(--st-soon); background: var(--st-soon-bg); }
.detail-grid { width: min(1220px, 100% - 32px); margin: 18px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
[data-profile] .detail-grid { width: 100%; }
.detail-grid .card { padding: clamp(20px, 3vw, 30px); }
.detail-grid h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 12px; }
.detail-grid h3 { margin: 18px 0 8px; font-size: 16.5px; }
.ticks, .dots, .steps { padding: 0; margin: 0; list-style: none; }
.ticks li, .dots li { position: relative; padding: 6px 0 6px 30px; color: var(--ink-soft); }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; color: var(--btn-ink); background: var(--grad-btn); }
.dots li::before { content: ''; position: absolute; left: 8px; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.steps { counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 8px 0 8px 44px; color: var(--ink-soft); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 6px; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: var(--btn-ink); background: var(--grad-btn); }
.where { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--soft-bg); }
details { border-top: 1px solid var(--line); padding: 12px 0; }
details:first-of-type { border-top: 0; }
summary { cursor: pointer; font-weight: 700; list-style: none; position: relative; padding-right: 26px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 2px; top: -2px; font-size: 20px; color: var(--muted); transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 10px 0 0; color: var(--ink-soft); }
details.card { margin-bottom: 10px; padding: 16px 20px; }
.support-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.gallery { display: flex; gap: 18px; overflow-x: auto; padding: 4px 4px 18px; scroll-snap-type: x mandatory; }
.shot { margin: 0; flex: none; scroll-snap-align: start; border-radius: var(--r-card); overflow: hidden; background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--card-shadow); }
.shot.screenshot img { width: 230px; aspect-ratio: 412 / 860; object-fit: cover; object-position: top; }
.shot.screenshot.wide img { width: min(640px, 80vw); aspect-ratio: 16 / 10; }
.shot.artwork img { width: 260px; aspect-ratio: 1; object-fit: contain; background: var(--art-bg); }
.shot figcaption { padding: 10px 14px; font-size: 13px; color: var(--ink-soft); max-width: 260px; }
.shot.wide figcaption { max-width: min(640px, 80vw); }
.badge { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 6px; background: var(--soft-bg); color: var(--kicker); margin-right: 4px; }
.fallback-art { display: flex; align-items: center; gap: 18px; }
.fallback-art p { margin: 0; }
.lock-note { display: inline-block; margin-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--muted); }

/* ── Forms ──────────────────────────────────────────────────────────── */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 650; font-size: 14.5px; }
.form input:not([type=radio]):not([type=checkbox]), .form select, .form textarea { width: 100%; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--input-bg); font-size: 16px; font-weight: 500; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 4px var(--focus-ring); }
.form textarea { resize: vertical; min-height: 110px; }
.row2 { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; }
.choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.choice legend { font-weight: 650; font-size: 14.5px; margin-bottom: 8px; width: 100%; }
.opt { display: inline-flex !important; grid-auto-flow: column; align-items: center; gap: 8px !important; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft-bg); cursor: pointer; font-weight: 600 !important; transition: border-color .2s, background .2s; }
.opt:has(input:checked) { border-color: var(--focus); background: var(--focus-ring); }
.opt input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.consent { display: flex !important; align-items: flex-start; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { color: var(--error); font-weight: 650; min-height: 1px; margin: 0; }
.form-msg:empty { display: none; }
.form-nav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.form-card { padding: clamp(20px, 4vw, 34px); }
.form-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.stepper { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 22px; counter-reset: s; }
.stepper li { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.stepper li span { display: block; height: 6px; border-radius: 6px; background: var(--track); font-size: 0; transition: background .4s; }
.stepper li.on, .stepper li.done { color: var(--ink); }
.stepper li.on span, .stepper li.done span { background: var(--grad-btn); }
.kv { display: grid; grid-template-columns: minmax(110px, 30%) 1fr; gap: 6px 16px; margin: 0 0 6px; }
.kv dt { color: var(--muted); font-size: 14px; }
.kv dd { margin: 0; font-weight: 600; word-break: break-word; }
.review { padding: 16px; border-radius: 16px; background: var(--soft-bg); margin-bottom: 20px; }
.done { text-align: center; padding: 10px 0; }
.done-mark { width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; font-weight: 900; color: var(--btn-ink); background: var(--grad-btn); box-shadow: var(--btn-shadow); animation: popin .7s cubic-bezier(.2,1.5,.4,1); }
@keyframes popin { from { transform: scale(.3); opacity: 0; } }
.done .ref { font-size: 18px; margin-top: 14px; }
.done .ref b { font-family: ui-monospace, Consolas, monospace; letter-spacing: .06em; padding: 4px 10px; border-radius: 10px; background: var(--soft-bg); border: 1px dashed var(--line-strong); }
.done .cta { justify-content: center; }
.empty-state { text-align: center; padding: 36px 16px; border-radius: var(--r-card); border: 1px dashed var(--line-strong); color: var(--ink-soft); }
.empty-state.error { border-color: var(--error); }
.loading-row { display: flex; align-items: center; gap: 12px; color: var(--muted); padding: 20px 0; }

/* The loading mark: a small japa mala whose beads light in turn. */
.mala { position: relative; display: inline-block; width: 34px; height: 34px; flex: none; }
.mala i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--bead); transform: rotate(calc(var(--i) * 30deg)) translateY(-14px); opacity: .25; animation: bead 1.2s linear infinite; animation-delay: calc(var(--i) * .1s); }
@keyframes bead { 0%, 20% { opacity: 1; } 100% { opacity: .25; } }

/* ── Downloads, guides ──────────────────────────────────────────────── */
.dl-list { display: grid; gap: 14px; }
.dl { display: flex; align-items: center; gap: 18px; }
.dl-body { flex: 1; min-width: 0; }
.dl-body h3 a { color: var(--ink); text-decoration: none; }
.dl-body p { margin: 4px 0 0; }
.dl-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.guide { display: flex; align-items: center; gap: 12px; padding: 16px; }
.guide span { flex: 1; font-weight: 700; }
.guide small { font-weight: 800; font-size: 11px; color: var(--kicker); }

/* ── Verse & footer ─────────────────────────────────────────────────── */
.verse { width: min(900px, 100% - 32px); margin: 0 auto; padding: clamp(50px, 8vw, 90px) 0 10px; text-align: center; }
.verse .sa { font-family: 'Tiro Devanagari Sanskrit', 'Nirmala UI', serif; font-size: clamp(19px, 2.6vw, 28px); line-height: 1.8; color: var(--verse); }
.verse .ref { color: var(--muted); font-size: 14.5px; }
.foot { position: relative; z-index: 1; margin-top: 70px; padding: 50px 16px 36px; border-top: 1px solid var(--line); background: var(--foot-bg); }
.dedication { text-align: center; margin-bottom: 34px; }
.dedication .small-caps { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--kicker); margin: 0; }
.dedication .name { font-family: var(--display); font-size: clamp(20px, 2.6vw, 28px); margin: 8px 0 4px; }
.dedication .small { color: var(--muted); font-size: 13.5px; }
.foot-grid { width: min(1220px, 100%); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; justify-content: space-between; }
.foot-grid nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-grid nav a { color: var(--ink-soft); text-decoration: none; font-size: 14px; }
.foot-grid nav a:hover { color: var(--ink); }

/* ── Ambient sky ─────────────────────────────────────────────────────── */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; contain: strict; }
.aura { position: absolute; border-radius: 50%; will-change: transform; }
.a1 { width: 70vmax; height: 70vmax; left: -22vmax; top: -30vmax; background: radial-gradient(circle, var(--aura1) 0%, transparent 62%); animation: drift1 38s ease-in-out infinite alternate; }
.a2 { width: 62vmax; height: 62vmax; right: -24vmax; top: -10vmax; background: radial-gradient(circle, var(--aura2) 0%, transparent 62%); animation: drift2 46s ease-in-out infinite alternate; }
.a3 { width: 64vmax; height: 64vmax; left: 10vmax; bottom: -40vmax; background: radial-gradient(circle, var(--aura3) 0%, transparent 62%); animation: drift3 52s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate3d(14vmax, 10vmax, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-12vmax, 16vmax, 0) scale(.9); } }
@keyframes drift3 { to { transform: translate3d(10vmax, -12vmax, 0) scale(1.1); } }
.mandala { position: absolute; width: min(1000px, 130vmin); height: min(1000px, 130vmin); left: 50%; top: 4vh; margin-left: calc(min(1000px, 130vmin) / -2); opacity: var(--mandala-opacity); }
.mandala .m-ring { transform-origin: 0 0; fill: none; stroke: var(--mandala); stroke-width: 1; will-change: transform; }
.mandala .r1 { animation: turn 120s linear infinite; }
.mandala .r2 { animation: turn 180s linear infinite reverse; }
.mandala .r3 { animation: turn 240s linear infinite; }
.mandala .m-core { fill: none; stroke: var(--mandala); stroke-width: 1.2; }
.mandala .m-line { fill: none; stroke: var(--mandala); stroke-width: .6; stroke-dasharray: 2 6; }
@keyframes turn { to { transform: rotate(360deg); } }
.sparks i { position: absolute; bottom: -20px; width: var(--sz, 6px); height: var(--sz, 6px); border-radius: 50%; background: radial-gradient(circle, var(--spark) 0%, transparent 70%); opacity: 0; will-change: transform, opacity; animation: rise-spark var(--dur, 16s) linear infinite; animation-delay: var(--del, 0s); }
@keyframes rise-spark { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 10% { opacity: var(--spark-o, .9); } 80% { opacity: var(--spark-o, .9); } 100% { transform: translate3d(var(--sway, 30px), -105vh, 0); opacity: 0; } }
.sparks i:nth-child(1) { left: 6%; --dur: 18s; --del: -2s; --sz: 7px; }
.sparks i:nth-child(2) { left: 14%; --dur: 23s; --del: -11s; --sway: -40px; }
.sparks i:nth-child(3) { left: 22%; --dur: 16s; --del: -6s; --sz: 9px; }
.sparks i:nth-child(4) { left: 31%; --dur: 26s; --del: -19s; --sway: 50px; }
.sparks i:nth-child(5) { left: 39%; --dur: 20s; --del: -3s; --sz: 5px; }
.sparks i:nth-child(6) { left: 47%; --dur: 24s; --del: -14s; --sway: -30px; --sz: 8px; }
.sparks i:nth-child(7) { left: 55%; --dur: 17s; --del: -9s; }
.sparks i:nth-child(8) { left: 63%; --dur: 22s; --del: -1s; --sz: 10px; --sway: 40px; }
.sparks i:nth-child(9) { left: 71%; --dur: 19s; --del: -16s; }
.sparks i:nth-child(10) { left: 79%; --dur: 25s; --del: -7s; --sway: -50px; --sz: 7px; }
.sparks i:nth-child(11) { left: 87%; --dur: 21s; --del: -12s; }
.sparks i:nth-child(12) { left: 94%; --dur: 18s; --del: -5s; --sz: 9px; }
.sparks i:nth-child(13) { left: 10%; --dur: 28s; --del: -22s; --sz: 5px; }
.sparks i:nth-child(14) { left: 35%; --dur: 30s; --del: -25s; --sz: 6px; }
.sparks i:nth-child(15) { left: 59%; --dur: 27s; --del: -18s; --sz: 5px; }
.sparks i:nth-child(16) { left: 83%; --dur: 29s; --del: -27s; --sz: 6px; }
.petals i { position: absolute; top: -40px; width: 16px; height: 22px; border-radius: 0 100% 0 100%; background: var(--petal); opacity: 0; will-change: transform, opacity; animation: fall var(--dur, 30s) linear infinite; animation-delay: var(--del, 0s); }
@keyframes fall { 0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; } 8% { opacity: var(--petal-o, .7); } 90% { opacity: var(--petal-o, .7); } 100% { transform: translate3d(var(--sway, 120px), 110vh, 0) rotate(540deg); opacity: 0; } }
.petals i:nth-child(1) { left: 12%; --dur: 34s; --del: -4s; }
.petals i:nth-child(2) { left: 28%; --dur: 42s; --del: -20s; --sway: -100px; transform: scale(.8); }
.petals i:nth-child(3) { left: 52%; --dur: 38s; --del: -12s; }
.petals i:nth-child(4) { left: 70%; --dur: 46s; --del: -30s; --sway: -140px; }
.petals i:nth-child(5) { left: 86%; --dur: 36s; --del: -8s; }
.petals i:nth-child(6) { left: 40%; --dur: 50s; --del: -38s; --sway: 80px; }
.paused .sky *, .paused .sky, .paused .j-beyond::before, .paused .j-traveller, .paused .phone, .paused .shine, .paused .dh-icon .ico { animation-play-state: paused !important; }

/* ── Opening (boot) ──────────────────────────────────────────────────── */
.boot { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; align-content: center; gap: 16px; background: var(--boot-bg); transition: opacity .6s ease, visibility .6s; }
.boot.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-mala { width: 150px; height: 150px; animation: turn 14s linear infinite; }
.boot-mala circle { opacity: .18; animation: bead-on 2.7s linear infinite; animation-delay: calc(var(--i) * .1s); transform-origin: center; }
@keyframes bead-on { 0%, 12% { opacity: 1; } 100% { opacity: .18; } }
.boot .lotus { stroke: var(--lotus); stroke-width: 3; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1.6s cubic-bezier(.6,0,.2,1) forwards; }
.boot-mala .lotus { animation: draw 1.6s cubic-bezier(.6,0,.2,1) forwards, counter 14s linear infinite; transform-origin: 100px 100px; }
@keyframes counter { to { transform: rotate(-360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.boot-word { margin: 0; font-weight: 800; letter-spacing: .5em; text-indent: .5em; font-size: 15px; color: var(--ink); opacity: 0; animation: fadein .8s .3s forwards; }
@keyframes fadein { to { opacity: 1; } }

/* ── Reveal & page transitions ──────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.8,.2,1) var(--delay, 0ms), transform .8s cubic-bezier(.2,.8,.2,1) var(--delay, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
#view.enter { animation: page-in .45s cubic-bezier(.2,.8,.2,1); }
@keyframes page-in { from { opacity: 0; transform: translateY(12px); } }
::view-transition-old(root) { animation: vt-out .25s ease both; }
::view-transition-new(root) { animation: vt-in .4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); flex-direction: column; padding: 10px; border-radius: 22px; background: var(--card-solid); border: 1px solid var(--line); box-shadow: var(--card-shadow-hover); margin: 0; }
  .nav.menu .nav-links { display: flex; animation: drop .25s ease-out; }
  .nav-links a { padding: 12px 14px; font-size: 15.5px; }
  .burger { display: block; }
}
@media (max-width: 900px) {
  .hero-grid, .detail-grid, .temple-teaser { grid-template-columns: 1fr; }
  .phones { height: 380px; }
  .phone { width: 150px; border-width: 4px; border-radius: 22px; }
  .p2 { width: 170px; left: calc(50% - 85px); }
  .p1 { left: 2%; top: 50px; }
  .p3 { right: 2%; top: 60px; }
  .detail-hero { grid-template-columns: 1fr; text-align: left; }
  .dh-icon .ico { --s: 84px; width: 84px; height: 84px; }
}
@media (max-width: 640px) {
  .open-main { display: none; }
  .look-switch b { display: none; }
  .look-switch button { padding: 6px 9px; }
  .brand span { display: none; }
  .nav { gap: 8px; }
  .acct-chip { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
  .journey { height: 132px; }
  .j-mark { width: 92px; }
  .j-label b { font-size: 11px; }
  .j-label small { font-size: 10px; }
  .j-dot { width: 34px; height: 34px; }
  .j-dot img { width: 20px; height: 20px; }
  .news::before { left: 6px; }
  .news li { grid-template-columns: 1fr; gap: 4px; padding-left: 28px; }
  .news li::before { left: 0; }
  .row2 { grid-template-columns: 1fr; }
  .dl { flex-wrap: wrap; }
  .sparks i:nth-child(n+11), .petals i:nth-child(n+4) { display: none; }
  .mandala { top: 2vh; }
  .stepper li { font-size: 0; }
  .kv { grid-template-columns: 1fr; }
  .kv dd { margin-bottom: 8px; }
}

/* Unreleased tools: visible, not openable (js/release_gate.js). */
a.soon-off { cursor: default; pointer-events: none; }
a.soon-off img, a.soon-off .art { filter: grayscale(.55); opacity: .8; }
.status.s-soon { white-space: nowrap; }
