/* ==========================================================================
   UNIQorn — Tarot & Akashic Landing
   Scope: .tarot-landing only
   ========================================================================== */

.tarot-landing {
  --navy-deep: var(--indigo-deep);
  --navy-65: rgba(30, 58, 95, 0.65);
  --navy-42: rgba(30, 58, 95, 0.42);
  --navy-15: rgba(30, 58, 95, 0.15);
  --navy-10: rgba(30, 58, 95, 0.10);
  --navy-08: rgba(30, 58, 95, 0.08);
  --gray: var(--meta);
  --rose-soft: var(--rose-tint);
  --font-serif: var(--font-display);
  /* Full-coverage stack for headings; the flow-mode subset lacks some glyphs. */
  --font-heading: var(--font-display);
  --font-sans: var(--font-body);
  --shell: min(1180px, calc(100vw - 96px));
  --section-space: clamp(96px, 11vw, 160px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  position: relative;
  overflow-x: clip;
  background: var(--white);
  color: var(--indigo);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.tarot-landing *,
.tarot-landing *::before,
.tarot-landing *::after {
  box-sizing: border-box;
}

.tarot-landing img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tarot-landing a {
  color: inherit;
  text-decoration: none;
}

.tarot-landing p,
.tarot-landing h1,
.tarot-landing h2,
.tarot-landing h3,
.tarot-landing blockquote,
.tarot-landing figure {
  margin: 0;
}

.tarot-landing-shell {
  width: var(--shell);
  margin-inline: auto;
}

.tarot-landing-section {
  position: relative;
  padding-block: var(--section-space);
}

.tarot-landing-eyebrow,
.tarot-landing-kicker,
.tarot-landing-section-no,
.tarot-landing-worldview__label,
.tarot-landing-door__en,
.tarot-landing-door__index,
.tarot-landing-trust__microcopy {
  font-size: var(--text-xs);
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tarot-landing-eyebrow,
.tarot-landing-worldview__label,
.tarot-landing-door__en,
.tarot-landing-trust__microcopy {
  color: var(--navy-42);
}

/* Hide numbering on this page */
.space-id-num,
.edge-num {
  display: none !important;
}

.tarot-landing-section-head {
  display: block;
  max-width: 780px;
}

.tarot-landing-section-head h2 {
  max-width: 14em;
  margin-top: 14px;
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.035em;
}

/* Hero ------------------------------------------------------------------- */

.tarot-landing-hero {
  position: relative;
  min-height: min(960px, 100svh);
  display: flex;
  align-items: stretch;
  background: var(--white);
}

.tarot-landing-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  min-height: inherit;
  padding-block: clamp(34px, 4vw, 64px) clamp(54px, 6vw, 92px);
}

.tarot-landing-hero__meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--navy-10);
}

.tarot-landing-kicker {
  color: var(--navy-42);
}

.tarot-landing-hero__title-wrap {
  position: relative;
  grid-column: 1 / 10;
  align-self: center;
  padding-top: clamp(70px, 11vh, 140px);
}

.tarot-landing-hero__title {
  max-width: 10em;
  margin-top: 15px;
  font-family: var(--font-serif);
  font-size: clamp(56px, 8.2vw, 126px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.06em;
  color: var(--navy-deep);
}

/* Lede group sits in the open space right of the title; its bottom edge is
   the bottom of the title box, i.e. the second line's baseline box. */
.tarot-landing-hero__lede {
  position: absolute;
  left: 80%;
  bottom: 0;
  width: 27em;
  color: var(--navy-65);
  font-size: 14px;
  line-height: 1.9;
}

/* Explicit stack, not var(--font-serif): in flow mode that variable points at
   the 215-glyph UNIQorn Tarot Serif subset, which lacks 更 晰 理 and falls back
   mid-line. This stack resolves to one face for every character of the lead. */
.tarot-landing .tarot-landing-hero__lead-line {
  margin: 0 0 calc(1.1em + 14px);
  color: var(--indigo);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.tarot-landing-hero__nowrap {
  display: block;
  white-space: nowrap;
}

.tarot-landing-hero__nowrap--inline {
  display: inline;
}

.tarot-landing-hero__sub-line {
  max-width: 27em;
  margin: 0;
  text-wrap: pretty;
  color: rgba(30, 58, 95, 0.7);
  font-size: 14px;
  line-height: 1.9;
}

.tarot-landing-hero__link {
  display: inline-block;
  margin-top: 1.4rem;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--navy-42);
  color: var(--indigo);
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.tarot-landing-hero__quote[hidden] {
  display: none;
}

.tarot-landing-hero__quote {
  grid-column: 2 / 8;
  align-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--indigo);
  font-family: var(--font-serif);
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.6;
}

.tarot-landing-rose-point,
.tarot-landing-closing__point {
  position: relative;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 10px var(--rose-soft), 0 0 28px rgba(197, 139, 142, 0.20);
}

.tarot-landing-hero__line {
  position: absolute;
  left: max(32px, calc((100vw - min(1180px, calc(100vw - 96px))) / 2 - 28px));
  bottom: -64px;
  width: 1px;
  height: 140px;
  background: linear-gradient(to bottom, var(--navy-15), rgba(30, 58, 95, 0));
}

/* Worldview -------------------------------------------------------------- */

.tarot-landing-worldview__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  row-gap: clamp(80px, 10vw, 150px);
}

.tarot-landing-worldview .tarot-landing-section-head {
  grid-column: 1 / 8;
}

.tarot-landing-worldview__axis {
  grid-column: 6 / 7;
  grid-row: 2 / 5;
  position: relative;
  min-height: 720px;
}

.tarot-landing-worldview__axis-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--navy-08), var(--navy-15), var(--navy-08));
}

.tarot-landing-worldview__axis-point {
  position: sticky;
  top: 48vh;
  display: block;
  width: 7px;
  height: 7px;
  margin-left: calc(50% - 3px);
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 8px var(--rose-soft);
}

.tarot-landing-worldview__entry {
  max-width: 480px;
}

.tarot-landing-worldview__entry h3 {
  margin-top: var(--space-3);
  font-family: var(--font-heading);
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.2;
  font-weight: 500;
}

.tarot-landing-worldview__title-link {
  color: inherit;
  text-decoration: none;
  transition: color 220ms ease;
}

.tarot-landing-worldview__title-link:hover,
.tarot-landing-worldview__title-link:focus-visible {
  color: var(--indigo-deep);
}

.tarot-landing-worldview__desc,
.tarot-landing-worldview__entry > p:last-child {
  margin-top: 26px;
  color: var(--navy-65);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 2;
}

.tarot-landing-worldview__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-7);
  padding: 13px var(--space-6) 13px 18px;
  border: 1px solid rgba(20, 42, 72, 0.45);
  border-radius: var(--radius-pill);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  color: var(--indigo-deep);
  font-family: var(--font-serif, "UNIQorn Tarot Serif", serif);
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color 240ms cubic-bezier(.2, 0, 0, 1), background-color 240ms cubic-bezier(.2, 0, 0, 1), box-shadow 240ms cubic-bezier(.2, 0, 0, 1), transform 240ms cubic-bezier(.2, 0, 0, 1);
}

.tarot-landing-worldview__cta-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: var(--rose);
  border-radius: var(--radius-drop);
  box-shadow: 0 0 0 4px rgba(197, 139, 142, 0.22);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.tarot-landing-worldview__cta-arrow {
  font-family: var(--font-body);
  font-size: var(--text-md);
  color: var(--rose);
  font-weight: 500;
  transition: transform 240ms cubic-bezier(.2, 0, 0, 1), color 240ms ease;
}

.tarot-landing-worldview__cta:hover,
.tarot-landing-worldview__cta:focus-visible {
  border-color: var(--rose);
  background: var(--white);
  box-shadow: 0 6px 20px rgba(20, 42, 72, 0.12), 0 0 0 1px rgba(197, 139, 142, 0.28);
  transform: translateY(-1px);
}

.tarot-landing-worldview__cta:hover .tarot-landing-worldview__cta-dot,
.tarot-landing-worldview__cta:focus-visible .tarot-landing-worldview__cta-dot {
  transform: scale(1.18);
  box-shadow: 0 0 0 5px rgba(197, 139, 142, 0.28);
}

.tarot-landing-worldview__cta:hover .tarot-landing-worldview__cta-arrow,
.tarot-landing-worldview__cta:focus-visible .tarot-landing-worldview__cta-arrow {
  transform: translateX(5px);
  color: var(--rose);
}

.tarot-landing-worldview__entry--tarot {
  grid-column: 1 / 6;
  grid-row: 2;
}

.tarot-landing-worldview__entry--akashic {
  grid-column: 8 / 13;
  grid-row: 3;
  margin-top: 80px;
}

/* Integrated entry: centred on the axis (cols 4-8 are symmetric about col 6),
   opaque so the axis line visibly ends at its top edge. */
.tarot-landing-worldview__entry--bundle {
  grid-column: 4 / 9;
  grid-row: 4;
  justify-self: center;
  width: 100%;
  padding: 0 2.25rem;
  background: var(--white);
  text-align: center;
  position: relative;
}

/* Entry copy: the serif tagline leads; body text is quieter, at a ~22-character measure. */
.tarot-landing .tarot-landing-worldview__entry .tarot-landing-worldview__desc {
  max-width: 22em;
  margin-top: 14px;
  color: var(--navy-65);
  font-size: 14px;
  line-height: 1.9;
}

.tarot-landing .tarot-landing-worldview__entry .tarot-landing-worldview__tagline {
  max-width: none;
  margin-top: 18px;
  color: var(--navy-deep, var(--indigo-deep));
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.tarot-landing .tarot-landing-worldview__entry .tarot-landing-worldview__desc--more {
  margin-top: 1.1rem;
  color: rgba(30, 58, 95, 0.58);
}

.tarot-landing-worldview__closing {
  grid-column: 2 / 11;
  grid-row: 4;
  padding-top: 38px;
  border-top: 1px solid var(--navy-10);
}

.tarot-landing-worldview__closing p {
  max-width: 8em;
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.tarot-landing-worldview__closing strong {
  display: block;
  margin-top: 34px;
  margin-left: min(36vw, 420px);
  color: var(--navy-65);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* Trust ------------------------------------------------------------------ */

.tarot-landing-trust {
  padding-top: calc(var(--section-space) * 0.88);
}

.tarot-landing-section-head--trust {
  margin-left: auto;
  margin-right: 5%;
}

/* --------------------------------------------------------------------------
   Trust Section: High-End Editorial Narrative Spread (画报排版)
   -------------------------------------------------------------------------- */
.tarot-landing-trust {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: visible;
  z-index: 2;
  background: var(--white);
}

.tarot-trust-stage__wrap {
  width: 100%;
  box-sizing: border-box;
  padding-block: clamp(24px, 4vh, 56px);
}

.tarot-landing-section-head--trust {
  margin-bottom: clamp(32px, 4vw, 56px);
}

.tarot-trust-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  position: relative;
  min-height: clamp(420px, 54vh, 580px);
}

/* Single Visual Stage Viewport */
.tarot-trust-stage__view {
  position: relative;
  aspect-ratio: 4 / 3.2;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--navy-10);
  box-shadow: var(--shadow-lg);
}

.tarot-trust-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  will-change: transform, opacity;
}

.tarot-trust-slide__frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.tarot-trust-slide__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tarot-trust-slide[data-index="0"] img {
  object-position: center 15%;
}

.tarot-trust-slide[data-index="1"] img {
  object-position: center center;
}

.tarot-trust-slide[data-index="2"] img {
  object-position: center 20%;
}

.tarot-trust-slide[data-index="3"] img {
  object-position: 60% 35%;
}

/* Narrative & Captions Column */
.tarot-trust-stage__narrative {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.tarot-trust-stage__indicators {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(20px, 2.5vw, 36px);
}

.tarot-trust-stage__dot {
  width: 24px;
  height: 2px;
  background: var(--navy-15);
  border-radius: 1px;
  transition: width 0.3s ease, background 0.3s ease;
}

.tarot-trust-stage__dot.is-active {
  width: 52px;
  background: var(--rose);
}

.tarot-trust-stage__captions {
  position: relative;
  min-height: 270px;
}

.tarot-trust-caption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  will-change: transform, opacity;
}

.tarot-trust-caption h3 {
  margin-top: var(--space-2);
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.2;
  font-weight: 500;
  color: var(--navy-deep);
}

.tarot-trust-caption .tarot-landing-trust__microcopy {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--navy-65);
}

.tarot-landing-trust__door-link {
  display: block;
  margin-top: var(--space-5);
  padding: var(--space-5) var(--space-6);
  background: var(--white);
  border: 1px solid var(--navy-15);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transition: all 0.35s ease;
  text-decoration: none;
  max-width: 380px;
}

.tarot-landing-trust__door-link:hover {
  border-color: var(--rose);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.tarot-landing-trust__door-title {
  margin-top: var(--space-1);
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--navy-deep);
  font-weight: 500;
}

.tarot-landing-trust__door-desc {
  margin-top: 6px;
  font-size: 13px;
  color: var(--navy-65);
}

@media (max-width: 820px) {
  .tarot-trust-stage {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    min-height: auto;
  }
  .tarot-trust-stage__view {
    aspect-ratio: 16 / 11;
  }
  .tarot-trust-stage__captions {
    min-height: 230px;
  }
}

.tarot-landing-trust__caption--portrait {
  position: relative;
  margin-top: 22px;
  max-width: 480px;
}

.tarot-landing-trust__role {
  color: var(--navy-65);
  font-size: var(--text-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tarot-landing-trust__caption h3 {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  font-weight: 500;
  color: var(--navy-deep);
}

.tarot-landing-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  margin-top: 14px;
}

.tarot-landing-inline-links a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--navy-65);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: all 240ms ease;
  border-bottom: 1px solid var(--navy-15);
  padding-bottom: 2px;
}

.tarot-landing-inline-links a:hover,
.tarot-landing-inline-links a:focus-visible {
  color: var(--navy-deep);
  border-color: var(--navy-deep);
}

.tarot-landing-trust__microcopy {
  margin-top: var(--space-4);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--navy-65);
}

/* Doors ------------------------------------------------------------------ */

.tarot-landing-doors {
  padding-top: calc(var(--section-space) * 1.1);
}

.tarot-landing-section-head--doors {
  margin-bottom: clamp(76px, 9vw, 124px);
}

.tarot-landing-doors__list {
  border-top: 1px solid var(--navy-15);
}

.tarot-landing-door {
  --door-x: 0px;
  --door-y: 0px;
  --spot-x: 50%;
  --spot-y: 50%;

  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 40px;
  gap: var(--space-7);
  align-items: center;
  min-height: clamp(150px, 14vw, 196px);
  padding: 26px 18px 26px 0;
  overflow: hidden;
  transform: translate3d(var(--door-x), var(--door-y), 0);
  will-change: transform;
  isolation: isolate;
}

/* The row's own rule. It replaces the shared `border-bottom`, which could not be
   drawn or withdrawn without dragging the row with it. */
.tarot-landing-door__rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--navy-15);
  transform-origin: left center;
}

/* Not equal, not aligned.
   Four rows of identical height on one shared left edge is the template this
   page is meant to leave behind. The heights fall away and the left edges step
   in and out, so the block reads as a descent rather than a table. Amplitudes
   stay small on purpose: the rows still have to be scanned and clicked. */
.tarot-landing-door:nth-child(1) {
  min-height: clamp(172px, 15.6vw, 218px);
}

.tarot-landing-door:nth-child(2) {
  min-height: clamp(154px, 14vw, 196px);
  margin-left: 7%;
}

.tarot-landing-door:nth-child(3) {
  min-height: clamp(140px, 12.6vw, 178px);
  margin-left: 2%;
}

.tarot-landing-door:nth-child(4) {
  min-height: clamp(128px, 11.6vw, 162px);
  margin-left: 12%;
}

/* Mask wrappers. The outer element clips, the inner one travels. The negative
   bottom margin against the inner padding is what stops a clipped line-height
   from shearing the descenders off the glyphs. */
.tarot-landing-door__title,
.tarot-landing-door__desc {
  display: block;
  overflow: hidden;
}

.tarot-landing-door__title > span,
.tarot-landing-door__desc > span {
  display: block;
  will-change: transform;
}

.tarot-landing-door__title {
  margin-bottom: -0.14em;
}

.tarot-landing-door__title > span {
  padding-bottom: 0.14em;
}

.tarot-landing-door__desc {
  margin-bottom: -0.22em;
}

.tarot-landing-door__desc > span {
  padding-bottom: 0.22em;
}

.tarot-landing-door::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  opacity: 0;
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(197, 139, 142, 0.10), transparent 22%),
    linear-gradient(100deg, rgba(30, 58, 95, 0.00) 18%, rgba(30, 58, 95, 0.035) 48%, rgba(30, 58, 95, 0.00) 72%);
  transition: opacity 320ms ease;
}

.tarot-landing-door::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--rose);
  transition: width 380ms var(--ease-out);
}

.tarot-landing-door__index {
  color: var(--rose);
  align-self: start;
  padding-top: var(--space-2);
}

.tarot-landing-door__copy {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1fr);
  column-gap: var(--space-8);
  row-gap: var(--space-2);
  align-items: baseline;
}

.tarot-landing-door__en {
  grid-column: 1;
}

.tarot-landing-door__title {
  grid-column: 1;
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.tarot-landing-door__desc {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  max-width: 360px;
  color: var(--navy-65);
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.8;
}

.tarot-landing-door__action {
  color: var(--navy-65);
  font-size: 14px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.tarot-landing-door__arrow {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1;
  transform: translateZ(0);
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .tarot-landing-door:hover::before,
  .tarot-landing-door:focus-visible::before {
    opacity: 1;
  }

  .tarot-landing-door:hover::after,
  .tarot-landing-door:focus-visible::after {
    width: 34px;
  }
}

.tarot-landing-door:focus-visible,
.tarot-landing-inline-links a:focus-visible,
.tarot-landing-closing__cta:focus-visible {
  outline: 2px solid rgba(197, 139, 142, 0.75);
  outline-offset: 5px;
}

/* --------------------------------------------------------------------------
   Motion initial states
   --------------------------------------------------------------------------
   Applied only once the script has taken over. Without `.is-motion-ready` —
   no JavaScript, or GSAP unavailable — every element stays at its finished
   state and the page reads complete. The script never has to undo anything,
   and nothing is hidden behind a promise that might not be kept.
   -------------------------------------------------------------------------- */

.tarot-landing.is-motion-ready .tarot-landing-door__rule {
  transform: scaleX(0);
}

.tarot-landing.is-motion-ready .tarot-landing-door__title > span {
  transform: translateY(115%);
}

.tarot-landing.is-motion-ready .tarot-landing-door__desc > span {
  transform: translateY(130%);
}

.tarot-landing.is-motion-ready .tarot-landing-door__index,
.tarot-landing.is-motion-ready .tarot-landing-door__en,
.tarot-landing.is-motion-ready .tarot-landing-door__action,
.tarot-landing.is-motion-ready .tarot-landing-door__arrow {
  opacity: 0;
}

/* --------------------------------------------------------------------------
   Stacking & Boundary Protection: Duo, Closing & Footer
   Ensures that subsequent sections sit firmly above preceding sticky layers
   with solid background, making it impossible to bleed through or overlap.
   -------------------------------------------------------------------------- */
.tarot-landing-duo,
.tarot-landing-closing,
.site-footer {
  position: relative;
  z-index: 10;
  background: var(--white);
}

/* Closing ---------------------------------------------------------------- */

.tarot-landing-closing {
  padding-top: calc(var(--section-space) * 0.82);
  padding-bottom: clamp(130px, 16vw, 240px);
}

.tarot-landing-closing__inner {
  position: relative;
  max-width: 900px;
  padding-top: 50px;
  border-top: 1px solid var(--navy-10);
}

.tarot-landing-closing__point {
  position: absolute;
  top: -4px;
  left: 0;
}

.tarot-landing-closing h2 {
  max-width: 9em;
  margin-top: 18px;
  font-family: var(--font-serif);
  font-size: clamp(44px, 6.5vw, 92px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.tarot-landing-closing__copy {
  max-width: 570px;
  margin-top: 38px;
  margin-left: min(22vw, 220px);
  color: var(--navy-65);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.95;
}

.tarot-landing-closing__cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
  margin-left: min(22vw, 220px);
  padding-bottom: 9px;
  border-bottom: 1px solid var(--navy-15);
  font-size: 14px;
  letter-spacing: 0.06em;
  transition: border-color 240ms ease, color 240ms ease;
}

.tarot-landing-closing__cta:hover {
  color: var(--navy-deep);
  border-color: var(--rose);
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1024px) {
  .tarot-landing {
    --shell: min(100% - 56px, 920px);
  }

  .tarot-landing-hero__title-wrap {
    grid-column: 1 / 11;
  }

  .tarot-landing-hero__lede {
    position: static;
    left: auto;
    bottom: auto;
    width: auto;
    max-width: 24em;
    margin-top: 2rem;
  }

  .tarot-landing-trust__gallery {
    grid-auto-rows: 58px;
  }

  .tarot-landing-door {
    grid-template-columns: minmax(0, 1fr) auto 34px;
  }

  .tarot-landing-door__copy {
    grid-template-columns: minmax(160px, 0.8fr) minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .tarot-landing {
    --shell: calc(100vw - 40px);
    --section-space: 84px;
  }

  .tarot-landing-hero {
    min-height: 0;
  }

  .tarot-landing.is-tarot-flow .tarot-landing-hero {
    min-height: 0;
  }

  .tarot-landing-hero__inner {
    display: flex;
    flex-direction: column;
    padding-block: var(--space-7) 42px;
  }

  .tarot-landing-hero__meta {
    padding-bottom: 18px;
  }

  .tarot-landing-hero__title-wrap {
    padding-top: clamp(56px, 11vh, 104px);
  }

  .tarot-landing-hero__title {
    max-width: 8em;
    font-size: clamp(40px, 12vw, 58px);
    line-height: 1.02;
  }

  .tarot-landing-hero__lede {
    position: static;
    left: auto;
    bottom: auto;
    width: auto;
    margin-top: 38px;
    max-width: 19em;
    font-size: var(--text-base);
  }

  .tarot-landing-hero__quote {
    margin-top: auto;
    padding-top: var(--space-18);
    gap: 15px;
    font-size: 19px;
    max-width: 18em;
  }

  .tarot-landing-hero__line {
    display: none;
  }

  .tarot-landing-section-head {
    display: block;
  }

  .tarot-landing-section-head h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .tarot-landing-worldview__grid {
    display: block;
  }

  .tarot-landing-worldview__axis {
    display: none;
  }

  .tarot-landing-worldview__entry,
  .tarot-landing-worldview__closing {
    max-width: none;
    margin-top: 56px;
  }

  .tarot-landing-worldview__entry--akashic {
    margin-left: 14vw;
  }

  .tarot-landing-worldview__entry--bundle {
    grid-column: auto;
    grid-row: auto;
    max-width: 480px;
    margin: 56px auto 0;
    padding: 0;
    background: none;
  }

  .tarot-landing-worldview__desc,
  .tarot-landing-worldview__entry > p:last-child {
    margin-top: var(--space-5);
    line-height: 1.85;
  }

  .tarot-landing-worldview__closing {
    padding-top: 30px;
  }

  .tarot-landing-worldview__closing p {
    font-size: clamp(34px, 10.2vw, 52px);
  }

  .tarot-landing-worldview__closing strong {
    margin-top: var(--space-7);
    margin-left: 14vw;
    line-height: 1.7;
  }

  .tarot-landing-section-head--trust {
    margin: 0;
  }

  .tarot-landing-trust__gallery {
    display: flex;
    flex-direction: column;
    gap: var(--space-18);
    margin-top: 80px;
  }

  .tarot-landing-trust__item {
    width: 100%;
  }

  .tarot-landing-trust__item--portrait,
  .tarot-landing-trust__item--table,
  .tarot-landing-trust__item--hands,
  .tarot-landing-trust__item--review {
    width: 100%;
    min-height: auto;
    margin-left: 0;
  }

  .tarot-landing-trust__caption--portrait {
    margin-top: 18px;
    max-width: 100%;
  }

  .tarot-landing-doors {
    padding-top: 136px;
  }

  .tarot-landing-section-head--doors {
    margin-bottom: 58px;
  }

  .tarot-landing-door {
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: var(--space-4);
    min-height: 154px;
    padding: 26px 0;
  }

  /* The stepped offsets are a desktop composition. On a phone there is no room
     to step into, and the rows have to stay full width to be tappable. */
  .tarot-landing-door:nth-child(n) {
    margin-left: 0;
    min-height: clamp(126px, 38vw, 154px);
  }

  .tarot-landing-door__copy {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .tarot-landing-door__en,
  .tarot-landing-door__title,
  .tarot-landing-door__desc {
    grid-column: 1;
    grid-row: auto;
  }

  .tarot-landing-door__title {
    font-size: clamp(31px, 9vw, 44px);
  }

  .tarot-landing-door__desc {
    margin-top: 7px;
    max-width: 22em;
    font-size: 14px;
    line-height: 1.7;
  }

  .tarot-landing-door__action {
    display: none;
  }

  .tarot-landing-door__arrow {
    grid-column: 2;
    font-size: 22px;
  }

  .tarot-landing-closing__copy,
  .tarot-landing-closing__cta {
    margin-left: 14vw;
  }
}

@media (max-width: 430px) {
  .tarot-landing {
    --shell: calc(100vw - 32px);
  }

  .tarot-landing-hero__title {
    font-size: clamp(38px, 12vw, 52px);
  }

  .tarot-landing-kicker {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .tarot-landing-trust__item--portrait {
    min-height: 68svh;
  }

  .tarot-landing-trust__item--table {
    width: 88%;
  }

  .tarot-landing-trust__item--hands {
    width: 78%;
  }

  .tarot-landing-closing h2 {
    font-size: clamp(42px, 13vw, 60px);
  }
}

/* --------------------------------------------------------------------------
   Drift Section: Horizontal Slide-in for Free Draw (免费抽牌)
   -------------------------------------------------------------------------- */
.tarot-landing-drift {
  position: relative;
  padding-block: clamp(70px, 9vw, 130px);
  overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, #FAFAF8 50%, var(--white) 100%);
}

.tarot-landing-drift__inner {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.tarot-drift-geometry {
  position: absolute;
  left: clamp(22vw, 34vw, 46vw);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(260px, 30vw, 420px);
  height: clamp(260px, 30vw, 420px);
  color: var(--navy-15);
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
}

.tarot-drift-geometry__svg {
  width: 100%;
  height: 100%;
  transform-origin: center center;
}

.tarot-landing-drift__track {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
  width: max-content;
  padding-left: clamp(5vw, 10vw, 16vw);
  will-change: transform;
}

.tarot-landing-drift__content {
  flex: 0 0 min(380px, 85vw);
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  outline: none;
  transition: transform 0.3s ease;
}

.tarot-landing-drift__content:hover,
.tarot-landing-drift__content:focus-visible {
  transform: translateX(4px);
}

.tarot-landing-drift__title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 14px 0 var(--space-3);
  color: var(--indigo);
  transition: color 0.3s ease;
}

.tarot-landing-drift__content:hover .tarot-landing-drift__title {
  color: var(--navy-deep);
}

.tarot-landing-drift__desc {
  font-size: var(--text-base);
  color: var(--navy-65);
  line-height: 1.7;
}

.tarot-landing-drift__media {
  flex: 0 0 clamp(420px, 48vw, 720px);
}

.tarot-landing-drift__frame-link {
  display: block;
  text-decoration: none;
  outline: none;
}

.tarot-landing-drift__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--navy-10);
  transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}

.tarot-landing-drift__frame-link:hover .tarot-landing-drift__frame,
.tarot-landing-drift__frame-link:focus-visible .tarot-landing-drift__frame {
  transform: translateY(-3px);
  border-color: var(--rose-soft);
  box-shadow: var(--shadow-lg);
}

.tarot-landing-drift__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.tarot-landing-drift__frame-link:hover .tarot-landing-drift__frame img {
  transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   Trust Section: Embedded SESSIONS Door (服务预约)
   -------------------------------------------------------------------------- */
.tarot-landing-trust__caption--table {
  margin-top: 18px;
}

.tarot-landing-trust__door-link {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-top: var(--space-6);
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--navy-10);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  outline: none;
}

.tarot-landing-trust__door-link:hover,
.tarot-landing-trust__door-link:focus-visible {
  transform: translateY(-3px);
  border-color: var(--rose);
  box-shadow: var(--shadow-lg);
}

.tarot-landing-trust__door-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: 1.25;
  margin: var(--space-2) 0 6px;
  color: var(--indigo);
  transition: color 0.3s ease;
}

.tarot-landing-trust__door-link:hover .tarot-landing-trust__door-title {
  color: var(--navy-deep);
}

.tarot-landing-trust__door-desc {
  font-size: 13px;
  color: var(--navy-65);
  line-height: 1.6;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Duo Section: STUDY & WRITING Gallery Cards (塔罗学习 & 慢读文章)
   -------------------------------------------------------------------------- */
.tarot-landing-duo {
  position: relative;
  padding-block: var(--section-space);
}

.tarot-landing-duo__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 64px);
  margin-top: clamp(48px, 6vw, 84px);
}

.tarot-landing-duo__card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--navy-10);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  outline: none;
}

.tarot-landing-duo__card:hover,
.tarot-landing-duo__card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--rose-soft);
  box-shadow: var(--shadow-lg);
}

.tarot-landing-duo__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--white);
}

.tarot-landing-duo__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tarot-landing-duo__card:hover .tarot-landing-duo__frame img {
  transform: scale(1.04);
}

.tarot-landing-duo__body {
  padding: var(--space-7) var(--space-8) 36px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
}

.tarot-landing-duo__rule {
  position: absolute;
  left: 32px;
  right: 32px;
  top: 0;
  height: 1px;
  background: var(--navy-10);
  transform-origin: left center;
}

.tarot-landing-duo__title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 500;
  line-height: 1.2;
  margin: 10px 0 var(--space-2);
  color: var(--indigo);
  transition: color 0.3s ease;
}

.tarot-landing-duo__card:hover .tarot-landing-duo__title {
  color: var(--navy-deep);
}

.tarot-landing-duo__desc {
  font-size: 14px;
  color: var(--navy-65);
  line-height: 1.7;
  margin-bottom: 0;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .tarot-landing-drift {
    padding-block: 54px var(--space-18);
  }

  .tarot-drift-geometry {
    left: 50%;
    top: 32%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    opacity: 0.35;
  }

  .tarot-landing-drift__track {
    flex-direction: column;
    align-items: flex-start;
    padding-left: var(--space-6);
    padding-right: var(--space-6);
    width: 100%;
    gap: var(--space-7);
  }

  .tarot-landing-drift__content {
    flex: auto;
    width: 100%;
  }

  .tarot-landing-drift__media {
    width: 100%;
    flex: auto;
  }

  .tarot-trust-stage {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    min-height: auto;
  }

  .tarot-trust-stage__view {
    aspect-ratio: 16 / 11;
    max-height: 38vh;
  }

  .tarot-trust-stage__narrative {
    min-height: 190px;
  }

  .tarot-trust-stage__indicators {
    margin-bottom: var(--space-3);
  }

  .tarot-landing-duo__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Motion safety ---------------------------------------------------------- */

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

  .tarot-landing-door,
  .tarot-landing-trust__item,
  .tarot-landing-trust__frame {
    transform: none !important;
  }
}

/* Keep fixed cross-space navigation and page content in separate lanes.
   Match the navigation's actual box to --edge-w; vertical writing-mode makes
   padding-block contribute to its horizontal width. Include reveal travel in
   the reading gutter so headings stay clear while entering from the left. */
@media (min-width: 861px) {
  body.space-tarot .space-edges a.edge {
    flex: 0 0 var(--edge-w);
    padding-block: calc(var(--edge-w) * 0.28);
  }

  .tarot-landing {
    --tarot-edge-gutter: calc(var(--edge-w) + clamp(44px, 4vw, 64px));
    --shell: min(1180px, calc(100% - var(--tarot-edge-gutter) - var(--tarot-edge-gutter)));
  }

  .tarot-landing-drift__inner {
    width: var(--shell);
    margin-inline: auto;
  }

  .tarot-landing-drift__track {
    padding-left: 0;
  }
}
