/* acult-pages.css — the about pages: cult.html (The name · Specification · Modules · Pipeline), capabilities.html,
   judgement.html. Redesigned 3 Nov 2026 (owner: "i want them to look quite creative and beautifully designed").

   The idea: an observatory instrument for Jyotish. The memorable thing is the live sky wheel at the top, drawn like
   an astrolabe — degree ticks, the 27 nakshatras, the 12 rashis, the grahas where they are right now. Everything
   else is quiet and exact, and borrows its devices from the subject:
     · each section is marked by one large Sanskrit word in Tiro (नाम, मान, अंग, क्रम …);
     · precision is drawn as measuring rulers on a log scale, the vargas as small North-Indian chart glyphs;
     · the pipeline runs in lanes — you, acult's server, your browser — because where a step runs is the point;
     · on the judgement page a prediction is a palm-leaf manuscript (tala-patra), and withheld ones are struck.
   Type is the owner's scheme (acult-type.css, linked last): Unbounded display, Google Sans text, Tiro for
   Devanagari. Colour is the app's nova palette. */

:root, html[data-theme="dark"] {
  --bg: #070A1F; --bg-2: #0B0F2C; --surface: #10153A; --raise: #171D4A;
  --ink: #F1EEFF; --body: #C6C9EA; --muted: #9196C2; --faint: #636A9C;
  --line: rgba(170, 175, 240, .14); --line-2: rgba(170, 175, 240, .07); --line-3: rgba(170, 175, 240, .26);
  --crimson: #EF3D57; --crimson-ink: #FF6B80; --crimson-soft: rgba(239, 61, 87, .14);
  --marigold: #F4B860; --marigold-2: #FFD79A; --marigold-soft: rgba(244, 184, 96, .13);
  --teal: #4FD8C4; --teal-soft: rgba(79, 216, 196, .12);
  --sky-ring: rgba(190, 195, 255, .20); --sky-fill: #0C1136; --sky-band: rgba(190, 195, 255, .035);
  --star: rgba(230, 228, 255, .75);
  --leaf: #E8D3A2; --leaf-2: #D9BE84; --leaf-ink: #2A1E08; --leaf-mute: #6B5426; --leaf-fibre: rgba(120, 86, 30, .10);
  --shadow: 0 40px 80px -40px rgba(0, 0, 0, .85);
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #F6F4FC; --bg-2: #EEEBF8; --surface: #FFFFFF; --raise: #F2EFFA;
  --ink: #15173A; --body: #3A3D63; --muted: #5F6390; --faint: #8F93B8;
  --line: rgba(21, 23, 58, .12); --line-2: rgba(21, 23, 58, .06); --line-3: rgba(21, 23, 58, .22);
  --crimson: #D72E47; --crimson-ink: #B81F3C; --crimson-soft: rgba(215, 46, 71, .09);
  --marigold: #A86A00; --marigold-2: #7C4E00; --marigold-soft: rgba(168, 106, 0, .10);
  --teal: #0F7F6B; --teal-soft: rgba(15, 127, 107, .09);
  --sky-ring: rgba(21, 23, 58, .16); --sky-fill: #FFFFFF; --sky-band: rgba(21, 23, 58, .03);
  --star: rgba(21, 23, 58, .22);
  --leaf: #F0DFB6; --leaf-2: #E2C88E; --leaf-ink: #2A1E08; --leaf-mute: #6B5426; --leaf-fibre: rgba(120, 86, 30, .09);
  --shadow: 0 40px 80px -46px rgba(21, 23, 58, .45);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--body); font-family: var(--ac-text, "Google Sans", Manrope, system-ui, sans-serif); font-size: 16.5px; line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
html[lang="hi"] body { font-size: 17.5px; line-height: 1.8; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--marigold-soft); color: var(--ink); }

/* bilingual blocks: [data-l="en"] / [data-l="hi"] carry whole passages; the header and footer keep data-en/data-hi */
html[lang="hi"] [data-l="en"], html:not([lang="hi"]) [data-l="hi"] { display: none !important; }

.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
@media (max-width: 520px) { .wrap { width: calc(100% - 32px); } }

/* ---------- header ---------- */
.bar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--line-2); }
.bar .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.bar .logo img { height: 30px; width: auto; }
.bar nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.bar nav a { position: relative; text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--muted); padding: 8px 11px; border-radius: 9px; white-space: nowrap; transition: color .15s; }
.bar nav a:hover { color: var(--ink); }
.bar nav a[aria-current="page"] { color: var(--marigold); }
.bar nav a[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: -13px; height: 2px; background: var(--marigold); border-radius: 2px; }
.bar nav .go { margin-left: 10px; background: var(--crimson); color: #fff !important; border-radius: 999px; padding: 9px 18px; font-weight: 600; }
.bar nav .go:hover { background: var(--crimson-ink); }
.tools { display: flex; align-items: center; gap: 8px; }
.iconb { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.iconb svg { width: 18px; height: 18px; }
html[data-theme="light"] .ic-sun, html:not([data-theme="light"]) .ic-moon { display: none; }
.plang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.plang button { border: 0; background: transparent; color: var(--muted); font: 600 13px var(--ac-text, sans-serif); padding: 5px 11px; border-radius: 999px; cursor: pointer; }
.plang button.on { background: var(--marigold); color: #1A1300; }
.menu-btn { display: none; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .2s; }
.menu-btn span:nth-child(1) { top: 13px; } .menu-btn span:nth-child(2) { top: 18px; } .menu-btn span:nth-child(3) { top: 23px; }
html.menu-open .menu-btn span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
html.menu-open .menu-btn span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
html.menu-open .menu-btn span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* the phone sheet: solid, full screen under the bar; only opacity and transform animate */
.msheet { position: fixed; z-index: 49; left: 0; right: 0; top: 68px; bottom: 0; display: none; background: var(--bg); overflow-y: scroll; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  opacity: 0; transform: translateY(-10px); transition: opacity .22s ease, transform .3s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.msheet::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 360px; background: radial-gradient(120% 80% at 100% 0%, var(--marigold-soft), transparent 60%); pointer-events: none; }
.sh-in { position: relative; width: min(640px, 100% - 32px); margin: 0 auto; padding: 14px 0 calc(28px + env(safe-area-inset-bottom)); min-height: calc(100% + 1px); display: flex; flex-direction: column; }
.sh-main { display: grid; }
.sh-row { display: grid; grid-template-columns: 74px 1fr 20px; align-items: center; gap: 12px; padding: 15px 2px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
  opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .4s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(40ms + var(--i) * 30ms); }
.sh-row .dev { font-size: 30px; line-height: 1; color: var(--marigold); }
.sh-row .t b { display: block; font-family: var(--ac-display, sans-serif); font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
html[lang="hi"] .sh-row .t b { font-family: var(--ac-hindi, serif); font-size: 21px; font-weight: 400; }
.sh-row .t small { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.sh-row svg { width: 18px; height: 18px; color: var(--faint); }
.sh-row:active { background: var(--line-2); }
.sh-row[aria-current="page"] .t b { color: var(--marigold); }
.sh-h { margin: 26px 0 10px; font-size: 13px; color: var(--muted); }
.sh-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-pills a { text-decoration: none; color: var(--ink); border: 1px solid var(--line-3); border-radius: 999px; padding: 10px 18px; font-weight: 500; font-size: 15px; }
.sh-foot { margin-top: auto; padding-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.sh-theme { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-3); background: transparent; color: var(--ink); border-radius: 999px; padding: 0 18px; font: 500 15px var(--ac-text, sans-serif); cursor: pointer; }
.sh-theme svg { width: 18px; height: 18px; }
.sh-go { justify-content: center; }
/* the sheet is opaque and covers everything under the bar; it always scrolls itself, so a swipe never reaches the page */
html.menu-open .msheet { opacity: 1; transform: none; pointer-events: auto; }
html.menu-open .sh-row { opacity: 1; transform: none; }
html.menu-open .bar { background: var(--bg); }

@media (max-width: 1060px) {
  /* a blurred header repaints on every scroll frame on phones; a solid one costs nothing */
  .bar { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .bar nav { display: none; }
  .tools { margin-left: auto; }
  .menu-btn { display: grid; }
  .msheet { display: block; }
}
@media (max-width: 480px) {
  .bar .wrap { gap: 10px; }
  .bar .logo img { height: 26px; }
  .bar .theme-t { display: none; }
}

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--ac-display, Unbounded, sans-serif); color: var(--ink); font-weight: 600; margin: 0; letter-spacing: -.02em; }
html[lang="hi"] :is(h1, h2, h3, h4) { letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(38px, 6vw, 78px); line-height: 1.02; font-weight: 600; }
h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.08; }
h3 { font-size: 17px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(17px, 1.55vw, 20px); line-height: 1.6; color: var(--body); max-width: 58ch; }
.small { font-size: 14px; color: var(--muted); }
strong, b { color: var(--ink); font-weight: 600; }
.dev { font-family: var(--ac-hindi, 'Acult Tiro', serif); font-weight: 400; }

.btn { display: inline-flex; align-items: center; gap: 9px; border-radius: 999px; padding: 14px 24px; font-weight: 600; font-size: 15.5px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn-p { background: var(--crimson); color: #fff; box-shadow: 0 14px 34px -14px var(--crimson); }
.btn-p:hover { background: var(--crimson-ink); }
.btn-g { border-color: var(--line-3); color: var(--ink); }
.btn-g:hover { border-color: var(--marigold); color: var(--marigold); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.tlink { color: var(--marigold); text-decoration: none; font-weight: 600; border-bottom: 1px solid currentColor; }

/* ---------- sections, each marked by a Sanskrit word ---------- */
section.s { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
section.s + section.s::before { content: ""; position: absolute; top: 0; left: 50%; width: min(1200px, 100% - 40px); transform: translateX(-50%); height: 1px; background: linear-gradient(90deg, transparent, var(--line-3) 20%, var(--line-3) 80%, transparent); }
.s-head { display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 1fr); gap: 10px clamp(24px, 4vw, 60px); align-items: start; margin-bottom: clamp(40px, 5vw, 64px); }
.s-head .mark { position: relative; padding-top: 4px; }
.s-head .mark .dev { display: block; font-size: clamp(60px, 7.6vw, 112px); line-height: .92; color: transparent; -webkit-text-stroke: 1.4px var(--marigold); background: linear-gradient(170deg, var(--marigold-soft), transparent 70%); -webkit-background-clip: text; background-clip: text; }
.s-head .mark.long .dev { font-size: clamp(46px, 5.4vw, 80px); }
.s-head .k { margin: 14px 0 0; font-size: 13.5px; font-weight: 600; color: var(--marigold); letter-spacing: .01em; }
.s-head h2 { max-width: 20ch; margin-bottom: 16px; }
.s-head .lede { margin: 0; }
@media (max-width: 760px) {
  .s-head { grid-template-columns: 1fr; }
  .s-head .mark { display: flex; align-items: baseline; gap: 16px; }
  .s-head .mark .dev { font-size: 64px; }
  .s-head .k { margin: 0; }
}

/* ---------- hero: the sky now ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 70px) 0 clamp(40px, 5vw, 70px); isolation: isolate; }
.hero .stars { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; color: var(--star); opacity: .9; pointer-events: none; }
.hero::after { content: ""; position: absolute; z-index: -1; right: -18vw; top: 50%; width: 80vw; height: 80vw; max-width: 1100px; max-height: 1100px; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(244, 184, 96, .10), rgba(239, 61, 87, .05) 45%, transparent 72%); pointer-events: none; }
html[data-theme="light"] .hero::after { background: radial-gradient(closest-side, rgba(168, 106, 0, .08), rgba(215, 46, 71, .04) 45%, transparent 72%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { margin: 0 0 26px; max-width: 13ch; }
html[lang="hi"] .hero h1 { max-width: 15ch; }
.acr { display: flex; flex-wrap: wrap; gap: 0 10px; align-items: baseline; font-size: 15px; color: var(--muted); margin: 0 0 26px; }
.acr span::before { content: ""; display: inline-block; width: 22px; height: 1px; background: var(--line-3); vertical-align: middle; margin: 0 10px 0 0; }
.acr b { font-family: var(--ac-display, sans-serif); color: var(--marigold); font-weight: 600; letter-spacing: .02em; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero h1 { max-width: 16ch; } }

.sky { position: relative; margin: 0; }
.sky-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; margin-left: auto; }
@media (max-width: 960px) { .sky-stage { margin: 0 auto; } }
#sky svg { width: 100%; height: auto; overflow: visible; }
#sky .spin { transform-origin: 300px 300px; animation: skyIn 1.8s cubic-bezier(.2, .7, .1, 1) both; }
#sky .orbs { animation: orbsIn 1s .9s ease-out both; }
@keyframes skyIn { from { transform: rotate(-38deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes orbsIn { from { opacity: 0; } to { opacity: 1; } }
#sky .disc { fill: var(--sky-fill); }
#sky .rim { fill: none; stroke: var(--sky-ring); stroke-width: 1; }
#sky .rim-b { fill: none; stroke: var(--marigold); stroke-opacity: .45; stroke-width: 1.2; }
#sky .t1 { stroke: var(--sky-ring); stroke-width: .8; }
#sky .t5 { stroke: var(--sky-ring); stroke-width: 1.1; }
#sky .t30 { stroke: var(--marigold); stroke-opacity: .55; stroke-width: 1.3; }
#sky .band { fill: var(--sky-band); }
#sky .nk { fill: var(--faint); font: 500 9.5px var(--ac-text, sans-serif); text-anchor: middle; dominant-baseline: central; letter-spacing: .02em; }
html[lang="hi"] #sky .nk { font-size: 10.5px; letter-spacing: 0; }
#sky .nkd { stroke: var(--sky-ring); stroke-width: .8; }
#sky .sgn { fill: var(--body); font: 600 12px var(--ac-text, sans-serif); text-anchor: middle; dominant-baseline: central; letter-spacing: .04em; }
html[lang="hi"] #sky .sgn { font-size: 14px; letter-spacing: 0; }
#sky .sgnum { fill: var(--marigold); font: 600 9px var(--ac-display, sans-serif); text-anchor: middle; dominant-baseline: central; opacity: .8; }
#sky .ray { stroke-width: 1; stroke-opacity: .5; stroke-dasharray: 2 4; }
#sky .orb { stroke: var(--sky-fill); stroke-width: 2.5; }
#sky .halo { opacity: .22; }
#sky .tag { fill: var(--sky-fill); stroke-width: 1.4; }
#sky .gl { font: 700 12px var(--ac-text, sans-serif); text-anchor: middle; dominant-baseline: central; fill: var(--ink); }
html[lang="hi"] #sky .gl { font-size: 13px; }
#sky .core { fill: none; stroke: var(--line); }
#sky .cross { stroke: var(--line-3); stroke-width: .8; }
#sky .clock { fill: var(--ink); font: 600 22px var(--ac-display, sans-serif); text-anchor: middle; letter-spacing: -.02em; }
#sky .clock2 { fill: var(--muted); font: 500 12px var(--ac-text, sans-serif); text-anchor: middle; }
#sky .clock3 { fill: var(--marigold); font: 600 10px var(--ac-text, sans-serif); text-anchor: middle; letter-spacing: .06em; }
.sky-cap { margin: 18px 0 0 auto; font-size: 13.5px; color: var(--muted); max-width: 640px; }
.sky-cap b { color: var(--body); font-weight: 600; }
.sky-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 22px; margin: 14px 0 0 auto; padding: 0; list-style: none; font-size: 13.5px; max-width: 640px; }
.sky-list li { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line-2); padding: 6px 0; }
.sky-list li i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.sky-list span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .sky-cap, .sky-list { margin-left: auto; margin-right: auto; } }
@media (max-width: 520px) { .sky-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- the name: four giant letters ---------- */
.cult-word { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.cult-word > div { position: relative; padding: 8px clamp(14px, 2vw, 28px) 10px; border-left: 1px solid var(--line-2); }
.cult-word > div:first-child { border-left: 0; padding-left: 0; }
.cult-word .L { display: block; font-family: var(--ac-display, sans-serif); font-weight: 700; font-size: clamp(110px, 17vw, 230px); line-height: .9; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--crimson); transition: color .35s, -webkit-text-stroke-color .35s; margin: 0 0 18px -.04em; }
.cult-word > div:hover .L, .cult-word > div:focus-within .L { color: var(--crimson); }
.cult-word h3 { font-size: 19px; margin-bottom: 8px; }
.cult-word p { font-size: 15px; margin: 0; max-width: 30ch; }
@media (max-width: 860px) {
  .cult-word { grid-template-columns: 1fr 1fr; }
  .cult-word > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .cult-word > div:nth-child(n+3) { border-top: 1px solid var(--line-2); padding-top: 22px; }
}
@media (max-width: 420px) { .cult-word .L { font-size: 96px; } }

/* ---------- precision rulers ---------- */
.rulers { border-top: 1px solid var(--line-3); }
.rulers .head, .rulers .row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 110px 96px; gap: 0 24px; align-items: center; }
.rulers .head { padding: 12px 0 8px; font-size: 12.5px; color: var(--muted); }
.rulers .scale { position: relative; height: 18px; }
.rulers .scale span { position: absolute; transform: translateX(-50%); font-variant-numeric: tabular-nums; }
.rulers .scale span:first-child { transform: none; }
.rulers .row { padding: 13px 0; border-top: 1px solid var(--line-2); }
.rulers .nm { color: var(--ink); font-weight: 600; }
.rulers .nm small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.rulers .rail { position: relative; height: 26px; }
.rulers .rail::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-3); }
.rulers .rail .tk { position: absolute; top: 7px; width: 1px; height: 12px; background: var(--line-3); }
.rulers .rail .tk.m { top: 9px; height: 8px; background: var(--line); }
.rulers .rail .span { position: absolute; top: 11px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--marigold), color-mix(in srgb, var(--marigold) 25%, transparent)); }
.rulers .rail .med { position: absolute; top: 6px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--marigold); box-shadow: 0 0 0 4px var(--marigold-soft); }
.rulers .rail .mx { position: absolute; top: 5px; width: 2px; height: 16px; margin-left: -1px; background: var(--marigold); opacity: .7; }
.rulers .val, .rulers .sg { font-size: 13.5px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--muted); line-height: 1.35; }
.rulers .val b { color: var(--ink); font-weight: 600; }
.rulers .legend { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 14px 0 0; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }
.rulers .legend i { display: inline-block; vertical-align: -2px; margin-right: 7px; }
.rulers .legend .lm { width: 12px; height: 12px; border-radius: 50%; background: var(--marigold); }
.rulers .legend .lx { width: 2px; height: 14px; background: var(--marigold); }
.rulers .note { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); max-width: 90ch; }
@media (max-width: 720px) {
  .rulers .head { display: none; }
  .rulers .row { grid-template-columns: 1fr auto auto; gap: 4px 14px; }
  .rulers .rail { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- facts: a two-column specification sheet ---------- */
.sheet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 60px); margin-top: clamp(48px, 6vw, 80px); }
.sheet > div { padding: 22px 0; border-top: 1px solid var(--line); }
.sheet dt { font-family: var(--ac-display, sans-serif); font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 8px; letter-spacing: -.005em; }
.sheet dd { margin: 0; font-size: 15.5px; }
.sheet .simp { display: block; margin-top: 10px; padding-left: 12px; border-left: 2px solid var(--marigold); font-size: 14px; color: var(--muted); }
.sheet .simp em { font-style: normal; color: var(--marigold); font-weight: 600; margin-right: 6px; }
@media (max-width: 760px) { .sheet { grid-template-columns: 1fr; } }

/* ---------- the nineteen vargas, as small North-Indian charts ---------- */
.vargas-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin: clamp(56px, 7vw, 90px) 0 20px; }
.vargas-h h3 { font-size: 20px; }
.vargas-h p { margin: 0; color: var(--muted); font-size: 14.5px; }
.vargas { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.vargas li { position: relative; padding: 14px 12px 12px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, var(--bg-2), transparent); transition: border-color .2s, transform .2s; }
.vargas li:hover { border-color: var(--marigold); }
.vargas svg { width: 54px; height: 54px; margin-bottom: 10px; }
.vargas svg .o { fill: none; stroke: var(--line-3); stroke-width: 1.2; }
.vargas svg .d { fill: none; stroke: var(--marigold); stroke-width: 1.2; stroke-opacity: .8; }
.vargas svg .f { fill: var(--marigold); }
.vargas b { display: block; font-family: var(--ac-display, sans-serif); font-size: 15px; color: var(--ink); letter-spacing: -.01em; }
.vargas span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.vargas li.vk { display: flex; align-items: flex-end; border-style: dashed; background: none; }
.vargas li.vk p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
@media (min-width: 1180px) { .vargas { grid-template-columns: repeat(10, minmax(0, 1fr)); } }

/* ---------- three schools, three frames ---------- */
.schools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(56px, 7vw, 90px); }
.school { border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px 18px; background: var(--bg-2); }
.school svg { width: 96px; height: 96px; margin-bottom: 18px; }
.school svg .r { fill: none; stroke: var(--line-3); stroke-width: 1.2; }
.school svg .s { stroke: var(--line-3); stroke-width: 1.2; }
.school svg .a { stroke: var(--marigold); stroke-width: 1.6; fill: none; }
.school svg .p { fill: var(--marigold); }
.school svg .q { fill: var(--teal); }
.school h3 { font-size: 20px; margin-bottom: 14px; }
.school dl { margin: 0; }
.school dl div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line-2); font-size: 14.5px; }
.school dt { color: var(--muted); }
.school dd { margin: 0; color: var(--ink); }
.schools-cap { margin: 16px 0 0; font-size: 14px; color: var(--muted); max-width: 80ch; }
@media (max-width: 860px) { .schools { grid-template-columns: 1fr; } }

/* ---------- the module atlas ---------- */
.atlas-tools { position: sticky; top: 68px; z-index: 5; display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; padding: 14px 0; margin-bottom: 8px; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.atlas-tools .q { position: relative; flex: 1 1 240px; min-width: 0; }
.atlas-tools .q svg { position: absolute; left: 14px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.atlas-tools input { width: 100%; background: var(--surface); border: 1px solid var(--line-3); color: var(--ink); border-radius: 999px; padding: 12px 16px 12px 42px; font: inherit; font-size: 15px; }
.atlas-tools input:focus { border-color: var(--marigold); outline: 0; box-shadow: 0 0 0 4px var(--marigold-soft); }
.atlas-tools input::placeholder { color: var(--faint); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { border: 1px solid var(--line-3); background: transparent; color: var(--body); border-radius: 999px; padding: 8px 14px; font: 500 14px var(--ac-text, sans-serif); cursor: pointer; transition: all .15s; }
.chips button:hover { border-color: var(--marigold); color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--marigold); color: #1A1300; border-color: var(--marigold); }
.atlas-count { font-size: 14px; color: var(--muted); margin-left: auto; font-variant-numeric: tabular-nums; }
.grp { display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 1fr); gap: 14px clamp(24px, 4vw, 60px); padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.grp > header .dev { display: block; font-size: clamp(46px, 5vw, 64px); line-height: 1; color: var(--marigold); margin-bottom: 12px; }
.grp > header h3 { font-size: 18px; }
.grp > header p { margin: 6px 0 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.mods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 32px; }
.mods li { position: relative; padding: 16px 0 16px 18px; border-top: 1px solid var(--line-2); }
.mods li::before { content: ""; position: absolute; left: 0; top: 23px; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--marigold); transition: background .15s; }
.mods li:hover::before { background: var(--marigold); }
.mods li b { display: block; color: var(--ink); font-size: 16px; font-weight: 600; }
.mods li > span { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.55; margin-top: 3px; }
.mods li a { text-decoration: none; }
.mods li a:hover b { color: var(--marigold); }
.mods li a b::after { content: " ↗"; color: var(--faint); font-weight: 400; }
.mods li[hidden], .grp[hidden] { display: none; }
.atlas-none { color: var(--muted); padding: 24px 0; }
@media (max-width: 760px) { .grp { grid-template-columns: 1fr; } .grp > header { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; } .grp > header .dev { margin: 0; } .grp > header p { flex-basis: 100%; } .atlas-tools { top: 68px; } }

/* ---------- the pipeline: a route map across three lanes, then the steps ---------- */
.route { width: 100%; height: auto; margin: 0 0 clamp(36px, 5vw, 56px); overflow: visible; }
.route .ln { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 6; }
.route .lt { font: 600 15px var(--ac-text, sans-serif); dominant-baseline: central; }
html[lang="hi"] .route .lt { font-family: var(--ac-hindi, serif); font-size: 17px; }
.route .rt { fill: none; stroke: var(--marigold); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(244, 184, 96, .35)); }
.route .st { fill: var(--bg); stroke-width: 3; }
.route .sn { fill: var(--ink); font: 600 15px var(--ac-display, sans-serif); text-anchor: middle; dominant-baseline: central; }
@media (max-width: 640px) { .route { display: none; } }
.steps7 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 clamp(24px, 3vw, 44px); }
.steps7 li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps7 .n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 600 15px var(--ac-display, sans-serif); color: var(--ink); border: 2.5px solid var(--c); }
.steps7 h3 { margin: 4px 0 8px; }
.steps7 p { margin: 0; font-size: 15px; }
.steps7 .lt2 { display: inline-block; margin-top: 10px; font-size: 12.5px; color: var(--c); }
.steps7 .lt2::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--c); margin-right: 7px; vertical-align: 1px; }

/* ---------- capability stats ---------- */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-3); }
.stats > div { padding: 22px 18px 4px 0; }
.stats > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.stats b { display: block; font-family: var(--ac-display, sans-serif); font-weight: 600; font-size: clamp(34px, 4.4vw, 60px); line-height: 1; color: var(--ink); letter-spacing: -.03em; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stats b sup { font-size: .45em; color: var(--marigold); margin-left: 2px; }
.stats span { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats > div:nth-child(odd) { padding-left: 0; border-left: 0; } .stats > div:nth-child(n+3) { border-top: 1px solid var(--line-2); } .stats > div:last-child { grid-column: 1 / -1; } }

.pair-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.pair-facts > div { border: 1px solid var(--line); border-radius: 18px; padding: 24px; background: var(--bg-2); }
.pair-facts b.big { display: block; font-family: var(--ac-display, sans-serif); font-size: clamp(30px, 3.6vw, 44px); color: var(--marigold); line-height: 1; margin-bottom: 12px; letter-spacing: -.02em; }
.pair-facts h3 { margin-bottom: 8px; }
.pair-facts p { margin: 0; font-size: 14.5px; }
@media (max-width: 760px) { .pair-facts { grid-template-columns: 1fr; } }

/* ---------- what it will not say: struck examples ---------- */
.nots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 60px); }
.nots li { padding: 26px 0; border-top: 1px solid var(--line); }
.nots q { display: block; quotes: none; font-family: var(--ac-display, sans-serif); font-size: clamp(18px, 1.9vw, 23px); line-height: 1.3; color: var(--faint); letter-spacing: -.01em; margin-bottom: 14px; text-decoration: line-through; text-decoration-color: var(--crimson); text-decoration-thickness: 2px; }
html[lang="hi"] .nots q { font-family: var(--ac-hindi, serif); }
.nots b { display: block; margin-bottom: 6px; }
.nots p { margin: 0; font-size: 15px; }
@media (max-width: 760px) { .nots { grid-template-columns: 1fr; } }

.where { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.where > div { padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg-2); }
.where svg { width: 30px; height: 30px; color: var(--marigold); margin-bottom: 16px; }
.where b { display: block; margin-bottom: 6px; font-family: var(--ac-display, sans-serif); font-size: 15px; }
.where p { margin: 0; font-size: 14.5px; }
@media (max-width: 960px) { .where { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .where { grid-template-columns: 1fr; } }

/* ---------- palm leaves (judgement) ---------- */
.leaf { position: relative; color: var(--leaf-ink); background:
    repeating-linear-gradient(180deg, transparent 0 5px, var(--leaf-fibre) 5px 6px),
    linear-gradient(180deg, var(--leaf), var(--leaf-2));
  border-radius: 999px / 46px; padding: 26px clamp(56px, 7vw, 84px); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -2px 0 rgba(120, 86, 30, .18); }
.leaf::before, .leaf::after { content: ""; position: absolute; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .45); }
.leaf::before { left: clamp(22px, 3vw, 34px); }
.leaf::after { right: clamp(22px, 3vw, 34px); }
.leaf .eff { font-size: clamp(17px, 1.7vw, 21px); line-height: 1.45; margin: 0 0 8px; color: var(--leaf-ink); font-weight: 500; }
html[lang="hi"] .leaf .eff { font-family: var(--ac-hindi, serif); font-size: clamp(19px, 1.9vw, 23px); }
.leaf .why { margin: 0; font-size: 14px; color: var(--leaf-mute); }
.leaf .why::before { content: "✓ "; color: #1F7A5B; font-weight: 700; }
.leaf .tone { position: absolute; left: 50%; bottom: -1px; width: 64px; height: 4px; margin-left: -32px; border-radius: 4px 4px 0 0; background: #1F9B78; }
.leaf.neg .tone { background: var(--crimson); }

.specimen-wrap { position: relative; }
.specimen-wrap .leaf { transform: rotate(-1.5deg); }
.callouts { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 4px; counter-reset: c; }
.callouts li { counter-increment: c; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line-2); font-size: 15px; }
.callouts li::before { content: counter(c); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 13px var(--ac-display, sans-serif); color: var(--marigold); border: 1.5px solid var(--marigold); }

.shelf { display: grid; gap: 16px; }
.shelf .leaf { padding-top: 20px; padding-bottom: 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 24px; align-items: center; transition: transform .3s; }
.shelf .leaf:hover { transform: translateX(6px); }
.shelf .leaf h3 { color: var(--leaf-ink); font-size: clamp(15px, 1.5vw, 18px); }
.shelf .leaf p { margin: 0; grid-column: 1; font-size: 13.5px; color: var(--leaf-mute); line-height: 1.5; }
.shelf .leaf .cnt { grid-column: 2; grid-row: 1 / span 2; font-family: var(--ac-display, sans-serif); font-weight: 600; font-size: clamp(26px, 3vw, 40px); color: var(--leaf-ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.shelf .leaf .cnt small { display: block; font: 500 11.5px var(--ac-text, sans-serif); color: var(--leaf-mute); letter-spacing: 0; text-align: right; }
.shelf-cap { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 620px) { .shelf .leaf { width: 100% !important; border-radius: 30px; padding-left: 40px; padding-right: 40px; } .shelf .leaf::before { left: 14px; } .shelf .leaf::after { right: 14px; } }

.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); counter-reset: s; }
.steps3 li { counter-increment: s; padding-top: 22px; border-top: 2px solid var(--marigold); }
.steps3 li::before { content: counter(s); display: block; font: 600 clamp(54px, 6vw, 84px)/1 var(--ac-display, sans-serif); color: transparent; -webkit-text-stroke: 1.2px var(--marigold); margin-bottom: 18px; }
.steps3 h3 { margin-bottom: 10px; font-size: 18px; }
.steps3 p { margin: 0; font-size: 15px; }
@media (max-width: 860px) { .steps3 { grid-template-columns: 1fr; gap: 34px; } }

/* a typical chart's conditions, a hundred squares */
.waffle-wrap { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.waffle { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.waffle i { aspect-ratio: 1; border-radius: 4px; background: var(--line); }
.waffle i.sh { background: var(--marigold); }
.waffle i.cf { background: transparent; box-shadow: inset 0 0 0 1.5px var(--crimson); }
.waffle i.rp { background: repeating-linear-gradient(135deg, var(--line-3) 0 2px, transparent 2px 5px); }
.wlegend { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.wlegend li { display: grid; grid-template-columns: 16px 1fr auto; gap: 10px; align-items: center; }
.wlegend li i { width: 14px; height: 14px; border-radius: 3px; }
.wlegend li span:last-child { font-variant-numeric: tabular-nums; color: var(--muted); }
.big-q { font-family: var(--ac-display, sans-serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; color: var(--ink); letter-spacing: -.02em; margin: 0 0 22px; max-width: 22ch; }
html[lang="hi"] .big-q { font-family: var(--ac-hindi, serif); letter-spacing: 0; line-height: 1.4; }
@media (max-width: 860px) { .waffle-wrap { grid-template-columns: 1fr; } .waffle { max-width: 360px; } }

/* two leaves that disagree, both withheld */
.clash { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 30px; }
.clash .leaf { opacity: .55; filter: saturate(.6); }
.clash .leaf:first-child { transform: rotate(-2deg); }
.clash .leaf:nth-child(2) { transform: rotate(2deg); }
.clash .seal { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg); width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; text-align: center; border: 2px solid var(--crimson); background: color-mix(in srgb, var(--bg) 86%, transparent); color: var(--crimson); font: 700 13px/1.25 var(--ac-display, sans-serif); letter-spacing: .02em; padding: 14px; box-shadow: 0 0 0 6px color-mix(in srgb, var(--bg) 60%, transparent); }
html[lang="hi"] .clash .seal { font-family: var(--ac-hindi, serif); font-size: 16px; }
@media (max-width: 760px) { .clash { grid-template-columns: 1fr; } .clash .seal { width: 110px; height: 110px; } }

.struck { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 34px; padding: 0; list-style: none; }
.struck li { font-family: var(--ac-display, sans-serif); font-size: clamp(15px, 1.5vw, 18px); color: var(--faint); padding: 8px 16px; border: 1px dashed var(--line-3); border-radius: 999px; text-decoration: line-through; text-decoration-color: var(--crimson); text-decoration-thickness: 2px; }
html[lang="hi"] .struck li { font-family: var(--ac-hindi, serif); }

/* ---------- prose bits ---------- */
.prose p { max-width: 68ch; }
.prose h3 { margin: 34px 0 10px; }
.cols2 > div { columns: 2; column-gap: clamp(28px, 4vw, 60px); }
.cols2 p { max-width: none; break-inside: avoid; }
@media (max-width: 760px) { .cols2 > div { columns: 1; } }
ul.plain { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 60px); }
ul.plain > li { padding: 22px 0; border-top: 1px solid var(--line); }
ul.plain > li b { display: block; margin-bottom: 6px; font-family: var(--ac-display, sans-serif); font-size: 15.5px; }
@media (max-width: 760px) { ul.plain { grid-template-columns: 1fr; } }

/* ---------- end cap ---------- */
.endcap { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 160px) 0; border-top: 1px solid var(--line-2); isolation: isolate; }
.endcap svg.arc { position: absolute; z-index: -1; right: -10%; bottom: -55%; width: min(900px, 110vw); height: auto; color: var(--marigold); opacity: .55; pointer-events: none; }
.endcap h2 { max-width: 16ch; font-size: clamp(34px, 5vw, 64px); line-height: 1.04; }

/* footer is rebuilt by acult-footer.js; keep its holder neutral */
footer { border-top: 1px solid var(--line); padding: 40px 0; }

/* ---------- phone ---------- */
@media (max-width: 640px) {
  section.s { padding: 72px 0; }
  .s-head { margin-bottom: 34px; }
  .s-head h2 { font-size: 29px; }
  .lede { font-size: 16.5px; }
  .hero { padding-top: 26px; }
  .hero h1 { font-size: 40px; margin-bottom: 20px; }
  html[lang="hi"] .hero h1 { font-size: 36px; }
  .cta { margin-top: 26px; }
  .cta .btn { flex: 1 1 auto; justify-content: center; }
  .sky-stage { max-width: 420px; margin-top: 10px; }

  /* C U L T: one row each, the letter beside its word */
  .cult-word { grid-template-columns: 1fr; border-top: 0; }
  .cult-word > div { display: grid; grid-template-columns: 92px 1fr; gap: 0 16px; align-items: start; padding: 18px 0 !important; border-left: 0 !important; border-top: 1px solid var(--line-2) !important; }
  .cult-word .L { font-size: 92px !important; grid-row: span 2; margin: 0; }
  .cult-word h3 { margin: 10px 0 6px; }

  /* the vargas and the schools scroll sideways, snapping card by card */
  .vargas, .schools { display: grid; grid-auto-flow: column; grid-template-columns: none !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 2px 16px 8px; scroll-padding: 0 16px; }
  .vargas::-webkit-scrollbar, .schools::-webkit-scrollbar, .chips::-webkit-scrollbar { display: none; }
  .vargas { grid-auto-columns: 132px; }
  .schools { grid-auto-columns: 84%; gap: 12px; }
  .vargas > li, .school { scroll-snap-align: start; }
  .vargas-h { margin-top: 56px; }

  /* the atlas: filters in one swipeable row; not pinned, so the screen stays free */
  .atlas-tools { position: static; backdrop-filter: none; -webkit-backdrop-filter: none; background: none; padding: 0 0 6px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px; scrollbar-width: none; width: calc(100% + 32px); }
  .chips button { flex: none; }
  .atlas-count { margin-left: 0; }
  .grp { padding: 30px 0; }
  .mods li { padding: 14px 0 14px 18px; }

  .stats b { font-size: 38px; }
  .nots q { font-size: 18px; }
  .leaf { padding-left: 46px; padding-right: 46px; border-radius: 34px; }
  .leaf::before { left: 17px; } .leaf::after { right: 17px; }
  .specimen-wrap .leaf, .clash .leaf { transform: none; }
  .clash { gap: 18px; }
  .clash .seal { position: relative; left: auto; top: auto; transform: rotate(-6deg); margin: -26px auto; z-index: 2; order: 2; }
  .clash .leaf.neg { order: 3; }
  .endcap { padding: 80px 0; }
  .endcap h2 { font-size: 34px; }
}
