/* /arcana/ (page-creative-arcana.php): the Arcana service page, played as a deck of the 22 Major Arcana.
 * Sits on the site standard (alcor-arcana.css loads after this sheet), so every rule is scoped to .arcana-page at a
 * weight that beats the standard's element rules. Inter for body copy; every heading, the wordmark, the numerals and
 * the card names are Sora 700 (owner 10-29). The Sora faces, the heading scale and the rhythm tokens are the site
 * standard in arcana.css (--font-display); this sheet only uses them. Gold #d7b56d is Arcana's colour. Motion is
 * transform and opacity (plus a filter on the develop effect); prefers-reduced-motion turns all of it off. */

html body.alcor-std.alcor-std .arcana-page {
  --eyebrow-color: var(--gold, #d7b56d);
  --au: #d7b56d;
  --au-hi: #f1dfb0;
  --au-line: rgba(215, 181, 109, .34);
  --display: var(--font-display);
  --card-back: url("../site/arcana-deck/card-back.svg");
  --grain: 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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .95 0 0 0 0 .91 0 0 0 0 .82 0 0 0 1.6 -.45'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  overflow-x: clip;
  background: var(--void, #050608);
}
html body.alcor-std.alcor-std .arcana-page .arcana-wrap {
  width: min(var(--site-column, 1180px), calc(100% - 2 * var(--site-gutter, 20px)));
  margin-inline: auto;
}
html body.alcor-std.alcor-std .arcana-page .arcana-glyph { display: block; fill: currentColor; }
/* Every heading on the page is Sora 700 with the standard's leading, tracking and spacing (arcana.css); the
 * element rules below keep their sizes. */

/* The header floats clear over the hero until the page scrolls (motion.js adds .is-scrolled). */
html body.alcor-std.alcor-std .arcana-page .site-header:not(.is-scrolled):not(.nav-open) {
  border-bottom-color: transparent;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* ===== 1. Hero, "The Star": full-bleed, one screen tall. Layers from the back: the night sky (CSS, the no-media
 * fallback, also what shows while the poster loads), the clip, a vignette, the starfield canvas, then the copy. */
html body.alcor-std.alcor-std .arcana-page .arcana-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(72px + clamp(36px, 9vh, 112px)) var(--site-gutter, 20px) 132px;
  overflow: hidden;
  background: #04060d;
  color: var(--paper, #f6f0e4);
  text-align: center;
}
html body.alcor-std.alcor-std .arcana-page .arcana-hero__sky {
  position: absolute;
  inset: 0;
  z-index: -4;
  overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 1000'%3E%3Cg fill='none' stroke='%23fff8ea' stroke-linecap='round'%3E%3Cpath stroke-width='1.1' stroke-opacity='.45' d='M1342 858h0M941 108h0M323 815h0M15 542h0M844 552h0M827 780h0M776 870h0M942 821h0M850 368h0M956 60h0M297 580h0M1060 911h0M1298 921h0M330 653h0M929 940h0M1137 864h0M1049 674h0M1369 69h0M207 33h0M596 681h0M1296 389h0M186 229h0M387 207h0M1211 118h0M1481 999h0M1412 116h0M220 691h0M1514 755h0M1119 913h0M964 706h0M1405 730h0M304 935h0M359 431h0M1145 86h0M947 781h0M1154 281h0M1580 262h0M391 1h0M1523 322h0M455 485h0M842 793h0M563 257h0M292 719h0M542 728h0M431 446h0M617 496h0M1354 869h0M809 96h0M579 418h0M745 320h0M1286 837h0M1595 260h0M1341 94h0M836 860h0M252 809h0M135 612h0M425 676h0M416 357h0M1330 149h0M268 373h0M1106 391h0M618 412h0M1110 35h0M341 123h0M1552 355h0M26 633h0M1418 957h0M776 626h0M1190 646h0M1041 343h0M194 793h0M656 873h0M1270 710h0M1489 86h0M99 555h0M749 70h0M1069 651h0M1454 94h0M729 941h0M1507 989h0M844 446h0M779 334h0M296 28h0M126 371h0M742 284h0M1209 447h0M1324 634h0M417 22h0M1203 355h0M642 804h0M1484 723h0M590 721h0M833 880h0M1548 820h0M270 558h0M1349 880h0M1157 842h0M248 118h0M497 836h0M934 89h0M1491 817h0M80 170h0M648 207h0M1280 607h0M337 98h0M739 425h0M979 486h0M300 649h0M1317 53h0M1056 611h0M471 914h0M200 536h0M259 9h0M228 171h0M281 614h0M426 593h0M1367 363h0M1470 84h0M329 38h0M502 222h0'/%3E%3Cpath stroke-width='1.6' stroke-opacity='.7' d='M590 140h0M730 685h0M675 71h0M761 339h0M578 494h0M1501 422h0M246 232h0M187 749h0M179 266h0M86 809h0M1107 98h0M1025 753h0M814 65h0M531 319h0M1481 848h0M1260 937h0M780 33h0M1537 34h0M792 888h0M1258 93h0M907 692h0M311 584h0M1241 386h0M400 441h0M726 55h0M509 746h0M523 1h0M340 526h0M1347 162h0M1073 550h0M655 233h0M217 424h0M604 316h0M303 96h0M166 732h0M1099 675h0M810 686h0M105 207h0M180 533h0M588 739h0M1463 32h0M729 164h0'/%3E%3Cpath stroke-width='2.2' stroke-opacity='.85' d='M602 441h0M1451 534h0M614 270h0M1165 212h0M569 311h0M358 376h0M1040 964h0M611 417h0M1471 917h0M500 813h0M1232 661h0M801 800h0M735 42h0M1130 28h0M441 950h0M818 169h0M296 597h0M171 449h0M829 67h0M284 116h0M618 133h0M21 785h0M709 675h0'/%3E%3Cpath stroke-width='3' stroke-opacity='1' d='M862 396h0M1170 853h0M306 914h0M893 179h0M783 736h0'/%3E%3C/g%3E%3C/svg%3E") 50% 0 / max(100%, 1600px) auto no-repeat,
    radial-gradient(60% 26% at 56% 82%, rgba(215, 181, 109, .24), transparent 72%),
    linear-gradient(180deg, #03050c 0%, #070e26 42%, #13204a 70%, #22264a 82%, #050608 100%);
}
/* The Milky Way: a soft band of light with warm and violet clumps and a dark dust lane, laid across the sky. */
html body.alcor-std.alcor-std .arcana-page .arcana-hero__sky::before {
  content: "";
  position: absolute;
  left: -30%;
  right: -30%;
  top: 4%;
  height: 64%;
  background:
    radial-gradient(ellipse 15% 7% at 41% 49%, rgba(4, 6, 13, .45), transparent 70%),
    radial-gradient(ellipse 30% 3.5% at 52% 51%, rgba(4, 6, 13, .4), transparent 75%),
    radial-gradient(ellipse 16% 11% at 39% 47%, rgba(255, 232, 200, .26), transparent 72%),
    radial-gradient(ellipse 20% 12% at 60% 53%, rgba(190, 168, 240, .2), transparent 72%),
    radial-gradient(ellipse 10% 9% at 47% 50%, rgba(255, 246, 228, .28), transparent 72%),
    radial-gradient(ellipse 34% 13% at 50% 50%, rgba(214, 222, 255, .14), transparent 72%),
    radial-gradient(ellipse 52% 22% at 50% 50%, rgba(206, 216, 255, .12), transparent 72%);
  transform: rotate(-26deg);
}
html body.alcor-std.alcor-std .arcana-page .arcana-hero__dunes {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: clamp(110px, 24vh, 240px);
}
html body.alcor-std.alcor-std .arcana-page .arcana-shot--hero {
  position: absolute;
  inset: 0;
  z-index: -3;
  margin: 0;
}
/* The frame stops 2px short of the hero's bottom edge, under the veil's fade to the page colour, so it never
 * shows. Chrome ignores an image that covers the whole viewport as a background for LCP; this keeps the poster
 * the page's LCP element. */
html body.alcor-std.alcor-std .arcana-page .arcana-shot--hero .arcana-shot__frame {
  position: absolute;
  inset: 0 0 2px;
  aspect-ratio: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
html body.alcor-std.alcor-std .arcana-page .arcana-shot--hero :is(.arcana-shot__poster, .arcana-shot__video) { object-position: 44% 62%; }
html body.alcor-std.alcor-std .arcana-page .arcana-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60% 34% at 50% 30%, rgba(4, 6, 13, .42), transparent 75%),
    radial-gradient(140% 95% at 50% 40%, transparent 50%, rgba(4, 6, 13, .6) 100%),
    linear-gradient(180deg, rgba(4, 6, 13, .7) 0, rgba(4, 6, 13, .12) 20%, transparent 34%, transparent 62%, rgba(5, 6, 8, .7) 88%, var(--void, #050608) 100%);
}
html body.alcor-std.alcor-std .arcana-page .arcana-stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
html body.alcor-std.alcor-std .arcana-page .arcana-hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
}
/* A soft shadow of night behind the copy, so the line stays readable over the bright core of the Milky Way. */
html body.alcor-std.alcor-std .arcana-page .arcana-hero__content::before {
  content: "";
  position: absolute;
  inset: 8% -14% -6%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(4, 6, 13, .5), rgba(4, 6, 13, .22) 60%, transparent);
  pointer-events: none;
}
html body.alcor-std.alcor-std .arcana-page .arcana-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(10px, 1.6vh, 18px);
  color: var(--au-hi);
  text-shadow: 0 1px 12px rgba(4, 6, 13, .9);
}
html body.alcor-std.alcor-std .arcana-page .arcana-hero__eyebrow::before,
html body.alcor-std.alcor-std .arcana-page .arcana-hero__eyebrow::after {
  content: "";
  flex: none;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--au));
}
html body.alcor-std.alcor-std .arcana-page .arcana-hero__eyebrow::after { transform: scaleX(-1); }
html body.alcor-std.alcor-std .arcana-page .arcana-wordmark {
  max-width: none;
  margin: 0 -.08em 0 0;
  padding: .04em 0 .02em;
  font-family: var(--display) !important;
  font-size: clamp(3.25rem, .9rem + 12.2vw, 13rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
  white-space: nowrap;
  text-transform: uppercase;
  color: #f6f0e4;
  background:
    linear-gradient(104deg, transparent 38%, rgba(255, 246, 219, .95) 47%, rgba(215, 181, 109, .9) 50%, rgba(255, 246, 219, .95) 53%, transparent 62%) 120% 0 / 300% 100% no-repeat,
    linear-gradient(180deg, #fbf6ea 22%, #f1e3bd 62%, #d9bb78 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 28px rgba(4, 6, 13, .7));
  animation: arcana-sheen 3.4s cubic-bezier(.4, 0, .2, 1) .5s 1 both;
}
@keyframes arcana-sheen {
  from { background-position: 120% 0, 0 0; }
  to { background-position: -20% 0, 0 0; }
}
html body.alcor-std.alcor-std .arcana-page .arcana-hero__line {
  max-width: 30ch;
  margin: clamp(12px, 2vh, 22px) 0 0;
  color: rgba(246, 240, 228, .92);
  font-size: clamp(1.0625rem, .95rem + .45vw, 1.375rem);
  line-height: 1.5;
  text-wrap: balance;
  text-shadow: 0 1px 18px rgba(4, 6, 13, .95);
}
html body.alcor-std.alcor-std .arcana-page .arcana-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(22px, 3.4vh, 34px);
}
html body.alcor-std.alcor-std .arcana-page .arcana-hero .btn--secondary { background: rgba(4, 6, 13, .34); }
html body.alcor-std.alcor-std .arcana-page .arcana-hero__credit {
  position: absolute;
  right: var(--site-gutter, 20px);
  bottom: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  max-width: calc(50% - 40px);
  margin: 0;
  color: rgba(246, 240, 228, .66);
  font-size: .75rem;
  line-height: 1.4;
  text-align: right;
}
html body.alcor-std.alcor-std .arcana-page .arcana-hero__card {
  color: var(--au-hi);
  font-family: var(--display) !important;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
}
html body.alcor-std.alcor-std .arcana-page .arcana-hero__cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 1px;
  height: 58px;
  background: linear-gradient(rgba(215, 181, 109, 0), rgba(215, 181, 109, .65));
}
html body.alcor-std.alcor-std .arcana-page .arcana-hero__cue::after {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--au-hi);
  box-shadow: 0 0 10px var(--au);
  animation: arcana-cue 2.6s cubic-bezier(.6, 0, .4, 1) infinite;
}
@keyframes arcana-cue {
  0% { transform: translateY(-6px); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(56px); opacity: 0; }
}
/* Reduced motion: creative-arcana.js puts the hero clip's play/pause button in the corner. */
html body.alcor-std.alcor-std .arcana-page .arcana-hero > .arcana-shot__play {
  inset: auto auto 24px var(--site-gutter, 20px);
  z-index: 2;
  margin: 0;
}
@media (max-width: 639px) {
  html body.alcor-std.alcor-std .arcana-page .arcana-hero { padding-bottom: 112px; }
  html body.alcor-std.alcor-std .arcana-page .arcana-hero__eyebrow { gap: 10px; font-size: 11px; }
  html body.alcor-std.alcor-std .arcana-page .arcana-hero__eyebrow::before,
  html body.alcor-std.alcor-std .arcana-page .arcana-hero__eyebrow::after { width: 16px; }
  html body.alcor-std.alcor-std .arcana-page .arcana-hero__credit { left: var(--site-gutter, 20px); right: var(--site-gutter, 20px); bottom: 22px; align-items: center; max-width: none; text-align: center; }
  html body.alcor-std.alcor-std .arcana-page .arcana-hero__cue { display: none; }
  html body.alcor-std.alcor-std .arcana-page .arcana-hero > .arcana-shot__play { inset: auto var(--site-gutter, 20px) 72px auto; }
}

/* ===== Shared section frame ===== */
html body.alcor-std.alcor-std .arcana-page .arcana-head { max-width: 680px; margin-bottom: clamp(32px, 4vw, 52px); }
html body.alcor-std.alcor-std .arcana-page .arcana-head h2 { margin: 0 0 .5em; }
html body.alcor-std.alcor-std .arcana-page .arcana-head > p:not(.eyebrow) { max-width: 52ch; margin: 0; }
html body.alcor-std.alcor-std .arcana-page .arcana-head--center { margin-inline: auto; text-align: center; }
html body.alcor-std.alcor-std .arcana-page .arcana-head--center > p:not(.eyebrow) { margin-inline: auto; }

/* ===== 2. The deck. Without JS this section is the list of 22 faces (.arcana-cards). creative-arcana.js shows the
 * table (the spread's three slots, the live line and the fan) and hides the list until "Lay out all 22". ===== */
html body.alcor-std.alcor-std .arcana-page .arcana-deck {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 9vw, 128px) 0 clamp(80px, 9vw, 128px);
  background:
    radial-gradient(56% 40% at 50% 46%, rgba(34, 50, 110, .4), transparent 72%),
    radial-gradient(30% 22% at 50% 80%, rgba(215, 181, 109, .08), transparent 70%),
    linear-gradient(180deg, var(--void, #050608), #070a17 22%, #070a17 78%, var(--void, #050608));
}
html body.alcor-std.alcor-std .arcana-page .arcana-table[hidden] { display: none; }
html body.alcor-std.alcor-std .arcana-page .arcana-stage {
  --pick-w: 200px;
  --back-w: 86px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* The reading cloth: a gold hairline ring and a dotted inner ring behind the spread, like a chart of the sky. */
html body.alcor-std.alcor-std .arcana-page .arcana-stage::before,
html body.alcor-std.alcor-std .arcana-page .arcana-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(var(--pick-w) * .75);
  z-index: -1;
  width: min(1040px, 170vw);
  aspect-ratio: 1;
  border: 1px solid rgba(215, 181, 109, .16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
html body.alcor-std.alcor-std .arcana-page .arcana-stage::after {
  width: min(980px, 156vw);
  border: 1px dotted rgba(215, 181, 109, .2);
}
html body.alcor-std.alcor-std .arcana-page .arcana-spread {
  display: flex;
  justify-content: center;
  gap: 40px;
  width: 100%;
}
html body.alcor-std.alcor-std .arcana-page .arcana-slot {
  display: grid;
  flex: none;
  place-items: center;
  box-sizing: border-box;
  width: var(--pick-w);
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(215, 181, 109, .22);
  border-radius: 14px;
  background: radial-gradient(closest-side, rgba(215, 181, 109, .07), transparent);
  color: rgba(215, 181, 109, .38);
}
html body.alcor-std.alcor-std .arcana-page .arcana-slot .arcana-glyph { width: 20px; height: 20px; }
/* Before the first draw the spread is not three empty outlines: the side slots are clear and the middle one holds a
 * single face-down card, lit from behind, to pick up (a click on it draws, like the fan). */
html body.alcor-std.alcor-std .arcana-page .arcana-stage:not(.has-drawn) .arcana-slot { border-color: transparent; background: none; }
html body.alcor-std.alcor-std .arcana-page .arcana-stage:not(.has-drawn) .arcana-slot .arcana-glyph { visibility: hidden; }
html body.alcor-std.alcor-std .arcana-page .arcana-stage:not(.has-drawn) .arcana-slot:nth-child(2) { position: relative; cursor: pointer; }
html body.alcor-std.alcor-std .arcana-page .arcana-stage:not(.has-drawn) .arcana-slot:nth-child(2)::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: var(--card-back) center / 100% 100% no-repeat, #0d1736;
  box-shadow: 0 0 0 1px rgba(215, 181, 109, .45), 0 22px 48px rgba(0, 0, 0, .55), 0 0 60px rgba(215, 181, 109, .16);
  animation: arcana-invite 4.8s ease-in-out infinite;
}
@keyframes arcana-invite { 50% { transform: translateY(-6px) rotate(-1.2deg); } }
html body.alcor-std.alcor-std .arcana-page .arcana-told {
  box-sizing: border-box;
  max-width: 46ch;
  min-height: 3.2em;
  margin: 22px auto 0;
  color: var(--muted, #b8bec8);
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  text-wrap: balance;
}
html body.alcor-std.alcor-std .arcana-page .arcana-told b {
  color: var(--au-hi);
  font-family: var(--display) !important;
  font-weight: 700;
  letter-spacing: 0;
}
html body.alcor-std.alcor-std .arcana-page .arcana-fan {
  position: relative;
  display: block;
  width: 100%;
  max-width: 940px;
  height: calc(var(--back-w) * 1.5 + 100px);
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
html body.alcor-std.alcor-std .arcana-page .arcana-fan:focus-visible { outline: 2px solid rgba(215, 181, 109, .7); outline-offset: 2px; }
html body.alcor-std.alcor-std .arcana-page .arcana-fan[aria-disabled="true"] { cursor: default; }
html body.alcor-std.alcor-std .arcana-page .arcana-back {
  position: absolute;
  left: calc(50% - var(--back-w) / 2);
  top: 22px;
  width: var(--back-w);
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  background: var(--card-back) center / 100% 100% no-repeat, #0d1736;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 10px 22px rgba(0, 0, 0, .45);
  transform: rotate(var(--a, 0deg)) translateY(var(--lift, 0px));
  transform-origin: 50% var(--pivot, 900px);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1) var(--delay, 0ms);
}
html body.alcor-std.alcor-std .arcana-page .arcana-fan:not([aria-disabled="true"]) .arcana-back:hover,
html body.alcor-std.alcor-std .arcana-page .arcana-fan:focus-visible .arcana-back.is-next { --lift: -22px; --delay: 0ms; }
html body.alcor-std.alcor-std .arcana-page .arcana-fan__hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  color: rgba(215, 181, 109, .85);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
}
html body.alcor-std.alcor-std .arcana-page .arcana-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  scroll-margin-top: 96px;
}
html body.alcor-std.alcor-std .arcana-page .arcana-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(246, 240, 228, .26);
  border-radius: 999px;
  background: rgba(6, 8, 18, .55);
  color: var(--paper, #f6f0e4);
  font: 600 .9375rem/1 var(--font-body, "Inter", system-ui, sans-serif);
  letter-spacing: -.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
html body.alcor-std.alcor-std .arcana-page .arcana-btn:hover { border-color: rgba(246, 240, 228, .6); }
html body.alcor-std.alcor-std .arcana-page .arcana-btn--gold { border-color: rgba(215, 181, 109, .75); background: rgba(215, 181, 109, .1); color: var(--au-hi); }
html body.alcor-std.alcor-std .arcana-page .arcana-btn--gold:hover { border-color: var(--au); background: rgba(215, 181, 109, .18); }
html body.alcor-std.alcor-std .arcana-page .arcana-btn--quiet { border-color: transparent; background: none; color: var(--muted, #b8bec8); }
html body.alcor-std.alcor-std .arcana-page .arcana-btn--quiet:hover { border-color: rgba(246, 240, 228, .2); color: var(--paper, #f6f0e4); }
/* Shuffle: a quiet pill in the same row (a faint hairline and fill), not loose text. */
html body.alcor-std.alcor-std .arcana-page .arcana-controls .arcana-btn--quiet { border-color: rgba(246, 240, 228, .16); background: rgba(6, 8, 18, .3); }
html body.alcor-std.alcor-std .arcana-page .arcana-controls .arcana-btn--quiet:hover { border-color: rgba(246, 240, 228, .4); }
html body.alcor-std.alcor-std .arcana-page .arcana-btn:disabled { opacity: .45; cursor: default; }
html body.alcor-std.alcor-std .arcana-page .arcana-btn:focus-visible { outline: 2px solid var(--au); outline-offset: 3px; }
html body.alcor-std.alcor-std .arcana-page .arcana-deck__note {
  margin: clamp(36px, 4vw, 52px) auto 0;
  color: var(--quiet, #959dac);
  font-size: .9375rem;
  line-height: 1.6;
  text-align: center;
}
html body.alcor-std.alcor-std .arcana-page .arcana-deck__note .link-arrow { white-space: nowrap; }

/* A drawn card: a button holding a 3D flip (back and face). It flies from the fan to its place in the spread
 * (creative-arcana.js sets the place as a transform); once face up it is flat, and opens the lightbox. */
html body.alcor-std.alcor-std .arcana-page .arcana-pick {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  box-sizing: border-box;
  width: var(--pick-w);
  aspect-ratio: 2 / 3;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: none;
  color: inherit;
  cursor: zoom-in;
  transform-origin: 50% 50%;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .45s ease;
  -webkit-tap-highlight-color: transparent;
}
html body.alcor-std.alcor-std .arcana-page .arcana-pick.is-flying { perspective: 1100px; }
html body.alcor-std.alcor-std .arcana-page .arcana-pick:focus-visible { outline: 2px solid var(--au); outline-offset: 5px; }
html body.alcor-std.alcor-std .arcana-page .arcana-pick__flip {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: inherit;
  transform-style: preserve-3d;
}
html body.alcor-std.alcor-std .arcana-page :is(.arcana-pick__back, .arcana-pick .arcana-face) {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
html body.alcor-std.alcor-std .arcana-page .arcana-pick__back {
  display: block;
  background: var(--card-back) center / 100% 100% no-repeat, #0d1736;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 16px 34px rgba(0, 0, 0, .5);
}
html body.alcor-std.alcor-std .arcana-page .arcana-pick .arcana-face {
  transform: rotateY(180deg);
  box-shadow: 0 0 0 1px rgba(215, 181, 109, .3), 0 22px 48px rgba(0, 0, 0, .55);
}
html body.alcor-std.alcor-std .arcana-page .arcana-pick.is-up .arcana-pick__back { display: none; }
html body.alcor-std.alcor-std .arcana-page .arcana-pick.is-up .arcana-face { transform: none; }
html body.alcor-std.alcor-std .arcana-page .arcana-pick.is-up:hover .arcana-face { box-shadow: 0 0 0 1px rgba(215, 181, 109, .6), 0 22px 48px rgba(0, 0, 0, .55), 0 0 44px rgba(215, 181, 109, .22); }
html body.alcor-std.alcor-std .arcana-page .arcana-pick.is-tucked .arcana-face::after { background: rgba(4, 6, 13, .5); }
html body.alcor-std.alcor-std .arcana-page .arcana-stage.is-resizing :is(.arcana-pick, .arcana-back) { transition: none; }

/* A card face (list, spread and fan alike): the picture fills a 2:3 card; a double gold hairline frame, the numeral
 * at the top and the name at the bottom sit over soft dark bands. Sizes follow the card's width (cqw). */
html body.alcor-std.alcor-std .arcana-page .arcana-face {
  position: relative;
  display: block;
  overflow: hidden;
  box-sizing: border-box;
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  background: radial-gradient(closest-side, #151d3a, #080b16);
  color: var(--paper, #f6f0e4);
  text-decoration: none;
  container-type: inline-size;
}
html body.alcor-std.alcor-std .arcana-page .arcana-face__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Archetype card art carries its own frame and numeral plate: crop to the drawing. */
html body.alcor-std.alcor-std .arcana-page .arcana-face--art .arcana-face__img { transform: scale(1.17); transform-origin: 50% 0; }
html body.alcor-std.alcor-std .arcana-page .arcana-face::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(4, 6, 13, .7) 0, rgba(4, 6, 13, 0) 21%, rgba(4, 6, 13, 0) 68%, rgba(4, 6, 13, .86) 100%);
  pointer-events: none;
  transition: background-color .45s ease;
}
html body.alcor-std.alcor-std .arcana-page .arcana-face::before {
  content: "";
  position: absolute;
  inset: 3.4cqw;
  z-index: 3;
  border: 1px solid rgba(215, 181, 109, .78);
  border-radius: 2.6cqw;
  outline: 1px solid rgba(215, 181, 109, .3);
  outline-offset: -2.2cqw;
  pointer-events: none;
}
html body.alcor-std.alcor-std .arcana-page .arcana-face__numeral {
  position: absolute;
  top: 7cqw;
  left: 0;
  right: 0;
  z-index: 4;
  color: var(--au-hi);
  font-family: var(--display) !important;
  font-size: max(10px, 8.4cqw);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .1em;
  text-align: center;
  text-indent: .1em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .7);
}
html body.alcor-std.alcor-std .arcana-page .arcana-face__name {
  position: absolute;
  left: 7cqw;
  right: 7cqw;
  bottom: 8cqw;
  z-index: 4;
  color: #f8f2e6;
  font-family: var(--display) !important;
  font-size: max(10px, 8cqw);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .8);
  text-wrap: balance;
}
/* Develop: grain over the picture while it resolves (creative-arcana.js runs it; it waits here for the file). */
html body.alcor-std.alcor-std .arcana-page .arcana-grain {
  position: absolute;
  inset: -40%;
  z-index: 1;
  background: var(--grain) 0 0 / 150px 150px repeat;
  opacity: 0;
  pointer-events: none;
}
html body.alcor-std.alcor-std .arcana-page .is-developing > .arcana-grain { opacity: .9; }
/* Card art is lit, not developed: one sweep of warm light across it. */
html body.alcor-std.alcor-std .arcana-page .arcana-sheen {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, transparent 28%, rgba(255, 240, 205, .1) 40%, rgba(255, 240, 205, .5) 50%, rgba(255, 240, 205, .1) 60%, transparent 72%);
  opacity: 0;
  pointer-events: none;
}
html body.alcor-std.alcor-std .arcana-page .is-developing > :is(.arcana-face__img, .arcana-box__img) { opacity: 0; }

/* The list: 22 faces with captions (two up on phones, four on tablets). From 1024px it is the Fool's journey:
 * 0 alone at the top left, then three rows of seven, so the reading order (and the tab order) is 0 to XXI. */
html.arcana-deck-wait body.alcor-std.alcor-std .arcana-page .arcana-deck:not(.is-deck) .arcana-cards { display: none; }
html body.alcor-std.alcor-std .arcana-page .arcana-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
html body.alcor-std.alcor-std .arcana-page .arcana-deck.is-deck:not(.is-laid) .arcana-cards { display: none; }
html body.alcor-std.alcor-std .arcana-page .arcana-deck.is-laid .arcana-cards { margin-top: 40px; }
html body.alcor-std.alcor-std .arcana-page .arcana-deck.is-laid :is(.arcana-spread, .arcana-fan, .arcana-pick) { display: none; }
html body.alcor-std.alcor-std .arcana-page .arcana-tarot { position: relative; margin: 0; }
html body.alcor-std.alcor-std .arcana-page .arcana-tarot__face {
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(215, 181, 109, .22), 0 14px 30px rgba(0, 0, 0, .45);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}
html body.alcor-std.alcor-std .arcana-page .arcana-tarot__face:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(215, 181, 109, .6), 0 18px 36px rgba(0, 0, 0, .5), 0 0 36px rgba(215, 181, 109, .18); }
html body.alcor-std.alcor-std .arcana-page .arcana-tarot__face:focus-visible { outline: 2px solid var(--au); outline-offset: 4px; }
html body.alcor-std.alcor-std .arcana-page .arcana-face__back {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: var(--card-back) center / 100% 100% no-repeat, #0d1736;
  opacity: 0;
  pointer-events: none;
}
html body.alcor-std.alcor-std .arcana-page .arcana-tarot__caption {
  margin: 12px 0 0;
  color: var(--quiet, #959dac);
  font-size: .8125rem;
  line-height: 1.45;
}
@media (min-width: 640px) {
  html body.alcor-std.alcor-std .arcana-page .arcana-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
}
@media (min-width: 1024px) {
  /* 8 + 7 + 7 cards, centered (owner 2026-10-30): 16 half-card columns, so rows of 7 start half a card in. */
  html body.alcor-std.alcor-std .arcana-page .arcana-cards { grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 30px 16px; align-items: start; }
  html body.alcor-std.alcor-std .arcana-page .arcana-tarot { grid-column-end: span 2; }
  html body.alcor-std.alcor-std .arcana-page .arcana-tarot:is([data-numeral="VIII"], [data-numeral="XV"]) { grid-column-start: 2; }
  html body.alcor-std.alcor-std .arcana-page .arcana-tarot__caption { font-size: .75rem; }
}

/* Phones and tablets: one slot (the newest card, the two before it peeking out behind) and a smaller fan. */
@media (max-width: 767px) {
  html body.alcor-std.alcor-std .arcana-page .arcana-stage { --pick-w: min(196px, 52vw); --back-w: min(62px, 15vw); }
  html body.alcor-std.alcor-std .arcana-page .arcana-slot:not(:nth-child(2)) { display: none; }
  html body.alcor-std.alcor-std .arcana-page .arcana-fan { height: calc(var(--back-w) * 1.5 + 78px); }
  html body.alcor-std.alcor-std .arcana-page .arcana-told { min-height: 4.8em; font-size: .9375rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  html body.alcor-std.alcor-std .arcana-page .arcana-stage { --pick-w: 180px; --back-w: 76px; }
  html body.alcor-std.alcor-std .arcana-page .arcana-spread { gap: 28px; }
}
@media (max-width: 639px) {
  html body.alcor-std.alcor-std .arcana-page .arcana-btn { min-height: 44px; padding: 0 18px; }
}
/* Narrow phones: the three controls wrap as a group, the draw button on its own row and the other two under it. */
@media (max-width: 479px) {
  html body.alcor-std.alcor-std .arcana-page .arcana-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 340px); margin-inline: auto; }
  html body.alcor-std.alcor-std .arcana-page .arcana-controls [data-arcana="draw"] { grid-column: 1 / -1; }
  html body.alcor-std.alcor-std .arcana-page .arcana-controls .arcana-btn { padding: 0 12px; }
}

/* ===== 3. Look closer: the lightbox (a modal <dialog> creative-arcana.js builds). ===== */
html body.alcor-std.alcor-std .arcana-page .arcana-box {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: auto;
  overscroll-behavior: contain;
  background: radial-gradient(70% 70% at 42% 50%, #0e1633, #04050b 80%);
  color: var(--paper, #f6f0e4);
}
html body.alcor-std.alcor-std .arcana-page .arcana-box[open] { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; animation: arcana-box-in .32s ease both; }
html body.alcor-std.alcor-std .arcana-page .arcana-box::backdrop { background: rgba(3, 4, 9, .7); }
@keyframes arcana-box-in { from { opacity: 0; } to { opacity: 1; } }
html body.alcor-std.alcor-std .arcana-page .arcana-box__stage { display: grid; place-items: center; padding: 76px 20px 16px; }
html body.alcor-std.alcor-std .arcana-page .arcana-box__frame {
  position: relative;
  width: min(100%, calc((100svh - 300px) * 2 / 3));
  min-width: min(100%, 240px);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 16px;
  background: radial-gradient(closest-side, #151d3a, #080b16);
  box-shadow: 0 0 0 1px rgba(215, 181, 109, .35), 0 30px 80px rgba(0, 0, 0, .6);
  cursor: default;
  touch-action: pan-y pinch-zoom;
}
/* The loupe and zoom only exist when the full file holds 2x detail at this size (creative-arcana.js sets it). */
html body.alcor-std.alcor-std .arcana-page .arcana-box__frame.has-loupe { cursor: crosshair; }
html body.alcor-std.alcor-std .arcana-page .arcana-box__frame:not(.has-loupe) .arcana-box__loupe { display: none; }
html body.alcor-std.alcor-std .arcana-page .arcana-box__frame.is-zoomed { touch-action: none; }
html body.alcor-std.alcor-std .arcana-page .arcana-box__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
html body.alcor-std.alcor-std .arcana-page .arcana-box__frame.is-zoomed .arcana-box__img { transform: scale(2.2); }
html body.alcor-std.alcor-std .arcana-page .arcana-box__loupe {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(241, 223, 176, .9);
  border-radius: 50%;
  background-color: #080b16;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 5px rgba(4, 6, 13, .4), 0 20px 50px rgba(0, 0, 0, .6);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
html body.alcor-std.alcor-std .arcana-page .arcana-box__frame.is-looking .arcana-box__loupe { opacity: 1; }
html body.alcor-std.alcor-std .arcana-page .arcana-box__text { max-width: 520px; margin: 0 auto; padding: 8px 20px 96px; text-align: center; }
html body.alcor-std.alcor-std .arcana-page .arcana-box__numeral { margin: 0 0 8px; color: var(--au-hi); font-family: var(--display) !important; font-size: 1rem; font-weight: 700; letter-spacing: .12em; }
html body.alcor-std.alcor-std .arcana-page .arcana-box__name { margin: 0 0 .5em; color: var(--paper, #f6f0e4); font-family: var(--display) !important; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); font-weight: 700; line-height: 1.06; letter-spacing: -.01em; }
html body.alcor-std.alcor-std .arcana-page .arcana-box__caption { margin: 0 0 14px; color: var(--paper, #f6f0e4); font-size: 1.0625rem; line-height: 1.6; }
html body.alcor-std.alcor-std .arcana-page :is(.arcana-box__meta, .arcana-box__hint, .arcana-box__count) { margin: 0 0 6px; color: var(--quiet, #959dac); font-size: .875rem; line-height: 1.5; }
html body.alcor-std.alcor-std .arcana-page .arcana-box__count { color: rgba(215, 181, 109, .85); letter-spacing: .08em; }
html body.alcor-std.alcor-std .arcana-page .arcana-box__meta a { color: var(--au-hi); }
html body.alcor-std.alcor-std .arcana-page :is(.arcana-box__close, .arcana-box__nav) {
  position: fixed;
  z-index: 5;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(246, 240, 228, .3);
  border-radius: 50%;
  background: rgba(4, 6, 13, .6);
  color: var(--paper, #f6f0e4);
  font: 400 1.375rem/1 var(--font-body, "Inter", system-ui, sans-serif);
  cursor: pointer;
}
html body.alcor-std.alcor-std .arcana-page :is(.arcana-box__close, .arcana-box__nav):hover { border-color: var(--au); color: var(--au-hi); }
html body.alcor-std.alcor-std .arcana-page :is(.arcana-box__close, .arcana-box__nav):focus-visible { outline: 2px solid var(--au); outline-offset: 3px; }
html body.alcor-std.alcor-std .arcana-page .arcana-box__close { top: 16px; right: 16px; }
html body.alcor-std.alcor-std .arcana-page .arcana-box__nav { bottom: 20px; }
html body.alcor-std.alcor-std .arcana-page .arcana-box__nav--prev { left: 20px; }
html body.alcor-std.alcor-std .arcana-page .arcana-box__nav--next { right: 20px; }
html body.alcor-std.alcor-std .arcana-page .arcana-box__nav[hidden] { display: none; }
@media (min-width: 1024px) {
  html body.alcor-std.alcor-std .arcana-page .arcana-box[open] { grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); align-content: center; align-items: center; }
  html body.alcor-std.alcor-std .arcana-page .arcana-box__stage { min-height: 100vh; box-sizing: border-box; padding: 40px 32px 40px 104px; }
  html body.alcor-std.alcor-std .arcana-page .arcana-box__frame { width: min(100%, calc((100vh - 80px) * 2 / 3)); }
  html body.alcor-std.alcor-std .arcana-page .arcana-box__text { margin: 0; padding: 40px 104px 40px 8px; text-align: left; }
  html body.alcor-std.alcor-std .arcana-page .arcana-box__nav { top: 50%; bottom: auto; margin-top: -24px; }
  html body.alcor-std.alcor-std .arcana-page .arcana-box__nav--prev { left: 32px; }
  html body.alcor-std.alcor-std .arcana-page .arcana-box__nav--next { right: 32px; }
}

/* ===== Read your brand: three positions in a row, then the reading beside its picture. Without JS the cards are
 * face up (one example reading); creative-arcana.js turns them face down (.is-back) to draw from. ===== */
html body.alcor-std.alcor-std .arcana-page .arcana-read {
  position: relative;
  padding: clamp(80px, 9vw, 128px) 0;
  background: radial-gradient(60% 50% at 50% 35%, rgba(66, 44, 120, .28), transparent 72%), radial-gradient(40% 30% at 50% 90%, rgba(215, 181, 109, .07), transparent 70%), #060812;
}
html body.alcor-std.alcor-std .arcana-page .arcana-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
html body.alcor-std.alcor-std .arcana-page .arcana-positions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 3.4vw, 48px);
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
html body.alcor-std.alcor-std .arcana-page .arcana-pos { display: flex; flex-direction: column; align-items: center; margin: 0; text-align: center; }
html body.alcor-std.alcor-std .arcana-page .arcana-pos__label {
  margin: 0 0 14px;
  color: var(--au);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
}
html body.alcor-std.alcor-std .arcana-page .arcana-pos__n { font-family: var(--display) !important; font-size: 14px; font-weight: 700; letter-spacing: .1em; }
html body.alcor-std.alcor-std .arcana-page .arcana-pos__card {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: min(100%, 200px);
  aspect-ratio: 2 / 3;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: none;
  color: inherit;
  font: inherit;
  container-type: inline-size;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}
html body.alcor-std.alcor-std .arcana-page button.arcana-pos__card { cursor: pointer; }
html body.alcor-std.alcor-std .arcana-page button.arcana-pos__card:focus-visible { outline: 2px solid var(--au); outline-offset: 4px; }
/* The little deck under each position: two backs peeking out behind the card. */
html body.alcor-std.alcor-std .arcana-page button.arcana-pos__card::before,
html body.alcor-std.alcor-std .arcana-page button.arcana-pos__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--card-back) center / 100% 100% no-repeat, #0d1736;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .4);
  transform: translate(5px, 5px) rotate(2.5deg);
}
html body.alcor-std.alcor-std .arcana-page button.arcana-pos__card::after { transform: translate(-4px, 3px) rotate(-2deg); }
html body.alcor-std.alcor-std .arcana-page .arcana-pos__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7cqw;
  overflow: hidden;
  border-radius: inherit;
  background: radial-gradient(80% 60% at 50% 40%, #1c2a5c, #0a0f22 75%);
  box-shadow: 0 0 0 1px rgba(215, 181, 109, .35), 0 18px 40px rgba(0, 0, 0, .5);
}
html body.alcor-std.alcor-std .arcana-page .arcana-pos__face::before {
  content: "";
  position: absolute;
  inset: 4cqw;
  border: 1px solid rgba(215, 181, 109, .75);
  border-radius: 3cqw;
  outline: 1px solid rgba(215, 181, 109, .28);
  outline-offset: -2.6cqw;
  pointer-events: none;
}
html body.alcor-std.alcor-std .arcana-page .arcana-pos__glyph {
  color: var(--au-hi);
  font-family: var(--display) !important;
  font-size: max(11px, 11cqw);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .1em;
}
html body.alcor-std.alcor-std .arcana-page .arcana-pos__glyph::after {
  content: "";
  display: block;
  width: 14cqw;
  height: 1px;
  margin: 6cqw auto 0;
  background: rgba(215, 181, 109, .5);
}
html body.alcor-std.alcor-std .arcana-page .arcana-pos__name {
  padding: 0 11cqw;
  color: #f8f2e6;
  font-family: var(--display) !important;
  font-size: max(11px, 11.5cqw);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}
html body.alcor-std.alcor-std .arcana-page .arcana-pos__card.is-back .arcana-pos__face { background: var(--card-back) center / 100% 100% no-repeat, #0d1736; }
html body.alcor-std.alcor-std .arcana-page .arcana-pos__card.is-back .arcana-pos__face > *,
html body.alcor-std.alcor-std .arcana-page .arcana-pos__card.is-back .arcana-pos__face::before { visibility: hidden; }
html body.alcor-std.alcor-std .arcana-page button.arcana-pos__card.is-back:hover .arcana-pos__face { box-shadow: 0 0 0 1px rgba(215, 181, 109, .6), 0 18px 40px rgba(0, 0, 0, .5), 0 0 36px rgba(215, 181, 109, .25); }
html body.alcor-std.alcor-std .arcana-page .arcana-pos__meaning { max-width: 26ch; min-height: 3.2em; margin: 16px 0 0; color: var(--muted, #b8bec8); font-size: .875rem; line-height: 1.5; }
html body.alcor-std.alcor-std .arcana-page .arcana-pos__again { min-height: 40px; margin-top: 4px; padding: 0 14px; font-size: .875rem; }
html body.alcor-std.alcor-std .arcana-page .arcana-pos__again[hidden],
html body.alcor-std.alcor-std .arcana-page .arcana-reading [hidden] { display: none; }
html body.alcor-std.alcor-std .arcana-page .arcana-reading__go { display: flex; justify-content: center; margin-top: 20px; }
html body.alcor-std.alcor-std .arcana-page .arcana-reading__out {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 28px;
  box-sizing: border-box;
  max-width: 920px;
  margin: 40px auto 0;
  padding: 28px 20px;
  border: 1px solid rgba(215, 181, 109, .3);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(22, 30, 66, .55), rgba(8, 10, 22, .65));
}
html body.alcor-std.alcor-std .arcana-page .arcana-reading__figure { display: grid; justify-items: center; gap: 12px; width: min(100%, 220px); margin: 0; }
html body.alcor-std.alcor-std .arcana-page .arcana-reading__face { width: 100%; box-shadow: 0 0 0 1px rgba(215, 181, 109, .35), 0 22px 48px rgba(0, 0, 0, .55); }
html body.alcor-std.alcor-std .arcana-page .arcana-reading__face::after { background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(4, 6, 13, .55)); }
html body.alcor-std.alcor-std .arcana-page .arcana-reading__face.is-back { background: var(--card-back) center / 100% 100% no-repeat, #0d1736; }
html body.alcor-std.alcor-std .arcana-page .arcana-reading__face.is-back :is(.arcana-face__img),
html body.alcor-std.alcor-std .arcana-page .arcana-reading__face.is-back::before,
html body.alcor-std.alcor-std .arcana-page .arcana-reading__face.is-back::after { visibility: hidden; }
html body.alcor-std.alcor-std .arcana-page .arcana-reading__figure figcaption { display: grid; gap: 2px; color: var(--quiet, #959dac); font-size: .75rem; line-height: 1.45; text-align: center; }
html body.alcor-std.alcor-std .arcana-page .arcana-reading__figure figcaption > span:first-child { color: rgba(241, 223, 176, .9); }
html body.alcor-std.alcor-std .arcana-page .arcana-reading__out.is-waiting figcaption { visibility: hidden; }
html body.alcor-std.alcor-std .arcana-page .arcana-reading__body { max-width: 52ch; text-align: center; }
html body.alcor-std.alcor-std .arcana-page .arcana-reading__eyebrow { margin: 0 0 10px; }
html body.alcor-std.alcor-std .arcana-page .arcana-reading__cards {
  margin: 0 0 12px;
  color: var(--au-hi);
  font-family: var(--display) !important;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}
html body.alcor-std.alcor-std .arcana-page .arcana-reading__para { margin: 0; color: rgba(246, 240, 228, .92); font-size: 1.0625rem; line-height: 1.65; }
html body.alcor-std.alcor-std .arcana-page .arcana-reading__prompt { margin: 0; color: var(--muted, #b8bec8); font-size: 1rem; line-height: 1.6; }
html body.alcor-std.alcor-std .arcana-page .arcana-reading__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
html body.alcor-std.alcor-std .arcana-page .arcana-reading__note { margin: 14px 0 0; color: var(--quiet, #959dac); font-size: .8125rem; line-height: 1.5; }
@media (min-width: 768px) {
  html body.alcor-std.alcor-std .arcana-page .arcana-reading__out { grid-template-columns: 240px minmax(0, 1fr); justify-items: stretch; align-items: center; gap: 44px; padding: 36px 44px; }
  html body.alcor-std.alcor-std .arcana-page .arcana-reading__figure { width: 240px; }
  html body.alcor-std.alcor-std .arcana-page .arcana-reading__body { text-align: left; }
  html body.alcor-std.alcor-std .arcana-page .arcana-reading__actions { justify-content: flex-start; }
}
/* Until three cards are out, the reading is a compact prompt (no picture, no empty box); creative-arcana.js opens it
 * to full height when the reading is ready. */
html body.alcor-std.alcor-std .arcana-page .arcana-reading__out.is-waiting { display: block; max-width: 560px; padding: 18px 24px; border-style: dashed; border-color: rgba(215, 181, 109, .28); background: rgba(8, 10, 22, .45); }
html body.alcor-std.alcor-std .arcana-page .arcana-reading__out.is-waiting .arcana-reading__figure { display: none; }
html body.alcor-std.alcor-std .arcana-page .arcana-reading__out.is-waiting .arcana-reading__body { max-width: none; text-align: center; }
html body.alcor-std.alcor-std .arcana-page .arcana-reading__out.is-waiting .arcana-reading__eyebrow { margin-bottom: 6px; }
html body.alcor-std.alcor-std .arcana-page .arcana-reading__out.is-waiting .arcana-reading__prompt { font-size: .9375rem; }
@media (max-width: 479px) {
  html body.alcor-std.alcor-std .arcana-page .arcana-pos__label { font-size: 10px; letter-spacing: .1em; }
  html body.alcor-std.alcor-std .arcana-page .arcana-pos__meaning { font-size: .8125rem; }
}

/* ===== 4. In motion: the other clips as a pair. A shot is a 16:9 box the CSS sizes, so nothing shifts when the
 * poster or the video arrives; the video sits on top, transparent until creative-arcana.js marks it playing. ===== */
html body.alcor-std.alcor-std .arcana-page .arcana-motion { padding: var(--section-y, clamp(80px, 9vw, 128px)) 0; background: var(--void, #050608); }
html body.alcor-std.alcor-std .arcana-page .arcana-shot { margin: 0; }
html body.alcor-std.alcor-std .arcana-page .arcana-shot__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-media, 12px);
  background: var(--surface, #0b0d13);
  box-shadow: 0 0 0 1px rgba(215, 181, 109, .2), 0 24px 60px rgba(0, 0, 0, .45);
}
html body.alcor-std.alcor-std .arcana-page :is(.arcana-shot__poster, .arcana-shot__video) {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
html body.alcor-std.alcor-std .arcana-page .arcana-shot__video { opacity: 0; transition: opacity .6s ease; }
html body.alcor-std.alcor-std .arcana-page .arcana-shot__video[hidden] { display: none; }
html body.alcor-std.alcor-std .arcana-page .arcana-shot.is-started .arcana-shot__video,
html body.alcor-std.alcor-std .arcana-page noscript .arcana-shot__video { opacity: 1; }
html body.alcor-std.alcor-std .arcana-page .arcana-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px 24px; }
html body.alcor-std.alcor-std .arcana-page .arcana-note { margin: 14px 0 0; color: var(--quiet, #959dac); font-size: var(--type-small, .875rem); line-height: 1.5; }
@media (min-width: 640px) {
  html body.alcor-std.alcor-std .arcana-page .arcana-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Reduced motion: one 48px round play/pause button per clip (aria-pressed is the state). */
html body.alcor-std.alcor-std .arcana-page .arcana-shot__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  margin: auto;
  padding: 0;
  border: 1px solid rgba(246, 240, 228, .6);
  border-radius: 50%;
  background: rgba(5, 6, 8, .66);
  color: var(--paper, #f6f0e4);
  cursor: pointer;
}
html body.alcor-std.alcor-std .arcana-page .arcana-shot__play::before {
  content: "";
  width: 14px;
  height: 16px;
  margin-left: 3px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
html body.alcor-std.alcor-std .arcana-page .arcana-shot__play[aria-pressed="true"]::before {
  margin-left: 0;
  background: linear-gradient(90deg, currentColor 0 36%, transparent 36% 64%, currentColor 64% 100%);
  clip-path: none;
}
html body.alcor-std.alcor-std .arcana-page .arcana-shot__play:hover { border-color: var(--paper, #f6f0e4); background: rgba(5, 6, 8, .85); }

/* ===== 5. How a job works: four small tarot cards. ===== */
html body.alcor-std.alcor-std .arcana-page .arcana-how {
  padding: var(--section-y, clamp(80px, 9vw, 128px)) 0;
  background: radial-gradient(50% 60% at 50% 60%, rgba(34, 50, 110, .22), transparent 75%), var(--void, #050608);
}
html body.alcor-std.alcor-std .arcana-page .arcana-step-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
html body.alcor-std.alcor-std .arcana-page .arcana-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  aspect-ratio: 2 / 3;
  margin: 0;
  padding: 26px 14px 20px;
  border: 1px solid rgba(215, 181, 109, .42);
  border-radius: 14px;
  background: radial-gradient(90% 60% at 50% 0%, rgba(31, 46, 104, .55), transparent 70%), linear-gradient(180deg, #0b1124, #070a15);
  text-align: center;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .35s ease;
}
html body.alcor-std.alcor-std .arcana-page .arcana-step::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(215, 181, 109, .16);
  border-radius: 9px;
  pointer-events: none;
}
html body.alcor-std.alcor-std .arcana-page .arcana-step:hover { transform: translateY(-4px); border-color: rgba(215, 181, 109, .75); }
html body.alcor-std.alcor-std .arcana-page .arcana-step__n {
  color: var(--au-hi);
  font-family: var(--display) !important;
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
}
/* The card's emblem fills the space between the numeral and the name: a star in a ring with rays. */
html body.alcor-std.alcor-std .arcana-page .arcana-step__emblem {
  position: relative;
  display: grid;
  flex: 1 1 auto;
  place-items: center;
  min-height: 64px;
  width: 100%;
  color: var(--au);
}
html body.alcor-std.alcor-std .arcana-page .arcana-step__emblem::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(215, 181, 109, .32);
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(215, 181, 109, .38) 0 1.5deg, transparent 1.5deg 22.5deg);
  -webkit-mask: radial-gradient(circle, transparent 0 22px, #000 22.5px 25px, transparent 25.5px), radial-gradient(circle, transparent 0 25.5px, #000 26px);
  mask: radial-gradient(circle, transparent 0 22px, #000 22.5px 25px, transparent 25.5px), radial-gradient(circle, transparent 0 25.5px, #000 26px);
  transform: translate(-50%, -50%);
}
html body.alcor-std.alcor-std .arcana-page .arcana-step__emblem .arcana-glyph { width: 20px; height: 20px; filter: drop-shadow(0 0 8px rgba(215, 181, 109, .45)); }
html body.alcor-std.alcor-std .arcana-page .arcana-step h3 {
  margin: 0 0 10px;
  color: var(--paper, #f6f0e4);
  font-family: var(--display) !important;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
}
html body.alcor-std.alcor-std .arcana-page .arcana-step p { max-width: 24ch; margin: 0; color: var(--muted, #b8bec8); font-size: .9375rem; line-height: 1.55; }
@media (max-width: 479px) {
  html body.alcor-std.alcor-std .arcana-page .arcana-step { padding: 22px 10px 16px; }
  html body.alcor-std.alcor-std .arcana-page .arcana-step h3 { font-size: 1.0625rem; }
  html body.alcor-std.alcor-std .arcana-page .arcana-step p { font-size: .875rem; line-height: 1.5; }
}
@media (min-width: 1024px) {
  html body.alcor-std.alcor-std .arcana-page .arcana-step-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  html body.alcor-std.alcor-std .arcana-page .arcana-step { aspect-ratio: 3 / 4; padding: 40px 22px 28px; }
  html body.alcor-std.alcor-std .arcana-page .arcana-step__n { font-size: 2rem; }
  html body.alcor-std.alcor-std .arcana-page .arcana-step h3 { font-size: 1.375rem; }
}

/* ===== 6. What you get and why to trust it, in one band. ===== */
html body.alcor-std.alcor-std .arcana-page .arcana-get { padding: var(--section-y, clamp(80px, 9vw, 128px)) 0; background: var(--surface, #0b0d13); }
html body.alcor-std.alcor-std .arcana-page .arcana-get__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
html body.alcor-std.alcor-std .arcana-page .arcana-get .arcana-head { margin-bottom: 0; }
html body.alcor-std.alcor-std .arcana-page .arcana-list { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; border-bottom: 1px solid var(--line, rgba(246, 240, 228, .1)); }
html body.alcor-std.alcor-std .arcana-page .arcana-list dt { padding: 18px 0 4px; border-top: 1px solid var(--line, rgba(246, 240, 228, .1)); color: var(--paper, #f6f0e4); font-weight: 600; }
html body.alcor-std.alcor-std .arcana-page .arcana-list dd { margin: 0; padding: 0 0 18px; }
html body.alcor-std.alcor-std .arcana-page .arcana-facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; }
html body.alcor-std.alcor-std .arcana-page .arcana-facts > li { position: relative; margin: 0; padding: 22px 0 0 26px; border-top: 1px solid rgba(215, 181, 109, .4); }
html body.alcor-std.alcor-std .arcana-page .arcana-facts .arcana-glyph { position: absolute; left: 0; top: 27px; width: 13px; height: 13px; color: var(--au); }
html body.alcor-std.alcor-std .arcana-page .arcana-facts h3 { margin: 0 0 8px; }
html body.alcor-std.alcor-std .arcana-page .arcana-facts p { margin: 0; }
@media (min-width: 640px) {
  html body.alcor-std.alcor-std .arcana-page .arcana-list { grid-template-columns: minmax(130px, 2fr) minmax(0, 5fr); }
  html body.alcor-std.alcor-std .arcana-page .arcana-list :is(dt, dd) { padding: 18px 0; border-top: 1px solid var(--line, rgba(246, 240, 228, .1)); }
  html body.alcor-std.alcor-std .arcana-page .arcana-list dt { padding-right: 24px; }
}
@media (min-width: 900px) {
  html body.alcor-std.alcor-std .arcana-page .arcana-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
}
@media (min-width: 1024px) {
  html body.alcor-std.alcor-std .arcana-page .arcana-get__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px 72px; align-items: start; }
  html body.alcor-std.alcor-std .arcana-page .arcana-facts { grid-column: 1 / -1; }
}

/* ===== 7. Close, over the starfield, with the Big Dipper and Alcor beside Mizar. ===== */
html body.alcor-std.alcor-std .arcana-page .arcana-close {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(112px, 14vw, 184px) var(--site-gutter, 20px);
  background: radial-gradient(70% 60% at 50% 100%, rgba(215, 181, 109, .13), transparent 70%), radial-gradient(90% 90% at 50% 25%, #0e1736, #04060d 75%);
  text-align: center;
}
html body.alcor-std.alcor-std .arcana-page .arcana-dipper {
  position: absolute;
  top: 12%;
  right: 7%;
  z-index: -1;
  width: clamp(170px, 22vw, 330px);
  height: auto;
  overflow: visible;
  opacity: .7;
}
html body.alcor-std.alcor-std .arcana-page .arcana-dipper__lines { fill: none; stroke: rgba(215, 181, 109, .38); stroke-width: .8; stroke-linejoin: round; }
html body.alcor-std.alcor-std .arcana-page .arcana-dipper__stars { fill: #f6efdc; }
html body.alcor-std.alcor-std .arcana-page .arcana-dipper__alcor { fill: var(--au-hi); }
html body.alcor-std.alcor-std .arcana-page .arcana-dipper text { fill: rgba(215, 181, 109, .8); font: 600 7px/1 var(--font-body, "Inter", sans-serif); letter-spacing: .14em; text-transform: uppercase; }
html body.alcor-std.alcor-std .arcana-page .arcana-close__inner { max-width: 720px; margin: 0 auto; }
html body.alcor-std.alcor-std .arcana-page .arcana-close h2 { margin: 0 auto .5em; font-size: clamp(2.25rem, 1.3rem + 3.2vw, 4.25rem); line-height: 1.06; letter-spacing: -.02em; text-wrap: balance; }
html body.alcor-std.alcor-std .arcana-page .arcana-close p:not(.eyebrow) { max-width: 44ch; margin: 0 auto; }
html body.alcor-std.alcor-std .arcana-page .arcana-close .btn { margin-top: 32px; }
@media (max-width: 639px) {
  html body.alcor-std.alcor-std .arcana-page .arcana-dipper { top: 5%; right: 4%; width: 150px; opacity: .55; }
}

@media (prefers-reduced-motion: reduce) {
  html body.alcor-std.alcor-std .arcana-page .arcana-wordmark { animation: none; background-position: -20% 0, 0 0; }
  html body.alcor-std.alcor-std .arcana-page .arcana-hero__cue::after { animation: none; opacity: .9; transform: translateY(26px); }
  html body.alcor-std.alcor-std .arcana-page :is(.arcana-back, .arcana-pick, .arcana-tarot__face, .arcana-step, .arcana-box__img, .arcana-box__loupe, .arcana-shot__video) { transition: none; }
  html body.alcor-std.alcor-std .arcana-page :is(.arcana-tarot__face, .arcana-step):hover { transform: none; }
  html body.alcor-std.alcor-std .arcana-page .arcana-fan .arcana-back { --lift: 0px; }
  html body.alcor-std.alcor-std .arcana-page .arcana-box[open] { animation: none; }
  html body.alcor-std.alcor-std .arcana-page .arcana-stage .arcana-slot::before { animation: none; }
  html body.alcor-std.alcor-std .arcana-page .arcana-shot--hero noscript .arcana-shot__video { display: none; }
}

/* Design samples: hand-built pieces with a stage switcher (owner 2026-10-30). */
html body.alcor-std.alcor-std .arcana-page .arcana-design__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px 24px; align-items: start; }
@media (min-width: 640px) { html body.alcor-std.alcor-std .arcana-page .arcana-design__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { html body.alcor-std.alcor-std .arcana-page .arcana-design__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
html body.alcor-std.alcor-std .arcana-page .arcana-piece { margin: 0; }
html body.alcor-std.alcor-std .arcana-page .arcana-piece__frame { overflow: hidden; border-radius: 6px; background: #14141a; }
html body.alcor-std.alcor-std .arcana-page .arcana-piece__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
html body.alcor-std.alcor-std .arcana-page .arcana-piece__frame img[hidden] { display: none; }
html body.alcor-std.alcor-std .arcana-page .arcana-piece__stages { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 12px; }
html body.alcor-std.alcor-std .arcana-page .arcana-piece__stages button { flex: 1 1 auto; min-height: 44px; padding: 0 8px; border: 1px solid rgba(246, 240, 228, .18); border-radius: 6px; background: transparent; color: var(--quiet, #959dac); font-size: var(--type-small, .875rem); cursor: pointer; }
html body.alcor-std.alcor-std .arcana-page .arcana-piece__stages button[aria-pressed="true"] { border-color: #53d9d4; color: #f6f0e4; }
html body.alcor-std.alcor-std .arcana-page .arcana-piece__stages button:focus-visible { outline: 2px solid #f6f0e4; outline-offset: 2px; }
html body.alcor-std.alcor-std .arcana-page .arcana-piece figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; color: var(--quiet, #959dac); font-size: var(--type-small, .875rem); line-height: 1.5; }
html body.alcor-std.alcor-std .arcana-page .arcana-piece figcaption strong { color: #f6f0e4; font-weight: 600; }
html body.alcor-std.alcor-std .arcana-page .arcana-design .arcana-note { margin-top: 28px; }
html body.alcor-std.alcor-std .arcana-page .arcana-design__cta { margin-top: 20px; }

/* The phone cut is already framed for a tall screen. */
.arcana-shot__picture { display: contents; }
@media (max-width: 639px) {
  html body.alcor-std.alcor-std .arcana-page .arcana-shot--hero :is(.arcana-shot__poster, .arcana-shot__video) { object-position: 50% 50%; }
}

/* Deck note on phones: two even lines of text, then the link on its own line. */
.arcana-deck__break { display: none; }
@media (max-width: 639px) {
  .arcana-deck__break { display: inline; }
  html body.alcor-std.alcor-std .arcana-page .arcana-deck__note .link-arrow { display: flex; width: fit-content; margin: 8px auto 0; }
}
/* Owner 2026-10-31: the four design pieces are one size. Every frame is 7:10 and each piece fits inside it whole
   (no crop: the posters' type runs close to their edges). */
html body.alcor-std.alcor-std .arcana-page .arcana-piece__frame { aspect-ratio: 7 / 10; }
html body.alcor-std.alcor-std .arcana-page .arcana-piece__frame img { object-fit: contain; }
