:root {
  --night: #241d23;
  --night-soft: #33272f;
  --paper: #f4ede3;
  --paper-deep: #e9dece;
  --paper-light: #fbf7f0;
  --ink: #2b2227;
  --ink-soft: #665a60;
  --wine: #793f4d;
  --wine-deep: #5d2f3b;
  --gold: #c99656;
  --gold-light: #e5c48d;
  --sage: #677260;
  --line: rgba(71, 53, 61, 0.16);
  --shadow: 0 30px 90px rgba(9, 5, 8, 0.25);
  --serif: "Fraunces", "Iowan Old Style", "Baskerville", serif;
  --sans: "Manrope", "Avenir Next", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: var(--night);
  font-family: var(--sans);
  line-height: 1.55;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(201, 150, 86, 0.45);
  outline-offset: 3px;
}

.atmosphere {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 15%, rgba(153, 82, 92, 0.23), transparent 33rem),
    radial-gradient(circle at 12% 84%, rgba(197, 144, 78, 0.12), transparent 30rem),
    linear-gradient(145deg, #1d181d, #2c2229 55%, #211a20);
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(229, 196, 141, 0.12);
  border-radius: 50%;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 18px var(--gold-light);
}

.orbit-one {
  width: 55rem;
  height: 55rem;
  right: -26rem;
  top: -23rem;
  transform: rotate(18deg);
}

.orbit-one::before {
  top: 76%;
  left: 4%;
}

.orbit-two {
  width: 31rem;
  height: 31rem;
  left: -20rem;
  bottom: -7rem;
}

.orbit-two::after {
  right: 5%;
  top: 25%;
}

.glow {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(201, 150, 86, 0.12);
  filter: blur(80px);
  left: 36%;
  top: 12%;
}

.topbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 25px 0;
  color: var(--paper);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(229, 196, 141, 0.55);
  border-radius: 50% 50% 46% 54%;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.08em;
  transform: rotate(-5deg);
}

.brand > span:last-child {
  display: grid;
  line-height: 1.1;
}

.brand strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 450;
  letter-spacing: 0.02em;
}

.brand small {
  margin-top: 3px;
  color: rgba(244, 237, 227, 0.6);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mode-badge {
  padding: 6px 10px;
  border: 1px solid rgba(229, 196, 141, 0.25);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quiet-button {
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(244, 237, 227, 0.28);
  color: rgba(244, 237, 227, 0.75);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.experience-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 255px minmax(0, 820px);
  gap: 28px;
  align-items: start;
  justify-content: center;
  width: min(1160px, calc(100% - 48px));
  margin: 24px auto 72px;
}

.experience-layout:not(:has(.journey-rail:not([hidden]))) {
  grid-template-columns: minmax(0, 820px);
}

.journey-rail {
  position: sticky;
  top: 30px;
  padding: 30px 20px;
  color: rgba(244, 237, 227, 0.64);
}

.rail-kicker,
.eyebrow {
  margin: 0;
  color: var(--wine);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.journey-rail .rail-kicker {
  color: var(--gold-light);
}

.journey-rail ol {
  position: relative;
  display: grid;
  gap: 8px;
  margin: 25px 0 34px;
  padding: 0;
  list-style: none;
}

.journey-rail ol::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: rgba(244, 237, 227, 0.11);
}

.journey-rail li {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 56px;
  transition: color 300ms ease, transform 300ms ease;
}

.journey-rail li > span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid rgba(244, 237, 227, 0.13);
  border-radius: 50%;
  background: var(--night-soft);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.journey-rail li div {
  display: grid;
}

.journey-rail li strong {
  color: inherit;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 450;
}

.journey-rail li small {
  font-size: 9px;
  letter-spacing: 0.05em;
}

.journey-rail li.is-active {
  color: var(--paper);
  transform: translateX(5px);
}

.journey-rail li.is-active > span {
  border-color: var(--gold);
  color: var(--night);
  background: var(--gold-light);
  box-shadow: 0 0 28px rgba(201, 150, 86, 0.22);
}

.journey-rail li.is-complete > span {
  border-color: rgba(229, 196, 141, 0.48);
  color: var(--gold-light);
}

.rail-note {
  display: flex;
  gap: 12px;
  padding: 17px;
  border: 1px solid rgba(244, 237, 227, 0.1);
  border-radius: 3px 18px 3px 18px;
  background: rgba(244, 237, 227, 0.03);
}

.rail-note > span {
  color: var(--gold);
}

.rail-note p {
  margin: 0;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.6;
}

.rail-note strong {
  color: var(--paper);
  font-weight: 450;
}

.experience-shell {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px 42px 4px 42px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0)),
    var(--paper);
  box-shadow: var(--shadow);
}

.experience-shell::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 0;
  border: 1px solid rgba(121, 63, 77, 0.1);
  border-radius: 2px 32px 2px 32px;
  pointer-events: none;
}

.mobile-progress {
  position: relative;
  z-index: 2;
  padding: 22px 24px 0;
}

.mobile-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progress-track {
  display: block;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(121, 63, 77, 0.12);
}

.progress-track span {
  display: block;
  width: 16.66%;
  height: 100%;
  background: linear-gradient(90deg, var(--wine), var(--gold));
  transition: width 500ms ease;
}

.step-panel {
  position: relative;
  z-index: 1;
  display: none;
  min-height: 720px;
  padding: 68px 76px 72px;
  animation: panel-in 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.step-panel.is-active {
  display: block;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome-panel {
  display: none;
  padding-top: 92px;
  text-align: center;
}

.welcome-panel.is-active {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.welcome-symbol {
  position: relative;
  display: grid;
  place-items: center;
  width: 105px;
  height: 105px;
  margin-bottom: 24px;
}

.symbol-ring {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(121, 63, 77, 0.28);
  border-radius: 50%;
  animation: slow-spin 18s linear infinite;
}

.symbol-ring::before,
.symbol-ring::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.symbol-ring::before {
  top: -3px;
  left: 47%;
}

.symbol-ring::after {
  bottom: -3px;
  left: 47%;
}

.symbol-moon {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 62px;
  font-weight: 300;
}

.symbol-star {
  position: absolute;
  right: 3px;
  top: 27px;
  color: var(--gold);
  font-size: 15px;
}

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

.welcome-panel h1 {
  max-width: 650px;
  margin: 15px 0 8px;
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 71px);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.welcome-panel h1 em {
  color: var(--wine);
  font-weight: 450;
}

.welcome-subtitle {
  margin: 15px 0 22px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.welcome-copy {
  max-width: 570px;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.7;
}

.experience-facts {
  display: flex;
  gap: 0;
  margin: 28px 0 25px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.experience-facts span {
  padding: 12px 21px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.experience-facts span + span {
  border-left: 1px solid var(--line);
}

.experience-facts b {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
}

.access-field {
  width: min(100%, 390px);
  margin: 1px 0 18px;
  text-align: left;
}

.access-field label,
.field-group label,
.focus-options legend {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.code-entry {
  position: relative;
}

.code-entry input {
  width: 100%;
  height: 49px;
  padding: 0 50px 0 15px;
  border: 1px solid var(--line);
  border-radius: 3px 13px 3px 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
}

.icon-button {
  position: absolute;
  right: 7px;
  top: 7px;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 0;
  color: var(--wine);
  background: transparent;
  cursor: pointer;
}

.consent-line {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  max-width: 510px;
  margin: 0 0 22px;
  color: var(--ink-soft);
  text-align: left;
  font-size: 11px;
  line-height: 1.55;
  cursor: pointer;
}

.consent-line input,
.preparation-list input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--wine);
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 50px;
  padding: 0 23px;
  border-radius: 2px 15px 2px 15px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.primary-button {
  border: 1px solid var(--wine-deep);
  color: var(--paper-light);
  background: var(--wine-deep);
  box-shadow: 0 9px 25px rgba(93, 47, 59, 0.18);
}

.primary-button:hover:not(:disabled) {
  transform: translateY(-2px);
  background: #6d3744;
  box-shadow: 0 13px 30px rgba(93, 47, 59, 0.25);
}

.secondary-button {
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: transparent;
}

.secondary-button:hover {
  border-color: rgba(121, 63, 77, 0.38);
  color: var(--wine);
  background: rgba(255, 255, 255, 0.35);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.start-button {
  min-width: 255px;
}

.privacy-note {
  max-width: 470px;
  margin: 15px 0 0;
  color: rgba(102, 90, 96, 0.68);
  font-size: 9px;
  line-height: 1.55;
}

.panel-heading {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.step-number {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(121, 63, 77, 0.23);
  border-radius: 50%;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 12px;
}

.panel-heading h2,
.result-header h2 {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: clamp(31px, 4vw, 44px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.panel-intro {
  max-width: 650px;
  margin: 0 0 30px 62px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.65;
}

.guided-form {
  display: grid;
  gap: 24px;
}

.field-group input,
.field-group textarea,
.question-vessel textarea,
.card-entry input,
.association-copy textarea {
  width: 100%;
  border: 1px solid rgba(71, 53, 61, 0.18);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.48);
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.field-group input {
  height: 50px;
  padding: 0 15px;
  border-radius: 3px 13px 3px 13px;
}

.field-group textarea,
.association-copy textarea {
  resize: vertical;
  min-height: 95px;
  padding: 14px 15px;
  border-radius: 3px 17px 3px 17px;
  line-height: 1.55;
}

.field-group input:focus,
.field-group textarea:focus,
.card-entry input:focus,
.association-copy textarea:focus {
  border-color: rgba(121, 63, 77, 0.55);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 30px rgba(83, 52, 64, 0.07);
}

.field-group small {
  display: block;
  margin-top: 7px;
  color: rgba(102, 90, 96, 0.76);
  font-size: 9px;
}

.compact-field {
  max-width: 330px;
}

.focus-options {
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.choice-grid label {
  cursor: pointer;
}

.choice-grid input {
  position: absolute;
  opacity: 0;
}

.choice-grid span {
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 2px 12px 2px 12px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.3);
  font-size: 10px;
  font-weight: 600;
  transition: all 200ms ease;
}

.choice-grid label:hover span {
  border-color: rgba(121, 63, 77, 0.35);
}

.choice-grid input:checked + span {
  border-color: var(--wine);
  color: var(--paper-light);
  background: var(--wine);
  box-shadow: 0 8px 20px rgba(121, 63, 77, 0.16);
}

.panel-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.question-panel {
  padding-top: 90px;
}

.question-vessel {
  position: relative;
  margin: 47px 26px 20px;
  padding: 22px 46px;
  border-top: 1px solid rgba(121, 63, 77, 0.25);
  border-bottom: 1px solid rgba(121, 63, 77, 0.25);
}

.question-vessel textarea {
  min-height: 135px;
  overflow: hidden;
  padding: 10px 0;
  border: 0;
  outline: 0;
  resize: none;
  color: var(--wine-deep);
  background: transparent;
  font-family: var(--serif);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 300;
  line-height: 1.34;
  text-align: center;
}

.quote-mark {
  position: absolute;
  left: 8px;
  top: 3px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 47px;
}

.quote-mark.closing {
  right: 8px;
  bottom: -13px;
  left: auto;
  top: auto;
}

.question-why {
  max-width: 590px;
  margin: 0 auto 27px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}

.gentle-note {
  display: flex;
  gap: 12px;
  max-width: 610px;
  margin: 0 auto 36px;
  padding: 16px 19px;
  border-left: 2px solid var(--gold);
  color: var(--ink-soft);
  background: rgba(201, 150, 86, 0.08);
  font-size: 10px;
}

.gentle-note > span {
  color: var(--gold);
}

.gentle-note p {
  margin: 0;
}

.centered-heading {
  justify-content: center;
  text-align: center;
}

.preparation-panel {
  text-align: center;
}

.breath-ritual {
  position: relative;
  display: grid;
  place-items: center;
  width: 155px;
  height: 155px;
  margin: 25px auto 20px;
}

.breath-ring {
  position: absolute;
  border: 1px solid rgba(121, 63, 77, 0.24);
  border-radius: 50%;
  animation: breathe 8s ease-in-out infinite;
}

.ring-a {
  inset: 18px;
}

.ring-b {
  inset: 0;
  border-color: rgba(201, 150, 86, 0.22);
  animation-delay: -2s;
}

.breath-core {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  color: var(--wine);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 42px rgba(201, 150, 86, 0.15);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.88);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

.ritual-copy {
  max-width: 530px;
  margin: 0 auto 28px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 16px;
}

.preparation-list {
  display: grid;
  max-width: 560px;
  margin: 0 auto 16px;
  text-align: left;
}

.preparation-list label {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.preparation-list span {
  display: grid;
}

.preparation-list strong {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 450;
}

.preparation-list small {
  color: var(--ink-soft);
  font-size: 9px;
}

.card-entry-list {
  display: grid;
  gap: 10px;
}

.card-entry {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr) minmax(190px, 0.55fr);
  gap: 13px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 2px 15px 2px 15px;
  background: rgba(255, 255, 255, 0.27);
}

.card-entry-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 51px;
  border: 1px solid rgba(121, 63, 77, 0.21);
  border-radius: 16px 16px 3px 3px;
  color: var(--wine);
  background: var(--paper-light);
  font-family: var(--serif);
}

.card-entry-copy {
  display: grid;
}

.card-entry-copy strong {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 450;
  line-height: 1.35;
}

.card-entry-copy small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-entry input {
  height: 42px;
  padding: 0 12px;
  border-radius: 2px 10px 2px 10px;
  font-size: 11px;
}

.photo-upload {
  margin-top: 20px;
  padding: 18px;
  border: 1px dashed rgba(121, 63, 77, 0.29);
  border-radius: 3px 19px 3px 19px;
  background: rgba(255, 255, 255, 0.22);
}

.upload-copy {
  display: flex;
  gap: 14px;
  align-items: center;
}

.upload-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--wine);
  background: rgba(121, 63, 77, 0.08);
  font-size: 20px;
}

.upload-copy strong {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 450;
}

.upload-copy em {
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.upload-copy p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 9px;
}

.upload-button {
  display: inline-flex;
  margin: 14px 0 0 56px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 2px 9px 2px 9px;
  color: var(--wine);
  background: rgba(255, 255, 255, 0.44);
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
}

.upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.photo-preview {
  position: relative;
  margin-top: 15px;
}

.photo-preview img {
  display: block;
  width: 100%;
  max-height: 260px;
  border-radius: 2px 16px 2px 16px;
  object-fit: cover;
}

.photo-preview button {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 6px 10px;
  border: 0;
  border-radius: 99px;
  color: white;
  background: rgba(36, 29, 35, 0.78);
  cursor: pointer;
  font-size: 9px;
}

.association-list {
  display: grid;
  gap: 13px;
}

.association-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px 18px 2px 18px;
  background: rgba(255, 255, 255, 0.28);
}

.association-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  color: var(--paper);
  background:
    radial-gradient(circle at 80% 10%, rgba(229, 196, 141, 0.2), transparent 50%),
    var(--wine-deep);
}

.association-card span {
  color: var(--gold-light);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.association-card strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 450;
  word-break: break-word;
}

.association-copy {
  padding: 15px 16px;
}

.association-copy label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--serif);
  font-size: 13px;
}

.association-copy small {
  display: block;
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 8px;
}

.association-copy textarea {
  min-height: 78px;
  font-size: 10px;
}

.alchemy-button {
  border-color: #6a4932;
  background: linear-gradient(110deg, #55343e, #8a4d55 54%, #895f3f);
  background-size: 180% 100%;
  animation: alchemy-shimmer 6s ease infinite;
}

@keyframes alchemy-shimmer {
  0%,
  100% {
    background-position: 0 0;
  }
  50% {
    background-position: 100% 0;
  }
}

.result-panel {
  padding-top: 75px;
}

.reading-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  text-align: center;
}

.reading-loader h2 {
  max-width: 530px;
  margin: 10px 0 12px;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 300;
}

.reading-loader > p:last-child {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 14px;
}

.alchemy-loader {
  position: relative;
  display: grid;
  place-items: center;
  width: 145px;
  height: 145px;
  margin-bottom: 25px;
}

.loader-orbit {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(121, 63, 77, 0.26);
  border-radius: 50%;
  animation: loader-spin 4s linear infinite;
}

.loader-orbit::before {
  content: "";
  position: absolute;
  left: 47%;
  top: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 17px rgba(201, 150, 86, 0.5);
}

.loader-orbit.second {
  inset: 31px;
  border-style: dashed;
  animation-direction: reverse;
  animation-duration: 7s;
}

.loader-core {
  color: var(--wine);
  font-size: 31px;
  animation: loader-pulse 2s ease-in-out infinite;
}

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

@keyframes loader-pulse {
  50% {
    transform: scale(1.2);
    color: var(--gold);
  }
}

.result-header {
  max-width: 620px;
  margin: 0 auto 40px;
  text-align: center;
}

.result-header h2 {
  margin-top: 11px;
}

.result-question {
  margin: 19px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
}

.overview-card {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 21px;
  padding: 30px;
  border: 1px solid rgba(121, 63, 77, 0.19);
  border-radius: 3px 24px 3px 24px;
  background:
    radial-gradient(circle at 4% 5%, rgba(201, 150, 86, 0.16), transparent 35%),
    rgba(255, 255, 255, 0.34);
}

.section-glyph {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border: 1px solid rgba(121, 63, 77, 0.2);
  border-radius: 50%;
  color: var(--wine);
  font-size: 32px;
}

.overview-card p {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.75;
}

.overview-card .overview-lead {
  margin-top: 12px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.6;
}

.section-heading {
  margin: 55px 0 22px;
}

.section-heading h3,
.decision-letter h3 {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 300;
  letter-spacing: -0.03em;
}

.position-readings {
  display: grid;
  gap: 10px;
}

.position-reading {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px 16px 2px 16px;
  background: rgba(255, 255, 255, 0.3);
}

.position-reading summary {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 16px;
  cursor: pointer;
  list-style: none;
}

.position-reading summary::-webkit-details-marker {
  display: none;
}

.position-reading summary > span:first-child {
  display: grid;
  place-items: center;
  width: 36px;
  height: 43px;
  border: 1px solid rgba(121, 63, 77, 0.2);
  border-radius: 14px 14px 2px 2px;
  color: var(--wine);
  font-family: var(--serif);
}

.position-summary-copy {
  display: grid;
}

.position-summary-copy small {
  color: var(--ink-soft);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.position-summary-copy strong {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 450;
}

.detail-toggle {
  color: var(--gold);
  font-size: 18px;
  transition: transform 200ms ease;
}

.position-reading[open] .detail-toggle {
  transform: rotate(45deg);
}

.position-reading-body {
  padding: 0 22px 21px 68px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.7;
}

.mirror-question {
  margin-top: 15px;
  padding: 13px 15px;
  border-left: 2px solid var(--gold);
  color: var(--wine-deep);
  background: rgba(201, 150, 86, 0.08);
  font-family: var(--sans);
  font-size: 10px;
}

.decision-letter {
  position: relative;
  margin-top: 62px;
  padding: 48px 54px;
  border: 1px solid rgba(201, 150, 86, 0.48);
  border-radius: 1px 31px 1px 31px;
  background:
    linear-gradient(transparent 95%, rgba(121, 63, 77, 0.04) 95%) 0 0 / 100% 30px,
    var(--paper-light);
  box-shadow: 0 22px 55px rgba(71, 48, 57, 0.1);
}

.decision-letter::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 150, 86, 0.18);
  border-radius: 1px 23px 1px 23px;
  pointer-events: none;
}

.letter-ornament {
  position: absolute;
  right: 42px;
  top: 44px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(201, 150, 86, 0.45);
  border-radius: 50%;
  color: var(--gold);
}

.letter-date {
  margin: 6px 0 30px;
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.letter-body {
  display: grid;
  gap: 21px;
}

.letter-entry {
  position: relative;
  padding-left: 23px;
}

.letter-entry::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--gold);
  font-size: 10px;
}

.letter-entry strong {
  display: block;
  margin-bottom: 5px;
  color: var(--wine);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.letter-entry p {
  margin: 0;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.65;
}

.letter-signature {
  margin: 34px 0 0;
  color: var(--wine-deep);
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  text-align: right;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.integration-card {
  min-height: 165px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 2px 17px 2px 17px;
  background: rgba(255, 255, 255, 0.3);
}

.integration-card span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  margin-bottom: 15px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--sage);
  font-family: var(--serif);
  font-size: 11px;
}

.integration-card strong {
  display: block;
  color: var(--sage);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.integration-card p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.6;
}

.closing-message {
  max-width: 590px;
  margin: 58px auto 35px;
  color: var(--wine-deep);
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.65;
  text-align: center;
}

.closing-message::before {
  content: "✦";
  display: block;
  margin-bottom: 13px;
  color: var(--gold);
  font-size: 12px;
  font-style: normal;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}

.result-disclaimer {
  max-width: 600px;
  margin: 22px auto 0;
  color: rgba(102, 90, 96, 0.7);
  font-size: 8px;
  line-height: 1.6;
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 30;
  right: 24px;
  bottom: 24px;
  max-width: 370px;
  padding: 14px 17px;
  border: 1px solid rgba(229, 196, 141, 0.3);
  border-radius: 2px 14px 2px 14px;
  color: var(--paper);
  background: rgba(36, 29, 35, 0.96);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  font-size: 11px;
  animation: toast-in 260ms ease;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.is-loading {
  pointer-events: none;
  opacity: 0.72;
}

@media (max-width: 980px) {
  .experience-layout {
    grid-template-columns: minmax(0, 820px);
    margin-top: 5px;
  }

  .journey-rail {
    display: none;
  }

  .mobile-progress:not([hidden]) {
    display: block;
  }

  .step-panel {
    padding-top: 52px;
  }
}

@media (max-width: 700px) {
  .topbar {
    width: min(100% - 28px, 1280px);
    padding: 17px 0;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
  }

  .brand strong {
    font-size: 15px;
  }

  .quiet-button {
    display: none;
  }

  .mode-badge {
    font-size: 8px;
  }

  .experience-layout {
    width: min(100% - 18px, 820px);
    margin-bottom: 25px;
  }

  .experience-shell,
  .experience-shell::before {
    border-radius: 3px 25px 3px 25px;
  }

  .experience-shell {
    min-height: 0;
  }

  .step-panel {
    min-height: 660px;
    padding: 42px 25px 45px;
  }

  .welcome-panel {
    padding-top: 56px;
  }

  .welcome-symbol {
    width: 88px;
    height: 88px;
    margin-bottom: 17px;
  }

  .symbol-moon {
    font-size: 51px;
  }

  .welcome-panel h1 {
    font-size: 43px;
  }

  .welcome-copy {
    font-size: 15px;
  }

  .experience-facts span {
    padding: 10px 12px;
    font-size: 8px;
  }

  .panel-heading {
    gap: 13px;
  }

  .panel-heading h2 {
    font-size: 30px;
  }

  .step-number {
    width: 36px;
    height: 36px;
  }

  .panel-intro {
    margin-left: 0;
    font-size: 14px;
  }

  .choice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .question-panel {
    padding-top: 55px;
  }

  .question-vessel {
    margin: 30px 0 18px;
    padding: 18px 28px;
  }

  .question-vessel textarea {
    min-height: 165px;
    font-size: 23px;
  }

  .breath-ritual {
    width: 135px;
    height: 135px;
  }

  .card-entry {
    grid-template-columns: 40px 1fr;
  }

  .card-entry input {
    grid-column: 1 / -1;
  }

  .upload-button {
    margin-left: 0;
  }

  .association-item {
    grid-template-columns: 1fr;
  }

  .association-card {
    min-height: 82px;
  }

  .result-panel {
    padding-top: 48px;
  }

  .overview-card {
    grid-template-columns: 1fr;
    padding: 23px;
  }

  .position-reading summary {
    grid-template-columns: 36px 1fr auto;
    padding: 13px;
  }

  .position-reading-body {
    padding: 0 16px 18px;
  }

  .decision-letter {
    padding: 37px 27px;
  }

  .letter-ornament {
    display: none;
  }

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

  .integration-card {
    min-height: auto;
  }

  .result-actions {
    flex-direction: column;
  }

  .toast {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
  }
}

@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;
  }
}

@media print {
  body {
    background: white;
  }

  .atmosphere,
  .topbar,
  .journey-rail,
  .mobile-progress,
  .result-header,
  .overview-card,
  .position-section,
  .integration-section,
  .closing-message,
  .result-actions,
  .result-disclaimer {
    display: none !important;
  }

  .experience-layout,
  .experience-shell,
  .step-panel {
    display: block;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: white;
  }

  .experience-shell::before {
    display: none;
  }

  #reading-result {
    display: block !important;
  }

  .decision-letter {
    margin: 0;
    break-inside: avoid;
    box-shadow: none;
  }
}
