:root {
  --arc-ink: #15191c;
  --arc-ink-soft: #1d2427;
  --arc-paper: #f4efe5;
  --arc-paper-dim: #d9d2c4;
  --arc-gold: #c6a873;
  --arc-gold-light: #e2c991;
  --arc-line: rgba(226, 201, 145, .22);
  --arc-muted: #b5afa2;
  color-scheme: dark;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--arc-ink); color: var(--arc-paper); font-family: "Satoshi", "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body, button, input { font-family: "Satoshi", "Segoe UI", sans-serif; }
body h1, body h2, body h3, body h4 { color: var(--arc-paper); font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; letter-spacing: -.025em; line-height: 1.08; }
body a { color: inherit; }
body #content { min-height: 60vh; }
.arcana-shell { box-sizing: border-box; width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.arcana-shell *, .arcana-shell *::before, .arcana-shell *::after { box-sizing: border-box; }
.arcana-header { position: relative; z-index: 10; background: rgba(21, 25, 28, .96); border-bottom: 1px solid rgba(226, 201, 145, .13); }
.arcana-header__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.arcana-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--arc-paper); text-decoration: none; font: 600 16px/1 "Satoshi", "Segoe UI", sans-serif; letter-spacing: .035em; }
.arcana-brand em { color: var(--arc-gold-light); font-family: "Cormorant Garamond", Georgia, serif; font-size: 23px; font-style: normal; letter-spacing: -.02em; }
.arcana-brand__mark { color: var(--arc-gold-light); font-size: 20px; }
.arcana-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.arcana-nav a, .arcana-header__cta { color: var(--arc-paper-dim); font-size: 13px; text-decoration: none; transition: color .2s ease; }
.arcana-nav a:hover, .arcana-header__cta:hover { color: var(--arc-gold-light); }
.arcana-header__cta { border: 1px solid rgba(226, 201, 145, .38); border-radius: 999px; color: var(--arc-gold-light); padding: 10px 17px; white-space: nowrap; }
.arcana-header__cta span { margin-left: 8px; }

.arcana-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 545px; display: grid; align-items: center; background: radial-gradient(ellipse at 74% 46%, rgba(88, 98, 87, .25), transparent 35%), radial-gradient(ellipse at 12% 12%, rgba(137, 110, 73, .13), transparent 42%), linear-gradient(115deg, #171b1e, #1b2122 60%, #222624); border-bottom: 1px solid var(--arc-line); }
.arcana-hero::before, .arcana-hero::after { position: absolute; z-index: -1; content: ""; border: 1px solid rgba(226, 201, 145, .12); border-radius: 50%; transform: rotate(-28deg); }
.arcana-hero::before { width: 760px; height: 390px; right: -160px; top: 74px; }
.arcana-hero::after { width: 630px; height: 300px; right: -90px; top: 120px; }
.arcana-hero__glow { position: absolute; right: 12%; top: 15%; width: 390px; height: 390px; border: 1px solid rgba(226, 201, 145, .08); border-radius: 50%; box-shadow: 0 0 0 46px rgba(226, 201, 145, .025), 0 0 0 94px rgba(226, 201, 145, .018); }
.arcana-hero__inner { position: relative; padding-block: 78px 70px; }
.arcana-eyebrow, .arcana-kicker { margin: 0 0 13px; color: var(--arc-gold-light); font-size: 11px; font-weight: 600; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
.arcana-eyebrow__mark { margin-right: 7px; }
.arcana-hero h1 { max-width: 680px; margin: 0; font-size: clamp(52px, 7vw, 86px); line-height: .99; }
.arcana-hero__copy { max-width: 490px; margin: 23px 0 25px; color: #c6c2b8; font-size: 17px; }
.arcana-button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 16px; border: 1px solid transparent; border-radius: 999px; padding: 13px 23px; font-size: 13px; font-weight: 700; letter-spacing: .025em; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease; cursor: pointer; }
.arcana-button:hover { transform: translateY(-2px); }
.arcana-button:focus-visible, .arcana-card:focus-visible, .arcana-text-button:focus-visible, .arcana-nav a:focus-visible, .arcana-header__cta:focus-visible { outline: 2px solid var(--arc-gold-light); outline-offset: 4px; }
.arcana-button--light { background: var(--arc-paper); color: #202321; }
.arcana-button--light:hover { background: #fff9ec; color: #202321; }
.arcana-button--dark { background: #f0e7d5; color: #202321; }
.arcana-button--dark:hover { background: #fff5e3; color: #202321; }
.arcana-button--gold { background: var(--arc-gold-light); color: #26251f; }
.arcana-button--gold:hover { background: #f0dba9; color: #26251f; }
.arcana-hero__note { margin: 14px 0 0; color: #aaa79d; font-size: 11px; }
.arcana-hero__orbit { position: absolute; right: 13%; top: 50%; width: 310px; height: 310px; transform: translateY(-50%); color: var(--arc-gold-light); }
.orbit__ring { position: absolute; inset: 20px; border: 1px solid rgba(226, 201, 145, .28); border-radius: 50%; }
.orbit__ring--two { inset: 57px; border-style: dashed; opacity: .55; }
.orbit { position: absolute; z-index: 1; display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(226, 201, 145, .4); border-radius: 50%; background: #202624; font-size: 23px; }
.orbit--one { top: 24px; left: 131px; }.orbit--two { right: 4px; bottom: 80px; }.orbit--three { left: 15px; bottom: 59px; font-size: 19px; }

.arcana-main { padding: 95px 0 83px; background: radial-gradient(ellipse at 50% 5%, rgba(91, 101, 86, .11), transparent 47%); }
.arcana-reading__intro { max-width: 630px; margin: 0 auto 35px; text-align: center; }
.arcana-reading__intro h2, .arcana-how__intro h2, .arcana-faq h2, .arcana-result__heading h2 { margin: 0; font-size: clamp(39px, 5vw, 58px); }
.arcana-reading__intro > p:last-child, .arcana-how__intro > p:last-child { max-width: 540px; margin: 15px auto 0; color: var(--arc-muted); }
.arcana-question { display: block; max-width: 650px; margin: 0 auto 56px; color: var(--arc-paper-dim); font-size: 12px; font-weight: 600; }
.arcana-question__optional { color: #928d83; font-weight: 400; }
.arcana-question input { display: block; width: 100%; min-height: 54px; margin-top: 9px; border: 1px solid rgba(226, 201, 145, .26); border-radius: 5px; background: rgba(255,255,255,.035); color: var(--arc-paper); padding: 13px 16px; font-size: 14px; }
.arcana-question input::placeholder { color: #8e8a82; }
.arcana-question input:focus { border-color: var(--arc-gold); outline: 2px solid rgba(226,201,145,.15); }
.arcana-deck-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 20px; }
.arcana-deck-heading h3 { margin: 0; font-size: 31px; }
.arcana-deck-heading .arcana-kicker { margin-bottom: 6px; font-size: 10px; }
.arcana-deck-heading__actions { display: flex; align-items: center; gap: 21px; color: #a9a397; font-size: 12px; }
.arcana-text-button { border: 0; background: transparent; color: var(--arc-gold-light); padding: 5px 0; font-size: 12px; font-weight: 600; cursor: pointer; }
.arcana-text-button:hover { color: #fff1d0; }
.arcana-text-button span { margin-right: 5px; font-size: 17px; }
.arcana-instruction { min-height: 24px; margin-bottom: 15px; color: #aaa69b; font-size: 12px; text-align: center; }
.arcana-deck { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 12px; padding: 8px 0; }
.arcana-card { position: relative; display: grid; min-width: 0; aspect-ratio: 3 / 4.3; place-items: center; overflow: hidden; border: 1px solid rgba(226, 201, 145, .56); border-radius: 5px; background: radial-gradient(ellipse at 50% 42%, #344044 0%, #232a2c 56%, #181e20 100%); padding: 5px; box-shadow: 0 8px 20px rgba(0,0,0,.28); color: var(--arc-gold-light); cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.arcana-card:hover { z-index: 1; transform: translateY(-7px); border-color: #f0d99f; box-shadow: 0 14px 26px rgba(0,0,0,.38); }
.arcana-card.is-selected { border-color: #f0d99f; box-shadow: 0 0 0 2px rgba(226,201,145,.38), 0 8px 22px rgba(0,0,0,.3); }
.arcana-card-back__inner { position: absolute; inset: 6px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; overflow: hidden; border: 1px solid rgba(226, 201, 145, .27); padding: 8px 4px; }
.arcana-card-back__inner::before, .arcana-card-back__inner::after { position: absolute; content: ""; border: 1px solid rgba(226, 201, 145, .19); border-radius: 50%; }
.arcana-card-back__inner::before { width: 83%; aspect-ratio: 1; top: 17%; }
.arcana-card-back__inner::after { width: 64%; aspect-ratio: 1; top: 27%; border-style: dashed; }
.arcana-card-back__number, .arcana-card-back__label { position: relative; z-index: 1; color: #d4bd8d; font: 9px/1 "Cormorant Garamond", Georgia, serif; letter-spacing: .12em; }
.arcana-card-back__label { font-family: "Satoshi", "Segoe UI", sans-serif; font-size: 6px; letter-spacing: .17em; }
.arcana-card-back__sigil { position: relative; z-index: 1; display: grid; width: 62%; aspect-ratio: 1; place-items: center; border: 1px solid rgba(226, 201, 145, .5); border-radius: 50%; color: #e0c68d; font-size: clamp(13px, 1.6vw, 23px); }
.arcana-card-back__sigil i { position: absolute; color: #f5e5bd; font-family: Georgia, serif; font-size: 1.3em; font-style: normal; }
.arcana-card__chosen { position: absolute; top: 9px; right: 9px; display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; background: var(--arc-gold-light); color: #24251f; font-size: 10px; font-weight: 700; }
.arcana-card__face { display: flex; width: 100%; height: 100%; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(226, 201, 145, .35); background: #ede5d5; padding: 5px 3px; color: #302c26; }
.arcana-card__face .arcana-card-art { width: 100%; max-height: 70%; }
.arcana-card__name { margin-top: 4px; font: 600 clamp(8px, .8vw, 12px)/1.1 "Cormorant Garamond", Georgia, serif; }
.arcana-card__position { margin-top: 5px; color: #756b5b; font-size: clamp(5px, .54vw, 8px); letter-spacing: .06em; text-transform: uppercase; }
.arcana-card.is-revealed { animation: arcana-flip .5s ease both; }
@keyframes arcana-flip { 0% { transform: rotateY(90deg) scale(.96); } 100% { transform: rotateY(0) scale(1); } }
.arcana-reading__actions { display: flex; min-height: 50px; align-items: center; justify-content: center; gap: 20px; margin-top: 32px; }
.arcana-button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.arcana-reset { text-decoration: underline; text-underline-offset: 4px; }
.arcana-result { padding-top: 68px; scroll-margin-top: 24px; }
.arcana-result__heading { margin-bottom: 33px; text-align: center; }
.arcana-result__question { margin: 12px 0 0; color: var(--arc-muted); font-size: 13px; }
.arcana-spread { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.arcana-spread-card { border: 1px solid var(--arc-line); border-radius: 8px; background: linear-gradient(160deg, #202729, #191e20); padding: 24px; }
.arcana-spread-card__art { display: grid; width: min(190px, 65%); aspect-ratio: .8; place-items: center; margin: 0 auto 21px; border: 1px solid rgba(226,201,145,.62); border-radius: 6px; background: radial-gradient(ellipse at 50% 40%,#ede4d2,#d8ccb5); }
.arcana-spread-card__art .arcana-card-art { width: 87%; height: 90%; }
.arcana-spread-card__position { margin: 0 0 6px; color: var(--arc-gold-light); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.arcana-spread-card h3 { margin: 0 0 8px; font-size: 28px; }
.arcana-spread-card > p:last-child { margin: 13px 0 0; color: #b9b4aa; font-size: 13px; }
.arcana-spread-card__theme { margin: 0; color: #d3c7af; font-size: 12px; font-style: italic; }
.arcana-reading-note { display: flex; align-items: start; gap: 15px; margin: 24px 0 13px; border-left: 2px solid var(--arc-gold); background: rgba(226,201,145,.055); padding: 18px 21px; }
.arcana-reading-note__symbol { color: var(--arc-gold-light); font-size: 19px; }
.arcana-reading-note p { margin: 0; color: #d3cfc5; font-size: 13px; }
.arcana-result__disclaimer { color: #98948b; font-size: 11px; text-align: center; }
.arcana-continue { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 5px 24px; margin-top: 28px; border: 1px solid rgba(226,201,145,.25); border-radius: 8px; background: linear-gradient(110deg,rgba(112,93,62,.17),rgba(255,255,255,.025)); padding: 24px 28px; }
.arcana-continue__copy h3 { margin: 0; font-size: 26px; }
.arcana-continue__copy > p:last-child { margin: 7px 0 0; color: #aaa59b; font-size: 12px; }
.arcana-continue__copy .arcana-kicker { margin-bottom: 7px; font-size: 9px; }
.arcana-affiliate { grid-column: 1 / -1; margin: 4px 0 0; color: #969187; font-size: 10px; }

.arcana-how { display: grid; grid-template-columns: .85fr 1.15fr; gap: 55px; align-items: center; border-top: 1px solid var(--arc-line); padding-block: 85px; }
.arcana-how__intro h2 { font-size: clamp(38px, 4.5vw, 55px); }
.arcana-how__intro > p:last-child { margin-inline: 0; }
.arcana-positions { display: grid; gap: 0; }
.arcana-position { display: grid; grid-template-columns: 42px 1fr; gap: 2px 15px; border-bottom: 1px solid rgba(226,201,145,.17); padding: 18px 0; }
.arcana-position:first-child { border-top: 1px solid rgba(226,201,145,.17); }
.arcana-position__number { grid-row: span 2; color: var(--arc-gold-light); font: 17px/1.4 "Cormorant Garamond", Georgia, serif; }
.arcana-position h3 { margin: 0; font-size: 23px; }
.arcana-position p { margin: 0; color: #aaa69b; font-size: 12px; }
.arcana-faq { max-width: 850px; border-top: 1px solid var(--arc-line); padding-block: 77px 93px; }
.arcana-faq h2 { margin: 0 0 29px; font-size: 46px; }
.arcana-faq details { border-top: 1px solid rgba(226,201,145,.19); padding: 18px 2px; }
.arcana-faq details:last-child { border-bottom: 1px solid rgba(226,201,145,.19); }
.arcana-faq summary { position: relative; padding-right: 35px; color: var(--arc-paper); font: 23px/1.2 "Cormorant Garamond", Georgia, serif; cursor: pointer; list-style: none; }
.arcana-faq summary::-webkit-details-marker { display: none; }
.arcana-faq summary::after { position: absolute; right: 3px; color: var(--arc-gold-light); content: "+"; font: 19px/1 "Satoshi", sans-serif; }
.arcana-faq details[open] summary::after { content: "−"; }
.arcana-faq details p { max-width: 690px; margin: 12px 0 0; color: #aaa69b; font-size: 13px; }
.arcana-footer { border-top: 1px solid rgba(226,201,145,.18); background: #111517; padding: 32px 0 24px; }
.arcana-footer__inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px 36px; }
.arcana-brand--footer { width: max-content; }
.arcana-footer__inner > p { max-width: 590px; margin: 0; color: #a9a499; font-size: 11px; }
.arcana-footer nav { display: flex; flex-wrap: wrap; gap: 17px; }
.arcana-footer nav a, .arcana-footer small { color: #929087; font-size: 10px; text-decoration: none; }
.arcana-footer nav a:hover { color: var(--arc-gold-light); }
.arcana-footer small { text-align: right; }
.arcana-shell [hidden] { display: none !important; }

@media (max-width: 900px) {
  .arcana-hero__orbit { right: -2%; opacity: .46; transform: translateY(-50%) scale(.82); }
  .arcana-deck { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 11px; }
  .arcana-spread { gap: 13px; }
  .arcana-spread-card { padding: 17px; }
  .arcana-how { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 620px) {
  .arcana-shell { width: min(100% - 32px, 520px); }
  .arcana-header__inner { min-height: 65px; gap: 10px; }
  .arcana-nav { display: none; }
  .arcana-header__cta { padding: 9px 12px; font-size: 11px; }
  .arcana-brand { gap: 6px; font-size: 13px; }.arcana-brand em { font-size: 20px; }
  .arcana-hero { min-height: 470px; }
  .arcana-hero__inner { padding-block: 70px; }
  .arcana-hero h1 { max-width: 480px; font-size: clamp(47px, 13vw, 67px); }
  .arcana-hero__copy { max-width: 390px; font-size: 15px; }
  .arcana-hero__orbit { right: -105px; top: auto; bottom: -130px; transform: scale(.72); opacity: .27; }
  .arcana-main { padding-top: 67px; }
  .arcana-question { margin-bottom: 41px; }
  .arcana-deck-heading { align-items: start; }
  .arcana-deck-heading h3 { font-size: 27px; }
  .arcana-deck-heading__actions { flex-direction: column-reverse; align-items: end; gap: 3px; font-size: 10px; }
  .arcana-deck { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
  .arcana-card { border-radius: 4px; }
  .arcana-card-back__inner { inset: 4px; padding: 6px 2px; }
  .arcana-card__name { font-size: 9px; }
  .arcana-card__position { font-size: 6px; }
  .arcana-spread { grid-template-columns: 1fr; gap: 12px; }
  .arcana-spread-card { display: grid; grid-template-columns: 94px 1fr; align-items: center; column-gap: 15px; padding: 16px; }
  .arcana-spread-card__art { grid-row: span 4; width: 94px; margin: 0; }
  .arcana-spread-card__position, .arcana-spread-card h3, .arcana-spread-card__theme, .arcana-spread-card > p:last-child { grid-column: 2; }
  .arcana-spread-card h3 { font-size: 24px; }
  .arcana-spread-card > p:last-child { margin-top: 7px; }
  .arcana-continue { grid-template-columns: 1fr; padding: 20px; }
  .arcana-continue .arcana-button { width: 100%; margin-top: 12px; }
  .arcana-affiliate { grid-column: auto; }
  .arcana-how { padding-block: 65px; }
  .arcana-faq { padding-block: 61px 72px; }
  .arcana-faq h2 { font-size: 39px; }
  .arcana-faq summary { font-size: 21px; }
  .arcana-footer__inner { grid-template-columns: 1fr; gap: 13px; }
  .arcana-footer small { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
