@import url("/assets/fonts.css");
/* oggpn — saffron design system. Light, warm, devotional; one memorable thing: the lotus of 1000 petals. */
:root {
  --kesar: #E9822A;        /* saffron — brand, active states, the lotus */
  --kesar-deep: #A84A16;   /* saffron text on ivory (AA) */
  --kesar-soft: #FCE3C8;   /* saffron tint for chips and selected rows */
  --haldi: #F4B63F;        /* turmeric — highlights */
  --sindoor: #C8421C;      /* the First Stroke */
  --ivory: #FFF8EF;        /* page */
  --chandan: #F7E7CE;      /* surfaces */
  --ink: #2B1A10;          /* text */
  --line: rgba(43, 26, 16, .12);
  --script: 'Pinyon Script', cursive; --serif: 'Cormorant Garamond', Georgia, serif; --sans: 'Figtree', system-ui, sans-serif;
  --r-m: 18px; --r-l: 28px;
  --tab: 68px; --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
}
*,*::before,*::after { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; scroll-padding-top:72px; }
body { margin:0; background:var(--ivory); color:var(--ink); font:500 1.125rem/1.62 var(--serif); -webkit-tap-highlight-color:transparent;
  padding-bottom:calc(var(--tab) + var(--safe-b)); }
a { color:inherit; text-decoration-color:rgba(168,74,22,.45); text-underline-offset:.22em; }
a:hover { color:var(--kesar-deep); }
:focus-visible { outline:2.5px solid var(--kesar); outline-offset:3px; border-radius:8px; }
img { max-width:100%; height:auto; display:block; }
h1, h2 { margin:0; font-weight:600; line-height:1.1; }

/* ── app bar ─────────────────────────────────────────────────────────── */
.top { position:sticky; top:0; z-index:20; display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:calc(10px + var(--safe-t)) 16px 10px; background:rgba(255,248,239,.9); backdrop-filter:saturate(1.4) blur(14px);
  border-bottom:1px solid var(--line); }
.brand { display:flex; align-items:center; gap:10px; min-height:44px; text-decoration:none; font:600 1rem/1 var(--sans); letter-spacing:.01em; }
.brand .mark { width:34px; height:26px; }
.top nav { display:none; gap:28px; font:500 .95rem/1 var(--sans); }
.top nav a { text-decoration:none; padding:12px 2px; }
.top nav a[aria-current="page"] { color:var(--kesar-deep); box-shadow:inset 0 -2px 0 var(--kesar); }
.chip { display:inline-flex; align-items:center; min-height:40px; padding:0 14px; border-radius:999px; background:var(--kesar-soft); color:var(--kesar-deep);
  font:600 .88rem/1 var(--sans); text-decoration:none; }
.chip:hover { background:#F9D3A9; color:var(--kesar-deep); }

/* ── tab bar (phones, tablets) ───────────────────────────────────────── */
.tabs { position:fixed; left:0; right:0; bottom:0; z-index:30; height:calc(var(--tab) + var(--safe-b)); padding-bottom:var(--safe-b);
  display:grid; grid-template-columns:repeat(5,1fr); align-items:center; background:rgba(255,248,239,.96); backdrop-filter:blur(14px);
  border-top:1px solid var(--line); }
.tabs a { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-height:56px; text-decoration:none;
  font:600 .72rem/1 var(--sans); color:rgba(43,26,16,.72); }
.tabs svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.tabs a[aria-current="page"] { color:var(--kesar-deep); }
.tabs .lotus-tab { position:relative; top:-14px; }
.tabs .lotus-tab .disc { width:58px; height:58px; border-radius:50%; display:grid; place-items:center; background:var(--kesar);
  box-shadow:0 8px 22px -6px rgba(168,74,22,.55), inset 0 0 0 3px rgba(255,248,239,.5); color:var(--ivory); }
.tabs .lotus-tab svg { width:30px; height:30px; stroke-width:1.6; }

main { max-width:1180px; margin:0 auto; padding:20px 16px 32px; }
.section-title { font:600 1.05rem/1.2 var(--sans); color:var(--kesar-deep); margin:32px 0 14px; }

/* ── buttons ─────────────────────────────────────────────────────────── */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:0 20px; border-radius:999px; border:0;
  font:600 .98rem/1 var(--sans); text-decoration:none; cursor:pointer; background:var(--kesar); color:#2B1A10; transition:transform .2s ease, background .2s ease; }
.btn:hover { background:#F09445; color:#2B1A10; }
.btn:active { transform:scale(.97); }
.btn.dark { background:var(--ink); color:var(--ivory); }
.btn.dark:hover { background:#4A2E1D; color:var(--ivory); }
.btn.ghost { background:transparent; color:var(--ink); box-shadow:inset 0 0 0 1.5px var(--line); }
.btn { white-space:nowrap; }
.btn svg { width:20px; height:20px; flex:0 0 auto; }

/* ── home ────────────────────────────────────────────────────────────── */
.hero { display:grid; gap:12px; align-items:center; }
.hero h1 { font:500 clamp(2.4rem,9vw,4.6rem)/1.02 var(--serif); letter-spacing:-.01em; }
.hero h1 .script { display:block; font:400 1.2em/1 var(--script); color:var(--sindoor); margin-top:.08em; }
.hero p { font-size:1.2rem; max-width:34ch; margin:.6em 0 0; }
.follow { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.lotus-fig { margin:8px 0 0; }
.lotus { width:100%; max-width:560px; margin:0 auto; display:block; touch-action:manipulation; }
.lotus path { fill:none; stroke:rgba(43,26,16,.32); stroke-width:.7; }
.lotus path.on { fill:var(--kesar); stroke:var(--sindoor); cursor:pointer; }
.lotus a:hover path.on, .lotus a:focus-visible path.on { fill:var(--sindoor); }
.lotus .seed { fill:var(--chandan); stroke:var(--haldi); stroke-width:1.2; }
.lotus .om { font:400 50px var(--script); fill:var(--ink); }
figcaption { text-align:center; font:500 .9rem/1.4 var(--sans); margin-top:10px; }
.count { color:var(--kesar-deep); font-weight:700; }

/* rails: swipe sideways on phones, grid on wide screens */
.rail { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(150px,42%); gap:14px; overflow-x:auto; scroll-snap-type:x mandatory;
  padding:4px 16px 14px; margin:0 -16px; scrollbar-width:none; }
.rail::-webkit-scrollbar { display:none; }
.card { scroll-snap-align:start; display:flex; flex-direction:column; text-decoration:none; min-width:0; }
.card .pic { position:relative; border-radius:var(--r-m); overflow:hidden; aspect-ratio:9/16; background:var(--chandan); }
.card img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.card:hover img { transform:scale(1.03); }
.card .n { position:absolute; left:10px; top:10px; padding:5px 10px; border-radius:999px; background:rgba(255,248,239,.9); font:700 .72rem/1 var(--sans); }
.card strong { font:400 1.95rem/1.1 var(--script); margin-top:10px; }
.card em { font-style:italic; line-height:1.3; }
.grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.tags { display:flex; flex-wrap:wrap; gap:10px; }
.tags a { display:inline-flex; align-items:center; min-height:44px; padding:0 16px; border-radius:999px; background:var(--chandan); text-decoration:none; font:600 .92rem/1 var(--sans); }
.tags a:hover { background:var(--kesar-soft); color:var(--kesar-deep); }

/* ── a name (reel page) ──────────────────────────────────────────────── */
.reel { display:grid; gap:0; grid-template-columns:minmax(0,1fr); }
.reel > * { min-width:0; }
.stage { margin:-20px -16px 0; }
.player { position:relative; aspect-ratio:9/16; max-height:78vh; margin:0 auto; background:var(--chandan); overflow:hidden; }
.player img { width:100%; height:100%; object-fit:cover; }
.player iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.player button { position:absolute; inset:0; border:0; background:linear-gradient(180deg,transparent 60%,rgba(43,26,16,.38)); cursor:pointer; }
.player button span { position:absolute; left:50%; top:50%; width:86px; height:86px; margin:-43px 0 0 -43px; border-radius:50%; background:var(--kesar);
  box-shadow:0 12px 30px -8px rgba(168,74,22,.6); transition:transform .2s ease; }
.player button span::after { content:""; position:absolute; left:35px; top:27px; border-left:24px solid var(--ivory); border-top:16px solid transparent; border-bottom:16px solid transparent; }
.player button:hover span { transform:scale(1.06); }
.player.soon p { position:absolute; left:0; right:0; bottom:18px; text-align:center; font:600 .92rem var(--sans); }
.sheet { position:relative; margin:-28px -16px 0; padding:26px 20px 8px; background:var(--ivory); border-radius:var(--r-l) var(--r-l) 0 0;
  box-shadow:0 -10px 30px -18px rgba(43,26,16,.35); }
.sheet::before { content:""; position:absolute; left:50%; top:10px; width:44px; height:4px; margin-left:-22px; border-radius:4px; background:var(--line); }
.num { font:600 .85rem/1 var(--sans); color:var(--kesar-deep); margin:0 0 .5rem; }
.sheet h1 { display:flex; flex-direction:column; }
.sheet .name { font:400 clamp(3.2rem,13vw,5.4rem)/1 var(--script); }
.sheet .mean { font:600 clamp(1.4rem,5vw,2rem)/1.2 var(--serif); margin-top:.15em; }
.iast { font-style:italic; margin:.2em 0 0; }
.actions { display:flex; flex-wrap:wrap; gap:10px; padding:16px 0 4px; }
.actions::-webkit-scrollbar { display:none; }
.actions .btn { flex:0 0 auto; }
.block { padding:18px 0; border-top:1px solid var(--line); }
.block h2 { font:600 1rem/1.2 var(--sans); color:var(--kesar-deep); margin-bottom:.5em; }
.block p { font-size:1.2rem; max-width:62ch; margin:0; }
.msg blockquote { margin:0; padding:18px 20px; border-radius:var(--r-m); background:var(--kesar-soft); font:italic 600 clamp(1.4rem,5vw,2rem)/1.3 var(--serif); }
.src ul, .srcs { margin:0; padding-left:1.1em; font:500 .98rem/1.6 var(--sans); overflow-wrap:anywhere; }
.mantra { font:400 2.3rem/1.2 var(--script); text-align:center; margin:22px 0 8px; color:var(--sindoor); overflow-wrap:anywhere; }
.pn { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; padding:16px 0; }
.pn a, .pn span { display:flex; flex-direction:column; gap:4px; min-height:64px; padding:12px 14px; border-radius:var(--r-m); background:var(--chandan); text-decoration:none; font:600 .85rem/1.2 var(--sans); }
.pn .to { text-align:right; }
.pn b { font:400 1.5rem/1 var(--script); }
.toast { position:fixed; left:50%; bottom:calc(var(--tab) + var(--safe-b) + 16px); transform:translateX(-50%); padding:12px 18px; border-radius:999px;
  background:var(--ink); color:var(--ivory); font:600 .92rem var(--sans); opacity:0; pointer-events:none; transition:opacity .25s ease; z-index:40; }
.toast.show { opacity:1; }
.text h1 { font:500 clamp(2rem,7vw,3.2rem)/1.1 var(--serif); margin-bottom:.4em; }

.foot { max-width:1180px; margin:24px auto 0; padding:24px 16px 32px; border-top:1px solid var(--line); font:500 .95rem/1.6 var(--sans); }
.foot p { margin:.4em 0; }
.foot .small { font-size:.85rem; }

/* ── wider screens ───────────────────────────────────────────────────── */
@media (min-width:720px) {
  .rail { grid-auto-flow:row; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); overflow:visible; margin:0; padding:0; }
  .grid { grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); }
}
@media (min-width:1024px) {
  body { padding-bottom:0; }
  .tabs { display:none; }
  .top { padding:14px clamp(24px,4vw,48px); }
  .top nav { display:flex; align-items:center; }
  main { padding:40px clamp(24px,4vw,48px) 48px; }
  .hero { grid-template-columns:1.05fr 1fr; gap:40px; }
  .reel { grid-template-columns:minmax(320px,420px) minmax(0,1fr); gap:56px; align-items:start; }
  .stage { margin:0; position:sticky; top:96px; }
  .player { border-radius:var(--r-l); box-shadow:0 30px 60px -30px rgba(43,26,16,.5); max-height:none; }
  .sheet { margin:0; padding:0; box-shadow:none; background:none; border-radius:0; }
  .sheet::before { display:none; }
  .toast { bottom:24px; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { transition:none !important; scroll-behavior:auto !important; } }

/* ── the cosmos hero (home) ──────────────────────────────────────────── */
.cosmos { position:relative; height:100svh; min-height:620px; overflow:hidden; background:#12060a; color:#FFF3E2; isolation:isolate; }
.cosmos canvas { position:absolute; inset:0; width:100%; height:100%; display:block; }
.cosmos .paint { mix-blend-mode:screen; opacity:.85; }
.cosmos .deity { position:absolute; left:50%; top:calc(70px + 2svh); width:min(80vw, 46svh); aspect-ratio:1; translate:-50% 0; opacity:0;
  filter:drop-shadow(0 0 28px rgba(255,160,70,.5)) drop-shadow(0 0 80px rgba(255,90,30,.35)); transition:opacity 1.8s ease; will-change:transform; z-index:2; }
.cosmos .deity img { width:100%; height:100%; object-fit:contain; }
.cosmos.risen .deity { opacity:1; }
.cosmos-text { position:absolute; z-index:3; left:16px; right:16px; bottom:calc(var(--tab) + var(--safe-b) + 18px); text-align:center; opacity:0; translate:0 14px;
  transition:opacity 1.4s ease .5s, translate 1.4s ease .5s; }
.cosmos.risen .cosmos-text { opacity:1; translate:0 0; }
.cosmos .pre { margin:0 0 .4rem; font:600 .85rem/1 var(--sans); letter-spacing:.04em; color:#FFD98A; }
.cosmos h1 { font:500 clamp(2rem,8.6vw,4.4rem)/1.02 var(--serif); color:#FFF3E2; text-shadow:0 2px 24px rgba(30,4,6,.6); }
.cosmos h1 .script { display:block; font:400 1.45em/1.05 var(--script); background:linear-gradient(100deg,#FFE3A1 10%,#FFB259 45%,#FF7A3D 80%); -webkit-background-clip:text; background-clip:text; color:transparent;
  filter:drop-shadow(0 2px 18px rgba(255,120,40,.45)); padding:.05em .1em .12em; }
.cosmos .sub { margin:.5em auto 0; max-width:32ch; font-size:1.18rem; color:#FBE6CC; }
.cosmos .cta { display:flex; justify-content:center; gap:10px; margin-top:16px; flex-wrap:wrap; }
.btn.glow { background:linear-gradient(100deg,#FFB259,#FF7A3D); color:#2B1A10; box-shadow:0 10px 34px -10px rgba(255,120,40,.8); }
.btn.glow:hover { background:linear-gradient(100deg,#FFC77E,#FF8B52); color:#2B1A10; }
.btn.halo { background:rgba(255,243,226,.1); color:#FFF3E2; box-shadow:inset 0 0 0 1.5px rgba(255,217,138,.45); backdrop-filter:blur(6px); }
.btn.halo:hover { background:rgba(255,243,226,.18); color:#FFF3E2; }
.cosmos .cue { position:absolute; z-index:3; left:50%; bottom:calc(var(--tab) + var(--safe-b) + 2px); width:1px; height:14px; translate:-50% 0; background:linear-gradient(#FFD98A,transparent); display:none; }
.top.over { position:fixed; left:0; right:0; background:transparent; border-bottom-color:transparent; backdrop-filter:none; color:#FFF3E2; transition:background .3s ease, color .3s ease; }
.top.over .chip { background:rgba(255,243,226,.14); color:#FFF3E2; }
.top.over.solid { background:rgba(255,248,239,.92); backdrop-filter:saturate(1.4) blur(14px); color:var(--ink); border-bottom-color:var(--line); }
.top.over.solid .chip { background:var(--kesar-soft); color:var(--kesar-deep); }
@media (min-width:1024px) {
  .cosmos .deity { left:66%; top:52%; translate:-50% -50%; width:min(42vw, 76svh); }
  .cosmos-text { left:clamp(32px,7vw,120px); right:auto; top:50%; bottom:auto; translate:0 calc(-50% + 14px); max-width:540px; text-align:left; }
  .cosmos.risen .cosmos-text { translate:0 -50%; }
  .cosmos .sub { margin-left:0; }
  .cosmos .cta { justify-content:flex-start; }
  .cosmos .cue { display:block; bottom:28px; height:46px; animation:cue 2.4s ease-in-out infinite; }
}
@keyframes cue { 0%,100% { opacity:.25; transform:scaleY(.6); transform-origin:top; } 50% { opacity:1; transform:scaleY(1); } }
@media (prefers-reduced-motion:reduce) { .cosmos .deity, .cosmos-text { transition:none; } .cosmos .cue { animation:none; } }

.block ol.steps { margin:.2em 0 0; padding-left:1.4em; font-size:1.2rem; max-width:62ch; }
.block ol.steps li { margin:0 0 .7em; padding-left:.2em; }
.block ol.steps li::marker { color:var(--kesar-deep); font-weight:600; }
.block p + p, .block p + ol { margin-top:.7em; }
.player.soon p { position:absolute; left:50%; right:auto; bottom:auto; top:16px; translate:-50% 0; margin:0; padding:6px 14px; border-radius:999px; background:rgba(255,248,239,.9); font:600 .9rem/1.2 var(--sans); color:var(--kesar-deep); white-space:nowrap; }
.disclaimer{margin:1.5rem 0;padding:.9rem 1.1rem;border-left:3px solid var(--sindoor,#C8421C);background:color-mix(in oklab,currentColor 5%,transparent);font-size:.95rem;line-height:1.5}
