/* Eye of Light – design system */
:root {
  --night: #170A1D; --night-2: #22102A; --night-3: #2E1636; --plum: #5B1146; --wine: #3A0A1F;
  --ruby: #7D0717; --crimson: #B92B43; --rose: #E26D84; --blush: #F6C9CF;
  --gold: #C8973A; --gold-2: #ECC86F; --champagne: #E6C99E; --copper: #AC5234;
  --jade: #2F6F68; --aqua: #7FC4B2; --saffron: #E39B2D; --indigo: #4B3E86;
  --ivory: #FEF9ED; --sandal: #F4E6C8; --parchment: #FBF1DC; --ink: #2B1218; --ink-2: #5E3B41; --ink-3: #8A6A6E;
  --line: rgba(200, 151, 58, .5); --line-soft: rgba(200, 151, 58, .25); --line-night: rgba(236, 200, 111, .28);
  --good: #2F6F68; --bad: #B92B43; --neutral: #9A7A36;
  --serif: 'Cormorant', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Avenir Next', system-ui, sans-serif;
  --deva: 'Tiro Devanagari Sanskrit', 'Noto Serif Devanagari', serif;
  --step--1: .8rem; --step-0: 1.0625rem; --step-1: 1.33rem; --step-2: 1.66rem; --step-3: 2.07rem;
  --step-4: clamp(2.2rem, 4vw, 2.6rem); --step-5: clamp(2.6rem, 6vw, 3.6rem); --step-6: clamp(3rem, 8vw, 5rem);
  --gutter: clamp(16px, 4vw, 40px); --max: 1180px; --facet: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 var(--step-0)/1.6 var(--sans); font-feature-settings: 'tnum' 0; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--ruby); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--crimson); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--blush); color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0 0 .4em; letter-spacing: -.005em; color: var(--ruby); }
h1 { font-size: var(--step-6); font-weight: 500; }
h2 { font-size: var(--step-5); font-weight: 500; }
h3 { font-size: var(--step-3); }
h4 { font-size: var(--step-2); }
p { margin: 0 0 1em; max-width: 68ch; }
.num, time, .tnum { font-variant-numeric: tabular-nums lining-nums; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ivory); color: var(--ruby); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout */
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.band { padding-block: clamp(56px, 9vw, 112px); position: relative; }
.band--night { background: var(--night); color: #F3E6D8; }
.band--night h2, .band--night h3 { color: var(--champagne); }
.band--night a { color: var(--gold-2); }
.band--sandal { background: linear-gradient(180deg, var(--parchment), var(--sandal)); }
.band--wine { background: radial-gradient(120% 90% at 85% 0%, #4a0e2c 0%, var(--wine) 45%, var(--night) 100%); color: #F7E7DA; }
.band--wine h2, .band--wine h3 { color: var(--champagne); }
.band--tight { padding-block: clamp(36px, 5vw, 64px); }
.lede { font-size: var(--step-1); color: var(--ink-2); max-width: 60ch; }
.band--night .lede, .band--wine .lede { color: #D9C5BC; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 44px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--ink-2); }
.band--night .section-head p, .band--wine .section-head p { color: #CDB8B0; }
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* ---------- ornament: the logo's diamond divider */
.diamond-rule { display: flex; align-items: center; gap: 14px; color: var(--gold); margin: 22px 0; }
.diamond-rule::before, .diamond-rule::after { content: ''; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.diamond-rule span { width: 10px; height: 10px; transform: rotate(45deg); background: linear-gradient(135deg, var(--rose), var(--ruby)); box-shadow: 0 0 0 1px var(--gold); }

/* ---------- facet panels (chamfered like the lotus gem facets) */
.facet { --c: var(--facet); position: relative; padding: 1px; background: linear-gradient(160deg, var(--gold-2), var(--line) 40%, var(--gold)); clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c)); }
.facet > .facet__in { height: 100%; background: var(--ivory); padding: clamp(18px, 2.4vw, 28px); clip-path: polygon(calc(var(--c) - .5px) 0, calc(100% - var(--c) + .5px) 0, 100% calc(var(--c) - .5px), 100% calc(100% - var(--c) + .5px), calc(100% - var(--c) + .5px) 100%, calc(var(--c) - .5px) 100%, 0 calc(100% - var(--c) + .5px), 0 calc(var(--c) - .5px)); }
.facet--sandal > .facet__in { background: var(--parchment); }
.facet--night { background: linear-gradient(160deg, rgba(236,200,111,.7), rgba(236,200,111,.15) 45%, rgba(200,151,58,.6)); }
.facet--night > .facet__in { background: linear-gradient(180deg, var(--night-3), var(--night-2)); color: #F3E6D8; }
.facet--lg { --c: 22px; }
.facet h3 { font-size: var(--step-2); margin-bottom: .5em; }
.facet--night h3 { color: var(--champagne); }

/* ---------- buttons */
.btn { --bg: var(--ruby); --fg: var(--ivory); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border: 0; cursor: pointer; font: 500 1rem/1 var(--sans); letter-spacing: .02em; color: var(--fg); background: var(--bg); text-decoration: none; position: relative; clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%); transition: background .2s var(--ease), color .2s; }
.btn::after { content: ''; position: absolute; inset: 3px; border: 1px solid rgba(236, 200, 111, .55); clip-path: inherit; pointer-events: none; }
.btn:hover { --bg: var(--crimson); color: var(--fg); }
.btn--gold { --bg: linear-gradient(180deg, var(--gold-2), var(--gold)); --fg: var(--wine); }
.btn--gold::after { border-color: rgba(58, 10, 31, .3); }
.btn--gold:hover { --bg: linear-gradient(180deg, #f5d68a, var(--gold-2)); color: var(--wine); }
.btn--ghost { --bg: transparent; --fg: var(--ruby); }
.btn--ghost::after { inset: 0; border-color: var(--gold); }
.btn--ghost:hover { --bg: rgba(200, 151, 58, .12); color: var(--ruby); }
.band--night .btn--ghost, .hero .btn--ghost, .band--wine .btn--ghost { --fg: var(--champagne); }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .45; cursor: not-allowed; }
.btn--sm { min-height: 38px; padding: 8px 18px; font-size: .92rem; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--ruby); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.band--night .link-btn, .page-hero .link-btn { color: var(--gold-2); }

/* ---------- header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.site-header.is-solid, .site-header--solid { background: rgba(23, 10, 29, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-night); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--champagne); }
.brand img { width: 52px; height: auto; }
.brand__name { font: 600 1.45rem/1 var(--serif); letter-spacing: .03em; background: linear-gradient(180deg, #F7DA8E, #C8973A 60%, #9C6A1E); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__tag { display: block; font: 400 .7rem/1 var(--sans); letter-spacing: .14em; color: #D9A9B2; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: #E9D8CB; text-decoration: none; font-size: .96rem; padding: 10px 10px; position: relative; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--gold-2); }
.nav a[aria-current='page']::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; background: var(--gold-2); transform: translateX(-50%) rotate(45deg); }
.nav .btn { margin-left: 10px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-night); color: var(--champagne); width: 46px; height: 46px; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 1.5px; background: currentColor; margin: auto; position: relative; content: ''; transition: transform .25s; }
.menu-btn span::before { position: absolute; top: -6px; } .menu-btn span::after { position: absolute; top: 6px; }
@media (max-width: 1060px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 74px 0 0 0; background: var(--night); flex-direction: column; align-items: stretch; padding: 24px var(--gutter); gap: 0; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; overflow-y: auto; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { font: 500 1.6rem/1.2 var(--serif); padding: 14px 0; border-bottom: 1px solid var(--line-night); }
  .nav a[aria-current='page']::after { left: auto; right: 4px; bottom: 50%; }
  .nav .btn { margin: 24px 0 0; font: 500 1.05rem/1 var(--sans); border: 0; }
}

/* ---------- home hero */
.hero { position: relative; min-height: 100svh; background: var(--night); color: #F3E6D8; overflow: hidden; isolation: isolate; }
.hero__stage { position: absolute; inset: 0; z-index: -1; }
.hero__stage canvas { width: 100% !important; height: 100% !important; }
.hero__fallback { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 30vh; }
.hero__fallback img { width: min(420px, 70vw); filter: drop-shadow(0 0 40px rgba(236, 160, 90, .35)); }
@media (max-height: 820px) { .verse__tr { display: none; } }
.hero__content { position: absolute; inset: auto 0 0 0; padding: 0 var(--gutter) clamp(24px, 5vh, 56px); display: grid; justify-items: center; text-align: center; background: linear-gradient(0deg, rgba(23,10,29,.95) 20%, rgba(23,10,29,0)); padding-top: 120px; }
.verse { max-width: 760px; }
.verse__sa { font: 400 clamp(1.05rem, 2vw, 1.45rem)/1.6 var(--deva); color: var(--gold-2); margin: 0 auto .35em; }
.verse__tr { font: italic 400 clamp(1rem, 1.6vw, 1.15rem)/1.5 var(--serif); color: #D9B9A6; margin: 0 auto .5em; }
.verse__en { font: 500 clamp(1.25rem, 2.5vw, 1.85rem)/1.28 var(--serif); color: #FBEBDD; margin: 0 auto .4em; text-wrap: balance; }
.verse__src { font-size: .9rem; color: #B99A92; margin: 0 auto 1.4em; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero__skip { position: absolute; right: var(--gutter); top: 90px; z-index: 5; background: none; border: 1px solid var(--line-night); color: #CDB8B0; padding: 8px 14px; font: 400 .85rem var(--sans); cursor: pointer; }
.hero__skip:hover { color: var(--gold-2); border-color: var(--gold-2); }
.is-loading .site-header, .is-loading .hero__content, .is-loading main > :not(.hero) { opacity: 0; }
.reveal-ready .site-header, .reveal-ready .hero__content { transition: opacity 1.2s var(--ease); }
.is-loading .hero__content { transform: translateY(14px); }
.reveal-ready .hero__content { transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }

/* ---------- inner page hero */
.page-hero { background: radial-gradient(90% 140% at 80% -10%, #4b0f33 0%, var(--night) 60%); color: #EBDACB; padding: 130px 0 54px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -60px; top: 40px; width: 360px; height: 230px; background: url('/assets/img/lotus-mark-360.webp') center/contain no-repeat; opacity: .14; pointer-events: none; }
.page-hero h1 { color: var(--champagne); margin-bottom: .15em; }
.page-hero p { color: #CDB8B0; font-size: var(--step-1); margin: 0; }
.page-hero__bar { display: flex; gap: 12px 18px; flex-wrap: wrap; align-items: center; margin-top: 26px; }

/* ---------- controls */
.control { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--line-night); color: #F1DECF; padding: 9px 14px; font: 400 .95rem var(--sans); cursor: pointer; }
.control:hover { border-color: var(--gold-2); }
.control svg { width: 18px; height: 18px; color: var(--gold-2); }
.ivory-controls .control { background: var(--ivory); color: var(--ink); border-color: var(--line); }
input[type='date'].control, select.control { appearance: none; -webkit-appearance: none; }
input[type='date'].control::-webkit-calendar-picker-indicator { filter: invert(.8) sepia(1) saturate(3) hue-rotate(5deg); cursor: pointer; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-size: .92rem; color: var(--ink-2); }
.field input, .field select, .field textarea { font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fffdf7; border: 1px solid #DCC59A; padding: 12px 14px; width: 100%; border-radius: 0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: .85rem; color: var(--ink-3); }
.field .error { font-size: .88rem; color: var(--bad); }
.field input[aria-invalid='true'] { border-color: var(--bad); }
.choice { display: flex; gap: 10px; flex-wrap: wrap; }
.choice label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #DCC59A; padding: 10px 14px; cursor: pointer; background: #fffdf7; font-size: .95rem; }
.choice input { accent-color: var(--ruby); }
.choice label:has(input:checked) { border-color: var(--ruby); background: #fbe9ea; color: var(--ruby); }

/* ---------- dialog (place picker etc.) */
dialog.sheet { border: 0; padding: 0; width: min(560px, 100% - 24px); max-height: min(80vh, 680px); background: var(--ivory); color: var(--ink); box-shadow: 0 30px 80px rgba(23, 10, 29, .55); }
dialog.sheet::backdrop { background: rgba(23, 10, 29, .66); backdrop-filter: blur(3px); }
.sheet__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line-soft); }
.sheet__head h2 { font-size: var(--step-2); margin: 0; }
.sheet__body { padding: 18px 22px 22px; overflow-y: auto; max-height: calc(min(80vh, 680px) - 70px); }
.icon-btn { background: none; border: 0; width: 40px; height: 40px; cursor: pointer; color: var(--ink-2); font-size: 1.5rem; }
.place-list { list-style: none; margin: 12px 0 0; padding: 0; max-height: 46vh; overflow-y: auto; }
.place-list button { width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line-soft); padding: 12px 6px; font: 400 1rem var(--sans); color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; }
.place-list button:hover, .place-list button:focus-visible { background: var(--parchment); }
.place-list small { color: var(--ink-3); }

/* ---------- data rows */
.rows { display: grid; gap: 0; margin: 0; }
.row { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line-soft); align-items: baseline; }
.row:last-child { border-bottom: 0; }
.row dt { color: var(--ink-3); font-size: .93rem; }
.row dd { margin: 0; color: var(--ink); }
.row dd small { display: block; color: var(--ink-3); font-size: .85rem; }
.facet--night .row { border-color: rgba(236, 200, 111, .16); }
.facet--night .row dt { color: #B8A1A6; }
.facet--night .row dd { color: #F5E8DC; }
.facet--night .row dd small { color: #A99096; }
.tone-good { color: var(--good) !important; }
.tone-bad { color: var(--bad) !important; }
.tone-neutral { color: var(--neutral) !important; }
.tag { display: inline-block; font-size: .78rem; padding: 2px 9px; border: 1px solid currentColor; line-height: 1.5; margin-left: 6px; vertical-align: 2px; }
.tag--good { color: var(--good); } .tag--bad { color: var(--bad); } .tag--gold { color: #8C6420; } .tag--rose { color: var(--crimson); }

/* ---------- the five limbs strip */
.limbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.limb { padding: 18px 16px; border-right: 1px solid var(--line-soft); }
.limb:last-child { border-right: 0; }
.limb__k { color: var(--ink-3); font-size: .9rem; }
.limb__v { font: 600 var(--step-2)/1.15 var(--serif); color: var(--ruby); margin: 4px 0 2px; }
.limb__t { font-size: .88rem; color: var(--ink-2); }
@media (max-width: 860px) { .limbs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .limb { border-bottom: 1px solid var(--line-soft); } .limb:nth-child(2n) { border-right: 0; } .limb:last-child { grid-column: 1 / -1; border-bottom: 0; } }

/* ---------- day arc */
.day-arc { width: 100%; height: auto; overflow: visible; }
.day-arc text { font: 400 13px var(--sans); fill: var(--ink-2); }
.day-arc .arc-label { font: 500 14px var(--sans); }

/* ---------- navagraha wheel */
.wheel { width: 100%; max-width: 520px; margin-inline: auto; }
.wheel text { font-family: var(--sans); }
.graha-list { display: grid; gap: 0; }
.graha { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid rgba(236, 200, 111, .14); }
.graha__glyph { width: 34px; height: 34px; display: grid; place-items: center; font-size: 1.2rem; border: 1px solid; transform: rotate(45deg); }
.graha__glyph span { transform: rotate(-45deg); }
.graha__name { color: #F5E8DC; }
.graha__name small { display: block; color: #A99096; font-size: .85rem; }
.graha__pos { text-align: right; font-variant-numeric: tabular-nums; color: var(--champagne); }
.graha__pos small { display: block; color: #A99096; font-size: .82rem; }

/* ---------- event lists */
.events { list-style: none; margin: 0; padding: 0; }
.event { display: grid; grid-template-columns: 76px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.event__date { text-align: center; border: 1px solid var(--line); padding: 6px 0 8px; background: var(--parchment); }
.event__date b { display: block; font: 600 1.9rem/1 var(--serif); color: var(--ruby); }
.event__date span { font-size: .78rem; color: var(--ink-3); }
.event__name { font: 600 1.3rem/1.2 var(--serif); color: var(--ink); }
.event__name .alt { font: 400 .92rem var(--sans); color: var(--ink-3); display: block; margin-top: 2px; }
.event__meta { font-size: .88rem; color: var(--ink-2); margin-top: 3px; }
.event--major .event__date { background: linear-gradient(180deg, #fbe6e9, var(--parchment)); border-color: var(--crimson); }

/* ---------- tables */
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.t th { text-align: left; font: 500 .9rem var(--sans); color: var(--ink-3); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.t td { padding: 11px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.t tr.is-now td { background: #fbeccd; }
.t tr.is-now td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.facet--night .t th { color: #B8A1A6; border-color: var(--line-night); }
.facet--night .t td { border-color: rgba(236,200,111,.12); color: #F2E4D8; }
.facet--night .t tr.is-now td { background: rgba(236, 200, 111, .12); }

/* ---------- calendar grid */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal__dow { text-align: center; font-size: .82rem; color: var(--ink-3); padding: 6px 0; }
.cal__day { min-height: 108px; background: #fffdf7; border: 1px solid #EAD7B0; padding: 8px; position: relative; display: flex; flex-direction: column; gap: 3px; font-size: .78rem; color: var(--ink-2); text-align: left; }
.cal__day b { font: 600 1.35rem/1 var(--serif); color: var(--ink); }
.cal__day.is-today { border-color: var(--ruby); box-shadow: inset 0 0 0 1px var(--ruby); }
.cal__day.is-other { opacity: .35; }
.cal__day .ev { color: var(--ruby); font-weight: 500; line-height: 1.25; }
.cal__day .ev--major { color: var(--crimson); }
.cal__moon { position: absolute; right: 8px; top: 8px; width: 14px; height: 14px; }
@media (max-width: 700px) { .cal__day { min-height: 74px; padding: 5px; font-size: .68rem; } .cal__day .tt { display: none; } .cal__day b { font-size: 1.05rem; } }

/* ---------- wisdom / quote */
.quote { font: 500 clamp(1.7rem, 3.4vw, 2.6rem)/1.22 var(--serif); color: var(--ruby); margin: 0 0 .5em; text-wrap: balance; }
.quote-sa { font: 400 1.2rem/1.7 var(--deva); color: var(--copper); margin: 0 0 .3em; }
.quote-tr { font: italic 400 1.08rem/1.55 var(--serif); color: var(--ink-2); margin: 0 0 .6em; }
.quote-src { font-size: .95rem; color: var(--ink-3); }
.affirm { font: 400 var(--step-1)/1.45 var(--sans); color: var(--ink); border-left: 2px solid var(--gold); padding-left: 16px; margin: 18px 0; }

/* ---------- booking */
.book { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(20px, 3vw, 44px); align-items: start; }
@media (max-width: 960px) { .book { grid-template-columns: 1fr; } }
.steps { display: flex; gap: 0; list-style: none; padding: 0; margin: 0 0 28px; counter-reset: s; flex-wrap: wrap; }
.steps li { flex: 1; min-width: 120px; padding: 10px 12px 12px; border-bottom: 2px solid var(--line-soft); color: var(--ink-3); font-size: .92rem; counter-increment: s; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 8px; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: #EBDDBE; color: var(--ink-2); font-size: .78rem; vertical-align: -7px; }
.steps li[aria-current='step']::before { background: var(--ruby); color: var(--ivory); }
.steps li.is-done::before { background: var(--jade); color: #fff; }
.steps li[aria-current='step'] { color: var(--ruby); border-color: var(--ruby); }
.steps li.is-done { color: var(--jade); border-color: var(--jade); }
.services { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.service { text-align: left; cursor: pointer; border: 1px solid #E2CB9C; background: #fffdf7; padding: 20px; font: inherit; color: inherit; display: grid; gap: 6px; position: relative; transition: border-color .2s, background .2s; }
.service:hover { border-color: var(--gold); }
.service[aria-pressed='true'] { border-color: var(--ruby); background: #fdf0f0; box-shadow: inset 0 0 0 1px var(--ruby); }
.service__name { font: 600 1.35rem/1.15 var(--serif); color: var(--ruby); }
.service__meta { font-size: .88rem; color: var(--ink-3); }
.service__desc { font-size: .95rem; color: var(--ink-2); }
.bcal { border: 1px solid #E2CB9C; background: #fffdf7; padding: 16px; }
.bcal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.bcal__head h3 { font-size: var(--step-2); margin: 0; }
.bcal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.bcal__grid .dow { text-align: center; font-size: .78rem; color: var(--ink-3); padding: 4px 0; }
.bday { aspect-ratio: 1; border: 1px solid transparent; background: none; font: 500 1rem var(--sans); color: var(--ink-3); cursor: default; position: relative; }
.bday.is-open { color: var(--ink); cursor: pointer; background: #fbf3e2; border-color: #EAD7B0; }
.bday.is-open::after { content: ''; position: absolute; left: 50%; bottom: 6px; width: 5px; height: 5px; background: var(--jade); transform: translateX(-50%) rotate(45deg); }
.bday.is-open:hover { border-color: var(--gold); }
.bday[aria-pressed='true'] { background: var(--ruby); color: var(--ivory); border-color: var(--ruby); }
.bday[aria-pressed='true']::after { background: var(--gold-2); }
.bday.is-today { box-shadow: inset 0 0 0 1px var(--gold); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; }
.slot { min-height: 46px; border: 1px solid #E2CB9C; background: #fffdf7; font: 500 1rem var(--sans); color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; }
.slot small { display: block; font-size: .72rem; color: var(--ink-3); font-weight: 400; }
.slot:hover { border-color: var(--gold); }
.slot[aria-pressed='true'] { background: var(--ruby); color: var(--ivory); border-color: var(--ruby); }
.slot[aria-pressed='true'] small { color: var(--blush); }
.slot-group h4 { font: 500 .95rem var(--sans); color: var(--ink-3); margin: 16px 0 8px; }
.summary { position: sticky; top: 96px; }
.summary .rows .row { grid-template-columns: 90px 1fr; }
.notice { padding: 14px 16px; border-left: 3px solid var(--gold); background: var(--parchment); font-size: .95rem; color: var(--ink-2); margin: 16px 0; }
.notice--error { border-color: var(--bad); background: #fcebed; color: #7a1626; }
.notice--ok { border-color: var(--jade); background: #e9f4f1; color: #1d4a45; }
.confirm-code { font: 600 clamp(2rem, 5vw, 3rem)/1 var(--serif); letter-spacing: .08em; color: var(--ruby); }
.empty { color: var(--ink-3); font-style: italic; padding: 12px 0; }
.spinner { width: 22px; height: 22px; border: 2px solid var(--line); border-top-color: var(--ruby); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- kundali chart */
.chart { width: 100%; max-width: 440px; }
.chart text { font-family: var(--sans); }
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 18px; flex-wrap: wrap; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 12px 16px; font: 500 .98rem var(--sans); color: var(--ink-3); cursor: pointer; margin-bottom: -1px; }
.tabs button[aria-selected='true'] { color: var(--ruby); border-color: var(--ruby); }
.syllables { display: flex; gap: 10px; flex-wrap: wrap; }
.syllables span { font: 600 1.5rem/1 var(--serif); padding: 10px 14px; border: 1px solid var(--line); background: var(--parchment); color: var(--ink-2); }
.syllables span.is-yours { background: var(--ruby); color: var(--ivory); border-color: var(--ruby); }

/* ---------- filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.filters button { border: 1px solid #E2CB9C; background: #fffdf7; padding: 8px 14px; font: 400 .92rem var(--sans); cursor: pointer; color: var(--ink-2); }
.filters button[aria-pressed='true'] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* ---------- footer */
.site-footer { background: var(--night); color: #CDB8B0; padding: 64px 0 32px; border-top: 1px solid var(--line-night); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer h3 { font-size: 1.2rem; color: var(--champagne); margin-bottom: .8em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #E7D3C4; text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer small { display: block; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(236,200,111,.14); color: #957C82; font-size: .85rem; }

/* ---------- misc */
.muted { color: var(--ink-3); }
.band--night .muted, .facet--night .muted { color: #A99096; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.stack > * + * { margin-top: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.portrait { aspect-ratio: 4 / 5; background: radial-gradient(80% 70% at 50% 35%, #5a1238, var(--night)); display: grid; place-items: center; }
.portrait img { width: 70%; }
details.faq { border-bottom: 1px solid var(--line-soft); padding: 14px 0; }
details.faq summary { cursor: pointer; font: 600 1.25rem/1.3 var(--serif); color: var(--ink); list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; float: right; color: var(--gold); font-family: var(--sans); }
details.faq[open] summary::after { content: '–'; }
details.faq p { margin: 10px 0 0; color: var(--ink-2); }
.loading-line { display: flex; align-items: center; gap: 12px; color: var(--ink-3); padding: 20px 0; }
.band--night .loading-line { color: #A99096; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
}

#step-body { scroll-margin-top: 96px; outline: none; }
.field input[type='checkbox'], .field input[type='radio'] { width: auto; padding: 0; flex: none; }
.field { align-content: start; }
.confirm-code { font-variant-numeric: lining-nums tabular-nums; }
