/* ONE ARCANA — site styles. Palette follows design/tokens.json. */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-latin-500-normal.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-cyrillic-500-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-latin-500-italic.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-cyrillic-500-italic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/manrope-latin-400-normal.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/manrope-cyrillic-400-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/manrope-latin-600-normal.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/manrope-cyrillic-600-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --ink: #0b0915;
  --bg: #100d1c;
  --surface: #1a1428;
  --elev: #241b35;
  --gold: #d8ba82;
  --gold-hi: #f3e2b8;
  --gold-lo: #9c8458;
  --on-gold: #191321;
  --text: #f6f0e8;
  --muted: #b6acc6;
  --subtle: #8e819e;
  --line: rgba(216, 186, 130, 0.2);
  --line-soft: rgba(216, 186, 130, 0.1);
  --wine: #3b1426;
  --plum: #2a1840;
  --display: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --sans: Manrope, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: dark;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(91, 46, 92, 0.38), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(59, 20, 38, 0.45), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--ink) 70%);
  background-attachment: fixed;
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 100;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
::selection {
  background: var(--gold);
  color: var(--on-gold);
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 200;
  background: var(--gold);
  color: var(--on-gold);
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
}
.skip:focus {
  left: 12px;
}
.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* type */
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(3.2rem, 9vw, 7.6rem);
}
h2 {
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
}
h3 {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.15;
}
em,
.it {
  font-style: italic;
  color: var(--gold-hi);
}
p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
.eyebrow {
  font: 600 0.74rem/1.2 var(--sans);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.lead {
  font-size: clamp(1.06rem, 1.5vw, 1.26rem);
  color: var(--muted);
  max-width: 36em;
}
.muted {
  color: var(--muted);
}
.subtle {
  color: var(--subtle);
}
.small {
  font-size: 0.86rem;
}
.num {
  font-family: var(--display);
  font-style: italic;
  color: var(--gold);
}

/* header */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: linear-gradient(180deg, rgba(11, 9, 21, 0.82), rgba(11, 9, 21, 0.55));
  border-bottom: 1px solid var(--line-soft);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font: 500 1.32rem/1 var(--display);
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px var(--line);
}
.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  align-items: center;
}
.nav a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s;
}
.nav a:hover,
.nav a[aria-current] {
  color: var(--text);
}
.lang {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang a {
  font: 600 0.7rem/1 var(--sans);
  letter-spacing: 0.14em;
  padding: 7px 10px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--subtle);
}
.lang a[aria-current] {
  background: var(--gold);
  color: var(--on-gold);
}
.menu-btn {
  display: none;
}
@media (max-width: 860px) {
  .nav .nav-link {
    display: none;
  }
  .nav {
    gap: 12px;
  }
}

/* buttons */
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px 11px 18px;
  border-radius: 14px;
  text-decoration: none;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s,
    border-color 0.25s;
  line-height: 1;
}
.store:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 10px 40px -10px rgba(216, 186, 130, 0.45);
}
.store svg {
  width: 26px;
  height: 30px;
  flex: none;
}
.store span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.store small {
  font: 500 0.68rem/1 var(--sans);
  letter-spacing: 0.02em;
  opacity: 0.9;
}
.store b {
  font:
    600 1.32rem/1 -apple-system,
    'SF Pro Display',
    var(--sans);
  letter-spacing: -0.01em;
}
.store.sm {
  padding: 7px 14px 7px 12px;
  border-radius: 11px;
  gap: 8px;
}
.store.sm svg {
  width: 17px;
  height: 20px;
}
.store.sm small {
  font-size: 0.56rem;
}
.store.sm b {
  font-size: 0.98rem;
}
@media (max-width: 520px) {
  .top .store.sm {
    display: none;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 16px;
  border: 0;
  cursor: pointer;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, #c7a66c);
  color: var(--on-gold);
  font: 600 1rem/1 var(--sans);
  text-decoration: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 14px 40px -14px rgba(216, 186, 130, 0.7);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 18px 50px -12px rgba(216, 186, 130, 0.85);
}
.btn:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}
.btn.ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn.ghost:hover {
  border-color: var(--gold);
}
.link {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.link:hover {
  border-color: var(--gold);
}
.arrow::after {
  content: ' →';
  font-family: var(--sans);
}

/* hero */
.hero {
  position: relative;
  min-height: calc(100svh - 68px);
  display: flex;
  align-items: center;
  padding-block: 48px 72px;
  isolation: isolate;
}
.hero canvas {
  position: absolute;
  inset: 0;
  -webkit-mask: linear-gradient(90deg, rgba(0, 0, 0, 0.35), #000 55%);
  mask: linear-gradient(90deg, rgba(0, 0, 0, 0.35), #000 55%);
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.hero h1 {
  margin: 22px 0 26px;
}
.hero h1 em {
  display: block;
  padding-left: 0.9em;
}
.hero .lead {
  margin-bottom: 34px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.84rem;
  color: var(--subtle);
}
.facts li::before {
  content: '✦';
  color: var(--gold);
  margin-right: 8px;
  font-size: 0.7em;
  vertical-align: 0.15em;
}
@media (max-width: 900px) {
  .hero {
    min-height: 0;
    padding-top: 28px;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .hero h1 em {
    padding-left: 0.5em;
  }
}

/* the card (3D) */
.altar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}
.stage {
  perspective: 1400px;
  width: min(340px, 72vw);
}
.card3d {
  position: relative;
  aspect-ratio: 2/3;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.3, 0.1, 0.2, 1);
  transform: rotateX(var(--rx, 0deg)) rotateY(calc(var(--ry, 0deg) + var(--flip, 0deg)));
}
.card3d.idle {
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  50% {
    translate: 0 -10px;
  }
}
.card3d .face {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(216, 186, 130, 0.25),
    0 0 90px -20px rgba(216, 186, 130, 0.28);
}
.card3d .face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card3d .front {
  transform: rotateY(180deg);
  background: var(--surface);
}
.card3d .face::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: soft-light;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 240, 210, 0.55), transparent 45%);
}
.card3d.revealed {
  --flip: 180deg;
}
.halo {
  position: absolute;
  inset: -18%;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(216, 186, 130, 0.22), transparent);
  filter: blur(10px);
  transition: opacity 1s;
}
.stage {
  position: relative;
}
.reading {
  max-width: 30em;
  min-height: 7.5em;
}
.reading .eyebrow {
  display: block;
  margin-bottom: 8px;
}
.reading h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin-bottom: 10px;
}
.reading p {
  color: var(--muted);
  margin-bottom: 12px;
}
.reading[hidden] {
  display: none;
}
.altar .note {
  font-size: 0.8rem;
  color: var(--subtle);
  max-width: 28em;
  margin: 0;
}
.fade-in {
  animation: fadeUp 0.8s var(--ease) both;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* marquee */
.band {
  border-block: 1px solid var(--line-soft);
  overflow: hidden;
  padding: 18px 0;
  background: rgba(26, 20, 40, 0.35);
}
.band ul {
  display: flex;
  gap: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.band li {
  font: italic 500 1.5rem/1 var(--display);
  color: var(--muted);
  white-space: nowrap;
}
.band li::after {
  content: '✦';
  font-style: normal;
  color: var(--gold);
  font-size: 0.7rem;
  margin-left: 48px;
  vertical-align: 0.3em;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .band ul {
    animation: none;
  }
  .card3d.idle {
    animation: none;
  }
}

/* sections */
section.s {
  padding-block: clamp(64px, 9vw, 120px);
  position: relative;
}
.s-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 40px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.s-head .eyebrow {
  grid-column: 1/-1;
}
.s-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  max-width: 30em;
  justify-self: end;
}
@media (max-width: 860px) {
  .s-head {
    grid-template-columns: 1fr;
  }
  .s-head p {
    justify-self: start;
  }
}
.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  border: 0;
  margin: 0;
}

/* ritual */
.ritual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: s;
}
.steps li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid var(--line-soft);
}
.steps li:last-child {
  border-bottom: 1px solid var(--line-soft);
}
.steps .num {
  font-size: 2.6rem;
  line-height: 1;
}
.steps h3 {
  margin-bottom: 10px;
}
.steps p {
  color: var(--muted);
  margin: 0;
}
.steps .when {
  display: block;
  font: 600 0.7rem/1 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 12px;
}
.phones {
  position: sticky;
  top: 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.phone {
  border-radius: 38px;
  padding: 9px;
  background: linear-gradient(145deg, #3a2f4c, #141020);
  box-shadow:
    0 50px 100px -40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(216, 186, 130, 0.18);
}
.phone img {
  border-radius: 30px;
  width: 100%;
  aspect-ratio: 1320/2868;
  object-fit: cover;
  background: var(--surface);
}
.phones .phone:nth-child(2) {
  transform: translateY(70px);
}
@media (max-width: 900px) {
  .ritual {
    grid-template-columns: 1fr;
  }
  .phones {
    position: relative;
    top: 0;
    max-width: 520px;
  }
}

/* journey (arc of 22) */
.journey {
  position: relative;
}
.arc {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 60px max(var(--gutter), calc((100vw - var(--max)) / 2)) 70px;
  scrollbar-width: none;
  cursor: grab;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.arc::-webkit-scrollbar {
  display: none;
}
.arc.drag {
  cursor: grabbing;
  scroll-snap-type: none;
}
.arc a {
  flex: 0 0 clamp(150px, 16vw, 200px);
  text-decoration: none;
  transform: translateY(var(--y, 0)) rotate(var(--r, 0deg));
  will-change: transform;
}
.arc a:hover .mini {
  transform: translateY(-10px);
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.9),
    0 0 0 1px var(--gold),
    0 0 60px -10px rgba(216, 186, 130, 0.5);
}
.mini {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 2/3;
  background: var(--surface);
  box-shadow:
    0 24px 50px -24px rgba(0, 0, 0, 0.9),
    0 0 0 1px var(--line);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s;
}
.mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.arc .cap {
  display: block;
  text-align: center;
  margin-top: 16px;
}
.arc .cap i {
  display: block;
  font: italic 500 1rem/1 var(--display);
  color: var(--gold);
}
.arc .cap b {
  display: block;
  font: 500 1.25rem/1.2 var(--display);
  margin-top: 4px;
}
.arc-ctrl {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.arc-ctrl button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gold);
  font-size: 1.1rem;
  cursor: pointer;
}
.arc-ctrl button:hover {
  border-color: var(--gold);
}

/* privacy block */
.vow {
  text-align: center;
}
.vow h2 {
  max-width: 14em;
  margin: 20px auto 30px;
}
.vow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  overflow: hidden;
  margin-top: 60px;
  text-align: left;
}
.vow-grid div {
  background: linear-gradient(180deg, rgba(26, 20, 40, 0.9), rgba(16, 13, 28, 0.9));
  padding: 34px 28px;
}
.vow-grid svg {
  width: 30px;
  height: 30px;
  color: var(--gold);
  margin-bottom: 22px;
}
.vow-grid h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.vow-grid p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}
.vow .fine {
  margin: 28px auto 0;
  max-width: 40em;
  font-size: 0.85rem;
  color: var(--subtle);
}
@media (max-width: 960px) {
  .vow-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .vow-grid {
    grid-template-columns: 1fr;
  }
}

/* deck */
.deck {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.loupe {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--line),
    0 60px 120px -50px #000;
}
.loupe img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.9);
  transform-origin: 50% 38%;
  filter: saturate(0.95) contrast(1.02);
}
.loupe figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px 24px 20px;
  background: linear-gradient(transparent, rgba(11, 9, 21, 0.92));
  font-size: 0.8rem;
  color: var(--muted);
}
.deck .big {
  font: italic 500 clamp(1.5rem, 2.6vw, 2.1rem)/1.35 var(--display);
  color: var(--text);
  margin: 28px 0;
}
.deck dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 26px;
  margin: 34px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.deck dt {
  font: 600 0.7rem/1.9 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.deck dd {
  margin: 0;
  color: var(--muted);
}
@media (max-width: 900px) {
  .deck {
    grid-template-columns: 1fr;
  }
  .loupe {
    max-width: 480px;
  }
}

/* manifesto */
.manifesto {
  text-align: center;
  padding-block: clamp(60px, 10vw, 140px);
}
.manifesto blockquote {
  margin: 0 auto;
  max-width: 18em;
  font: italic 500 clamp(2.4rem, 6vw, 5rem)/1.05 var(--display);
}
.manifesto blockquote span {
  color: var(--gold-hi);
}

/* faq */
.faq {
  max-width: 900px;
  margin: 0 auto;
}
.faq details {
  border-top: 1px solid var(--line-soft);
}
.faq details:last-child {
  border-bottom: 1px solid var(--line-soft);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  font: 500 clamp(1.3rem, 2.2vw, 1.7rem)/1.25 var(--display);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font: 300 1.8rem/1 var(--sans);
  color: var(--gold);
  transition: transform 0.3s var(--ease);
  flex: none;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq .a {
  padding: 0 0 28px;
  color: var(--muted);
  max-width: 44em;
}
.faq .a p:last-child {
  margin: 0;
}

/* final cta */
.final {
  text-align: center;
  overflow: hidden;
}
.final .fan {
  display: flex;
  justify-content: center;
  margin: 0 auto 50px;
  height: 250px;
  position: relative;
  max-width: 560px;
}
.final .fan img {
  position: absolute;
  width: 150px;
  border-radius: 12px;
  box-shadow:
    0 30px 60px -20px #000,
    0 0 0 1px var(--line);
  transform-origin: 50% 140%;
  top: 20px;
}
.final h2 {
  margin-bottom: 22px;
}
.final .lead {
  margin: 0 auto 36px;
}

/* footer */
.foot {
  border-top: 1px solid var(--line-soft);
  padding-block: 56px 40px;
  margin-top: 40px;
  background: rgba(11, 9, 21, 0.6);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.foot h4 {
  font: 600 0.7rem/1 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 6px 0 18px;
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.foot a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
}
.foot a:hover {
  color: var(--text);
}
.foot .legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--subtle);
}
.foot .cards-list {
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
}
@media (max-width: 900px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
}

/* reveal on scroll */
.rv {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.rv.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.no-js .rv {
  opacity: 1;
  transform: none;
}

/* ---------- card page ---------- */
.crumbs {
  font-size: 0.82rem;
  color: var(--subtle);
  padding-top: 28px;
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.crumbs li + li::before {
  content: '/';
  margin-right: 8px;
  color: var(--line);
}
.crumbs a {
  text-decoration: none;
  color: var(--muted);
}
.crumbs a:hover {
  color: var(--gold);
}
.arcanum {
  position: relative;
  padding-block: 40px 40px;
  isolation: isolate;
}
.arcanum .ghost {
  position: absolute;
  z-index: -1;
  right: -2vw;
  top: -4vw;
  font: italic 500 clamp(14rem, 34vw, 32rem)/0.8 var(--display);
  color: transparent;
  -webkit-text-stroke: 1px rgba(216, 186, 130, 0.13);
  pointer-events: none;
  user-select: none;
}
.arcanum .grid {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
}
.arcanum .plate {
  position: sticky;
  top: 96px;
}
.arcanum .plate .stage {
  width: 100%;
}
.arcanum .plate .bg {
  position: absolute;
  inset: -30%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  filter: blur(40px) saturate(1.3);
  opacity: 0.5;
  border-radius: 50%;
}
.arcanum h1 {
  font-size: clamp(3.2rem, 7.4vw, 6.4rem);
  margin: 16px 0 8px;
}
.arcanum .sub {
  font: italic 500 clamp(1.3rem, 2.2vw, 1.7rem)/1.3 var(--display);
  color: var(--gold);
  margin-bottom: 26px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}
.chips li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.prose .essence {
  font: 500 clamp(1.4rem, 2.3vw, 1.85rem)/1.38 var(--display);
  margin-bottom: 44px;
  color: var(--text);
}
.prose h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin: 64px 0 20px;
}
.prose p {
  color: var(--muted);
  font-size: 1.04rem;
}
.prose p.first::first-letter {
  float: left;
  font: 500 4.6em/0.8 var(--display);
  color: var(--gold);
  margin: 0.06em 0.1em 0 0;
}
.notes {
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 20px;
}
.notes div {
  background: rgba(26, 20, 40, 0.85);
  padding: 24px 26px;
}
.notes .eyebrow {
  display: block;
  margin-bottom: 10px;
}
.notes p {
  margin: 0;
  color: var(--text);
}
.lenses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.lenses div {
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(36, 27, 53, 0.5), transparent);
}
.lenses h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}
.lenses p {
  font-size: 0.95rem;
  margin: 0;
}
@media (max-width: 1100px) {
  .lenses {
    grid-template-columns: 1fr;
  }
}
.qs {
  list-style: none;
  counter-reset: q;
  padding: 0;
  margin: 20px 0 0;
}
.qs li {
  counter-increment: q;
  position: relative;
  padding: 18px 0 18px 56px;
  border-top: 1px solid var(--line-soft);
  font: 500 1.35rem/1.35 var(--display);
}
.qs li::before {
  content: counter(q, upper-roman);
  position: absolute;
  left: 0;
  top: 20px;
  font: italic 500 1.1rem/1 var(--display);
  color: var(--gold);
}
.practice {
  margin-top: 20px;
  padding: 28px 30px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(216, 186, 130, 0.14), rgba(216, 186, 130, 0.03));
  border: 1px solid var(--line);
}
.practice p {
  margin: 0;
  color: var(--text);
}
.app-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 64px;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: radial-gradient(600px 200px at 0 0, rgba(216, 186, 130, 0.12), transparent), rgba(26, 20, 40, 0.6);
}
.app-cta h2 {
  margin: 0 0 6px;
  font-size: 1.9rem;
}
.app-cta p {
  margin: 0;
  color: var(--muted);
}
.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 80px;
}
.pager a {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  text-decoration: none;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.pager a:hover {
  border-color: var(--gold);
  background: rgba(26, 20, 40, 0.6);
}
.pager img {
  width: 56px;
  border-radius: 6px;
}
.pager small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 6px;
}
.pager b {
  font: 500 1.4rem/1.1 var(--display);
}
.pager .next {
  justify-content: flex-end;
  text-align: right;
}
.pager .next img {
  order: 2;
}
@media (max-width: 900px) {
  .arcanum .grid {
    grid-template-columns: 1fr;
  }
  .arcanum .plate {
    position: relative;
    top: 0;
    max-width: 340px;
    margin: 0 auto;
  }
}
@media (max-width: 560px) {
  .pager {
    grid-template-columns: 1fr;
  }
}

/* index of arcana */
.atlas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 40px 24px;
  margin-top: 20px;
}
.atlas a {
  text-decoration: none;
  display: block;
}
.atlas a:hover .mini {
  transform: translateY(-8px);
  box-shadow:
    0 30px 60px -20px #000,
    0 0 0 1px var(--gold);
}
.atlas .t {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 16px;
}
.atlas .t i {
  font: italic 500 1rem/1 var(--display);
  color: var(--gold);
  min-width: 2.2em;
}
.atlas .t b {
  font: 500 1.4rem/1.1 var(--display);
}
.atlas .k {
  font-size: 0.82rem;
  color: var(--subtle);
  margin: 6px 0 0 calc(2.2em + 10px);
}

/* legal / text pages */
.page {
  padding-block: 60px 40px;
}
.page h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  margin: 16px 0 18px;
}
.doc {
  max-width: 760px;
}
.doc h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  margin: 56px 0 16px;
}
.doc p,
.doc li {
  color: var(--muted);
}
.doc ul {
  padding-left: 1.2em;
}
.doc li {
  margin-bottom: 8px;
}
.doc li::marker {
  color: var(--gold);
}
.doc a {
  color: var(--gold);
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 12px 0 20px;
}
.doc th,
.doc td {
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  padding: 12px 12px 12px 0;
  vertical-align: top;
  color: var(--muted);
}
.doc th {
  color: var(--text);
  font-weight: 600;
}
.callout {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 26px;
  background: linear-gradient(135deg, rgba(216, 186, 130, 0.1), transparent);
  margin: 30px 0;
}
.callout p {
  margin: 0;
  color: var(--text);
}
.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 30px 0;
}
.contact a {
  display: block;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.2s;
}
.contact a:hover {
  border-color: var(--gold);
}
.contact b {
  display: block;
  font: 500 1.5rem/1.2 var(--display);
  margin-bottom: 6px;
  color: var(--text);
}
.contact span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* 404 */
.lost {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.lost .stage {
  width: 200px;
  margin: 0 auto 40px;
}

[hidden] {
  display: none !important;
}
.hero {
  align-items: flex-start;
  padding-top: clamp(28px, 7vh, 90px);
}
.arc {
  padding-bottom: 120px;
  margin-bottom: -30px;
}

/* orbit of the 22 numerals around the manifesto */
.manifesto {
  position: relative;
  overflow: hidden;
  padding-block: 0;
  min-height: min(720px, 108vw);
  display: grid;
  place-items: center;
}
.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(700px, 104vw);
  aspect-ratio: 1;
  translate: -50% -50%;
  pointer-events: none;
  color: var(--gold);
  opacity: 0.55;
}
.orbit svg {
  width: 100%;
  height: 100%;
  animation: spin 160s linear infinite;
}
.orbit text {
  font: italic 500 22px var(--display);
  letter-spacing: 0.32em;
  fill: currentColor;
}
.orbit .ring {
  fill: none;
  stroke: var(--line);
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}
@media (prefers-reduced-motion: reduce) {
  .orbit svg {
    animation: none;
  }
}
.manifesto blockquote {
  position: relative;
}
.arc-ctrl {
  position: relative;
  z-index: 2;
}
.h1-eyebrow {
  display: block;
  margin-bottom: 22px;
  font-family: var(--sans);
  font-style: normal;
}
.hero h1 {
  margin-top: 0;
}
.inlink {
  color: var(--gold-hi);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.inlink:hover {
  border-color: var(--gold);
}
.readnext {
  font-size: 0.92rem;
  color: var(--subtle);
  margin-top: 28px;
}
.guide-hero {
  min-height: 0;
  padding-block: 24px 40px;
}
.guide h2 {
  margin-top: 64px;
}
.guide ul {
  margin: 0 0 1em;
}
.arc-ctrl .btn + .btn {
  margin-left: 0;
}
.guide-hero h1,
.page h1:has(.h1-eyebrow) {
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
}
.guide-hero h1 em {
  padding-left: 0;
  display: inline;
}
