/* Hallmark · macrostructure: studied-DNA (Sobha Privy Collection) · tone: luxury · anchor hue: champagne · pre-emit critique: P5 H4 E4 S5 R4 V5 */
/* PACKAI: a private viewing. Ink and ivory chrome, the cards are the only colour. Palette and rules: brand/STYLE.md */
@font-face { font-family: 'Cormorant Garamond'; src: url(/assets/fonts/cormorant-garamond-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url(/assets/fonts/cormorant-garamond-latin-500-italic.woff2) format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Pinyon Script'; src: url(/assets/fonts/pinyon-script-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(/assets/fonts/figtree-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(/assets/fonts/figtree-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(/assets/fonts/figtree-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --ink: #0c0b0a; --ivory: #ede6d6; --paper: #f4efe4; --ash: #8d877b; --stone: #b5ae9f; --umber: #5d574c; --champagne: #b89b6a;
  --hair-d: rgba(237, 230, 214, .18); --hair-l: rgba(12, 11, 10, .16);
  --ink-88: rgba(12, 11, 10, .88); --ink-94: rgba(12, 11, 10, .94); --ink-72: rgba(12, 11, 10, .72); --ink-60: rgba(12, 11, 10, .6); --ink-55: rgba(12, 11, 10, .55); --ink-0: rgba(12, 11, 10, 0);
  --glow: #2a2621; --vitrine: #171513; --unlit: #6e685c; --rod-a: #fff6e2; --rod-b: #d9c49a; --err-d: #e48b7b; --err-l: #9c2f1d;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif; --script: 'Pinyon Script', 'Snell Roundhand', cursive; --sans: 'Figtree', system-ui, sans-serif;
  --pad: clamp(18px, 4.6vw, 72px); --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; color: var(--ivory); background: var(--ink); font: 400 16px/1.6 var(--sans); overflow-x: clip; }
html { overflow-x: clip; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
main { display: block; min-height: 100vh; outline: none; }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }
.ivory :focus-visible, .sheet-l :focus-visible { outline-color: var(--ink); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ivory); color: var(--ink); padding: 10px 14px; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nojs { padding: 140px var(--pad); }

/* ---------- type ---------- */
.caps { font: 500 clamp(44px, 7.4vw, 128px)/1.02 var(--serif); overflow-wrap: anywhere; min-width: 0; text-transform: uppercase; letter-spacing: -.005em; margin: 0; }
.caps.m { font-size: clamp(36px, 5.2vw, 88px); line-height: 1.02; }
.caps.s { font-size: clamp(30px, 3.6vw, 56px); line-height: 1; }
.script { font: 400 clamp(46px, 6.4vw, 112px)/1 var(--script); text-transform: none; letter-spacing: 0; display: block; }
.title { position: relative; margin: 0; text-align: center; }
.title .script { margin-bottom: -.32em; position: relative; z-index: 1; }
.title.left { text-align: left; }
.lede { font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6; max-width: 40ch; margin: 0; }
.muted { color: var(--stone); }
.ivory .muted, .sheet-l .muted { color: var(--umber); }
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.line > span { display: block; }

/* ---------- links and buttons: hairline underline sweep ---------- */
.ul { position: relative; text-decoration: none; background: none; border: 0; padding: 0 0 4px; cursor: pointer; font: 500 15px/1.2 var(--sans); }
.ul::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(.28); transform-origin: left; transition: transform .7s var(--ease); }
.ul:hover::after, .ul:focus-visible::after { transform: scaleX(1); }
.pill { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 28px; border-radius: 999px; border: 1px solid currentColor; background: transparent; cursor: pointer; text-decoration: none; font: 500 15px/1 var(--sans); transition: background .5s var(--ease), color .5s var(--ease); }
.pill:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.ivory .pill:hover, .sheet-l .pill:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.pill[disabled] { opacity: .45; cursor: not-allowed; }
.pill .arw { width: 18px; height: 18px; }

/* ---------- header: three zones, blends over ink and ivory ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px var(--pad); color: var(--ivory); pointer-events: none; transition: transform .6s var(--ease); }
.bar > * { pointer-events: auto; }
.bar.hide { transform: translateY(-110%); }
.bar.solid { background: var(--ink-88); }
.burger { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; cursor: pointer; font: 500 13px/1 var(--sans); padding: 8px 0; justify-self: start; }
.burger .lines { display: grid; gap: 5px; width: 22px; }
.burger .lines i { height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.burger[aria-expanded="true"] .lines i:first-child { transform: translateY(3px) rotate(18deg); }
.burger[aria-expanded="true"] .lines i:last-child { transform: translateY(-3px) rotate(-18deg); }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark img { width: 28px; height: 28px; }
.mark span { font: 500 20px/1 var(--serif); text-transform: uppercase; letter-spacing: .02em; }
.tools { justify-self: end; display: flex; align-items: center; gap: 14px; }
.ca, .connect { background: none; border: 0; cursor: pointer; font: 500 13px/1 var(--sans); padding: 8px 0; white-space: nowrap; }
.ca-k { color: var(--champagne); }
.buy { font: 500 13px/1 var(--sans); text-decoration: none; padding: 10px 16px; border: 1px solid currentColor; border-radius: 999px; white-space: nowrap; transition: background .4s, color .4s; }
.buy:hover { background: var(--ivory); color: var(--ink); }
.connect { border-bottom: 1px solid var(--hair-d); padding-bottom: 6px; }
.ic { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--hair-d); }
.ic svg, .ic img { width: 16px; height: 16px; }
.ic:hover { border-color: var(--ivory); }

/* menu drawer */
.drawer { position: fixed; inset: 0; z-index: 35; background: var(--ink); display: grid; align-items: center; padding: 100px var(--pad) 60px; clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease); }
.drawer.open { clip-path: inset(0 0 0 0); }
.drawer-in { display: grid; gap: 4px; justify-items: start; }
.drawer a, .drawer button { font: 500 clamp(40px, 7vw, 96px)/1.04 var(--serif); text-transform: uppercase; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ivory); transition: color .4s, transform .6s var(--ease); }
.drawer a:hover, .drawer button:hover { color: var(--champagne); transform: translateX(14px); }
.drawer em { font: 400 .62em/1 var(--script); text-transform: none; font-style: normal; color: var(--champagne); margin-right: .2em; }

/* ---------- home: hero (ink, silk shader) ---------- */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; background: var(--ink); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fallback { position: absolute; inset: 0; background: radial-gradient(60% 50% at 62% 42%, var(--glow) 0%, var(--ink-0) 70%); }
.hero-in { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 var(--pad); }
.hero h1 .script { font-size: clamp(64px, 9vw, 160px); }
.hero h1 .caps { font-size: clamp(50px, 8.6vw, 150px); }
.hero .lede { margin: 28px auto 0; color: var(--stone); text-align: center; max-width: 46ch; text-shadow: 0 0 14px var(--ink), 0 0 4px var(--ink), 0 0 2px var(--ink); }
.hero-down { position: absolute; left: var(--pad); bottom: 30px; width: 44px; height: 44px; border: 1px solid var(--hair-d); border-radius: 50%; display: grid; place-items: center; animation: nudge 2.6s var(--ease) infinite; }
.hero-down svg { width: 14px; height: 14px; }
@keyframes nudge { 50% { transform: translateY(6px); } }
.hero-deploy { position: absolute; right: var(--pad); bottom: 30px; display: grid; grid-template-columns: 64px auto; gap: 16px; align-items: end; text-align: left; background: none; border: 0; cursor: pointer; padding: 0; color: var(--ivory); }
.hero-deploy .card { width: 64px; }
.hero-deploy b { font: 500 13px/1.3 var(--sans); display: block; }
.hero-deploy small { color: var(--stone); font-size: 13px; }

/* ---------- ivory sheet that slides over the hero ---------- */
.ivory { background: var(--ivory); color: var(--ink); position: relative; z-index: 2; }
.ink { background: var(--ink); color: var(--ivory); position: relative; z-index: 2; }
.set-intro { padding: 18vh var(--pad) 0; }
.set-intro .title { margin-bottom: 7vh; }
.set-intro .lede { margin: 0 auto; text-align: center; color: var(--umber); }
.strip { position: relative; height: 140vh; margin-top: 8vh; }
.strip-stage { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.hang { position: absolute; }
.hang .card { width: 100%; box-shadow: 0 30px 60px -30px var(--ink-55); }
.strip .h1 { left: 0; top: 34%; width: clamp(120px, 15vw, 230px); }
.strip .h3 { right: 0; top: 30%; width: clamp(120px, 15vw, 230px); }
.strip .h2 { width: clamp(220px, 26vw, 400px); }
.strip-cap { position: absolute; bottom: 5vh; left: 0; right: 0; text-align: center; font-size: 14px; color: var(--umber); }

/* statement with hung cards */
.statement { position: relative; padding: 16vh var(--pad) 22vh; min-height: 120vh; }
.statement .caps { max-width: 12.5em; position: relative; z-index: 1; }
.statement .script-over { position: absolute; z-index: 2; font: 400 clamp(52px, 7vw, 124px)/1 var(--script); color: var(--umber); right: 22%; top: calc(16vh + 4.2em); white-space: nowrap; }
.statement .hang .card { box-shadow: 0 30px 60px -32px var(--ink-60); }
.statement .s1 { right: var(--pad); top: 12vh; width: clamp(130px, 16vw, 250px); }
.statement .s2 { right: 30%; bottom: 6vh; width: clamp(110px, 12vw, 190px); }
.statement .s3 { left: var(--pad); bottom: 2vh; width: clamp(100px, 10vw, 160px); }
.statement .lede { margin-top: 6vh; color: var(--umber); max-width: 44ch; position: relative; z-index: 1; }

/* full-bleed lot with drifting light rods */
.lot { position: relative; height: 130vh; overflow: hidden; background: var(--ink); z-index: 2; }
.lot-img { position: absolute; inset: -10% 0; background-size: cover; background-position: center; filter: saturate(.92) brightness(.6); }
.lot .rod { position: absolute; width: 14px; height: 38vh; border-radius: 10px; background: linear-gradient(var(--rod-a), var(--rod-b)); filter: blur(5px); opacity: .55; }
.lot-cap { position: absolute; left: 0; right: 0; bottom: 14vh; text-align: center; padding: 0 var(--pad); }
.lot-cap .lede { margin: 20px auto 0; color: var(--ivory); text-align: center; }

/* manifesto scrubbed word by word */
.manifesto { padding: 26vh var(--pad) 14vh; }
.manifesto .caps { max-width: 14em; }
.manifesto .w { color: var(--unlit); transition: none; }
.manifesto .w.lit { color: var(--ivory); }
.counts { display: flex; flex-wrap: wrap; gap: clamp(24px, 6vw, 110px); margin: 12vh 0 0; padding: 0; list-style: none; }
.counts li { display: grid; gap: 8px; }
.counts b { font: 500 clamp(48px, 6vw, 96px)/1 var(--serif); font-variant-numeric: lining-nums; }
.counts span { color: var(--stone); font-size: 15px; }

/* the live pull lots */
.pulls { padding: 4vh var(--pad) 18vh; }
.pulls-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--hair-d); padding-bottom: 24px; }
.lots { list-style: none; margin: 0; padding: 0; }
.lots li { display: grid; grid-template-columns: 74px minmax(0, 1.2fr) minmax(0, 2fr) auto; gap: 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--hair-d); }
.lots .card { width: 74px; }
.lots .who a { font: 500 26px/1.1 var(--serif); text-transform: uppercase; text-decoration: none; }
.lots .who p { margin: 6px 0 0; color: var(--stone); font-size: 15px; }
.lots q { font: italic 500 21px/1.35 var(--serif); color: var(--ivory); quotes: '\201C' '\201D'; }
.lots .off { color: var(--stone); font-size: 15px; }
.lots time { color: var(--stone); font-size: 14px; white-space: nowrap; text-align: right; }
.lots time a { display: block; margin-top: 6px; }
.empty { padding: 48px 0; font: italic 500 clamp(22px, 2.2vw, 30px)/1.35 var(--serif); color: var(--stone); max-width: 30ch; }
.ivory .empty { color: var(--umber); }
.empty .pill { margin-top: 28px; font-style: normal; }

/* personalities: framed card that scales down beside a paragraph */
.persona { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6vw; align-items: center; padding: 18vh var(--pad); }
.persona-frame { overflow: hidden; aspect-ratio: 4 / 5; position: relative; background: var(--paper); display: grid; place-items: center; }
.persona-frame .card { width: 58%; }
.persona dl { margin: 40px 0 0; display: grid; gap: 22px; }
.persona dt { font: 500 28px/1 var(--serif); text-transform: uppercase; }
.persona dd { margin: 6px 0 0; color: var(--umber); max-width: 40ch; }

/* five rarities on a turning cylinder */
.rarities { position: relative; height: 320vh; }
.rar-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; perspective: 1400px; }
.rar-stage .title { position: absolute; top: 12vh; left: 0; right: 0; z-index: 3; pointer-events: none; }
.cyl { position: relative; width: clamp(180px, 20vw, 300px); aspect-ratio: 5 / 7; transform-style: preserve-3d; margin-top: 16vh; }
.cyl figure { position: absolute; inset: 0; margin: 0; backface-visibility: hidden; transform-style: preserve-3d; }
.cyl figcaption { position: absolute; left: 0; right: 0; top: calc(100% + 16px); text-align: center; font: 500 22px/1 var(--serif); text-transform: uppercase; }
.cyl figcaption small { display: block; margin-top: 6px; font: 400 14px/1.3 var(--sans); text-transform: none; color: var(--stone); }

/* collectors: chapters with a ring badge and a giant name rising from a mask */
.chapters { padding: 10vh 0 6vh; }
.chapter { position: relative; text-align: center; padding: 0 0 16vh; }
.chapter-img { height: 62vh; overflow: hidden; background: var(--vitrine); display: grid; grid-auto-flow: column; justify-content: center; align-items: center; gap: clamp(10px, 2vw, 28px); padding: 0 var(--pad); }
.chapter-img .card { width: clamp(90px, 13vw, 200px); }
.ring { width: 64px; height: 64px; border: 1px solid var(--ivory); border-radius: 50%; display: grid; place-items: center; margin: -32px auto 0; background: var(--ink); position: relative; font: 500 16px/1 var(--serif); }
.chapter .sub { margin: 18px 0 0; color: var(--stone); font-size: 15px; }
.chapter .caps { margin-top: 3vh; }
.chapter .caps a { text-decoration: none; }
.chapter .ul { margin-top: 26px; display: inline-block; }

/* fair ledger and the deploy finale */
.ledger { padding: 18vh var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6vw; }
.formula { margin: 34px 0 0; font: italic 500 clamp(20px, 1.8vw, 26px)/1.5 var(--serif); border-left: 1px solid var(--champagne); padding-left: 22px; }
.odds { width: 100%; border-collapse: collapse; font-size: 16px; }
.odds th { text-align: left; font: 500 15px/1 var(--sans); color: var(--umber); padding: 0 0 14px; }
.odds td { padding: 18px 0; border-top: 1px solid var(--hair-l); vertical-align: top; }
.odds td:first-child { font: 500 22px/1.1 var(--serif); text-transform: uppercase; width: 38%; }
.finale { padding: 22vh var(--pad); text-align: center; }
.finale .lede { margin: 30px auto 0; color: var(--stone); text-align: center; }
.finale .pill { margin-top: 44px; }

/* ---------- inner pages ---------- */
.page-head { padding: 22vh var(--pad) 10vh; }
.page-head .lede { margin-top: 28px; color: var(--stone); }
.ivory.page-head .lede, .ivory .page-head .lede { color: var(--umber); }
.roster { list-style: none; margin: 0; padding: 0 var(--pad) 16vh; }
.roster li { border-top: 1px solid var(--hair-d); }
.roster a.row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 30px 0; text-decoration: none; }
.roster .ring { margin: 0; }
.roster .nm { font: 500 clamp(34px, 5vw, 80px)/1 var(--serif); text-transform: uppercase; transition: transform .7s var(--ease); }
.roster a.row:hover .nm { transform: translateX(16px); }
.roster .meta { color: var(--stone); font-size: 15px; text-align: right; }
.roster .mini { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.roster .mini .card { width: 46px; }

.agent-hero { padding: 20vh var(--pad) 10vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 6vw; align-items: end; }
.prov { margin: 40px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 14px 28px; font-size: 15px; }
.prov dt { color: var(--stone); }
.prov dd { margin: 0; }
.prov a { text-decoration-color: var(--hair-d); text-underline-offset: 4px; }
.quote { font: italic 500 clamp(22px, 2vw, 30px)/1.35 var(--serif); margin: 36px 0 0; border-left: 1px solid var(--champagne); padding-left: 22px; }
.show { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.block { padding: 14vh var(--pad); }
.block-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 6vh; }
.bars { display: grid; gap: 18px; max-width: 760px; }
.bar-r { display: grid; grid-template-columns: 150px 1fr 60px; gap: 18px; align-items: center; font-size: 15px; }
.bar-r i { height: 1px; background: var(--hair-l); position: relative; display: block; }
.bar-r i b { position: absolute; left: 0; top: -1px; height: 3px; background: var(--ink); }
.bar-r span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.binder { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 10px; }
.binder .slot { aspect-ratio: 5 / 7; border: 1px solid var(--hair-l); display: grid; place-items: center; color: var(--umber); font: 500 15px/1 var(--serif); }
.binder .slot.has { border: 0; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline > li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 4vw; padding: 44px 0; border-top: 1px solid var(--hair-d); }
.timeline .pk { font: 500 30px/1 var(--serif); text-transform: uppercase; }
.timeline .pk small { display: block; margin-top: 10px; font: 400 14px/1.5 var(--sans); text-transform: none; color: var(--stone); }
.five { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(8px, 1vw, 16px); }
.timeline q { display: block; margin-top: 22px; font: italic 500 22px/1.35 var(--serif); }
.timeline .tx { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--stone); }
.notice { margin: 18px 0 0; color: var(--stone); font-size: 15px; max-width: 56ch; }
.ivory .notice { color: var(--umber); }
.err { color: var(--err-d); }
.ivory .err, .sheet-l .err { color: var(--err-l); }

.set-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 42vw), 1fr)); gap: clamp(12px, 1.6vw, 26px); padding: 0 var(--pad) 16vh; }
.filters { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0 var(--pad) 6vh; }
.filters button { background: none; border: 0; border-bottom: 1px solid transparent; padding: 6px 0; cursor: pointer; font: 500 15px/1 var(--sans); color: var(--umber); }
.filters button.on, .filters button:hover { color: var(--ink); border-bottom-color: var(--ink); }
.set-top { display: grid; grid-template-columns: minmax(0, 1fr) clamp(140px, 16vw, 230px); gap: 6vw; align-items: end; }

.fairform { display: grid; gap: 22px; max-width: 900px; padding: 0 var(--pad); }
.fairform .two { display: grid; grid-template-columns: 220px 1fr; gap: 22px; }
.field { display: grid; gap: 10px; font-size: 15px; }
.field input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid currentColor; padding: 12px 0; font: 500 20px/1.2 var(--serif); }
.ivory .field input { color: var(--ink); }
.derived { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(170px, 42vw), 1fr)); gap: 22px; padding: 8vh var(--pad) 14vh; }
.derived .h { margin-top: 12px; font-size: 13px; color: var(--umber); word-break: break-all; }

/* ---------- modal sheets ---------- */
.modal { position: fixed; inset: 0; z-index: 60; background: var(--ink-72); display: grid; justify-items: end; }
.modal[hidden] { display: none; }
.sheet { width: min(640px, 100%); height: 100%; overflow-y: auto; background: var(--ink); color: var(--ivory); padding: 90px clamp(22px, 4vw, 56px) 56px; position: relative; animation: slidein .8s var(--ease); border-left: 1px solid var(--hair-d); }
.sheet.sheet-l { background: var(--ivory); color: var(--ink); }
.sheet.zoomed { width: 100%; max-width: none; display: grid; place-items: center; background: var(--ink-94); border: 0; }
.sheet .zoom { width: min(420px, 82vw); }
.sheet .zoom-cap { margin-top: 20px; text-align: center; color: var(--stone); font-size: 15px; }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } }
.x { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; background: none; cursor: pointer; font-size: 20px; line-height: 1; }
.dep { display: grid; gap: 30px; margin-top: 34px; }
.dep fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.dep legend { font: 500 15px/1 var(--sans); color: var(--stone); margin-bottom: 12px; }
.opt { display: grid; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--hair-d); cursor: pointer; transition: color .3s, border-color .3s; }
.opt label b { font: 500 24px/1 var(--serif); text-transform: uppercase; }
.opt label span { color: var(--stone); font-size: 14px; grid-column: 1 / -1; }
.opt label em { font-style: normal; color: var(--stone); font-size: 14px; align-self: center; }
.opt input:checked + label { box-shadow: inset 3px 0 0 var(--champagne); padding-left: 18px; border-bottom-color: var(--champagne); }
.opt input:checked + label b { color: var(--champagne); }
.opt input:focus-visible + label { outline: 2px solid var(--champagne); outline-offset: 2px; }
.types { display: flex; flex-wrap: wrap; gap: 8px; }
.types input { position: absolute; opacity: 0; }
.types label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border: 1px solid var(--hair-d); border-radius: 999px; cursor: pointer; font-size: 14px; }
.types label .ty { width: 20px; height: 20px; }
.types input:checked + label { border-color: var(--champagne); }
.types input:focus-visible + label { outline: 2px solid var(--champagne); }
.status { min-height: 1.5em; font-size: 15px; color: var(--stone); margin: 0; }

/* ---------- page curtain ---------- */
.curtain { position: fixed; inset: 0; z-index: 80; background: var(--ink); pointer-events: none; transform: scaleY(0); transform-origin: bottom; }

/* ---------- footer ---------- */
.foot { position: relative; z-index: 2; background: var(--ink); border-top: 1px solid var(--hair-d); padding: 14vh var(--pad) 40px; text-align: center; }
.foot-big img { width: clamp(70px, 9vw, 120px); height: auto; margin: 0 auto; }
.foot-line { margin: 34px auto 0; color: var(--stone); max-width: 44ch; font-size: 15px; }
.foot-links { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; font-size: 14px; color: var(--stone); }
.foot-links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ivory); }
.foot-links svg, .foot-links img { width: 15px; height: 15px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .ca, .connect { font-size: 12px; }
  .tools { gap: 10px; }
  .mark span { display: none; }
}
@media (max-width: 860px) {
  .bar { grid-template-columns: auto 1fr; padding: 14px 16px; gap: 10px; }
  .mark { display: none; }
  .tools { gap: 8px; }
  .ca { display: none; }
  .connect { font-size: 12px; }
  .buy { padding: 8px 12px; font-size: 12px; }
  .persona, .ledger, .agent-hero, .set-top { grid-template-columns: 1fr; }
  .lots li { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; }
  .lots .card { width: 56px; }
  .lots q, .lots .off { grid-column: 2; }
  .lots time { grid-column: 2; text-align: left; }
  .statement .script-over { right: auto; left: var(--pad); top: auto; bottom: 30vh; }
  .statement .s1 { top: auto; bottom: 8vh; }
  .binder { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .timeline > li { grid-template-columns: 1fr; gap: 18px; }
  .roster a.row { grid-template-columns: 48px minmax(0, 1fr); }
  .roster .ring { width: 48px; height: 48px; }
  .roster .meta { grid-column: 2; text-align: left; }
  .roster .mini { justify-content: flex-start; }
  .fairform .two { grid-template-columns: 1fr; }
  .chapter-img { height: 46vh; }
  .hero-deploy small { display: none; }
}
@media (max-width: 520px) {
  .connect { display: none; }
  .burger > span:last-child { display: none; }
  .strip .h1, .strip .h3 { width: 86px; }
  .five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bar-r { grid-template-columns: 100px 1fr 44px; gap: 10px; }
  .show { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter-img .card:nth-child(n+3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .strip, .rarities { height: auto; }
  .strip-stage, .rar-stage { position: relative; height: auto; min-height: 100vh; }
  .drawer { transition: none; }
}

/* nothing may push the page sideways: scaled lots, hung cards and the cylinder stay inside the viewport */
#app, .foot { overflow-x: clip; }
.hero-deploy .bk-word { display: none; }
.hero-deploy .bk img { width: 46cqw; }
.light-top .bar { background: var(--ink-88); }
.drawer-tools { display: none; }
@media (max-width: 860px) {
  .drawer { align-content: center; gap: 48px; }
  .drawer-tools { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; }
  .drawer .drawer-tools button { font: 500 14px/1 var(--sans); text-transform: none; color: var(--ivory); }
  .drawer .drawer-tools .connect { display: inline-block; border-bottom: 1px solid var(--hair-d); padding-bottom: 6px; }
  .drawer .drawer-tools .ca { display: inline-block; }
}

/* pressed and unavailable states */
.pill:active, .buy:active, .connect:active, .ca:active, .burger:active, .filters button:active, .ul:active, button[type=submit]:active { transform: translateY(1px) scale(.985); }
.pill:disabled, .buy:disabled, .connect:disabled, .ca:disabled, .filters button:disabled, button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.title { overflow-wrap: anywhere; min-width: 0; }
