/* THRONE. One stylesheet for every page. Layout language from brand/INSPO.md, palette from the logo. */
@font-face { font-family: 'Archivo'; src: url('/assets/fonts/archivo.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('/assets/fonts/switzer-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('/assets/fonts/switzer-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('/assets/fonts/switzer-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --ivory: #f3ecd9; --ivory-2: #e9e0c6; --ink: #111a13; --soft: #48564b; --rule: rgba(17, 26, 19, .38);
  --forest: #11432d; --night: #0a1a12; --night-2: #12261b; --mist: #b9c6ba; --rule-d: rgba(243, 236, 217, .34);
  --gold: #f7bd27; --gold-ink: #0e3523;
  --g: clamp(12px, 1.15vw, 34px); --r: clamp(8px, .6vw, 14px); --r-lg: clamp(16px, 1.45vw, 40px);
  --out: cubic-bezier(.16, 1, .3, 1); --inout: cubic-bezier(.76, 0, .24, 1);
  --wide: 'Archivo', 'Arial Black', sans-serif; --text: 'Switzer', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: clamp(15px, calc(.5vw + 8px), 22px); -webkit-text-size-adjust: 100%; background: var(--night); }
html { overflow-x: clip; }
body { font-family: var(--text); font-weight: 400; line-height: 1.35; color: var(--ink); background: var(--ivory); letter-spacing: -.004em; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; overflow-wrap: normal; word-break: keep-all; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: var(--gold); color: var(--gold-ink); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: var(--g); top: -80px; z-index: 90; background: var(--gold); color: var(--gold-ink); padding: .6em 1em; border-radius: var(--r); }
.skip:focus { top: var(--g); }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 2.4em; min-height: 2.75rem; padding: .62em .95em .62em 1em; border: 1px solid currentColor; border-radius: var(--r); background: transparent; font-weight: 500; font-size: .95rem; line-height: 1.1; text-decoration: none; cursor: pointer; white-space: nowrap; position: relative; overflow: hidden; isolation: isolate; transition: color .35s var(--out); }
.btn::before { content: ''; position: absolute; inset: 0; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .55s var(--out); z-index: -1; opacity: .13; }
.btn::after { content: ''; width: .5em; height: .5em; border-radius: 50%; border: 1px solid currentColor; flex: none; transition: transform .45s var(--out), background-color .25s; }
.btn:hover::before { transform: scaleX(1); }
.btn:hover::after { background: currentColor; transform: scale(1.35); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:disabled:hover::before { transform: scaleX(0); }
.btn.solid { background: var(--solid, var(--gold)); border-color: var(--solid, var(--gold)); color: var(--solid-ink, var(--gold-ink)); }
.icon { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid currentColor; border-radius: var(--r); text-decoration: none; flex: none; transition: background-color .25s, transform .4s var(--out); }
.icon:hover { background: color-mix(in srgb, currentColor 13%, transparent); transform: translateY(-2px); }
.icon svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }
.icon.pump svg { width: 1.2rem; height: 1.2rem; }
.ca { display: inline-flex; align-items: center; gap: .6em; min-height: 2.75rem; padding: 0 .9em; border: 1px solid currentColor; border-radius: var(--r); background: none; font-size: .9rem; font-weight: 500; cursor: pointer; white-space: nowrap; }
.link { text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }

/* the paste box */
.paste { display: flex; gap: .5rem; width: min(100%, 36rem); }
.paste input { flex: 1; min-width: 0; min-height: 2.9rem; padding: 0 1em; border: 1px solid currentColor; border-radius: var(--r); background: color-mix(in srgb, currentColor 7%, transparent); font-size: 1rem; }
.paste input::placeholder { color: currentColor; opacity: .72; }
.paste .btn { min-height: 2.9rem; }
.paste-note { min-height: 1.4em; margin-top: .5rem; font-size: .9rem; }

/* ---------- floating nav ---------- */
.nav { position: fixed; z-index: 60; top: var(--g); left: 50%; width: min(47rem, calc(100% - 2 * var(--g))); transform: translate(-50%, 0); display: flex; align-items: center; gap: .45rem; padding: .35rem; border-radius: calc(var(--r) + 3px); background: var(--gold); color: var(--gold-ink); transition: transform .7s var(--out), visibility 0s; }
.nav.away { transform: translate(-50%, calc(-100% - var(--g) - 4px)); visibility: hidden; transition: transform .5s var(--inout), visibility 0s .5s; }
.nav .brand { display: flex; align-items: center; gap: .55rem; margin-right: auto; padding-left: .15rem; text-decoration: none; font-family: var(--wide); font-stretch: 125%; font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; }
.nav .brand img { width: 2.5rem; height: 2.5rem; border-radius: calc(var(--r) - 1px); }
.nav .btn { min-width: 8.5rem; }
.nav .btn.menu-btn::after { width: .8em; height: .5em; border-radius: 0; border-width: 1px 0; }
.nav .btn.solid { min-width: 0; gap: 1.2em; }

.menu { position: fixed; z-index: 59; left: 50%; top: calc(var(--g) + 3.9rem); width: min(47rem, calc(100% - 2 * var(--g))); transform: translateX(-50%); background: var(--gold); color: var(--gold-ink); border-radius: calc(var(--r) + 3px); padding: var(--g) var(--g) calc(var(--g) * .8); clip-path: inset(0 0 100% 0 round 12px); visibility: hidden; transition: clip-path .6s var(--inout), visibility 0s .6s; }
.menu.open { clip-path: inset(0 0 0 0 round 12px); visibility: visible; transition: clip-path .6s var(--inout), visibility 0s; }
.menu a { display: block; padding: .18em 0 .24em; border-top: 1px solid rgba(14, 53, 35, .4); text-decoration: none; font-size: clamp(1.9rem, 3.2vw, 3.4rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; transition: padding-left .5s var(--out); }
.menu a:hover { padding-left: .35em; }
.menu p { margin-top: .8rem; font-size: .9rem; }

/* ---------- the cover ---------- */
.cover { --bg-k: var(--forest); --ink-k: var(--ivory); position: sticky; top: 0; z-index: 0; height: 100vh; height: 100svh; min-height: 38rem; overflow: hidden; color: var(--ink-k); background: var(--bg-k); transition: color .5s var(--out); }
.cover canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-in { position: relative; display: flex; flex-direction: column; height: 100%; padding: var(--g); transform-origin: 50% 20%; will-change: transform, opacity; }
.mark { display: block; width: 100%; font-family: var(--wide); font-stretch: 125%; font-weight: 800; font-size: 17vw; line-height: .74; letter-spacing: -.018em; white-space: nowrap; padding-top: .015em; }
.mark > span { display: inline-block; }
.mark .ch { display: inline-block; overflow: hidden; vertical-align: top; padding: .02em 0; }
.mark .ch i { display: inline-block; font-style: normal; }
.cover-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: .8rem; align-items: start; margin-top: calc(var(--g) * .75); font-size: .93rem; font-weight: 500; line-height: 1.22; }
.cover-row > * { grid-column: span 2; min-width: 0; }
.cover-row .facts > * { grid-column: span 2; }
.cover-row .links { list-style: none; }
.cover-row .links a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--out); }
.cover-row .links a:hover { background-size: 100% 1px; }
.cover-row .tools { grid-column: 9 / -1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem; }
.cover-row b { font-weight: 600; display: block; font-size: 1.55rem; line-height: 1.05; letter-spacing: -.02em; }
.cover-say { margin-top: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--g); }
.say { font-size: clamp(2.5rem, 5.4vw, 9.2rem); line-height: .98; letter-spacing: -.035em; font-weight: 500; max-width: 15.5em; overflow-wrap: break-word; word-break: normal; }
.say.long { font-size: clamp(2.2rem, 4.4vw, 7.4rem); }
.say .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .1em; margin-bottom: -.1em; }
.say .w i, .card-k .w i, .shout .w i { display: inline-block; font-style: normal; white-space: nowrap; }
.card-k .ln .w, .shout .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.say-acts { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.4rem; }
.say-note { font-size: 1.1rem; font-weight: 500; margin-bottom: .8rem; display: flex; align-items: center; gap: .6rem; }
.say-note img { width: 2rem; height: 2rem; border-radius: 50%; object-fit: cover; }
.cover-foot { text-align: right; font-weight: 500; font-size: .95rem; white-space: nowrap; }
.cover-foot a { text-decoration: none; }
.cover-foot span { display: inline-block; margin-left: .6em; animation: nod 2.2s var(--inout) infinite; }
@keyframes nod { 50% { transform: translateY(.35em); } }
.crown-drop { position: absolute; right: var(--g); top: 50%; width: clamp(90px, 12vw, 300px); border-radius: var(--r-lg); transform: translateY(-40%) rotate(0); opacity: 0; pointer-events: none; }

/* ---------- sheets that slide over the cover ---------- */
.sheet { position: relative; z-index: 2; background: var(--ivory); color: var(--ink); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.sheet.dark { background: var(--night); color: var(--ivory); }
.sheet.gold { background: var(--gold); color: var(--gold-ink); }
.sheet + .sheet.lap { margin-top: calc(-1 * var(--r-lg)); }
.pad { padding: var(--g); }

.intro-cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 1rem; font-size: .93rem; font-weight: 500; line-height: 1.25; padding: var(--g); }
.intro-cols p:nth-child(1) { grid-column: span 3; }
.intro-cols p:nth-child(2) { grid-column: 9 / span 2; }
.intro-cols p:nth-child(3) { grid-column: 11 / span 2; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) clamp(240px, 26vw, 660px) minmax(0, 1fr); align-items: center; gap: var(--g); min-height: 100vh; padding: clamp(2rem, 6vh, 6rem) var(--g); }
.split > h2 { font-size: clamp(1.7rem, 2.6vw, 4.2rem); letter-spacing: -.03em; line-height: 1.04; }
.split > h2:first-child { text-align: right; }
.peek { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; }

/* a throne shown small: the same cover, in the king's colour */
.card-k { --bg-k: var(--forest); --ink-k: var(--ivory); position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; padding: var(--g); border-radius: var(--r-lg); background: var(--bg-k); color: var(--ink-k); text-decoration: none; overflow: hidden; }
.peek > div, .peek .card-k { position: absolute; inset: 0; }
.card-k .tk { display: block; font-family: var(--wide); font-stretch: 125%; font-weight: 800; line-height: .85; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; font-size: 2rem; }
.card-k .ln { font-size: clamp(1.35rem, 1.9vw, 3rem); line-height: 1.02; letter-spacing: -.028em; font-weight: 500; overflow-wrap: break-word; }
.card-k .meta { display: flex; justify-content: space-between; align-items: flex-end; gap: .8rem; font-size: .88rem; font-weight: 500; line-height: 1.22; }
.card-k .meta > span:last-child { text-align: right; }
.card-k img.coin { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; }
.card-k.vacant { background: transparent; color: var(--ink); border: 1px solid var(--rule); }
.dark .card-k.vacant { color: var(--ivory); border-color: var(--rule-d); }

/* giant word rows */
.words { padding: 0 var(--g) var(--r-lg); }
.word-row { position: sticky; top: calc(var(--g) + 4.4rem); background: var(--ivory); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); grid-template-rows: auto 1fr; min-height: clamp(19rem, 46vh, 52rem); padding: .65rem var(--g) var(--g); border: 1px solid var(--rule); border-bottom: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.word-row:nth-child(2) { top: calc(var(--g) + 7.2rem); }
.word-row:nth-child(3) { top: calc(var(--g) + 10rem); }
.word-row .sub { grid-column: 1 / span 8; font-weight: 500; font-size: .95rem; }
.word-row h2 { grid-column: 1 / span 8; align-self: end; font-size: clamp(4.6rem, 15vw, 25rem); line-height: .82; letter-spacing: -.055em; padding-bottom: .04em; }
.word-row .side { grid-column: 10 / -1; grid-row: 1 / span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; font-weight: 500; font-size: .95rem; }
.tile { border-radius: var(--r); padding: var(--g); background: var(--night); color: var(--ivory); min-height: 11rem; display: flex; flex-direction: column; justify-content: flex-end; gap: .35rem; font-size: .88rem; }
.tile b { font-size: clamp(1.8rem, 2.8vw, 4.4rem); font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.tile.forest { background: var(--forest); }
.tile.gold { background: var(--gold); color: var(--gold-ink); }
.tile svg { width: 100%; height: auto; }
.msg { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .76rem; line-height: 1.5; opacity: .92; white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------- dark sheet: reigns and the feed ---------- */
.head { text-align: center; padding: clamp(3rem, 9vh, 9rem) var(--g) clamp(2rem, 5vh, 5rem); }
.head h2 { font-size: clamp(2.2rem, 3.9vw, 6.4rem); letter-spacing: -.035em; line-height: 1; }
.head p { margin: .7rem auto 0; max-width: 34em; font-weight: 500; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); width: min(84%, 118rem); margin: 0 auto; align-items: stretch; }
.trio .card-k { min-height: clamp(20rem, 30vw, 46rem); }
.trio .card-k:not(.lead) { background: var(--night); color: var(--ivory); border: 1px solid var(--rule-d); transition: background-color .5s var(--out), color .5s var(--out), transform .6s var(--out); }
.trio .card-k:not(.lead):hover { background: var(--bg-k); color: var(--ink-k); }
.trio .card-k:hover { transform: translateY(-.6rem); }
.trio .card-k.lead { transform: translateY(-1rem); }
.trio .card-k.lead:hover { transform: translateY(-1.5rem); }
.trio .card-k.lead.vacant { background: var(--gold); color: var(--gold-ink); border: 0; }

.feed { list-style: none; width: min(94%, 80rem); margin: 0 auto; padding: clamp(3rem, 8vh, 7rem) 0 clamp(4rem, 12vh, 10rem); }
.feed li { border: 1px solid var(--rule-d); border-top: 0; border-radius: 0 0 var(--r) var(--r); }
.feed li + li { margin-top: .55rem; }
.feed a { display: grid; grid-template-columns: 2.4rem minmax(6rem, 1.1fr) minmax(0, 2.6fr) minmax(5rem, .8fr) minmax(4rem, .6fr); align-items: center; gap: var(--g); padding: .55rem var(--g) .65rem; text-decoration: none; font-weight: 500; transition: background-color .3s; }
.feed a:hover { background: var(--night-2); }
.feed img, .feed .dot { width: 2.4rem; height: 2.4rem; border-radius: 50%; object-fit: cover; background: var(--night-2); }
.feed .sym { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.15rem; }
.feed .what { color: var(--mist); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed .what q { color: var(--ivory); }
.feed .amt, .feed .ago { text-align: right; font-variant-numeric: tabular-nums; }
.feed .ago { color: var(--mist); }
.feed li.fresh { animation: fresh 2.4s var(--out); }
@keyframes fresh { 0% { background: var(--gold); transform: translateY(-.8rem); } 100% { background: transparent; transform: none; } }
.empty { text-align: center; padding: 2.5rem var(--g); border: 1px dashed currentColor; border-radius: var(--r-lg); font-weight: 500; width: min(94%, 60rem); margin: 0 auto; }

/* ---------- open any coin: floating cards ---------- */
.openany { position: relative; min-height: 190vh; }
.openany .stick { position: sticky; top: 0; height: 100vh; min-height: 40rem; overflow: hidden; }
.openany h2 { position: absolute; inset: 0; pointer-events: none; font-size: clamp(4.4rem, 15.5vw, 26rem); line-height: .85; letter-spacing: -.05em; }
.openany h2 span { position: absolute; white-space: nowrap; }
.openany h2 span:first-child { left: var(--g); top: 14%; }
.openany h2 span:last-child { right: var(--g); top: 44%; }
.openany .tag { position: absolute; top: var(--g); right: var(--g); max-width: 18em; font-weight: 500; font-size: .95rem; }
.floats { position: absolute; inset: 0; }
.fc { position: absolute; width: clamp(7.6rem, 8.8vw, 15rem); padding: .6rem; border: 1px solid var(--rule); border-radius: var(--r); background: var(--ivory); text-decoration: none; font-size: .86rem; font-weight: 500; line-height: 1.2; cursor: pointer; text-align: left; transition: background-color .3s, color .3s, box-shadow .4s var(--out), border-color .3s; will-change: transform; }
.fc img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--r) - 3px); background: var(--ivory-2); margin-bottom: .5rem; }
.fc.flat img { display: none; }
main:has(> #rest[hidden]) + .foot { display: none; }
.giant, .final { overflow: hidden; overflow: clip; }
.fc strong { display: block; font-size: 1.05rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc:hover, .fc.held { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); box-shadow: 0 1.2rem 2.6rem -1.2rem rgba(17, 67, 45, .55); z-index: 4; }
.cur { position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; will-change: transform; }
.cur svg { width: 1.1rem; height: 1.1rem; fill: var(--forest); }
.cur span { display: inline-block; margin: -.2rem 0 0 .8rem; padding: .12rem .45rem; border: 1px solid var(--forest); border-radius: .35rem; background: var(--ivory); color: var(--forest); font-size: .75rem; font-weight: 600; white-space: nowrap; }
.openany .dock { position: absolute; left: 50%; bottom: calc(var(--g) * 2); transform: translateX(-50%); width: min(calc(100% - 2 * var(--g)), 36rem); z-index: 6; }
.openany .dock .paste { width: 100%; background: var(--ivory); border-radius: var(--r); }
.openany .dock .paste-note { text-align: center; background: var(--ivory); border-radius: var(--r); }

/* the single card */
.one { display: grid; place-items: center; min-height: 92vh; padding: var(--g); }
.one-card { display: flex; flex-direction: column; justify-content: space-between; width: clamp(16rem, 24vw, 38rem); aspect-ratio: 5 / 7; padding: calc(var(--g) * 1.4); border: 1px solid var(--rule); border-radius: var(--r-lg); transform-style: preserve-3d; }
.one-card .top { display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); font-weight: 500; font-size: .95rem; }
.one-card img { width: 42%; height: auto; aspect-ratio: 1; flex: none; align-self: center; border-radius: 22%; }
.one-card .wm { display: block; font-family: var(--wide); font-stretch: 125%; font-weight: 800; letter-spacing: -.018em; line-height: .8; white-space: nowrap; font-size: 3.4rem; }

/* accordion */
.acc { width: min(94%, 56rem); margin: 0 auto; }
.acc details { border: 1px solid var(--rule); border-top: 0; border-radius: 0 0 var(--r) var(--r); }
.acc details + details { margin-top: .55rem; }
.acc summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; list-style: none; cursor: pointer; padding: .5rem var(--g) .75rem; font-weight: 500; font-size: 1.05rem; min-height: 2.75rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 1.5rem; line-height: 1; transition: transform .5s var(--out); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .body { padding: 0 var(--g) 1.1rem; max-width: 40em; }
.acc .body p + p { margin-top: .7rem; }
.dark .acc details { border-color: var(--rule-d); }

/* ---------- hall: sideways covers ---------- */
.hall { overflow: hidden; padding-bottom: clamp(3rem, 10vh, 8rem); }
.hall-view { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; }
.hall-view::-webkit-scrollbar { display: none; }
.hall-view.drag { cursor: grabbing; }
.hall.pinned .hall-view { overflow: hidden; cursor: default; }
.hall-track { display: flex; gap: var(--g); padding: 0 var(--g); width: max-content; }
.hall-track .card-k { width: clamp(17rem, 28vw, 44rem); height: min(74vh, 46rem); }
.hall-track .card-k:first-child { width: clamp(19rem, 58vw, 92rem); }
.hall-track .card-k:first-child .ln { font-size: clamp(2rem, 4.2vw, 7rem); max-width: 14em; }
.hall-track .card-k:first-child .tk { font-size: 4rem; }
.hall-track .card-k .ln { transition: transform .6s var(--out); }
.hall-track .card-k:hover .ln { transform: translateY(-.4rem); }

/* full-bleed words of one king */
.shout { --bg-k: var(--forest); --ink-k: var(--ivory); position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); align-content: center; min-height: 100vh; padding: var(--g); background: var(--bg-k); color: var(--ink-k); border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; }
.shout canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.shout > * { position: relative; }
.shout blockquote { grid-column: 1 / span 7; font-size: clamp(2.2rem, 4.8vw, 8rem); line-height: 1; letter-spacing: -.035em; font-weight: 500; overflow-wrap: break-word; }
.shout .by { grid-column: 10 / span 3; align-self: end; font-weight: 500; font-size: .95rem; }
.shout .by .btn { margin-top: 1rem; }

/* ---------- the dark statement ---------- */
.giant { text-align: center; padding: clamp(4rem, 16vh, 14rem) var(--g) 0; color: var(--gold); }
.giant h2 { font-size: clamp(4rem, 13.5vw, 23rem); line-height: .86; letter-spacing: -.05em; }
.giant h2 span { display: block; white-space: nowrap; }
.aside-pair { display: flex; justify-content: space-between; padding: 0 var(--g); font-weight: 500; font-size: .95rem; margin-top: 1.4rem; }
.trust { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); padding: clamp(3rem, 10vh, 9rem) var(--g) clamp(4rem, 12vh, 10rem); font-weight: 500; font-size: .98rem; }
.trust img { grid-column: 4 / span 2; width: 100%; height: auto; aspect-ratio: 1; align-self: start; border-radius: var(--r); }
.trust div { grid-column: 6 / span 3; display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; }
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); padding: clamp(3rem, 10vh, 8rem) var(--g) clamp(5rem, 14vh, 12rem); }
.faq h2 { grid-column: 1 / span 5; font-size: clamp(1.8rem, 2.8vw, 4.6rem); letter-spacing: -.03em; line-height: 1.02; max-width: 8em; }
.faq .acc { grid-column: 7 / -1; width: 100%; }

/* closing screen */
.final { position: relative; z-index: 2; display: grid; place-items: center; min-height: 100vh; text-align: center; color: var(--ivory); background: var(--forest); border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: calc(-1 * var(--r-lg)); overflow: hidden; }
.final canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.final > div { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.4rem; padding: 6rem var(--g) 3rem; width: 100%; }
.final h2 { font-size: clamp(5rem, 16vw, 27rem); line-height: .84; letter-spacing: -.05em; }
.final h2 span { display: block; }
.final p { font-size: clamp(1.4rem, 2.1vw, 3.4rem); letter-spacing: -.025em; line-height: 1.05; font-weight: 500; max-width: 16em; }
.final .paste { justify-content: center; }

.foot { position: relative; z-index: 3; background: var(--gold); color: var(--gold-ink); border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: calc(-1 * var(--r-lg)); padding: var(--g) var(--g) calc(var(--g) * .8); }
.foot .cover-row { margin: 0 0 clamp(2.5rem, 8vh, 7rem); }
.foot .mark { line-height: .76; padding-bottom: .02em; }

/* ---------- throne page ---------- */
.bar-sec { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); padding: var(--g) var(--g) clamp(3rem, 10vh, 8rem); }
.bar-sec .lead-txt { grid-column: 1 / span 4; padding-top: clamp(2rem, 6vh, 5rem); }
.bar-sec h2, .claim-sec h2, .read-sec h2, .share-sec h2 { font-size: clamp(2.2rem, 3.9vw, 6.4rem); letter-spacing: -.035em; line-height: 1; }
.bar-sec .lead-txt p { margin-top: 1rem; max-width: 26em; font-weight: 500; }
.big-bar { display: block; margin-top: clamp(2rem, 6vh, 5rem); font-size: clamp(4rem, 8.4vw, 14rem); line-height: .85; letter-spacing: -.05em; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chart { grid-column: 5 / -1; position: relative; min-height: 62vh; border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart .tip { position: absolute; z-index: 2; max-width: 18em; padding: .5rem .7rem; border-radius: var(--r); background: var(--night); color: var(--ivory); font-size: .85rem; font-weight: 500; pointer-events: none; transform: translate(-50%, calc(-100% - .8rem)); }
.chart .none { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--g); text-align: center; font-weight: 500; }
.axis { position: absolute; left: var(--g); right: var(--g); bottom: .6rem; display: flex; justify-content: space-between; font-size: .8rem; font-weight: 500; color: var(--soft); }
.axis-y { position: absolute; left: var(--g); top: .7rem; font-size: .8rem; font-weight: 500; color: var(--soft); }

.claim-sec { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); padding: clamp(3rem, 10vh, 8rem) var(--g); }
.claim-sec .form { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 1.3rem; align-items: flex-start; }
.claim-sec .form p { font-weight: 500; max-width: 30em; }
.claim-sec .preview { grid-column: 7 / -1; }
.claim-sec .preview .card-k { min-height: clamp(22rem, 62vh, 52rem); }
.claim-sec .preview .card-k .ln { font-size: clamp(2rem, 4.2vw, 7rem); }
.claim-sec .preview .card-k .tk { font-size: 3.2rem; }
.field { width: 100%; }
.field label { display: flex; justify-content: space-between; font-weight: 500; font-size: .9rem; margin-bottom: .35rem; }
.field input { width: 100%; min-height: 3.2rem; padding: 0 1em; border: 1px solid currentColor; border-radius: var(--r); background: rgba(243, 236, 217, .06); font-size: 1.2rem; }
.swatches { display: flex; flex-wrap: wrap; gap: .55rem; border: 0; }
.swatches legend { font-weight: 500; font-size: .9rem; margin-bottom: .5rem; }
.swatches label { position: relative; cursor: pointer; }
.swatches input { position: absolute; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.swatches span { display: block; width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 2px solid rgba(243, 236, 217, .35); background: var(--sw); transition: transform .35s var(--out), border-radius .35s var(--out); }
.swatches input:checked + span { transform: scale(1.12); border-radius: var(--r); border-color: var(--ivory); }
.swatches input:focus-visible + span { outline: 2px solid var(--ivory); outline-offset: 3px; }
.acts { display: flex; flex-wrap: wrap; gap: .6rem; }
.say-status { min-height: 1.4em; font-weight: 500; }
.say-status.bad { color: #ffb4a1; }

.read-sec { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); padding: clamp(3rem, 10vh, 8rem) var(--g); }
.read-sec > div:first-child { grid-column: 1 / span 5; }
.read-sec > div:first-child p { margin-top: 1rem; max-width: 30em; font-weight: 500; }
.read-sec ul { grid-column: 7 / -1; list-style: none; }
.read-sec li { display: grid; grid-template-columns: 1.1fr 2fr auto; gap: var(--g); align-items: baseline; padding: .65rem var(--g) .8rem; border: 1px solid var(--rule); border-top: 0; border-radius: 0 0 var(--r) var(--r); font-weight: 500; }
.read-sec li + li { margin-top: .55rem; }
.read-sec li span:last-child { text-align: right; font-variant-numeric: tabular-nums; }

.share-sec { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); align-items: center; padding: clamp(3rem, 10vh, 8rem) var(--g) clamp(4rem, 14vh, 11rem); }
.share-sec > div { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; }
.share-sec > img { grid-column: 6 / -1; width: 100%; height: auto; aspect-ratio: 1200 / 630; border-radius: var(--r-lg); background: var(--forest); }

.king-row { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }

/* ---------- text pages ---------- */
.page-head { padding: var(--g) var(--g) 0; background: var(--forest); color: var(--ivory); min-height: 62vh; display: flex; flex-direction: column; justify-content: space-between; position: sticky; top: 0; }
.page-head .mark { padding-bottom: var(--g); }
.page-head h1.say { padding: calc(var(--g) * 2) 0 var(--g); }
.doc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); padding: var(--g) var(--g) clamp(5rem, 14vh, 12rem); }
.doc section { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; padding: .9rem var(--g) clamp(2rem, 6vh, 4rem); border: 1px solid var(--rule); border-bottom: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--ivory); }
.doc section h2 { grid-column: 1 / span 5; font-size: clamp(2rem, 4vw, 6.4rem); letter-spacing: -.04em; line-height: .98; }
.doc section > div { grid-column: 7 / span 5; font-size: 1.08rem; line-height: 1.5; }
.doc section > div > * + * { margin-top: .9rem; }
.doc ul { padding-left: 1.1em; }
.doc li + li { margin-top: .35rem; }
.doc pre { padding: var(--g); border-radius: var(--r); background: var(--night); color: var(--ivory); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.doc table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.doc td, .doc th { text-align: left; padding: .45rem 0; border-bottom: 1px solid var(--rule); font-weight: 500; }
.doc td:last-child, .doc th:last-child { text-align: right; }

.status-rows { list-style: none; grid-column: 1 / -1; }
.status-rows li { display: grid; grid-template-columns: 5fr 5fr 2fr; gap: var(--g); align-items: center; padding: 1.1rem var(--g) 1.3rem; border: 1px solid var(--rule); border-top: 0; border-radius: 0 0 var(--r) var(--r); font-weight: 500; }
.status-rows li + li { margin-top: .55rem; }
.status-rows strong { font-size: clamp(1.4rem, 2.4vw, 3.6rem); font-weight: 500; letter-spacing: -.03em; }
.pill { justify-self: end; padding: .3rem .9rem; border-radius: 99px; background: var(--forest); color: var(--ivory); white-space: nowrap; }
.pill.bad { background: #7a1630; }
.pill.wait { background: transparent; color: var(--ink); border: 1px solid var(--rule); }

.gone { min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding: var(--g); background: var(--forest); color: var(--ivory); }

.toast { position: fixed; z-index: 80; left: 50%; bottom: var(--g); transform: translate(-50%, 200%); padding: .8rem 1.1rem; border-radius: var(--r); background: var(--gold); color: var(--gold-ink); font-weight: 600; max-width: calc(100% - 2 * var(--g)); transition: transform .6s var(--out), visibility 0s .6s; visibility: hidden; }
.toast.on { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--out); }

/* ---------- narrower ---------- */
@media (max-width: 1100px) {
  .cover-row > * { grid-column: span 3; }
  .cover-row .tools { grid-column: 1 / -1; justify-content: flex-start; }
  .word-row .side { grid-column: 9 / -1; }
  .trio { width: calc(100% - 2 * var(--g)); }
  .chart, .bar-sec .lead-txt { grid-column: 1 / -1; }
  .claim-sec .form, .claim-sec .preview, .share-sec > div, .share-sec > img, .read-sec > div:first-child, .read-sec ul { grid-column: 1 / -1; }
  .doc section h2, .doc section > div { grid-column: 1 / -1; }
  .doc section h2 { margin-bottom: 1.2rem; }
  .faq h2, .faq .acc { grid-column: 1 / -1; }
  .trust img { grid-column: 2 / span 4; }
  .trust div { grid-column: 6 / span 6; }
}
@media (max-width: 760px) {
  .nav .btn.menu-btn { min-width: 0; gap: .7em; }
  .nav .brand span, .nav .ca { display: none; }
  .menu { top: calc(var(--g) + 3.9rem); }
  .cover { min-height: 40rem; }
  .cover-in { padding: var(--g); }
  /* phones: the tools come first in their own gold block, then the wordmark, then the field */
  .cover-top { display: flex; flex-direction: column; margin: 0; background: var(--gold); color: var(--gold-ink); border-radius: calc(var(--r) + 3px); padding: .5rem .6rem .75rem; }
  .cover-top .cover-row { display: contents; }
  .cover-top .tools { order: -2; display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .9rem; }
  .cover-top .facts { order: -1; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem var(--g); margin-bottom: .9rem; font-size: .86rem; font-weight: 500; line-height: 1.22; }
  .cover-top .facts b { font-size: 1.25rem; display: block; font-weight: 600; letter-spacing: -.02em; }
  .cover-top .links { display: none; }
  .cover-say { grid-template-columns: 1fr; }
  .say { font-size: clamp(2.2rem, 11vw, 4rem); }
  .say.long { font-size: clamp(1.9rem, 9vw, 3.2rem); }
  .cover-foot { text-align: left; }
  .say-acts .paste { width: 100%; }
  .paste { flex-wrap: wrap; }
  .paste input { flex: 1 1 100%; min-height: 3rem; }
  .paste .btn { width: 100%; }
  .intro-cols p:nth-child(n) { grid-column: 1 / -1; }
  .intro-cols p:nth-child(1) { font-size: 1.2rem; }
  .split { grid-template-columns: 1fr; min-height: 0; justify-items: center; padding-block: 3rem; }
  .split > h2, .split > h2:first-child { text-align: center; }
  .peek { width: min(100%, 22rem); }
  .word-row { position: static; grid-template-rows: none; min-height: 0; margin-top: .6rem; }
  .word-row .sub, .word-row h2, .word-row .side { grid-column: 1 / -1; grid-row: auto; }
  .word-row h2 { margin: 2.5rem 0 1rem; font-size: 25vw; }
  .trio { grid-template-columns: 1fr; }
  .trio .card-k, .trio .card-k.lead { transform: none; min-height: 20rem; }
  .feed a { grid-template-columns: 2.4rem minmax(0, 1fr) auto; row-gap: .1rem; }
  .feed a > img, .feed a > .dot { grid-row: span 2; }
  .feed .what { grid-column: 2 / -1; grid-row: 2; }
  .feed .ago { display: none; }
  .openany { min-height: 0; }
  .openany .stick { position: relative; height: 58rem; }
  .openany h2 span:first-child { top: 4.5rem; }
  .openany h2 span:last-child { top: calc(4.5rem + 24vw); }
  .openany h2 { font-size: 22vw; }
  .openany .tag { left: var(--g); right: auto; }
  .hall-track .card-k, .hall-track .card-k:first-child { width: min(84vw, 24rem); height: 30rem; }
  .hall-track .card-k:first-child .ln { font-size: 2rem; }
  .hall-track .card-k:first-child .tk { font-size: 2.4rem; }
  .shout { align-content: end; min-height: 80vh; }
  .shout blockquote, .shout .by { grid-column: 1 / -1; }
  .giant h2 { font-size: 16.5vw; }
  .trust img { grid-column: 1 / span 4; align-self: start; }
  .trust div { grid-column: 5 / -1; }
  .foot .cover-row > * { grid-column: span 6; }
  .foot .cover-row .tools { grid-column: 1 / -1; }
  .read-sec li { grid-template-columns: 1fr auto; }
  .read-sec li span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .status-rows li { grid-template-columns: 1fr auto; }
  .status-rows li > span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .page-head { position: static; min-height: 50vh; }
}
@media (min-width: 761px) {
  .cover-top .facts { display: contents; }
}
@media (max-height: 620px) and (min-width: 761px) {
  .cover { min-height: 46rem; position: relative; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .cover, .word-row, .openany .stick, .page-head { position: relative; top: 0; }
  .openany { min-height: 0; }
}
