:root {
  color-scheme: dark;
  --bg: #05040b;
  --bg-2: #0b0a16;
  --panel: rgba(13, 12, 27, 0.74);
  --panel-strong: rgba(17, 15, 34, 0.92);
  --line: rgba(246, 223, 172, 0.16);
  --line-strong: rgba(219, 177, 89, 0.42);
  --gold: #d9b45f;
  --gold-bright: #f4d78d;
  --ivory: #f8efd9;
  --muted: #bdb2d0;
  --purple: #8165b2;
  --indigo: #151531;
  --rose: #c987a7;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1160px;
  --serif: "Cinzel", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(217, 180, 95, 0.14), transparent 34rem),
    radial-gradient(circle at 88% 18%, rgba(129, 101, 178, 0.15), transparent 26rem),
    linear-gradient(150deg, #030309 0%, #090816 42%, #0c1020 100%);
  color: var(--ivory);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--ivory);
  color: #17101c;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.cosmos {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}

.cosmos__glow,
.cosmos__smoke,
.cosmos__stars {
  position: absolute;
  inset: auto;
  display: block;
}

.cosmos__glow--gold {
  width: 54vw;
  height: 54vw;
  min-width: 340px;
  min-height: 340px;
  left: -22vw;
  top: 12vh;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 180, 95, 0.18), transparent 62%);
  filter: blur(16px);
}

.cosmos__glow--violet {
  width: 56vw;
  height: 56vw;
  min-width: 360px;
  min-height: 360px;
  right: -28vw;
  top: 36vh;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 72, 151, 0.2), transparent 64%);
  filter: blur(18px);
}

.cosmos__smoke {
  inset: -20%;
  opacity: 0.18;
  background:
    radial-gradient(ellipse at 30% 35%, rgba(255, 255, 255, 0.14), transparent 26%),
    radial-gradient(ellipse at 72% 58%, rgba(217, 180, 95, 0.11), transparent 24%),
    conic-gradient(from 90deg at 50% 50%, transparent, rgba(255, 255, 255, 0.08), transparent, rgba(129, 101, 178, 0.1), transparent);
  filter: blur(42px);
  animation: smokeDrift 24s var(--ease) infinite alternate;
}

.cosmos__stars {
  inset: 0;
  opacity: 0.42;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.85) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(244, 215, 141, 0.55) 0 1px, transparent 1.7px);
  background-size: 94px 94px, 151px 151px;
  background-position: 8px 12px, 42px 67px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 92%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 30;
  display: flex;
  width: min(calc(100% - 24px), var(--max));
  transform: translateX(-50%);
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 8px 10px 8px 8px;
  background: rgba(6, 5, 13, 0.68);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__sigil {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(244, 215, 141, 0.56);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 20%, rgba(244, 215, 141, 0.72), transparent 28%),
    linear-gradient(145deg, rgba(31, 22, 43, 0.96), rgba(8, 8, 19, 0.96));
  color: var(--gold-bright);
  font-family: var(--serif);
  font-weight: 700;
  box-shadow: 0 0 26px rgba(217, 180, 95, 0.24);
}

.brand__name,
.brand__line {
  display: block;
  white-space: nowrap;
}

.brand__name {
  overflow: hidden;
  max-width: 45vw;
  text-overflow: ellipsis;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand__line {
  color: var(--muted);
  font-size: 0.66rem;
}

.nav {
  display: none;
}

.nav a {
  border-radius: 999px;
  padding: 9px 10px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 220ms ease, background 220ms ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ivory);
}

main {
  width: min(100%, 1480px);
  margin: 0 auto;
}

.hero,
.section,
.ritual,
.about,
.sessions,
.footer {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  gap: 34px;
  padding: 104px 0 54px;
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  color: var(--ivory);
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.04;
}

h1 {
  max-width: 10ch;
  font-size: clamp(2.85rem, 13.5vw, 4.7rem);
  text-shadow: 0 0 32px rgba(217, 180, 95, 0.12);
}

h2 {
  font-size: clamp(2rem, 10vw, 4.2rem);
}

h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.22;
}

.hero__subtitle {
  max-width: 35rem;
  margin: 18px 0 0;
  color: #ddd3ea;
  font-size: clamp(1.02rem, 4vw, 1.34rem);
  line-height: 1.55;
}

.hero__note {
  max-width: 35rem;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.hero__actions,
.session-actions,
.reading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__actions {
  margin-top: 28px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 18px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 240ms var(--ease),
    border-color 240ms ease,
    box-shadow 240ms ease,
    background 240ms ease;
  touch-action: manipulation;
}

.button--primary {
  border-color: rgba(244, 215, 141, 0.74);
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 245, 197, 0.96), transparent 25%),
    linear-gradient(135deg, #f0cf7a, #c79a42 48%, #8056a8 100%);
  color: #171018;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(217, 180, 95, 0.22);
}

.button--quiet {
  border-color: rgba(244, 215, 141, 0.24);
  background: rgba(255, 255, 255, 0.055);
  color: var(--ivory);
  backdrop-filter: blur(12px);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: scale(0.98);
}

.hero-oracle {
  position: relative;
  display: grid;
  min-height: 420px;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(244, 215, 141, 0.14);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.orbit--one {
  width: min(82vw, 430px);
  height: min(82vw, 430px);
}

.orbit--two {
  width: min(64vw, 330px);
  height: min(64vw, 330px);
  border-color: rgba(129, 101, 178, 0.24);
  transform: rotate(24deg);
}

.floating-symbol {
  position: absolute;
  color: rgba(244, 215, 141, 0.76);
  font-size: 1.7rem;
  text-shadow: 0 0 22px rgba(217, 180, 95, 0.48);
  animation: symbolFloat 7s ease-in-out infinite alternate;
}

.floating-symbol--moon {
  left: 12%;
  top: 18%;
}

.floating-symbol--star {
  right: 15%;
  bottom: 17%;
  animation-delay: -2s;
}

.hero-deck {
  position: relative;
  width: min(48vw, 170px);
  aspect-ratio: 0.68;
  animation: deckFloat 6.8s ease-in-out infinite;
  perspective: 900px;
}

.hero-deck__card {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(244, 215, 141, 0.46);
  border-radius: 26px;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.54),
    0 0 52px rgba(217, 180, 95, 0.18);
}

.hero-deck__card--back {
  transform: translate(-20px, 20px) rotate(-8deg);
  background: linear-gradient(145deg, rgba(18, 17, 37, 0.72), rgba(59, 41, 88, 0.52));
}

.hero-deck__card--mid {
  transform: translate(14px, 10px) rotate(5deg);
  background: linear-gradient(145deg, rgba(22, 21, 47, 0.82), rgba(88, 67, 123, 0.48));
}

.hero-deck__card--front {
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(244, 215, 141, 0.18), transparent 26%),
    repeating-radial-gradient(circle at 50% 48%, rgba(244, 215, 141, 0.13) 0 1px, transparent 1px 18px),
    linear-gradient(155deg, rgba(10, 9, 22, 0.98), rgba(34, 25, 58, 0.98));
}

.hero-deck__card--front::before,
.hero-deck__card--front::after,
.draw-deck__face::before,
.draw-deck__face::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(244, 215, 141, 0.28);
  pointer-events: none;
}

.hero-deck__card--front::before,
.draw-deck__face::before {
  inset: 18px;
  border-radius: 20px;
}

.hero-deck__card--front::after,
.draw-deck__face::after {
  inset: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 215, 141, 0.12), transparent 60%);
}

.hero-deck__sigil {
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 5.6rem;
  text-shadow: 0 0 30px rgba(217, 180, 95, 0.58);
}

.section,
.ritual,
.about,
.sessions {
  padding: 66px 0;
}

.section-heading {
  display: grid;
  max-width: 720px;
  gap: 14px;
  margin-bottom: 24px;
}

.section-heading p,
.ritual__header p,
.about p,
.sessions p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.principle-grid,
.session-benefits {
  display: grid;
  gap: 12px;
}

.principle-card,
.session-benefits article {
  position: relative;
  min-height: 176px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 20px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
    rgba(10, 9, 20, 0.74);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.principle-card::after,
.session-benefits article::after {
  position: absolute;
  right: -38px;
  bottom: -52px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 180, 95, 0.18), transparent 70%);
  content: "";
}

.principle-card__number {
  display: block;
  margin-bottom: 28px;
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.principle-card p,
.session-benefits p {
  margin: 10px 0 0;
  color: var(--muted);
}

.ritual {
  scroll-margin-top: 86px;
}

.ritual__header {
  display: grid;
  max-width: 760px;
  gap: 12px;
  margin-bottom: 22px;
}

.ritual-app {
  position: relative;
  display: grid;
  gap: 14px;
  overflow: hidden;
  border: 1px solid rgba(244, 215, 141, 0.2);
  border-radius: 30px;
  padding: 14px;
  background:
    radial-gradient(circle at 20% 0%, rgba(217, 180, 95, 0.12), transparent 38%),
    radial-gradient(circle at 86% 72%, rgba(129, 101, 178, 0.16), transparent 42%),
    rgba(8, 7, 18, 0.82);
  box-shadow: var(--shadow);
}

.ritual-app::before {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  content: "";
  pointer-events: none;
}

.theme-panel {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.theme-panel h3 {
  margin-bottom: 12px;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.theme-btn {
  display: grid;
  min-height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--ivory);
  cursor: pointer;
  text-align: left;
  transition:
    transform 220ms var(--ease),
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.theme-btn strong {
  font-size: 0.9rem;
}

.theme-btn span {
  color: var(--muted);
  font-size: 0.74rem;
}

.theme-btn:hover,
.theme-btn.is-active {
  border-color: rgba(244, 215, 141, 0.52);
  background: rgba(217, 180, 95, 0.12);
  box-shadow: inset 0 0 18px rgba(217, 180, 95, 0.06);
  transform: translateY(-1px);
}

.deck-stage {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 520px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 24px 16px;
  background:
    radial-gradient(circle at 50% 46%, rgba(217, 180, 95, 0.16), transparent 32%),
    radial-gradient(circle at 18% 86%, rgba(129, 101, 178, 0.13), transparent 34%),
    rgba(1, 1, 7, 0.32);
}

.deck-aura {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 180, 95, 0.2), transparent 68%);
  filter: blur(6px);
  animation: pulseAura 4.8s ease-in-out infinite;
}

.draw-deck {
  position: relative;
  display: grid;
  width: min(68vw, 240px);
  aspect-ratio: 0.68;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  perspective: 1000px;
}

.draw-deck__stack,
.draw-deck__face {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(244, 215, 141, 0.42);
  border-radius: 24px;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.5),
    0 0 42px rgba(217, 180, 95, 0.14);
}

.draw-deck__stack--left {
  transform: translate(-12px, 12px) rotate(-5deg);
  background: linear-gradient(145deg, rgba(28, 24, 54, 0.7), rgba(10, 9, 23, 0.82));
}

.draw-deck__stack--right {
  transform: translate(10px, 8px) rotate(4deg);
  background: linear-gradient(145deg, rgba(37, 30, 66, 0.76), rgba(10, 9, 23, 0.88));
}

.draw-deck__face {
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(244, 215, 141, 0.2), transparent 26%),
    repeating-linear-gradient(60deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px),
    linear-gradient(155deg, rgba(9, 8, 21, 1), rgba(37, 27, 62, 1));
  transition: transform 520ms var(--ease), box-shadow 240ms ease;
  transform-style: preserve-3d;
}

.draw-deck:hover .draw-deck__face {
  transform: translateY(-6px) rotateX(4deg);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.54),
    0 0 58px rgba(217, 180, 95, 0.25);
}

.draw-deck__sigil {
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 4.7rem;
  text-shadow: 0 0 30px rgba(217, 180, 95, 0.55);
}

.draw-deck__label {
  position: absolute;
  bottom: 34px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.draw-deck.is-drawing .draw-deck__face {
  animation: drawFlip 900ms var(--ease) both;
}

.deck-instruction {
  max-width: 300px;
  margin: 300px auto 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.reading-card {
  position: relative;
  width: min(100%, 520px);
  overflow: hidden;
  border: 1px solid rgba(244, 215, 141, 0.38);
  border-radius: 24px;
  padding: 22px;
  background:
    radial-gradient(circle at 14% 0%, rgba(244, 215, 141, 0.18), transparent 34%),
    linear-gradient(155deg, rgba(16, 14, 31, 0.96), rgba(10, 9, 22, 0.98));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  animation: readingReveal 620ms var(--ease) both;
}

.reading-card__shine {
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, transparent 44%, rgba(255, 255, 255, 0.12), transparent 58%);
  transform: translateX(-42%);
  animation: cardShine 1300ms var(--ease) both 180ms;
}

.reading-card__kicker,
.reading-card__meta {
  position: relative;
  margin: 0;
  color: var(--gold-bright);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reading-card h3 {
  position: relative;
  margin-top: 8px;
  font-size: clamp(1.8rem, 8vw, 3rem);
}

.reading-card__meta {
  margin-top: 6px;
  color: var(--muted);
}

.reading-card__message {
  position: relative;
  margin: 18px 0 0;
  color: #eee6f5;
  font-size: 1.02rem;
}

.reading-prompts {
  position: relative;
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.reading-prompts div {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.045);
}

.reading-prompts span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-bright);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reading-prompts p {
  margin: 0;
  color: var(--muted);
}

.reading-actions {
  position: relative;
  margin-top: 18px;
}

.reading-actions .button {
  min-height: 42px;
  padding: 11px 13px;
  font-size: 0.68rem;
}

.reading-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: #d9f1dd;
  font-size: 0.82rem;
}

.arcana-rail {
  display: grid;
  grid-auto-columns: minmax(220px, 74vw);
  grid-auto-flow: column;
  gap: 12px;
  margin-inline: -16px;
  overflow-x: auto;
  padding: 2px 16px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(244, 215, 141, 0.34) transparent;
}

.arcana-card {
  position: relative;
  display: grid;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 16px;
  background:
    radial-gradient(circle at 50% 0%, var(--element-glow, rgba(217, 180, 95, 0.14)), transparent 44%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.068), rgba(255, 255, 255, 0.028));
  color: var(--ivory);
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
  transition:
    transform 240ms var(--ease),
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.arcana-card:hover {
  border-color: rgba(244, 215, 141, 0.46);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.32);
  transform: translateY(-3px);
}

.arcana-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.arcana-card__number {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(244, 215, 141, 0.38);
  border-radius: 50%;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-weight: 700;
}

.arcana-card__element {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-align: right;
  text-transform: uppercase;
}

.arcana-card__name {
  display: block;
  align-self: end;
  margin-top: 84px;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.22;
}

.arcana-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.arcana-card__keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.arcana-card__keywords span,
.keyword-pill {
  border: 1px solid rgba(244, 215, 141, 0.2);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.about {
  display: grid;
  gap: 18px;
}

.about__copy {
  display: grid;
  gap: 14px;
}

.ritual-steps {
  border: 1px solid rgba(244, 215, 141, 0.18);
  border-radius: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.ritual-steps h3 {
  margin-bottom: 18px;
}

.ritual-steps ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.ritual-steps li {
  position: relative;
  min-height: 72px;
  padding-left: 56px;
  counter-increment: steps;
}

.ritual-steps li::before {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #171018;
  content: counter(steps);
  font-weight: 900;
}

.ritual-steps strong,
.ritual-steps span {
  display: block;
}

.ritual-steps span {
  color: var(--muted);
}

.sessions {
  display: grid;
  gap: 18px;
  margin-bottom: 44px;
  border: 1px solid rgba(244, 215, 141, 0.24);
  border-radius: 30px;
  padding: 26px 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(217, 180, 95, 0.15), transparent 36%),
    radial-gradient(circle at 100% 80%, rgba(129, 101, 178, 0.18), transparent 36%),
    rgba(8, 7, 18, 0.78);
  box-shadow: var(--shadow);
}

.sessions__content {
  display: grid;
  gap: 12px;
}

.session-actions {
  margin-top: 6px;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 0 92px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer p {
  margin: 0;
}

.footer div {
  display: flex;
  gap: 14px;
}

.footer a {
  color: var(--ivory);
  font-weight: 700;
  text-decoration: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(10px);
  animation: fadeIn 240ms ease both;
}

.modal__sheet {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: min(88svh, 820px);
  overflow-y: auto;
  border: 1px solid rgba(244, 215, 141, 0.22);
  border-radius: 28px 28px 0 0;
  padding: 14px 18px 28px;
  background:
    radial-gradient(circle at 20% 0%, rgba(217, 180, 95, 0.14), transparent 34%),
    linear-gradient(160deg, rgba(17, 15, 34, 0.98), rgba(7, 7, 17, 0.98));
  box-shadow: 0 -18px 70px rgba(0, 0, 0, 0.5);
  animation: sheetUp 360ms var(--ease) both;
}

.modal__handle {
  width: 48px;
  height: 5px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.modal__close {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  margin-left: auto;
  place-items: center;
  border: 1px solid rgba(244, 215, 141, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ivory);
  cursor: pointer;
  font-size: 1.5rem;
}

.modal__header {
  display: grid;
  gap: 8px;
  margin: -8px 0 18px;
  padding-right: 46px;
}

.modal__header h2 {
  font-size: clamp(1.7rem, 8.6vw, 3.4rem);
  line-height: 1.08;
}

.modal__header p:last-child {
  margin: 0;
  color: var(--muted);
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion__item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
}

.accordion__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  padding: 15px;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.accordion__trigger span {
  flex: 0 0 auto;
  color: var(--gold-bright);
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  color: var(--muted);
  transition: max-height 280ms var(--ease), padding 280ms var(--ease);
}

.accordion__item.is-open .accordion__panel {
  max-height: 900px;
  padding: 0 15px 16px;
}

.accordion__panel p {
  margin: 0 0 0.85rem;
}

.accordion__panel p:last-child {
  margin-bottom: 0;
}

.accordion__panel strong {
  color: #f3e4bf;
  display: inline;
  font-weight: 800;
}

.keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mobile-cta {
  position: fixed;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 25;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border: 1px solid rgba(244, 215, 141, 0.18);
  border-radius: 999px;
  padding: 7px;
  background: rgba(6, 5, 13, 0.72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
}

.mobile-cta a {
  border-radius: 999px;
  padding: 12px;
  color: var(--ivory);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-cta a:first-child {
  background: linear-gradient(135deg, #f0cf7a, #c79a42);
  color: #171018;
}

.hero .hero-oracle {
  position: absolute;
  top: 154px;
  right: -82px;
  z-index: 0;
  width: 250px;
  min-height: 250px;
  opacity: 0.58;
}

.hero .orbit--one {
  width: 250px;
  height: 250px;
}

.hero .orbit--two {
  width: 190px;
  height: 190px;
}

.section-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.section-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes smokeDrift {
  from {
    transform: translate3d(-2%, -1%, 0) rotate(0deg);
  }
  to {
    transform: translate3d(2%, 1%, 0) rotate(8deg);
  }
}

@keyframes deckFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-16px) rotate(1.5deg);
  }
}

@keyframes symbolFloat {
  to {
    transform: translateY(-14px) translateX(8px);
    opacity: 0.55;
  }
}

@keyframes pulseAura {
  50% {
    transform: scale(1.12);
    opacity: 0.7;
  }
}

@keyframes drawFlip {
  0% {
    transform: translateY(0) rotateY(0deg) rotateZ(0deg);
  }
  45% {
    transform: translateY(-22px) rotateY(78deg) rotateZ(-2deg);
  }
  100% {
    transform: translateY(-8px) rotateY(180deg) rotateZ(1deg);
  }
}

@keyframes readingReveal {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cardShine {
  to {
    transform: translateX(42%);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
}

@keyframes sheetUp {
  from {
    transform: translateY(100%);
  }
}

@media (min-width: 720px) {
  .nav {
    display: flex;
  }

  .brand__name {
    max-width: none;
  }

  .hero {
    grid-template-columns: minmax(0, 0.98fr) minmax(340px, 0.7fr);
    gap: 46px;
    overflow: visible;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(4.4rem, 7.5vw, 6.8rem);
  }

  .hero .hero-oracle {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    min-height: 420px;
    opacity: 1;
  }

  .hero-deck {
    width: min(62vw, 280px);
  }

  .hero .orbit--one {
    width: min(82vw, 430px);
    height: min(82vw, 430px);
  }

  .hero .orbit--two {
    width: min(64vw, 330px);
    height: min(64vw, 330px);
  }

  .principle-grid,
  .session-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ritual-app {
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
    padding: 18px;
  }

  .theme-grid {
    grid-template-columns: 1fr;
  }

  .deck-stage {
    min-height: 600px;
  }

  .about {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
    align-items: center;
  }

  .sessions {
    padding: 34px;
  }

  .footer {
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 34px;
  }

  .mobile-cta {
    display: none;
  }
}

@media (min-width: 980px) {
  .arcana-rail {
    grid-auto-flow: initial;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-inline: 0;
    overflow: visible;
    padding: 0;
  }

  .modal__sheet {
    right: max(24px, calc((100vw - var(--max)) / 2));
    left: auto;
    width: min(620px, calc(100vw - 48px));
    max-height: calc(100svh - 48px);
    bottom: 24px;
    border-radius: 28px;
    animation-name: sheetSide;
  }
}

@keyframes sheetSide {
  from {
    opacity: 0;
    transform: translateX(60px) scale(0.98);
  }
}

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

  .section-reveal {
    opacity: 1;
    transform: none;
  }
}
