:root {
  --paper: #f3eee3;
  --paper-soft: #f8f4eb;
  --paper-deep: #e9dfcf;
  --ink: #211e1a;
  --ink-soft: #57514a;
  --ink-faint: #8a8378;
  --wine: #5a1e29;
  --wine-light: #7d3441;
  --gold: #b78a4e;
  --gold-light: #e2c589;
  --moss: #304137;
  --night: #171916;
  --night-soft: #22251f;
  --line: rgba(33, 30, 26, 0.14);
  --line-light: rgba(255, 250, 238, 0.17);
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Times New Roman", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --shadow: 0 30px 80px rgba(66, 50, 30, 0.15);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 75% 15%, rgba(210, 183, 135, 0.3), transparent 33rem),
    radial-gradient(circle at 10% 40%, rgba(174, 194, 175, 0.17), transparent 27rem),
    var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
textarea,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

svg {
  display: block;
}

::selection {
  color: var(--paper-soft);
  background: var(--wine);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.paper-grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0.055;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.ambient {
  position: absolute;
  inset: 0 0 auto;
  height: 1100px;
  overflow: hidden;
  contain: paint;
  pointer-events: none;
}

.ambient__orb {
  position: absolute;
  display: block;
  border: 1px solid rgba(124, 101, 69, 0.13);
  border-radius: 999px;
}

.ambient__orb--one {
  width: 920px;
  height: 920px;
  top: -220px;
  right: -260px;
}

.ambient__orb--two {
  width: 580px;
  height: 580px;
  top: -60px;
  right: -90px;
}

.ambient__orb--three {
  width: 320px;
  height: 320px;
  top: 500px;
  left: -180px;
}

.ambient__star {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px 4px rgba(183, 138, 78, 0.25);
  animation: star-drift 8s ease-in-out infinite;
}

.ambient__star--one {
  top: 215px;
  right: 14%;
}

.ambient__star--two {
  top: 470px;
  right: 42%;
  animation-delay: -3s;
}

.ambient__star--three {
  top: 720px;
  left: 8%;
  animation-delay: -5s;
}

@keyframes star-drift {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-8px);
  }
}

.site-header {
  position: relative;
  z-index: 92;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1320px, calc(100% - 64px));
  height: 96px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
}

.brand__mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
}

.brand__mark svg path:first-of-type {
  fill: currentColor;
  stroke: none;
}

.brand__word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__word strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.brand__word small {
  margin-top: 7px;
  color: var(--ink-faint);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-left: 80px;
}

.site-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-consult {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 43px;
  padding: 9px 17px;
  border: 1px solid var(--wine);
  border-radius: 999px;
  color: #fff9ef;
  background: var(--wine);
  box-shadow: 0 9px 22px rgba(90, 30, 41, 0.14);
  font-size: 12px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition:
    background 0.3s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.header-consult[hidden] {
  display: none;
}

.header-consult:hover {
  background: #491721;
  box-shadow: 0 12px 28px rgba(90, 30, 41, 0.22);
  transform: translateY(-1px);
}

.header-consult svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

.header-action {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 11px 17px 11px 21px;
  border: 1px solid rgba(33, 30, 26, 0.28);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  transition:
    color 0.35s var(--ease),
    background 0.35s var(--ease);
}

.header-action svg,
.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  transition: transform 0.35s var(--ease);
}

.header-action:hover {
  color: var(--paper-soft);
  background: var(--ink);
}

.header-action:hover svg,
.button:hover svg {
  transform: translateX(4px);
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 0.9fr);
  gap: 80px;
  align-items: center;
  width: min(1320px, calc(100% - 96px));
  min-height: 760px;
  margin: 0 auto;
  padding: 70px 0 110px;
  overflow: clip;
}

.hero__copy {
  padding-top: 12px;
}

.eyebrow,
.overline {
  margin: 0;
  color: var(--wine);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow span {
  width: 32px;
  height: 1px;
  background: var(--wine);
}

.hero h1 {
  max-width: 700px;
  margin: 28px 0 30px;
  font-family: var(--serif);
  font-size: clamp(58px, 5.4vw, 88px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1.1;
}

.hero h1 em,
.ritual-heading h2 em,
.how-section h2 em {
  color: var(--wine);
  font-style: normal;
}

.hero h1 em {
  display: block;
  margin-left: clamp(20px, 5vw, 78px);
}

.hero__intro {
  max-width: 510px;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 2;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.08em;
  transition:
    color 0.35s var(--ease),
    background 0.35s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

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

.button--primary {
  color: #fffaf0;
  background: var(--wine);
  box-shadow: 0 16px 36px rgba(90, 30, 41, 0.17);
}

.button--primary:hover {
  background: #491721;
  box-shadow: 0 20px 44px rgba(90, 30, 41, 0.24);
}

.button--dark {
  min-width: 196px;
  color: var(--paper-soft);
  background: var(--ink);
}

.button--dark:hover {
  background: var(--wine);
}

.button--dark:disabled {
  cursor: wait;
  opacity: 0.75;
}

.button--soft {
  border: 1px solid var(--line-light);
  color: var(--paper-soft);
  background: rgba(255, 255, 255, 0.035);
}

.button--soft:hover {
  background: rgba(255, 255, 255, 0.09);
}

.hero__meta {
  color: var(--ink-faint);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.hero__proof {
  display: flex;
  gap: 0;
  margin-top: 65px;
  border-top: 1px solid var(--line);
}

.hero__proof div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 18px;
}

.hero__proof div + div {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.hero__proof strong {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}

.hero__proof span {
  margin-top: 9px;
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 590px;
  isolation: isolate;
}

.hero__visual::before {
  position: absolute;
  z-index: -2;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(247, 224, 178, 0.64) 0, rgba(223, 196, 148, 0.26) 38%, transparent 70%);
  filter: blur(4px);
  content: "";
}

.orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(92, 75, 52, 0.2);
  border-radius: 50%;
}

.orbit--outer {
  width: 580px;
  height: 580px;
  animation: slow-spin 40s linear infinite;
}

.orbit--inner {
  width: 440px;
  height: 440px;
  border-style: dashed;
  animation: slow-spin 55s linear infinite reverse;
}

.orbit__dot {
  position: absolute;
  z-index: 1;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--paper);
}

.orbit__dot--one {
  top: 12%;
  left: 37%;
}

.orbit__dot--two {
  right: 12%;
  bottom: 26%;
}

.orbit__dot--three {
  bottom: 14%;
  left: 20%;
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-card {
  position: relative;
  width: 292px;
  height: 450px;
  padding: 12px;
  border: 1px solid rgba(80, 61, 42, 0.38);
  border-radius: 162px 162px 13px 13px;
  background: rgba(244, 235, 217, 0.7);
  box-shadow:
    0 42px 80px rgba(73, 49, 25, 0.19),
    inset 0 0 50px rgba(255, 250, 236, 0.72);
  backdrop-filter: blur(12px);
  transform: rotate(1.6deg);
}

.hero-card::before,
.hero-card::after {
  position: absolute;
  z-index: -1;
  width: 250px;
  height: 390px;
  border: 1px solid rgba(78, 61, 42, 0.24);
  border-radius: 138px 138px 10px 10px;
  background: rgba(224, 211, 189, 0.68);
  content: "";
}

.hero-card::before {
  top: 20px;
  left: -18px;
  transform: rotate(-7deg);
}

.hero-card::after {
  top: 26px;
  right: -18px;
  transform: rotate(7deg);
}

.hero-card__frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(78, 61, 42, 0.38);
  border-radius: 150px 150px 7px 7px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 240, 195, 0.92), transparent 46%),
    linear-gradient(180deg, #e9dcc2, #d8c6a5);
}

.hero-card__frame > p {
  position: absolute;
  top: 32px;
  left: 0;
  width: 100%;
  color: #3b3327;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.45em;
  line-height: 1.4;
  text-align: center;
}

.hero-card__art {
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  width: 100%;
  height: 88%;
}

.floating-card {
  position: absolute;
  z-index: -1;
  width: 148px;
  height: 240px;
  padding: 24px 18px;
  border: 1px solid rgba(80, 61, 42, 0.31);
  border-radius: 76px 76px 7px 7px;
  background:
    linear-gradient(180deg, rgba(248, 239, 221, 0.9), rgba(215, 198, 170, 0.8));
  box-shadow: 0 24px 50px rgba(76, 54, 29, 0.12);
}

.floating-card--left {
  left: 50%;
  bottom: 65px;
  opacity: 0.62;
  transform: translateX(-215px) rotate(-14deg);
}

.floating-card--right {
  right: 50%;
  bottom: 65px;
  opacity: 0.62;
  transform: translateX(215px) rotate(14deg);
}

.mini-sun,
.mini-moon {
  display: block;
  width: 42px;
  height: 42px;
  margin: 25px auto 60px;
  border: 1px solid #5a4734;
  border-radius: 50%;
}

.mini-sun {
  box-shadow:
    0 -16px 0 -15px #5a4734,
    0 16px 0 -15px #5a4734,
    16px 0 0 -15px #5a4734,
    -16px 0 0 -15px #5a4734;
}

.mini-moon {
  border-color: transparent;
  box-shadow: -7px 2px 0 0 #5a4734;
  transform: rotate(-18deg);
}

.mini-line {
  display: block;
  width: 70%;
  height: 1px;
  margin: 0 auto 10px;
  background: rgba(90, 71, 52, 0.42);
}

.mini-line--short {
  width: 45%;
}

.hero__caption {
  position: absolute;
  right: 9px;
  bottom: 35px;
  display: flex;
  flex-direction: column;
  padding: 12px 0 12px 20px;
  border-left: 1px solid rgba(84, 65, 44, 0.35);
}

.hero__caption span {
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.hero__caption strong {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}

.scroll-cue svg {
  width: 15px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.reading-shell {
  position: relative;
  z-index: 2;
  width: min(1060px, calc(100% - 64px));
  margin: 0 auto;
  padding: 54px 0 150px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink-faint);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.section-label > span {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.section-label p {
  margin: 0;
}

.section-label i {
  display: block;
  width: 78px;
  height: 1px;
  background: var(--line);
}

.section-label small {
  color: var(--ink-faint);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.question-panel {
  position: relative;
  margin-top: 30px;
  padding: 55px 62px 50px;
  border: 1px solid rgba(68, 57, 44, 0.18);
  background:
    linear-gradient(120deg, rgba(255, 252, 245, 0.92), rgba(245, 237, 223, 0.88)),
    var(--paper-soft);
  box-shadow: 0 34px 100px rgba(76, 57, 34, 0.1);
}

.question-panel::before,
.question-panel::after {
  position: absolute;
  width: 19px;
  height: 19px;
  border-color: rgba(90, 30, 41, 0.45);
  content: "";
}

.question-panel::before {
  top: 15px;
  left: 15px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.question-panel::after {
  right: 15px;
  bottom: 15px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.question-panel__heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.question-panel__heading h2 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.35;
}

.question-panel__number {
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.textarea-wrap {
  position: relative;
}

.textarea-wrap textarea {
  display: block;
  width: 100%;
  min-height: 160px;
  resize: vertical;
  padding: 24px 24px 44px;
  border: 1px solid rgba(65, 55, 42, 0.23);
  border-radius: 2px;
  outline: none;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.7);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.85;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.textarea-wrap textarea::placeholder {
  color: #aaa296;
}

.textarea-wrap textarea:focus {
  border-color: rgba(90, 30, 41, 0.62);
  background: #fffdf8;
  box-shadow: 0 0 0 3px rgba(90, 30, 41, 0.055);
}

.textarea-wrap.is-invalid textarea {
  border-color: var(--wine);
  animation: input-shake 0.4s ease;
}

@keyframes input-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

.textarea-wrap__count {
  position: absolute;
  right: 19px;
  bottom: 15px;
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.textarea-wrap__count b {
  font-weight: 400;
}

.question-panel__footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: 10px;
}

.question-panel__footer p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.question-panel__footer svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.text-button {
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid rgba(33, 30, 26, 0.3);
  cursor: pointer;
  color: var(--ink-soft);
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.form-error {
  margin: 13px 0 0;
  color: var(--wine);
  font-size: 11px;
}

.prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.prompt-chips button {
  padding: 8px 13px;
  border: 1px solid rgba(33, 30, 26, 0.13);
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-soft);
  background: transparent;
  font-size: 10px;
  transition:
    border-color 0.25s ease,
    color 0.25s ease,
    background 0.25s ease;
}

.prompt-chips button:hover {
  border-color: rgba(90, 30, 41, 0.35);
  color: var(--wine);
  background: rgba(90, 30, 41, 0.035);
}

.question-panel__submit {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-faint);
  font-size: 10px;
}

.privacy-note__dot {
  position: relative;
  display: block;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(48, 65, 55, 0.35);
  border-radius: 50%;
}

.privacy-note__dot::after {
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: var(--moss);
  content: "";
}

.ritual-section {
  position: relative;
  z-index: 3;
  overflow: clip;
  padding: 75px 0 110px;
  color: #f4edde;
  background:
    radial-gradient(circle at 50% 32%, rgba(140, 105, 59, 0.23), transparent 31rem),
    radial-gradient(circle at 15% 80%, rgba(57, 79, 65, 0.19), transparent 30rem),
    var(--night);
}

.ritual-section::before {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle, #000, transparent 70%);
  content: "";
  pointer-events: none;
}

.ritual-section__topline,
.ritual-heading,
.table-stage,
.reading-result {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 64px));
  margin-right: auto;
  margin-left: auto;
}

.ritual-section__topline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.section-label--light {
  color: rgba(244, 237, 222, 0.47);
}

.section-label--light > span {
  color: var(--gold-light);
}

.section-label--light i {
  background: var(--line-light);
}

.section-label--light small {
  color: rgba(244, 237, 222, 0.47);
}

.ritual-status {
  margin: 0;
  color: rgba(244, 237, 222, 0.42);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.ritual-status::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 12px rgba(226, 197, 137, 0.55);
  content: "";
  vertical-align: 1px;
}

.ritual-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  margin-top: 82px;
}

.ritual-heading .overline {
  grid-column: 1;
  color: var(--gold-light);
}

.ritual-heading h2 {
  grid-column: 1;
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: clamp(44px, 5.2vw, 70px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.18;
}

.ritual-heading h2 em {
  color: #d5b575;
}

.ritual-heading > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  max-width: 320px;
  margin: 0 0 5px 50px;
  color: rgba(244, 237, 222, 0.46);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.9;
}

.table-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 670px;
  margin-top: 80px;
  overflow: clip;
}

.table-glow {
  position: absolute;
  width: 900px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(184, 139, 75, 0.16), transparent 68%);
  filter: blur(15px);
}

.table-orbit {
  position: absolute;
  border: 1px solid rgba(226, 197, 137, 0.12);
  border-radius: 50%;
}

.table-orbit--one {
  width: 940px;
  height: 360px;
}

.table-orbit--two {
  width: 720px;
  height: 270px;
  border-style: dashed;
}

.deck-stack {
  position: absolute;
  z-index: 3;
  width: 220px;
  height: 350px;
  pointer-events: none;
  transition:
    opacity 0.5s ease,
    transform 0.8s var(--ease);
}

.deck-stack.is-hidden {
  opacity: 0;
  transform: translateY(12px) scale(0.92);
}

.deck-stack span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(230, 212, 178, 0.38);
  border-radius: 110px 110px 8px 8px;
  background:
    radial-gradient(circle at 50% 43%, rgba(218, 185, 122, 0.11), transparent 38%),
    repeating-linear-gradient(45deg, transparent 0 11px, rgba(229, 211, 174, 0.04) 11px 12px),
    #242a23;
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.22);
}

.deck-stack span:nth-child(2) {
  transform: translate(-3px, -4px);
}

.deck-stack span:nth-child(3) {
  transform: translate(3px, -8px);
}

.deck-stack span:nth-child(4) {
  transform: translate(-1px, -12px);
}

.deck-stack.is-shuffling {
  animation: deck-shuffle 0.8s var(--ease) infinite;
}

.deck-stack.is-shuffling span:nth-child(2) {
  animation: shuffle-left 0.64s ease-in-out infinite alternate;
}

.deck-stack.is-shuffling span:nth-child(3) {
  animation: shuffle-right 0.72s ease-in-out infinite alternate-reverse;
}

@keyframes deck-shuffle {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

@keyframes shuffle-left {
  to {
    transform: translate(-35px, 3px) rotate(-7deg);
  }
}

@keyframes shuffle-right {
  to {
    transform: translate(35px, -3px) rotate(7deg);
  }
}

.cards-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  width: 710px;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.8s var(--ease);
}

.cards-grid.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cards-grid.is-pending {
  opacity: 0;
  transform: translateY(18px) scale(0.65);
}

.oracle-card {
  min-width: 0;
}

.oracle-card__inner {
  position: relative;
  width: 100%;
  aspect-ratio: 244 / 419;
  perspective: 1200px;
}

.oracle-card__face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(232, 211, 171, 0.28);
  border-radius: 112px 112px 8px 8px;
  backface-visibility: hidden;
  transition: transform 1.05s var(--ease);
}

.oracle-card__back {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(208, 173, 105, 0.12), transparent 35%),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(226, 199, 148, 0.04) 14px 15px),
    #232821;
  box-shadow:
    inset 0 0 0 7px rgba(235, 217, 181, 0.035),
    0 30px 55px rgba(0, 0, 0, 0.28);
}

.oracle-card__back::before,
.oracle-card__back::after {
  position: absolute;
  width: 1px;
  height: 72%;
  background: linear-gradient(transparent, rgba(226, 197, 137, 0.28), transparent);
  content: "";
}

.oracle-card__back::before {
  transform: rotate(38deg);
}

.oracle-card__back::after {
  transform: rotate(-38deg);
}

.card-back__border {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(230, 211, 172, 0.25);
  border-radius: 103px 103px 4px 4px;
}

.card-back__sun {
  position: relative;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(226, 197, 137, 0.64);
  border-radius: 50%;
}

.card-back__sun::before,
.card-back__sun::after {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(226, 197, 137, 0.24);
  border-radius: inherit;
  content: "";
}

.card-back__sun::after {
  inset: -11px;
}

.card-back__sun i {
  position: absolute;
  width: 1px;
  height: 108px;
  background: linear-gradient(transparent, rgba(226, 197, 137, 0.34), transparent);
}

.card-back__sun i:nth-child(2) {
  transform: rotate(60deg);
}

.card-back__sun i:nth-child(3) {
  transform: rotate(120deg);
}

.card-back__sun b {
  position: relative;
  z-index: 1;
  font-size: 6px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.oracle-card__back small {
  position: absolute;
  bottom: 27px;
  left: 0;
  width: 100%;
  color: rgba(230, 211, 172, 0.54);
  font-size: 6px;
  letter-spacing: 0.2em;
  text-align: center;
}

.oracle-card__front {
  color: #30291f;
  background: #e6d8bf;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.32);
  transform: rotateY(180deg);
}

.oracle-card.is-revealed .oracle-card__back {
  transform: rotateY(-180deg);
}

.oracle-card.is-revealed .oracle-card__front {
  transform: rotateY(0deg);
}

.oracle-card:hover .oracle-card__inner {
  transform: translateY(-6px);
  transition: transform 0.45s var(--ease);
}

.oracle-card__label {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-top: 24px;
  padding-top: 15px;
  border-top: 1px solid var(--line-light);
}

.oracle-card__label > span {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 10px;
}

.oracle-card__label div {
  display: flex;
  flex-direction: column;
}

.oracle-card__label small {
  color: rgba(244, 237, 222, 0.4);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.oracle-card__label strong {
  margin-top: 2px;
  color: rgba(244, 237, 222, 0.88);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 400;
}

.card-art {
  width: 100%;
  height: 100%;
}

.card-art__artwork {
  transform-origin: 50% 50%;
}

.oracle-card.is-reversed .card-art__artwork {
  transform: rotate(180deg);
}

.card-art__top {
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: 2.8px;
}

.card-art__number {
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: 2px;
}

.card-art__name {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 3px;
}

.card-art__en {
  font-size: 6px;
  letter-spacing: 1.8px;
}

.reading-result {
  margin-top: 88px;
  padding-top: 70px;
  border-top: 1px solid var(--line-light);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s ease,
    transform 0.8s var(--ease);
}

.reading-result[hidden] {
  display: none;
}

.reading-result.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reading-result__heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 50px;
}

.reading-result__heading .overline {
  grid-column: 1 / -1;
  color: var(--gold-light);
}

.reading-result__heading h3 {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.reading-result__question {
  align-self: end;
  margin: 0;
  padding-left: 22px;
  border-left: 1px solid rgba(226, 197, 137, 0.32);
  color: rgba(244, 237, 222, 0.58);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.8;
}

.reading-insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 50px;
  background: var(--line-light);
}

.reading-insights article {
  min-height: 285px;
  padding: 32px 28px;
  background: var(--night-soft);
}

.reading-insights article > span {
  float: right;
  color: rgba(244, 237, 222, 0.2);
  font-family: var(--serif);
  font-size: 21px;
}

.reading-insights small {
  color: var(--gold-light);
  font-size: 8px;
  letter-spacing: 0.17em;
}

.reading-insights h4 {
  margin: 28px 0 14px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
}

.reading-insights p {
  margin: 0;
  color: rgba(244, 237, 222, 0.55);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.9;
}

.result-actions {
  display: flex;
  justify-content: center;
  gap: 28px;
  align-items: center;
  margin-top: 44px;
}

.text-button--light {
  color: rgba(244, 237, 222, 0.59);
  border-bottom-color: rgba(244, 237, 222, 0.22);
}

.how-section {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  width: min(1200px, calc(100% - 96px));
  margin: 0 auto;
  padding: 145px 0;
}

.how-section__intro h2 {
  margin: 35px 0 0;
  font-family: var(--serif);
  font-size: clamp(40px, 4.3vw, 58px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.35;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.how-steps article {
  position: relative;
  padding: 26px 24px 0 0;
}

.how-steps article + article {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.how-steps__index {
  color: var(--ink-faint);
  font-family: var(--serif);
  font-size: 11px;
}

.how-steps__icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 42px 0 32px;
  border: 1px solid rgba(90, 30, 41, 0.22);
  border-radius: 50%;
}

.how-steps__icon svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--wine);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1;
}

.how-steps h3 {
  margin: 0 0 13px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}

.how-steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.85;
}

.closing-section {
  position: relative;
  overflow: hidden;
  padding: 125px 24px 115px;
  color: #f3ebdb;
  background:
    radial-gradient(circle at 50% 115%, rgba(208, 173, 105, 0.28), transparent 38rem),
    radial-gradient(circle at 12% 20%, rgba(86, 108, 93, 0.25), transparent 30rem),
    var(--wine);
  text-align: center;
}

.closing-section::before,
.closing-section::after {
  position: absolute;
  top: 50%;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.closing-section::before {
  left: -220px;
}

.closing-section::after {
  right: -220px;
}

.closing-section__kicker {
  margin: 0;
  color: rgba(243, 235, 219, 0.52);
  font-size: 9px;
  letter-spacing: 0.24em;
}

.closing-section h2 {
  margin: 26px auto 38px;
  font-family: var(--serif);
  font-size: clamp(43px, 5vw, 68px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.25;
}

.closing-section .button {
  color: var(--ink);
  background: #f2e8d5;
  box-shadow: none;
}

.closing-section .button:hover {
  color: var(--paper-soft);
  background: var(--ink);
}

.closing-section__note {
  margin: 42px 0 0;
  color: rgba(243, 235, 219, 0.38);
  font-size: 9px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  width: min(1320px, calc(100% - 96px));
  min-height: 120px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.brand--footer {
  opacity: 0.78;
}

.site-footer > p {
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.site-footer > div {
  display: flex;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 10px;
}

.toast {
  position: fixed;
  z-index: 110;
  bottom: 28px;
  left: 50%;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  opacity: 0;
  color: var(--paper-soft);
  background: rgba(23, 25, 22, 0.92);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.2);
  font-size: 11px;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s var(--ease);
  backdrop-filter: blur(12px);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

body.wechat-modal-open {
  overflow: hidden;
}

.wechat-modal {
  position: fixed;
  z-index: 980;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: center;
}

.wechat-modal[hidden] {
  display: none;
}

.wechat-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 13, 15, 0.64);
  backdrop-filter: blur(8px);
}

.wechat-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  padding: 32px 28px 24px;
  border: 1px solid rgba(99, 69, 43, 0.2);
  border-radius: 22px;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0, rgba(221, 182, 111, 0.16), transparent 16rem),
    #f7efe2;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.32);
  text-align: center;
  animation: wechat-modal-in 0.38s var(--ease) both;
}

@keyframes wechat-modal-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wechat-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(78, 58, 39, 0.16);
  border-radius: 50%;
  color: #735d49;
  background: rgba(255, 252, 246, 0.58);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}

.wechat-modal__eyebrow {
  margin: 0;
  color: var(--wine);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.wechat-modal__dialog h2 {
  margin: 9px 0 5px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.wechat-modal__intro {
  margin: 0;
  color: #7c6755;
  font-family: var(--serif);
  font-size: 13px;
}

.wechat-modal__qr {
  position: relative;
  display: grid;
  width: min(100%, 270px);
  aspect-ratio: 1;
  margin: 20px auto 0;
  padding: 12px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(92, 63, 37, 0.18);
  border-radius: 16px;
  background: #fff;
  box-shadow:
    0 16px 35px rgba(72, 48, 27, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.wechat-modal__qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.25s ease;
  -webkit-touch-callout: default;
  user-select: auto;
}

.wechat-modal__qr.is-ready img {
  opacity: 1;
}

.wechat-modal__qr-placeholder {
  position: absolute;
  inset: 12px;
  display: grid;
  place-content: center;
  border: 1px dashed rgba(104, 72, 43, 0.24);
  border-radius: 10px;
  color: #806c59;
  background:
    radial-gradient(circle at 50% 42%, rgba(183, 138, 78, 0.11), transparent 52%),
    #fbf7ef;
}

.wechat-modal__qr-placeholder span {
  font-family: var(--serif);
  font-size: 17px;
}

.wechat-modal__qr-placeholder small {
  max-width: 160px;
  margin-top: 7px;
  color: #a08e7d;
  font-size: 8px;
  line-height: 1.5;
}

.wechat-modal__qr.is-ready .wechat-modal__qr-placeholder {
  display: none;
}

.wechat-modal__note {
  margin: 12px 0 0;
  color: #948170;
  font-size: 9px;
}

.wechat-modal__confirm {
  width: 100%;
  min-height: 44px;
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  color: #fff9ef;
  background: var(--wine);
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

/* Tarot edition */
body {
  background:
    radial-gradient(circle at 86% 8%, rgba(234, 193, 124, 0.32), transparent 28rem),
    radial-gradient(circle at 8% 36%, rgba(88, 105, 91, 0.15), transparent 25rem),
    linear-gradient(180deg, #f4eddf 0%, #eee4d3 48%, #f5efe4 100%);
}

.brand__mark {
  color: #4f2230;
}

.brand__word small {
  color: #8b705b;
}

.site-header {
  border-bottom-color: rgba(92, 63, 39, 0.18);
}

.site-nav a {
  color: #665448;
}

.header-action {
  border-color: rgba(88, 44, 37, 0.28);
  background: rgba(255, 249, 236, 0.35);
}

.hero {
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1fr);
  gap: 58px;
  min-height: 790px;
  padding-top: 65px;
}

.hero h1 {
  font-size: clamp(52px, 4.75vw, 72px);
  line-height: 1.14;
}

.hero h1 > span {
  display: block;
  white-space: nowrap;
}

.hero h1 em {
  margin-left: clamp(16px, 4vw, 62px);
  color: #6f2434;
}

.hero__intro {
  color: #5f5043;
}

.eyebrow,
.overline {
  color: #8a4a3d;
}

.eyebrow span {
  background: #8a4a3d;
}

.button {
  border-radius: 999px;
}

.button--primary {
  background: #6d2636;
  box-shadow: 0 17px 38px rgba(86, 29, 40, 0.2);
}

.button--dark {
  background: #23201c;
}

.hero__visual {
  min-height: 660px;
  overflow: visible;
  transform: none;
}

.hero__visual::before {
  width: 650px;
  height: 650px;
  background:
    radial-gradient(circle, rgba(255, 225, 172, 0.8) 0, rgba(221, 168, 99, 0.23) 43%, transparent 70%);
}

.hero__visual::after {
  position: absolute;
  z-index: -3;
  width: 500px;
  height: 620px;
  border: 1px solid rgba(119, 80, 45, 0.16);
  border-radius: 250px 250px 30px 30px;
  content: "";
  transform: rotate(-5deg);
}

.hero-halo {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  pointer-events: none;
}

.hero-halo--one {
  width: 540px;
  height: 540px;
  border: 1px solid rgba(130, 89, 52, 0.19);
  box-shadow:
    0 0 0 34px rgba(157, 112, 65, 0.035),
    0 0 0 78px rgba(157, 112, 65, 0.025);
  animation: slow-spin 55s linear infinite;
}

.hero-halo--two {
  width: 430px;
  height: 430px;
  border: 1px dashed rgba(130, 89, 52, 0.18);
  animation: slow-spin 45s linear infinite reverse;
}

.hero-spark {
  position: absolute;
  z-index: 4;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f2cf8a;
  box-shadow: 0 0 18px 5px rgba(231, 181, 101, 0.42);
  animation: star-drift 5s ease-in-out infinite;
}

.hero-spark--one {
  top: 82px;
  right: 68px;
}

.hero-spark--two {
  top: 280px;
  left: 10px;
  animation-delay: -2s;
}

.hero-spark--three {
  right: 8px;
  bottom: 155px;
  animation-delay: -3.5s;
}

.tarot-window {
  position: relative;
  z-index: 3;
  width: min(440px, 82%);
  padding: 11px;
  border: 1px solid rgba(230, 195, 129, 0.74);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(67, 44, 38, 0.98), rgba(21, 21, 25, 0.99)),
    #18171c;
  box-shadow:
    0 45px 90px rgba(52, 34, 23, 0.28),
    0 0 0 9px rgba(99, 65, 42, 0.06),
    inset 0 0 0 1px rgba(255, 226, 171, 0.1);
  transform: rotate(0.7deg);
}

.tarot-window::before,
.tarot-window::after {
  position: absolute;
  z-index: 5;
  width: 45px;
  height: 45px;
  border-color: rgba(239, 199, 123, 0.7);
  content: "";
  pointer-events: none;
}

.tarot-window::before {
  top: 8px;
  left: 8px;
  border-top: 1px solid;
  border-left: 1px solid;
  border-radius: 20px 0 0;
}

.tarot-window::after {
  right: 8px;
  bottom: 8px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  border-radius: 0 0 20px;
}

.tarot-window__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 53px;
  padding: 0 20px;
  color: rgba(244, 224, 185, 0.68);
  font-size: 6px;
  letter-spacing: 0.17em;
}

.tarot-window__top b {
  color: #e1b96e;
  font-size: 13px;
  font-weight: 400;
}

.tarot-window__image {
  position: relative;
  height: 535px;
  overflow: hidden;
  border: 1px solid rgba(235, 201, 137, 0.34);
  border-radius: 114px 114px 15px 15px;
  background:
    radial-gradient(ellipse at 50% 72%, rgba(255, 211, 141, 0.25), transparent 43%),
    linear-gradient(rgba(44, 27, 19, 0.02), rgba(29, 17, 12, 0.31)),
    url("./assets/textures/witch-room.webp") center 55% / cover,
    #c2a37a;
}

.hero-card-spread {
  position: absolute;
  top: 53%;
  right: 4.5%;
  left: 4.5%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: center;
  filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.44));
  transform: perspective(900px) rotateX(7deg);
  transform-origin: center bottom;
}

.hero-card-spread img {
  width: 100%;
  height: auto;
  border: 4px solid #f1e6d1;
  border-radius: 6px;
  object-fit: cover;
  filter: saturate(1.09) contrast(1.04);
}

.hero-card-spread img:nth-child(1) {
  transform: rotate(-3.5deg) translateY(9px);
}

.hero-card-spread img:nth-child(2) {
  position: relative;
  z-index: 2;
  transform: translateY(-4px);
}

.hero-card-spread img:nth-child(3) {
  transform: rotate(3.5deg) translateY(9px);
}

.tarot-window__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 8, 13, 0.23), transparent 29%, transparent 69%, rgba(8, 8, 11, 0.38)),
    radial-gradient(ellipse at 50% 48%, transparent 42%, rgba(7, 7, 10, 0.2) 74%, rgba(5, 5, 8, 0.58));
  pointer-events: none;
}

.tarot-window__sigil {
  position: absolute;
  top: 16px;
  left: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(239, 202, 135, 0.48);
  border-radius: 50%;
  color: rgba(250, 218, 157, 0.84);
  background: rgba(11, 10, 16, 0.43);
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

.tarot-window__sigil svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 0.75;
}

.tarot-window__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 55px;
  color: rgba(243, 224, 190, 0.7);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.tarot-window__bottom i {
  width: 24px;
  height: 1px;
  background: rgba(229, 193, 127, 0.28);
}

.tarot-candle {
  position: absolute;
  z-index: 5;
  bottom: 45px;
  width: 36px;
  height: 140px;
  filter: drop-shadow(0 16px 24px rgba(67, 37, 12, 0.22));
}

.tarot-candle--left {
  left: 18px;
}

.tarot-candle--right {
  right: 12px;
  transform: scale(0.82);
  transform-origin: bottom;
}

.tarot-candle__flame {
  position: absolute;
  top: 2px;
  left: 50%;
  width: 16px;
  height: 28px;
  border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
  background: radial-gradient(circle at 50% 66%, #fff6c9 0 17%, #f5c45a 40%, #c57027 78%, transparent 80%);
  box-shadow:
    0 0 18px 5px rgba(240, 176, 69, 0.38),
    0 0 45px 18px rgba(240, 176, 69, 0.16);
  transform: translateX(-50%) rotate(1deg);
  animation: candle-flicker 2.3s ease-in-out infinite alternate;
}

.tarot-candle__stick {
  position: absolute;
  right: 7px;
  bottom: 10px;
  left: 7px;
  height: 98px;
  border-radius: 7px 7px 2px 2px;
  background:
    linear-gradient(90deg, rgba(126, 83, 54, 0.55), transparent 28%, rgba(255, 245, 208, 0.95) 53%, rgba(154, 105, 65, 0.48)),
    #e3cfaa;
}

.tarot-candle__holder {
  position: absolute;
  right: -8px;
  bottom: 0;
  left: -8px;
  height: 20px;
  border: 1px solid rgba(186, 133, 69, 0.45);
  border-radius: 50%;
  background: linear-gradient(#9f6d39, #5b3925);
  box-shadow: 0 8px 12px rgba(54, 31, 16, 0.28);
}

@keyframes candle-flicker {
  0% {
    transform: translateX(-50%) rotate(-2deg) scale(0.96, 1);
  }
  55% {
    transform: translateX(-49%) rotate(2deg) scale(1.02, 0.96);
  }
  100% {
    transform: translateX(-50%) rotate(-1deg) scale(0.94, 1.04);
  }
}

.hero__caption {
  right: 12px;
  bottom: 17px;
}

.question-panel {
  border-color: rgba(113, 77, 45, 0.25);
  border-radius: 24px;
  background:
    radial-gradient(circle at 95% 0, rgba(230, 191, 121, 0.19), transparent 18rem),
    linear-gradient(125deg, rgba(255, 252, 243, 0.97), rgba(247, 238, 222, 0.94));
  box-shadow:
    0 38px 100px rgba(79, 53, 27, 0.13),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.question-panel::before,
.question-panel::after {
  width: 26px;
  height: 26px;
  border-color: rgba(146, 91, 48, 0.55);
}

.textarea-wrap textarea {
  border-color: rgba(110, 80, 49, 0.25);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.8);
}

.question-panel__heading h2 {
  color: #36281f;
}

.question-panel__number {
  color: #9b7d62;
}

.prompt-chips button {
  border-color: rgba(103, 69, 42, 0.16);
  background: rgba(255, 251, 244, 0.45);
}

.ritual-section {
  background:
    radial-gradient(circle at 50% 31%, rgba(221, 157, 74, 0.21), transparent 31rem),
    radial-gradient(circle at 13% 79%, rgba(91, 113, 97, 0.18), transparent 26rem),
    linear-gradient(180deg, rgba(11, 12, 14, 0.84), rgba(14, 13, 16, 0.92)),
    url("./assets/textures/velvet-soft.jpg") center / cover;
}

.ritual-section::after {
  position: absolute;
  inset: 0;
  opacity: 0.23;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0.08), rgba(10, 10, 12, 0.8)),
    url("./assets/textures/velvet-stars.jpg") center / cover;
  content: "";
  pointer-events: none;
}

.ritual-heading h2 em {
  color: #dfbd7b;
}

.table-stage::before {
  position: absolute;
  z-index: 0;
  width: min(1040px, 96%);
  height: 520px;
  border: 1px solid rgba(224, 185, 111, 0.14);
  border-radius: 50%;
  opacity: 0.62;
  background:
    linear-gradient(180deg, rgba(8, 8, 11, 0.32), rgba(8, 8, 11, 0.7)),
    url("./assets/textures/velvet-stars.jpg") center / cover;
  box-shadow:
    inset 0 0 90px rgba(0, 0, 0, 0.7),
    0 40px 100px rgba(0, 0, 0, 0.22);
  content: "";
}

.table-glow {
  background: radial-gradient(ellipse, rgba(238, 174, 84, 0.22), rgba(211, 137, 53, 0.08) 36%, transparent 71%);
}

.table-orbit {
  z-index: 1;
  border-color: rgba(236, 197, 127, 0.21);
}

.deck-stack {
  z-index: 4;
}

.deck-stack span {
  border-color: rgba(232, 195, 127, 0.55);
  background:
    radial-gradient(circle at 50% 43%, rgba(224, 179, 99, 0.16), transparent 38%),
    repeating-linear-gradient(45deg, transparent 0 11px, rgba(232, 197, 135, 0.055) 11px 12px),
    linear-gradient(145deg, #312229, #17171b);
}

.cards-grid {
  z-index: 5;
}

.oracle-card__face {
  border-color: rgba(236, 199, 133, 0.5);
  border-radius: 16px;
  box-shadow:
    0 34px 65px rgba(0, 0, 0, 0.42),
    0 0 0 5px rgba(29, 21, 24, 0.75);
}

.oracle-card__back {
  background:
    radial-gradient(circle at 50% 40%, rgba(225, 180, 103, 0.19), transparent 26%),
    repeating-linear-gradient(45deg, transparent 0 15px, rgba(229, 192, 126, 0.055) 15px 16px),
    repeating-linear-gradient(-45deg, transparent 0 15px, rgba(229, 192, 126, 0.04) 15px 16px),
    linear-gradient(145deg, #2d2028, #111217 72%);
}

.oracle-card__back::before,
.oracle-card__back::after {
  width: 1px;
  height: 66%;
  background: linear-gradient(transparent, rgba(240, 201, 128, 0.38), transparent);
}

.card-back__border {
  border-color: rgba(237, 202, 142, 0.36);
  border-radius: 11px;
}

.card-back__sun {
  border-color: rgba(239, 202, 130, 0.83);
}

.card-back__sun b {
  color: #ecd09a;
}

.card-back__sun::before {
  border-color: rgba(239, 202, 130, 0.38);
}

.oracle-card__back small {
  color: rgba(238, 208, 157, 0.7);
}

.oracle-card__front {
  background: #111115;
  border-color: rgba(239, 203, 137, 0.58);
}

.tarot-photo-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #0b0b0d;
}

.tarot-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(1.06) contrast(1.02);
}

.tarot-photo-card::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 34px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 234, 189, 0.14);
  content: "";
  pointer-events: none;
}

.reading-result__question {
  padding: 15px 19px;
  border: 1px solid rgba(231, 197, 135, 0.16);
  border-radius: 14px;
  color: rgba(250, 241, 223, 0.72);
  background: rgba(255, 249, 235, 0.04);
}

.reading-insights {
  gap: 16px;
  background: transparent;
}

.reading-insights article {
  border: 1px solid rgba(231, 197, 135, 0.14);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(221, 178, 102, 0.08), transparent 15rem),
    rgba(27, 25, 25, 0.72);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.13);
}

.reading-insights small {
  color: #dfbd7b;
}

.closing-section {
  background:
    linear-gradient(rgba(56, 20, 31, 0.83), rgba(46, 17, 27, 0.92)),
    url("./assets/textures/velvet-stars.jpg") center / cover,
    var(--wine);
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 0.9fr 1fr;
    gap: 30px;
    width: min(100% - 64px, 1040px);
  }

  .hero h1 {
    font-size: clamp(50px, 6.2vw, 70px);
  }

  .hero__visual {
    transform: none;
  }

  .floating-card--left {
    transform: translateX(-190px) rotate(-14deg);
  }

  .floating-card--right {
    transform: translateX(190px) rotate(14deg);
  }

  .ritual-heading {
    display: block;
  }

  .ritual-heading > p:last-child {
    max-width: 420px;
    margin: 22px 0 0;
  }

  .how-section {
    grid-template-columns: 1fr;
    gap: 55px;
    width: min(100% - 96px, 900px);
  }
}

@media (max-width: 820px) {
  .site-header {
    width: calc(100% - 36px);
    height: 78px;
  }

  .site-nav {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .header-consult {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 10px;
  }

  .header-consult svg {
    display: none;
  }

  .header-action {
    padding: 9px 12px 9px 16px;
  }

  .header-action span {
    display: none;
  }

  .header-action svg {
    width: 20px;
    height: 20px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: calc(100% - 40px);
    min-height: auto;
    padding: 36px 0 65px;
  }

  .hero__copy {
    width: 100%;
  }

  .hero h1 {
    margin: 16px 0 20px;
    font-size: clamp(39px, 10.8vw, 54px);
    line-height: 1.12;
  }

  .hero h1 em {
    margin-left: 0;
  }

  .hero__intro {
    font-size: 15px;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
  }

  .hero__proof {
    display: none;
  }

  .hero__proof span {
    padding-right: 8px;
  }

  .hero__visual {
    width: 100%;
    min-height: 520px;
    margin-top: 2px;
    transform: none;
  }

  .tarot-window {
    width: min(390px, 88%);
  }

  .tarot-window__image {
    height: auto;
    aspect-ratio: 0.8;
  }

  .hero-card-spread {
    top: 33%;
  }

  .tarot-candle {
    bottom: 32px;
    transform: scale(0.82);
    transform-origin: bottom;
  }

  .tarot-candle--left {
    left: 3px;
  }

  .tarot-candle--right {
    right: -1px;
  }

  .hero__caption {
    right: 0;
    bottom: 26px;
  }

  .scroll-cue {
    display: none;
  }

  .reading-shell {
    width: calc(100% - 36px);
    padding: 45px 0 90px;
  }

  .section-label small {
    display: none;
  }

  .question-panel {
    padding: 40px 24px 32px;
  }

  .question-panel__heading {
    display: block;
  }

  .question-panel__number {
    display: block;
    margin-top: 20px;
  }

  .question-panel__heading h2 {
    font-size: 34px;
  }

  .textarea-wrap textarea {
    min-height: 155px;
    padding: 19px 17px 42px;
    font-size: 16px;
  }

  .question-panel__footer {
    align-items: flex-start;
  }

  .question-panel__footer p {
    max-width: 230px;
  }

  .question-panel__submit {
    align-items: stretch;
    flex-direction: column-reverse;
    gap: 22px;
  }

  .button--dark {
    width: 100%;
  }

  .ritual-section {
    padding: 55px 0 85px;
  }

  .ritual-section__topline,
  .ritual-heading,
  .table-stage,
  .reading-result {
    width: calc(100% - 36px);
  }

  .ritual-section__topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .ritual-status {
    margin-left: 36px;
  }

  .ritual-heading {
    margin-top: 50px;
  }

  .ritual-heading h2 {
    font-size: 45px;
  }

  .ritual-heading > p:last-child {
    max-width: 350px;
    font-size: 12px;
  }

  .table-stage {
    min-height: 590px;
    margin-top: 32px;
  }

  .table-orbit--one {
    width: 720px;
    height: 300px;
  }

  .table-orbit--two {
    width: 560px;
    height: 230px;
  }

  .cards-grid {
    gap: 13px;
    width: min(100%, 520px);
  }

  .oracle-card__face {
    border-radius: 12px;
  }

  .card-back__border {
    inset: 7px;
    border-radius: 8px;
  }

  .card-back__sun {
    width: 52px;
    height: 52px;
  }

  .card-back__sun i {
    height: 71px;
  }

  .oracle-card__back small {
    bottom: 16px;
    font-size: 5px;
  }

  .oracle-card__label {
    gap: 7px;
  }

  .oracle-card__label strong {
    font-size: 10px;
  }

  .reading-result {
    margin-top: 55px;
    padding-top: 45px;
  }

  .reading-result__heading {
    display: block;
  }

  .reading-result__question {
    margin-top: 24px;
  }

  .reading-insights {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .reading-insights article {
    min-height: auto;
  }

  .result-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .result-actions .button {
    width: 100%;
  }

  .how-section {
    width: calc(100% - 36px);
    padding: 90px 0;
  }

  .how-section__intro h2 {
    font-size: 42px;
  }

  .how-steps {
    grid-template-columns: 1fr;
  }

  .how-steps article {
    display: grid;
    grid-template-columns: 60px 1fr;
    column-gap: 20px;
    padding: 28px 0;
  }

  .how-steps article + article {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .how-steps__index {
    grid-column: 1;
  }

  .how-steps__icon {
    grid-row: 2 / span 3;
    grid-column: 1;
    width: 56px;
    height: 56px;
    margin: 20px 0 0;
  }

  .how-steps__icon svg {
    width: 34px;
    height: 34px;
  }

  .how-steps h3,
  .how-steps p {
    grid-column: 2;
  }

  .how-steps h3 {
    margin-top: 20px;
  }

  .closing-section {
    padding: 90px 24px;
  }

  .closing-section h2 {
    font-size: 42px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    width: calc(100% - 36px);
    padding: 35px 0;
  }

  .site-footer > p {
    order: 3;
    margin: 0;
  }
}

@media (max-width: 430px) {
  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .brand__word strong {
    font-size: 16px;
  }

  .hero__proof div + div {
    padding-left: 13px;
  }

  .hero__proof strong {
    font-size: 20px;
  }

  .hero__visual {
    min-height: 550px;
    transform: none;
  }

  .tarot-window {
    width: 94%;
    padding: 8px;
    border-radius: 21px;
  }

  .tarot-window__top {
    height: 43px;
    padding: 0 12px;
  }

  .tarot-window__top span:last-child {
    display: none;
  }

  .tarot-window__image {
    border-radius: 92px 92px 11px 11px;
  }

  .tarot-window__bottom {
    height: 44px;
  }

  .tarot-candle {
    bottom: 25px;
    transform: scale(0.58);
  }

  .tarot-candle--left {
    left: -10px;
  }

  .tarot-candle--right {
    right: -11px;
  }

  .hero__caption {
    display: none;
  }

  .prompt-chips {
    display: grid;
    grid-template-columns: 1fr;
  }

  .prompt-chips button {
    padding: 9px 12px;
    text-align: left;
  }

  .question-panel {
    padding-right: 19px;
    padding-left: 19px;
  }

  .question-panel__heading h2 {
    font-size: 30px;
  }

  .ritual-heading h2 {
    font-size: 39px;
  }

  .how-section__intro h2 {
    font-size: 36px;
  }

  .cards-grid {
    gap: 8px;
  }

  .cards-grid.is-pending {
    width: 120px;
  }

  .oracle-card__label {
    margin-top: 15px;
    padding-top: 11px;
  }

  .oracle-card__label > span {
    display: none;
  }

  .oracle-card__label strong {
    font-size: 8px;
    line-height: 1.5;
  }
}

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

/* App launch ritual */
body.intro-active {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  touch-action: none;
}

.entry-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  color: #f2e5cc;
  background:
    radial-gradient(circle at 50% 48%, rgba(216, 157, 77, 0.2), transparent 24rem),
    radial-gradient(circle at 50% 118%, rgba(112, 37, 53, 0.56), transparent 38rem),
    linear-gradient(155deg, rgba(18, 17, 22, 0.98), rgba(25, 18, 21, 0.98)),
    url("./assets/textures/velvet-soft.jpg") center / cover;
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.68s var(--ease),
    transform 0.68s var(--ease);
  isolation: isolate;
}

.entry-overlay::before {
  position: absolute;
  z-index: 8;
  inset: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.entry-overlay::after {
  position: absolute;
  z-index: 9;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 4, 7, 0.18), transparent 23%, transparent 76%, rgba(5, 4, 7, 0.6)),
    radial-gradient(ellipse at 50% 49%, transparent 38%, rgba(4, 4, 6, 0.42) 100%);
  content: "";
  pointer-events: none;
}

.entry-overlay.is-exiting {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.025);
}

.entry-overlay__stars {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.entry-overlay__stars i {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  opacity: 0;
  background: #f5d79f;
  box-shadow: 0 0 8px 2px rgba(235, 190, 110, 0.32);
  animation: entry-twinkle 2.4s ease-in-out infinite;
}

.entry-overlay__stars i:nth-child(1) { top: 14%; left: 16%; animation-delay: -0.4s; }
.entry-overlay__stars i:nth-child(2) { top: 19%; left: 78%; animation-delay: -1.2s; }
.entry-overlay__stars i:nth-child(3) { top: 29%; left: 9%; animation-delay: -1.9s; }
.entry-overlay__stars i:nth-child(4) { top: 34%; left: 88%; animation-delay: -0.8s; }
.entry-overlay__stars i:nth-child(5) { top: 43%; left: 20%; animation-delay: -1.5s; }
.entry-overlay__stars i:nth-child(6) { top: 46%; left: 82%; animation-delay: -0.2s; }
.entry-overlay__stars i:nth-child(7) { top: 56%; left: 12%; animation-delay: -2.1s; }
.entry-overlay__stars i:nth-child(8) { top: 62%; left: 91%; animation-delay: -1.1s; }
.entry-overlay__stars i:nth-child(9) { top: 72%; left: 23%; animation-delay: -1.7s; }
.entry-overlay__stars i:nth-child(10) { top: 79%; left: 74%; animation-delay: -0.5s; }
.entry-overlay__stars i:nth-child(11) { top: 10%; left: 48%; animation-delay: -1.4s; }
.entry-overlay__stars i:nth-child(12) { top: 87%; left: 42%; animation-delay: -2s; }
.entry-overlay__stars i:nth-child(13) { top: 24%; left: 34%; animation-delay: -0.9s; }
.entry-overlay__stars i:nth-child(14) { top: 51%; left: 66%; animation-delay: -1.8s; }
.entry-overlay__stars i:nth-child(15) { top: 67%; left: 53%; animation-delay: -0.3s; }
.entry-overlay__stars i:nth-child(16) { top: 82%; left: 58%; animation-delay: -1.3s; }

@keyframes entry-twinkle {
  0%,
  100% {
    opacity: 0.18;
    transform: scale(0.7);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.3);
  }
}

.entry-overlay__brand {
  position: absolute;
  z-index: 12;
  top: calc(max(28px, env(safe-area-inset-top, 0px) + 18px));
  left: 50%;
  display: flex;
  align-items: center;
  gap: 11px;
  opacity: 0;
  transform: translate(-50%, -8px);
  animation: entry-brand-in 0.7s 0.18s var(--ease) forwards;
}

.entry-overlay__moon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(235, 203, 144, 0.4);
  border-radius: 50%;
  color: #e9c889;
  background: rgba(255, 248, 234, 0.035);
  box-shadow: 0 0 28px rgba(218, 168, 83, 0.11);
}

.entry-overlay__moon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.05;
}

.entry-overlay__moon svg path {
  fill: currentColor;
  stroke: none;
}

.entry-overlay__brand > div {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.entry-overlay__brand strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.entry-overlay__brand small {
  margin-top: 6px;
  color: rgba(240, 215, 171, 0.52);
  font-size: 6px;
  letter-spacing: 0.26em;
}

@keyframes entry-brand-in {
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.entry-overlay__message {
  position: absolute;
  z-index: 11;
  top: clamp(108px, 19vh, 170px);
  left: 50%;
  width: min(88vw, 560px);
  color: #f0e3cd;
  text-align: center;
  text-wrap: balance;
  transform: translateX(-50%);
  pointer-events: none;
}

.entry-overlay__message::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(92vw, 500px);
  height: 200px;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(ellipse, rgba(227, 169, 80, 0.1), transparent 66%);
  content: "";
  transform: translate(-50%, -50%);
  animation: entry-message-glow 2.6s 0.35s ease both;
  filter: blur(12px);
}

.entry-overlay__message-mark {
  display: block;
  margin-bottom: 8px;
  color: #e5bd76;
  font-size: 9px;
  opacity: 0;
  text-shadow: 0 0 16px rgba(235, 185, 98, 0.5);
  animation: entry-message-mark 0.65s 0.22s ease forwards;
}

.entry-message-line {
  margin: 0;
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  font-family: var(--serif);
  font-size: clamp(20px, 5.8vw, 28px);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1.5;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.22);
  transform: translateY(10px);
  animation: entry-message-reveal 0.72s 0.42s var(--ease) forwards;
  filter: blur(5px);
}

.entry-message-line--two {
  animation-delay: 0.64s;
}

.entry-message-line--three {
  margin-top: 2px;
  animation-delay: 0.86s;
}

.entry-message-line strong {
  color: #f2cd8d;
  background: linear-gradient(
    100deg,
    #d7a95f 0%,
    #fff0c4 34%,
    #f6d99b 50%,
    #c9944d 67%,
    #ecd09a 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: entry-gold-shimmer 2.4s 1.2s ease-in-out infinite;
  filter: drop-shadow(0 0 11px rgba(230, 179, 91, 0.2));
}

@keyframes entry-message-mark {
  from {
    opacity: 0;
    transform: rotate(-25deg) scale(0.7);
  }
  to {
    opacity: 0.92;
    transform: rotate(0deg) scale(1);
  }
}

@keyframes entry-message-reveal {
  0% {
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    transform: translateY(11px);
    filter: blur(5px);
  }
  55% {
    opacity: 1;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes entry-message-glow {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
  }
  45% {
    opacity: 1;
  }
  100% {
    opacity: 0.58;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes entry-gold-shimmer {
  0%,
  100% {
    background-position: 100% center;
  }
  50% {
    background-position: 0 center;
  }
}

.entry-ritual {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: min(92vw, 470px);
  height: min(52vh, 430px);
  transform: translate(-50%, -47%);
}

.entry-ritual__orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(227, 190, 122, 0.17);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.entry-ritual__orbit--outer {
  width: min(84vw, 390px);
  height: min(84vw, 390px);
  animation: entry-orbit 22s linear infinite;
}

.entry-ritual__orbit--inner {
  width: min(62vw, 282px);
  height: min(62vw, 282px);
  border-style: dashed;
  animation: entry-orbit 17s linear infinite reverse;
}

.entry-ritual__orbit::before,
.entry-ritual__orbit::after {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e6be77;
  box-shadow: 0 0 12px 3px rgba(229, 183, 100, 0.3);
  content: "";
}

.entry-ritual__orbit::before {
  top: 17%;
  left: 15%;
}

.entry-ritual__orbit::after {
  right: 7%;
  bottom: 24%;
}

@keyframes entry-orbit {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.entry-ritual__star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #f2d397;
  box-shadow: 0 0 15px 4px rgba(224, 176, 93, 0.3);
}

.entry-ritual__star--one {
  top: 14%;
  left: 28%;
}

.entry-ritual__star--two {
  top: 34%;
  right: 12%;
}

.entry-ritual__star--three {
  bottom: 17%;
  left: 18%;
}

.entry-deck {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: clamp(72px, 22.8vmin, 100px);
  aspect-ratio: 244 / 419;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.84) rotate(-2deg);
  animation: entry-deck-shuffle 1.35s 0.28s var(--ease) both;
}

.entry-deck > i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(232, 199, 136, 0.54);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 42%, rgba(221, 177, 96, 0.16), transparent 28%),
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(230, 196, 133, 0.055) 10px 11px),
    linear-gradient(145deg, #35252c, #17171c);
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.35);
}

.entry-deck > i:nth-child(2) { transform: translate(-2px, -3px) rotate(-1deg); }
.entry-deck > i:nth-child(3) { transform: translate(2px, -5px) rotate(1.2deg); }
.entry-deck > i:nth-child(4) { transform: translate(-1px, -7px) rotate(-0.7deg); }
.entry-deck > i:nth-child(5) { transform: translate(1px, -9px) rotate(0.8deg); }

.entry-deck__sun {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 32%;
  aspect-ratio: 1;
  border: 1px solid rgba(237, 202, 133, 0.78);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 6px rgba(232, 195, 122, 0.05),
    0 0 22px rgba(228, 183, 100, 0.15);
}

.entry-deck__sun::before,
.entry-deck__sun::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 175%;
  background: linear-gradient(transparent, rgba(237, 202, 133, 0.45), transparent);
  content: "";
  transform: translate(-50%, -50%);
}

.entry-deck__sun::after {
  transform: translate(-50%, -50%) rotate(60deg);
}

@keyframes entry-deck-shuffle {
  0% {
    opacity: 0;
    transform: translate(-50%, -47%) scale(0.76) rotate(-3deg);
  }
  18% {
    opacity: 1;
  }
  36% {
    transform: translate(calc(-50% - 12px), -50%) scale(0.84) rotate(-5deg);
  }
  55% {
    transform: translate(calc(-50% + 12px), -50%) scale(0.84) rotate(4deg);
  }
  73% {
    opacity: 1;
    transform: translate(-50%, -52%) scale(0.9) rotate(-1deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -58%) scale(0.82) rotate(0deg);
  }
}

.entry-cards {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
}

.entry-card {
  --card-width: clamp(68px, 22.2vmin, 96px);
  position: absolute;
  top: 0;
  left: 0;
  width: var(--card-width);
  aspect-ratio: 244 / 419;
  opacity: 0;
  perspective: 900px;
  transform: translate(-50%, -50%);
  animation: entry-card-deal 0.82s var(--deal-delay) var(--ease) forwards;
}

.entry-card--left {
  --end-x: clamp(-86px, -17.5vw, -66px);
  --end-y: 10px;
  --end-rot: -9deg;
  --deal-delay: 0.9s;
}

.entry-card--center {
  --end-x: 0px;
  --end-y: -8px;
  --end-rot: 0deg;
  --deal-delay: 1.02s;
  z-index: 3;
}

.entry-card--right {
  --end-x: clamp(66px, 17.5vw, 86px);
  --end-y: 10px;
  --end-rot: 9deg;
  --deal-delay: 1.14s;
}

@keyframes entry-card-deal {
  0% {
    opacity: 0;
    filter: blur(3px);
    transform: translate(-50%, -50%) rotate(0deg) scale(0.78);
  }
  18% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform:
      translate(calc(-50% + var(--end-x)), calc(-50% + var(--end-y)))
      rotate(var(--end-rot))
      scale(1);
  }
}

.entry-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.entry-card--center .entry-card__inner {
  animation: entry-card-flip 0.7s 1.68s var(--ease) forwards;
}

.entry-card__face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(235, 203, 142, 0.62);
  border-radius: 9px;
  backface-visibility: hidden;
  box-shadow:
    0 24px 36px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(222, 176, 91, 0.08);
}

.entry-card__face--back {
  background:
    radial-gradient(circle at 50% 42%, rgba(223, 179, 101, 0.2), transparent 28%),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(230, 196, 133, 0.055) 12px 13px),
    repeating-linear-gradient(-45deg, transparent 0 12px, rgba(230, 196, 133, 0.035) 12px 13px),
    linear-gradient(145deg, #35252c, #17171c);
}

.entry-card__face--back::before,
.entry-card__face--back::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 76%;
  background: linear-gradient(transparent, rgba(235, 200, 134, 0.32), transparent);
  content: "";
  transform: translate(-50%, -50%) rotate(38deg);
}

.entry-card__face--back::after {
  transform: translate(-50%, -50%) rotate(-38deg);
}

.entry-card__frame {
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(236, 201, 137, 0.27);
  border-radius: 6px;
}

.entry-card__sun {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28%;
  aspect-ratio: 1;
  border: 1px solid rgba(238, 201, 132, 0.81);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 7px rgba(235, 198, 128, 0.045);
}

.entry-card__sun::before {
  position: absolute;
  inset: -42%;
  border: 1px solid rgba(238, 201, 132, 0.17);
  border-radius: 50%;
  content: "";
}

.entry-card__face--front {
  padding: 3px;
  background: #151318;
  transform: rotateY(180deg);
}

.entry-card__face--front img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.03);
}

@keyframes entry-card-flip {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(180deg);
  }
}

.entry-overlay__caption {
  position: absolute;
  z-index: 12;
  right: 24px;
  bottom: calc(max(64px, env(safe-area-inset-bottom, 0px) + 56px));
  left: 24px;
  height: 22px;
  color: rgba(243, 224, 190, 0.66);
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-align: center;
}

.entry-overlay__caption span {
  position: absolute;
  right: 0;
  left: 0;
  opacity: 0;
}

.entry-overlay__caption-a {
  animation: entry-caption-a 1.9s 0.45s ease both;
}

.entry-overlay__caption-b {
  color: rgba(243, 224, 190, 0.82);
  animation: entry-caption-b 0.7s 1.95s ease both;
}

@keyframes entry-caption-a {
  0%,
  8% {
    opacity: 0;
    transform: translateY(5px);
  }
  25%,
  72% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-5px);
  }
}

@keyframes entry-caption-b {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.entry-overlay__skip {
  position: absolute;
  z-index: 12;
  right: 50%;
  bottom: calc(max(20px, env(safe-area-inset-bottom, 0px) + 12px));
  padding: 8px 14px;
  border: 1px solid rgba(237, 209, 158, 0.16);
  border-radius: 999px;
  color: rgba(243, 229, 204, 0.48);
  background: rgba(255, 255, 255, 0.025);
  font-size: 9px;
  letter-spacing: 0.12em;
  transform: translateX(50%);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.entry-overlay__skip:active {
  background: rgba(255, 255, 255, 0.09);
}

@media (max-width: 370px), (max-height: 640px) {
  .entry-overlay__brand {
    top: calc(max(18px, env(safe-area-inset-top, 0px) + 10px));
  }

  .entry-overlay__moon {
    width: 35px;
    height: 35px;
  }

  .entry-overlay__brand strong {
    font-size: 15px;
  }

  .entry-overlay__message {
    top: 96px;
  }

  .entry-ritual {
    height: 56vh;
  }

  .entry-card {
    --card-width: clamp(62px, 21vmin, 78px);
  }

  .entry-card--left {
    --end-x: -58px;
  }

  .entry-card--right {
    --end-x: 58px;
  }

  .entry-overlay__caption {
    bottom: calc(max(56px, env(safe-area-inset-bottom, 0px) + 48px));
    font-size: 10px;
  }
}

@media (orientation: landscape) and (max-height: 640px) {
  .entry-overlay__message {
    top: 24%;
    left: 5%;
    width: 48%;
    text-align: left;
    transform: none;
  }

  .entry-overlay__message::before {
    left: 28%;
    width: 88%;
  }

  .entry-message-line {
    font-size: clamp(17px, 2.7vw, 22px);
    line-height: 1.34;
  }

  .entry-ritual {
    top: 52%;
    left: 75%;
    width: 48vw;
    height: 82vh;
    transform: translate(-50%, -50%);
  }

  .entry-overlay__caption {
    right: auto;
    bottom: 48px;
    left: 5%;
    width: 46%;
    text-align: left;
  }

  .entry-overlay__skip {
    right: 18px;
    bottom: 16px;
    transform: none;
  }
}
