:root {
  --night: #0d1024;
  --plum: #191333;
  --plum-light: #261b4b;
  --gold: #d6a84b;
  --gold-soft: #ead29a;
  --saffron: #f28c28;
  --ivory: #f7f1e3;
  --paper: #fbf8f0;
  --jade: #3e8e7e;
  --ruby: #a94a55;
  --ink: #17172a;
  --muted: #777286;
  --line: rgba(23, 23, 42, 0.12);
  --serif: "Marcellus", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --shadow: 0 24px 80px rgba(13, 16, 36, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}
main, .site-footer { position: relative; z-index: 1; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.ambient { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .45; }
.orb-one { width: 36rem; height: 36rem; right: -15rem; top: -16rem; background: radial-gradient(circle, rgba(214,168,75,.2), transparent 68%); }
.orb-two { width: 28rem; height: 28rem; left: -14rem; top: 50vh; background: radial-gradient(circle, rgba(62,142,126,.12), transparent 70%); }
.stars { position: absolute; width: 100%; height: 42rem; background-image: radial-gradient(circle, rgba(214,168,75,.35) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, #000, transparent); }
.cosmic-watermark {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("./trimurti-cosmic-watermark.webp");
  background-repeat: no-repeat;
  background-position: center 118px;
  background-size: min(1180px, 92vw) auto;
  opacity: .13;
  filter: saturate(.58) contrast(1.15);
  mix-blend-mode: multiply;
  mask-image: linear-gradient(to bottom, transparent 1%, #000 11%, #000 82%, transparent 100%);
}
.section-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  width: min(1280px, calc(100% - 28px));
  margin: 14px auto 0;
  min-height: 72px;
  padding: 10px 14px 10px 16px;
  position: sticky;
  top: 12px;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 18px;
  background: rgba(251,248,240,.84);
  box-shadow: 0 10px 40px rgba(13,16,36,.08);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--night); color: var(--gold); }
.brand-mark svg { width: 34px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.brand-mark svg circle:last-child { fill: currentColor; stroke: none; }
.brand b { display: block; font: 21px/1 var(--serif); letter-spacing: .04em; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.main-nav { display: flex; gap: 30px; font-size: 14px; font-weight: 600; }
.main-nav a { position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: var(--gold); transition: right .25s; }
.main-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.text-button { border: 0; background: none; padding: 8px; font-weight: 600; cursor: pointer; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--night);
  border-radius: 999px;
  background: var(--night);
  color: white;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(13,16,36,.16);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(13,16,36,.22); }
.button-small { min-height: 42px; padding: 9px 17px; font-size: 13px; }
.button-ghost { color: var(--night); background: transparent; box-shadow: none; }
.button-light { background: var(--ivory); color: var(--night); border-color: var(--ivory); }
.menu-toggle { display: none; border: 0; background: none; padding: 10px; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: var(--night); margin: 5px; }

.hero { min-height: 790px; padding: 100px 0 90px; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 50px; }
.eyebrow { margin: 0 0 18px; display: flex; align-items: center; gap: 10px; color: #8b6828; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; }
.eyebrow > span { width: 28px; height: 1px; background: var(--gold); }
h1, h2, h3 { margin-top: 0; font-family: var(--serif); font-weight: 400; }
h1 { max-width: 670px; margin-bottom: 24px; font-size: clamp(52px, 6.2vw, 88px); line-height: .99; letter-spacing: -.04em; }
h1 em, h2 em { color: #9b6f23; font-style: italic; font-weight: 400; }
.hero-lead { max-width: 600px; color: #5f5b69; font-size: 18px; }
.hero-actions { margin: 34px 0 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 12px; }
.trust-row i { color: var(--gold); font-style: normal; }

.cosmic-stage { min-height: 590px; position: relative; display: grid; place-items: center; }
.cosmic-halo { position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(214,168,75,.18), rgba(242,140,40,.05) 34%, transparent 66%); filter: blur(10px); }
.zodiac-wheel { width: min(480px, 82vw); aspect-ratio: 1; position: relative; display: grid; place-items: center; border: 1px solid rgba(155,111,35,.35); border-radius: 50%; background: radial-gradient(circle at 48% 44%, #fbf3dc 0 8%, #f7e9c8 9% 18%, rgba(255,255,255,.35) 19% 45%, rgba(214,168,75,.08) 46% 100%); box-shadow: 0 30px 100px rgba(138,89,20,.15), inset 0 0 70px rgba(214,168,75,.13); }
.zodiac-wheel::before, .zodiac-wheel::after { content: ""; position: absolute; inset: 7%; border: 1px dashed rgba(155,111,35,.28); border-radius: 50%; }
.zodiac-wheel::after { inset: 23%; border-style: solid; }
.wheel-ring-outer { position: absolute; inset: 0; animation: spin 80s linear infinite; }
.wheel-ring-outer span { position: absolute; left: 50%; top: 50%; color: #8f6726; font-size: 19px; transform: translate(-50%, -50%) rotate(calc(var(--i) * 30deg)) translateY(-215px) rotate(calc(var(--i) * -30deg)); }
.wheel-ring-outer span:nth-child(1) { --i: 0; }.wheel-ring-outer span:nth-child(2) { --i: 1; }.wheel-ring-outer span:nth-child(3) { --i: 2; }.wheel-ring-outer span:nth-child(4) { --i: 3; }.wheel-ring-outer span:nth-child(5) { --i: 4; }.wheel-ring-outer span:nth-child(6) { --i: 5; }.wheel-ring-outer span:nth-child(7) { --i: 6; }.wheel-ring-outer span:nth-child(8) { --i: 7; }.wheel-ring-outer span:nth-child(9) { --i: 8; }.wheel-ring-outer span:nth-child(10) { --i: 9; }.wheel-ring-outer span:nth-child(11) { --i: 10; }.wheel-ring-outer span:nth-child(12) { --i: 11; }
.sun-core { width: 132px; aspect-ratio: 1; z-index: 2; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--night); color: var(--gold-soft); box-shadow: 0 0 0 12px rgba(13,16,36,.05), 0 18px 40px rgba(13,16,36,.25); }
.sun-core span { font-size: 38px; line-height: 1; }
.sun-core small { margin-top: 8px; font-size: 8px; text-transform: uppercase; letter-spacing: .16em; }
.planet { position: absolute; width: 38px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: #8f6726; border: 1px solid var(--gold-soft); box-shadow: 0 8px 24px rgba(13,16,36,.12); }
.planet-one { left: 11%; top: 30%; }.planet-two { right: 13%; top: 22%; }.planet-three { right: 21%; bottom: 15%; }
.cosmic-note { position: absolute; z-index: 4; width: 210px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.82); border: 1px solid rgba(214,168,75,.3); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.cosmic-note small { display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.cosmic-note b { display: block; margin-top: 3px; font: 14px/1.4 var(--serif); }
.note-one { left: -10px; bottom: 74px; }.note-two { right: -6px; top: 76px; }
@keyframes spin { to { transform: rotate(360deg); } }

.guidance-section { padding: 110px 0; }
.section-heading { max-width: 660px; margin-bottom: 42px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading h2, .tarot-intro h2, .closing-section h2 { margin-bottom: 16px; font-size: clamp(40px, 5vw, 64px); line-height: 1.07; letter-spacing: -.035em; }
.section-heading > p:last-child, .tarot-intro > p { color: var(--muted); }
.daily-card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.64); box-shadow: var(--shadow); }
.daily-main { padding: 42px; display: grid; grid-template-columns: auto 1fr; gap: 28px; }
.date-medallion { width: 92px; height: 110px; display: grid; place-content: center; text-align: center; color: var(--gold-soft); background: var(--night); border-radius: 46px 46px 14px 14px; }
.date-medallion strong { font: 38px/1 var(--serif); }.date-medallion span { margin-top: 8px; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.card-kicker { margin: 0 0 6px; color: #916b2a; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.daily-main h3 { margin-bottom: 12px; font-size: clamp(27px, 3vw, 42px); line-height: 1.15; }
.daily-main p { max-width: 740px; color: var(--muted); }
.inline-link { padding: 4px 0; border: 0; border-bottom: 1px solid rgba(23,23,42,.35); background: none; font-size: 13px; font-weight: 700; cursor: pointer; }
.inline-link span { color: #916b2a; }
.daily-details { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.daily-details > div { padding: 25px 28px; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 13px; border-right: 1px solid var(--line); }
.daily-details > div:last-child { border: 0; }
.daily-details small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.daily-details b { font: 16px var(--serif); }
.detail-icon { width: 35px; aspect-ratio: 1; grid-row: 1 / 3; display: grid; place-items: center; border-radius: 50%; color: white; font-size: 12px; }
.saffron { background: var(--saffron); }.jade { background: var(--jade); }.gold { background: var(--gold); }.ruby { background: var(--ruby); }

.traditions-section { padding: 120px 0; color: var(--ivory); background: var(--night); position: relative; overflow: hidden; }
.traditions-section::before { content: ""; position: absolute; inset: 0; opacity: .25; background-image: radial-gradient(circle at 20% 10%, var(--gold) 1px, transparent 1px); background-size: 70px 70px; mask-image: radial-gradient(circle at center, #000, transparent 75%); }
.traditions-section .section-shell { position: relative; }
.traditions-section .section-heading > p:last-child { color: #aaa6b6; }
.traditions-section h2 em { color: var(--gold-soft); }
.tradition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tradition-card { min-height: 270px; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); transition: transform .25s, background .25s, border-color .25s; }
.tradition-card:hover { transform: translateY(-5px); border-color: rgba(214,168,75,.5); background: linear-gradient(145deg, rgba(214,168,75,.12), rgba(255,255,255,.02)); }
.tradition-card > span { margin-bottom: auto; color: var(--gold); font: 35px var(--serif); }
.tradition-card small { color: var(--gold-soft); text-transform: uppercase; font-size: 9px; letter-spacing: .16em; }
.tradition-card h3 { margin: 7px 0 8px; font-size: 24px; }
.tradition-card p { margin: 0; color: #aaa6b6; font-size: 14px; }

.tarot-section { padding: 130px 0; display: grid; grid-template-columns: 360px 1fr; gap: 70px; align-items: start; }
.tarot-intro { position: sticky; top: 120px; }
.question-field { margin-top: 28px; display: block; }
.question-field span, .modal label > span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.question-field input, .modal input { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--ink); background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 10px; outline: none; }
.question-field input:focus, .modal input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214,168,75,.15); }
.tarot-controls { margin-top: 16px; display: flex; align-items: center; gap: 8px; }
.selection-count { color: #916b2a !important; font-size: 12px; font-weight: 700; }
.tarot-workspace { min-width: 0; padding: 26px; border-radius: 24px; color: var(--ivory); background: var(--plum); box-shadow: 0 30px 90px rgba(25,19,51,.3); }
.spread-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.spread-slot { min-height: 250px; padding: 14px; position: relative; display: grid; grid-template-rows: auto auto 1fr; text-align: center; border: 1px dashed rgba(234,210,154,.35); border-radius: 14px; }
.spread-slot small { justify-self: start; color: var(--gold-soft); font-size: 9px; }.spread-slot > span { font: 14px var(--serif); }
.chosen-card { display: grid; place-items: center; }
.chosen-card .tarot-card { position: relative; inset: auto; transform: none !important; }
.deck { min-height: 200px; margin: 34px 0 18px; position: relative; display: flex; justify-content: center; align-items: end; }
.tarot-card { width: 104px; height: 170px; padding: 8px; position: absolute; border: 1px solid rgba(234,210,154,.7); border-radius: 10px; background: var(--night); box-shadow: 0 12px 30px rgba(0,0,0,.3); cursor: pointer; transition: transform .35s, filter .2s, opacity .25s; transform-origin: 50% 140%; }
.tarot-card:hover, .tarot-card:focus-visible { filter: brightness(1.2); outline: 2px solid var(--gold); outline-offset: 3px; }
.tarot-card::before { content: "✦"; position: absolute; inset: 8px; display: grid; place-items: center; color: var(--gold); font: 28px var(--serif); border: 1px solid rgba(214,168,75,.55); border-radius: 6px; background: radial-gradient(circle, rgba(214,168,75,.15), transparent 48%), repeating-conic-gradient(from 0deg, rgba(214,168,75,.08) 0 8deg, transparent 8deg 16deg); }
.tarot-card.is-chosen { opacity: 0; pointer-events: none; }
.tarot-card.revealed { width: 126px; height: 202px; padding: 0; overflow: hidden; color: var(--ivory); background: linear-gradient(160deg, #5c3469, #17172f 55%, #805c21); border-color: var(--gold); cursor: default; }
.tarot-card.revealed::before { display: none; }
.tarot-card.reversed .card-face { transform: rotate(180deg); }
.card-face { height: 100%; padding: 15px 8px; display: grid; grid-template-rows: auto 1fr auto; text-align: center; background: radial-gradient(circle at 50% 42%, rgba(242,140,40,.2), transparent 36%); }
.card-face small { justify-self: center; color: var(--gold-soft); }.card-symbol { display: grid; place-items: center; color: var(--gold-soft); font-size: 48px; }.card-face b { font: 15px var(--serif); }
.reading-result { margin-top: 22px; padding: 25px; border: 1px solid rgba(214,168,75,.28); border-radius: 14px; background: rgba(255,255,255,.05); }
.reading-result h3 { margin-bottom: 8px; font-size: 27px; }.reading-result p { color: #c2becb; }.reading-result .inline-link { color: var(--ivory); border-color: rgba(255,255,255,.4); }

.journey-section { padding: 130px 0; background: #eee6d7; }
.journey-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.journey-list { margin: 0; padding: 0; list-style: none; }
.journey-list li { padding: 28px 0; display: grid; grid-template-columns: 62px 1fr; gap: 18px; border-top: 1px solid rgba(23,23,42,.15); }
.journey-list li:last-child { border-bottom: 1px solid rgba(23,23,42,.15); }
.journey-list > li > span { width: 46px; height: 46px; display: grid; place-items: center; color: #8b6828; border: 1px solid rgba(139,104,40,.4); border-radius: 50%; font-size: 11px; }
.journey-list h3 { margin: 0 0 5px; font-size: 25px; }.journey-list p { margin: 0; color: var(--muted); }
.closing-section { margin-top: 100px; margin-bottom: 100px; padding: 70px; display: flex; align-items: end; justify-content: space-between; gap: 40px; border-radius: 26px; color: var(--ivory); background: var(--night); box-shadow: var(--shadow); }
.closing-section h2 { margin-bottom: 0; }.closing-section h2 em { color: var(--gold-soft); }
.site-footer { padding: 25px 0 45px; display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: center; gap: 25px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }.site-footer > small { grid-column: 1 / -1; }.footer-brand .brand-mark { width: 36px; height: 36px; }

.modal { width: min(580px, calc(100% - 28px)); padding: 38px; border: 1px solid rgba(214,168,75,.35); border-radius: 22px; color: var(--ink); background: var(--paper); box-shadow: 0 40px 120px rgba(13,16,36,.45); }
.modal::backdrop { background: rgba(13,16,36,.68); backdrop-filter: blur(8px); }
.modal h2 { font-size: 38px; line-height: 1.1; }.modal > p:not(.eyebrow) { color: var(--muted); }
.modal-close { position: absolute; right: 18px; top: 14px; border: 0; background: none; font-size: 30px; cursor: pointer; }
.modal form { display: grid; gap: 16px; margin-top: 25px; }.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal fieldset { padding: 14px; border: 1px solid var(--line); border-radius: 10px; }.modal legend { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.radio { margin-right: 13px; font-size: 13px; }.radio input { width: auto; min-height: auto; }
.form-note { color: var(--muted); text-align: center; }.compact-modal { max-width: 470px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; }
  .main-nav, .header-actions { display: none; }
  .site-header.menu-open .main-nav { padding: 16px 4px 8px; grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; }
  .site-header.menu-open .header-actions { padding-top: 10px; grid-column: 1 / -1; display: flex; justify-content: flex-start; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 80px; }
  .hero-copy { text-align: center; }.hero-copy .eyebrow, .hero-actions, .trust-row { justify-content: center; }.hero-lead { margin-inline: auto; }
  .cosmic-stage { min-height: 530px; }
  .tradition-grid { grid-template-columns: repeat(2, 1fr); }
  .tarot-section { grid-template-columns: 1fr; }.tarot-intro { position: static; max-width: 700px; }
  .journey-grid { grid-template-columns: 1fr; gap: 35px; }
  .site-footer { grid-template-columns: 1fr 1fr; }.site-footer nav { justify-content: end; }.site-footer > p { display: none; }
}

@media (max-width: 680px) {
  .section-shell { width: min(100% - 24px, 1180px); }
  .site-header { width: calc(100% - 18px); margin-top: 9px; top: 7px; border-radius: 14px; }
  .cosmic-watermark { background-position: center 150px; background-size: 155vw auto; opacity: .075; }
  .brand small { display: none; }
  h1 { font-size: clamp(48px, 15vw, 68px); }
  .hero { padding: 64px 0 55px; gap: 15px; }
  .hero-actions { display: grid; }.hero-actions .button { width: 100%; }
  .trust-row { font-size: 10px; gap: 10px; }
  .cosmic-stage { min-height: 430px; transform: scale(.94); }
  .wheel-ring-outer span { transform: translate(-50%, -50%) rotate(calc(var(--i) * 30deg)) translateY(-39vw) rotate(calc(var(--i) * -30deg)); }
  .cosmic-note { width: 175px; padding: 10px; }.note-one { left: -5px; bottom: 20px; }.note-two { right: -5px; top: 36px; }
  .guidance-section, .traditions-section, .tarot-section, .journey-section { padding-top: 82px; padding-bottom: 82px; }
  .daily-main { padding: 24px; grid-template-columns: 1fr; }.date-medallion { width: 68px; height: 76px; border-radius: 34px 34px 10px 10px; }.date-medallion strong { font-size: 29px; }
  .daily-details { grid-template-columns: 1fr 1fr; }.daily-details > div { padding: 18px 15px; border-bottom: 1px solid var(--line); }.daily-details > div:nth-child(2) { border-right: 0; }
  .tradition-grid { grid-template-columns: 1fr; }.tradition-card { min-height: 220px; }
  .tarot-workspace { padding: 14px; border-radius: 18px; }.spread-slots { gap: 7px; }.spread-slot { min-height: 196px; padding: 7px; }.tarot-card.revealed { width: 86px; height: 150px; }.card-symbol { font-size: 35px; }.card-face b { font-size: 12px; }
  .deck { min-height: 180px; overflow: hidden; }.tarot-card { width: 78px; height: 132px; }
  .journey-list li { grid-template-columns: 48px 1fr; }
  .closing-section { margin-top: 65px; margin-bottom: 65px; padding: 38px 24px; align-items: stretch; flex-direction: column; }.closing-section .button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; }.site-footer nav { justify-content: flex-start; }
  .form-row { grid-template-columns: 1fr; }.modal { padding: 32px 20px 24px; }.modal h2 { font-size: 31px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
