/* Kulya the War Dog. Night over Kharkiv, brass, bone and one red dot. */
:root {
  --vh: 1vh;
  --night: #0b0d12; --soot: #12151c; --ash: #1b1f29; --line: #262b36;
  --bone: #ece6d8; --bone-2: #b9b3a6; --steel: #8a93a3;
  --brass: #c8a24f; --brass-2: #e2c070; --brass-3: #9c7a30;
  --blue: #3b7bd4; --flare: #e34b3a; --olive: #4e5a3c; --paper: #d9d2bf; --paper-2: #cbc3ad; --ink: #1d1b16;
  --serif: "Lora", Georgia, serif; --disp: "Oswald", "Arial Narrow", Impact, sans-serif; --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --wrap: 1180px; --r: 10px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--night); color: var(--bone); font-family: var(--serif); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brass-2); }
h1, h2, h3 { font-family: var(--disp); font-weight: 600; line-height: 1; margin: 0; letter-spacing: .01em; text-transform: uppercase; }
h2 { font-size: clamp(38px, 6vw, 72px); }
h2 em, h1 em { font-style: normal; color: var(--brass); }
h3 { font-size: 22px; letter-spacing: .06em; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: .02em; color: var(--steel); }
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--disp); text-transform: uppercase; letter-spacing: .08em; font-size: 17px; background: var(--brass); color: var(--night); text-decoration: none; padding: 14px 24px; border: 2px solid var(--brass); border-radius: 4px; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); background: var(--brass-2); }
.btn.ghost { background: transparent; color: var(--brass-2); }
.btn.small { padding: 9px 14px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

/* reveals */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }
[data-plx] { will-change: transform; }

/* strip + nav */
.strip { margin: 0; padding: 9px 16px; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--bone); background: #000; border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 18px; padding: 10px 20px; background: rgba(11,13,18,.72); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(200,162,79,.18); }
.nav-mark svg { width: 38px; height: 38px; }
.nav-links { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { font-family: var(--disp); text-transform: uppercase; letter-spacing: .1em; font-size: 14px; color: var(--bone-2); text-decoration: none; padding: 8px 12px; border-radius: 4px; white-space: nowrap; }
.nav-links a:hover, .nav-links a.on { color: var(--brass-2); background: rgba(200,162,79,.1); }

/* ============================================================ hero */
.hero { position: relative; min-height: calc(100 * var(--vh)); overflow: hidden; display: flex; flex-direction: column; justify-content: center; isolation: isolate; --fade: 1; }
.sky { position: absolute; inset: -20% 0; z-index: -6; background:
  radial-gradient(1px 1px at 12% 22%, #fff 60%, transparent 61%), radial-gradient(1px 1px at 28% 65%, #fff 60%, transparent 61%), radial-gradient(1.5px 1.5px at 44% 18%, #fff 60%, transparent 61%),
  radial-gradient(1px 1px at 61% 40%, #fff 60%, transparent 61%), radial-gradient(1px 1px at 73% 12%, #fff 60%, transparent 61%), radial-gradient(1.5px 1.5px at 86% 30%, #fff 60%, transparent 61%),
  radial-gradient(1px 1px at 92% 58%, #fff 60%, transparent 61%), radial-gradient(1px 1px at 8% 48%, #fff 60%, transparent 61%), radial-gradient(1px 1px at 52% 70%, #fff 60%, transparent 61%),
  radial-gradient(1px 1px at 36% 36%, #fff 60%, transparent 61%), radial-gradient(1px 1px at 67% 24%, #fff 60%, transparent 61%), radial-gradient(1px 1px at 20% 8%, #fff 60%, transparent 61%),
  radial-gradient(ellipse 70% 50% at 50% 100%, rgba(226,192,112,.14), transparent 70%),
  linear-gradient(#05060a, #0b0d12 55%, #15181f); }
.beam { position: absolute; left: 50%; bottom: 18%; width: 10px; height: calc(120 * var(--vh)); transform-origin: 50% 100%; z-index: -5; background: linear-gradient(to top, rgba(226,192,112,.22), rgba(226,192,112,0)); filter: blur(10px); opacity: calc(.7 * var(--fade)); animation: sweep 14s ease-in-out infinite alternate; }
.beam-a { margin-left: -28vw; --from: -28deg; --to: 10deg; }
.beam-b { margin-left: 26vw; --from: 24deg; --to: -14deg; animation-duration: 19s; animation-delay: -6s; }
@keyframes sweep { from { transform: rotate(var(--from)); } to { transform: rotate(var(--to)); } }
.city { position: absolute; left: 0; right: 0; width: 100%; z-index: -4; }
.city.far { bottom: 16%; height: calc(28 * var(--vh)); }
.city.mid { bottom: 10%; height: calc(24 * var(--vh)); z-index: -3; }
.wire { position: absolute; left: 0; right: 0; bottom: 6%; width: 100%; height: calc(12 * var(--vh)); z-index: -2; opacity: .9; }
.embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--fade); }
.ground { position: absolute; left: -10%; right: -10%; bottom: -8%; height: 24%; z-index: -2; background: radial-gradient(ellipse at 50% 0%, #0d1016, #05060a 70%); }
.hero-wrap { position: relative; padding: calc(6 * var(--vh)) 0 calc(12 * var(--vh)); }
.cyr { position: absolute; right: -3%; top: -10%; left: auto; margin: 0; font-family: var(--disp); font-weight: 700; font-size: clamp(120px, 24vw, 360px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(200,162,79,.18); pointer-events: none; user-select: none; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
h1 { display: grid; }
.h-name { font-size: clamp(84px, 15vw, 190px); font-weight: 700; letter-spacing: -.01em; background: linear-gradient(180deg, var(--bone) 55%, var(--bone-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-sub { font-size: clamp(34px, 6vw, 72px); color: var(--brass); font-weight: 500; letter-spacing: .08em; margin-top: -4px; }
.lede { font-size: clamp(19px, 2.2vw, 24px); max-width: 32ch; margin: 22px 0 26px; color: var(--bone); }
.lede em { color: var(--brass-2); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-fine { max-width: 48ch; margin-top: 22px; }
.hero-art { position: relative; display: grid; justify-items: center; }
.portrait { position: relative; width: min(100%, 380px); aspect-ratio: 1; }
.portrait-ring { position: absolute; inset: -12px; border-radius: 50%; border: 1.5px dashed rgba(200,162,79,.45); animation: turn 60s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.ph { position: relative; display: grid; place-items: center; background: repeating-linear-gradient(135deg, #12151c 0 14px, #14181f 14px 28px); border: 1.5px dashed rgba(200,162,79,.4); border-radius: var(--r); color: var(--steel); margin: 0; overflow: hidden; min-height: 200px; }
.ph .ph-head { width: 42%; height: auto; fill: rgba(200,162,79,.16); }
.ph .mono, .ph figcaption { position: absolute; left: 12px; bottom: 10px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); }
.ph-portrait { border-radius: 50%; aspect-ratio: 1; }
.plate { position: relative; margin: 0; width: min(100%, 560px); aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.65), 0 0 0 1.5px rgba(200,162,79,.6); background: #000; }
.plate img { width: 100%; height: 100%; object-fit: cover; display: block; filter: contrast(1.04); }
.plate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,13,18,.55), transparent 35%); pointer-events: none; }
.plate-tick { position: absolute; width: 18px; height: 18px; border: 2px solid var(--brass); z-index: 2; }
.plate-tick.tl { left: 10px; top: 10px; border-right: 0; border-bottom: 0; } .plate-tick.tr { right: 10px; top: 10px; border-left: 0; border-bottom: 0; }
.plate-tick.bl { left: 10px; bottom: 10px; border-right: 0; border-top: 0; } .plate-tick.br { right: 10px; bottom: 10px; border-left: 0; border-top: 0; }
.plate figcaption { position: absolute; left: 16px; bottom: 12px; z-index: 2; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone); }
.ph.has-photo { border-style: solid; border-color: rgba(200,162,79,.5); background: #000; }
.ph.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.ph.has-photo figcaption { background: rgba(11,13,18,.7); padding: 4px 8px; border-radius: 3px; }
.ph-portrait .mono { left: 50%; bottom: 14%; transform: translateX(-50%); white-space: nowrap; }
.ph-wide { aspect-ratio: 16 / 10; }
.tag-wrap { perspective: 800px; margin-top: -54px; margin-left: 48%; position: relative; z-index: 3; }
.tag { position: relative; width: 250px; padding: 22px 18px 16px; border-radius: 10px; background: linear-gradient(160deg, #b6b9c2, #7e838f 60%, #a3a7b1); color: #1a1c22; box-shadow: 0 20px 40px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.5); transform-style: preserve-3d; transition: transform .25s ease; font-family: var(--mono); text-transform: uppercase; letter-spacing: .12em; rotate: -6deg; }
.tag p { margin: 0; line-height: 1.3; }
.tag-hole { position: absolute; top: 9px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--night); transform: translateX(-50%); box-shadow: inset 0 1px 2px #000; }
.tag-l1 { font-size: 15px; font-weight: 700; }
.tag-l2 { font-size: 13px; margin-top: 6px; }
.tag-l3 { font-size: 11px; margin-top: 10px; opacity: .8; }
.tag-l4 { font-size: 11px; margin-top: 10px; font-weight: 700; border-top: 1px dashed rgba(0,0,0,.35); padding-top: 8px; }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); text-decoration: none; display: grid; justify-items: center; gap: 6px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; opacity: var(--fade); }
.scroll-hint span { width: 1px; height: 34px; background: linear-gradient(var(--brass), transparent); animation: drip 2s ease-in-out infinite; }
@keyframes drip { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); } }

/* ============================================================ chapters */
.ch { position: relative; padding: calc(14 * var(--vh)) 0; overflow: hidden; isolation: isolate; }
.ch-head { margin-bottom: 44px; position: relative; }
.ch-cyr { position: absolute; left: -6px; top: -.7em; margin: 0; font-family: var(--disp); font-weight: 700; font-size: clamp(60px, 11vw, 150px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(200,162,79,.12); pointer-events: none; user-select: none; }
.ch-sub { max-width: 58ch; color: var(--bone-2); margin-top: 14px; font-size: 17px; }
.ch-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.prose p { max-width: 58ch; font-size: clamp(18px, 1.5vw, 20px); color: var(--bone); }
.prose strong { color: var(--brass-2); font-weight: 600; }
.prose-note { color: var(--brass); margin-top: 8px; }

.front { background: linear-gradient(#0b0d12, #0d1016 40%, #0a0c10); }
.front-bg { position: absolute; inset: -15% 0; z-index: -2; background: radial-gradient(ellipse 60% 40% at 20% 20%, rgba(59,123,212,.08), transparent 70%), radial-gradient(ellipse 50% 40% at 85% 70%, rgba(227,75,58,.07), transparent 70%); }
.front-hills { position: absolute; left: -5%; right: -5%; bottom: -10%; height: 50%; z-index: -1; background: radial-gradient(ellipse 60% 100% at 30% 100%, #121620, transparent 70%), radial-gradient(ellipse 50% 100% at 80% 100%, #0f131b, transparent 70%); }
.field-card { margin-top: 56px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(#12151c, #0f1218); max-width: 720px; overflow: hidden; }
.fc-row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 16px; }
.fc-row:last-child { border-bottom: 0; }
.fc-k { text-transform: uppercase; letter-spacing: .12em; font-size: 11px; color: var(--brass); align-self: center; }
.fc-days b { font-family: var(--mono); color: var(--brass-2); font-size: 20px; }

/* the scan */
.scan-ch { background: #07080b; }
.scan-bg { position: absolute; inset: -10% 0; z-index: -1; background: radial-gradient(ellipse 50% 60% at 70% 50%, rgba(59,123,212,.09), transparent 70%); }
.scan-grid { grid-template-columns: .8fr 1.2fr; }
.scan { border: 1px solid var(--line); border-radius: var(--r); background: #0a0c11; padding: 14px; }
.scan-stage { position: relative; border-radius: 6px; overflow: hidden; background: #07080b; }
.scan-stage svg { width: 100%; height: auto; }
.scan-txt { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; fill: #4a5569; }
.scan-found { opacity: 0; transition: opacity .4s; fill: var(--flare); }
.scan.found .scan-found { opacity: 1; }
.scan-line { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: #bcd2ff; box-shadow: 0 0 14px 3px rgba(159,182,230,.55); opacity: 0; transition: opacity .2s; pointer-events: none; }
.frag { opacity: 0; transition: opacity .3s, transform .9s cubic-bezier(.3,.7,.2,1); }
.scan.found .frag { opacity: 1; }
.frag-ring { animation: pulse 1.4s ease-out infinite; transform-origin: center; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.scan.removed .frag { transform: translate(100px 380px) rotate(140deg); }
.scan.removed .frag-ring { animation: none; opacity: 0; }
.tray { position: absolute; right: 14px; bottom: 14px; width: 120px; height: 44px; border-radius: 22px; background: linear-gradient(#3a414e, #262c37); border: 1px solid #4a5260; box-shadow: inset 0 3px 8px rgba(0,0,0,.6); display: flex; align-items: center; justify-content: space-between; padding: 0 14px; }
.tray .mono { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #8a93a3; }
.tray-frag { width: 12px; height: 9px; background: #ffd27a; clip-path: polygon(0 40%, 55% 0, 100% 45%, 70% 100%, 10% 90%); opacity: 0; transition: opacity .3s .8s; }
.tray.has .tray-frag { opacity: 1; }
.scan-ctl { display: block; margin: 14px 4px 4px; }
.scan-ctl input { width: 100%; accent-color: var(--brass); height: 4px; cursor: ew-resize; }
.scan-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.scan-msg { margin: 0; color: var(--bone-2); min-height: 1.4em; }
.scan.found .scan-msg { color: var(--brass-2); }

/* home in kharkiv */
.home { background: linear-gradient(#0a0c10, #0d1016 50%, #0b0d12); }
.home-bg { position: absolute; inset: -10% 0; z-index: -1; background: radial-gradient(ellipse 40% 40% at 15% 30%, rgba(226,192,112,.07), transparent 70%); }
.ph-stack { display: grid; gap: 16px; }
.ph-stack .ph { aspect-ratio: 16 / 10; }
.supply { margin-top: 64px; border-top: 1px solid var(--line); padding-top: 28px; }
.supply-k { text-transform: uppercase; letter-spacing: .18em; color: var(--brass); }
.supply svg { width: 100%; height: auto; }
.supply .stop circle { fill: #2a2f3a; stroke: var(--brass); stroke-width: 2; transition: fill .3s; }
.supply .stop text { font-family: var(--disp); font-size: 22px; letter-spacing: .06em; text-transform: uppercase; fill: var(--bone-2); transition: fill .3s; }
.supply .stop text.s { font-family: var(--mono); font-size: 12px; text-transform: none; letter-spacing: .02em; fill: var(--steel); }
.supply .stop.on circle { fill: var(--brass); }
.supply .stop.on text { fill: var(--bone); }
.supply-arrived { text-align: right; color: var(--brass-2); opacity: 0; transition: opacity .5s; text-transform: uppercase; letter-spacing: .2em; }
.supply.arrived .supply-arrived { opacity: 1; }
.still { margin-top: 56px; text-align: center; }
.still-n { margin: 0; font-family: var(--disp); font-weight: 700; font-size: clamp(72px, 14vw, 180px); line-height: 1; color: var(--brass); letter-spacing: -.01em; }
.still-t { max-width: 36ch; margin: 8px auto 0; font-size: 20px; color: var(--bone-2); }

/* album */
.album { padding: calc(10 * var(--vh)) 0; background: #07080b; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.album-note { color: var(--bone-2); max-width: 60ch; margin: 14px 0 28px; }
.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.album-grid .ph { aspect-ratio: 4 / 3; }

/* the coin */
.coin { position: relative; padding: calc(14 * var(--vh)) 0; overflow: hidden; isolation: isolate; background: linear-gradient(#0b0d12, #0f1118); }
.coin-bg { position: absolute; inset: -10% 0; z-index: -1; background: radial-gradient(ellipse 50% 50% at 80% 40%, rgba(226,192,112,.1), transparent 70%); }
.coin-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.coin-card { text-align: center; border: 1px solid rgba(200,162,79,.3); border-radius: 16px; padding: 30px 24px; background: radial-gradient(ellipse at 50% 0%, #1a1e29, #0d1016 70%); }
.coin-spin { width: min(70%, 260px); margin: 0 auto 18px; aspect-ratio: 1; animation: spin 9s ease-in-out infinite; transform-style: preserve-3d; }
@keyframes spin { 0%, 100% { transform: rotateY(-20deg); } 50% { transform: rotateY(20deg); } }
.coin-face { width: 100%; height: 100%; filter: drop-shadow(0 18px 30px rgba(0,0,0,.6)); }
.coin-name { font-family: var(--disp); text-transform: uppercase; font-size: 30px; letter-spacing: .06em; margin: 0; color: var(--bone); }
.coin-ticker { color: var(--brass); font-size: 16px; margin-top: 4px; }
.coin-ca { margin-top: 18px; display: grid; gap: 8px; justify-items: center; }
.coin-ca code { word-break: break-all; font-size: 12px; color: var(--bone); background: #0b0d12; padding: 8px 10px; border-radius: 6px; border: 1px solid var(--line); }
.coin-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.coin-pre { margin-top: 18px; max-width: 34ch; margin-inline: auto; }
.steps { list-style: none; padding: 0; margin: 60px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; background: #0d1016; position: relative; }
.st-n { font-family: var(--mono); color: var(--brass); font-size: 12px; letter-spacing: .2em; }
.steps h3 { margin: 10px 0 8px; color: var(--bone); }
.steps p { margin: 0; font-size: 16px; color: var(--bone-2); }
.steps-fine { margin-top: 16px; }

/* supply log */
.log { padding: calc(12 * var(--vh)) 0; background: #0b0d12; }
.sheet { background: var(--paper); color: var(--ink); border-radius: 6px; padding: 22px 22px 18px; box-shadow: 0 30px 60px rgba(0,0,0,.5), inset 0 0 0 1px rgba(0,0,0,.08); background-image: linear-gradient(rgba(0,0,0,.035) 1px, transparent 1px); background-size: 100% 28px; position: relative; }
.sheet::after { content: "VERIFIED ON CHAIN"; position: absolute; right: 22px; bottom: 10px; font-family: var(--disp); font-size: 20px; letter-spacing: .14em; color: rgba(180,40,30,.6); border: 2.5px solid rgba(180,40,30,.55); border-radius: 6px; padding: 4px 10px; rotate: -8deg; pointer-events: none; }
.sheet .mono { color: #5a5547; }
.sheet a { color: #1d1b16; }
.sheet-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 18px; }
.sheet-head code { background: rgba(0,0,0,.06); padding: 2px 6px; border-radius: 4px; }
.sheet-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ss { border: 1px solid rgba(0,0,0,.18); border-radius: 6px; padding: 14px 16px; background: rgba(255,255,255,.25); }
.ss-k { text-transform: uppercase; letter-spacing: .12em; font-size: 11px; margin: 0 0 6px; }
.ss-v { margin: 0; font-family: var(--disp); font-size: 42px; line-height: 1; display: flex; align-items: baseline; gap: 8px; }
.ss-v span { font-size: 16px; letter-spacing: .1em; color: #5a5547; }
.ss-s { margin: 6px 0 0; font-size: 12px; }
.goal { margin-top: 16px; }
.goal-bar { height: 10px; border: 1px solid var(--ink); border-radius: 5px; overflow: hidden; background: rgba(255,255,255,.3); }
.goal-bar i { display: block; height: 100%; background: var(--ink); width: 0; transition: width 1s; }
.lg { margin-top: 20px; font-size: 14px; }
.lg-row { display: grid; grid-template-columns: 50px 110px 1fr 110px 110px 130px; gap: 10px; padding: 9px 6px; border-bottom: 1px dashed rgba(0,0,0,.25); align-items: center; }
.lg-head { border-bottom: 2px solid var(--ink); text-transform: uppercase; letter-spacing: .1em; font-size: 10px; }
.lg-row .n { font-family: var(--mono); color: #5a5547; }
.lg-row .amt { font-family: var(--mono); font-weight: 700; }
.lg-row .from { font-family: var(--mono); font-size: 12px; }
.lg-row.new { animation: inked 1.2s ease-out; }
@keyframes inked { from { background: rgba(200,162,79,.4); } to { background: transparent; } }
.k { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; padding: 2px 7px; border-radius: 3px; border: 1px solid var(--ink); }
.k.reward { background: var(--ink); color: var(--paper); }
.k.you { background: var(--brass); border-color: var(--brass); }
.lg-empty { padding: 20px 6px; font-family: var(--mono); font-size: 13px; color: #5a5547; }
.sheet-fine { margin: 14px 0 0; font-size: 12px; }

/* send supplies */
.send { position: relative; padding: calc(14 * var(--vh)) 0; overflow: hidden; isolation: isolate; background: linear-gradient(#0f1118, #0b0d12); }
.send-bg { position: absolute; inset: -10% 0; z-index: -1; background: radial-gradient(ellipse 40% 50% at 20% 50%, rgba(78,90,60,.25), transparent 70%); }
.send-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.send-copy { position: relative; }
.send-copy h2 { margin-bottom: 20px; }
.send-copy p { max-width: 50ch; }
.send-note { color: var(--brass); }
.radiogram { position: relative; background-color: #e3dcc6; background-image: repeating-linear-gradient(0deg, transparent 0 27px, rgba(0,0,0,.05) 27px 28px), linear-gradient(#e9e2cc, #d9d2bf); color: var(--ink); border-radius: 4px; padding: 20px 22px 22px; box-shadow: 0 30px 60px rgba(0,0,0,.55); overflow: hidden; }
.radiogram::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(0,0,0,.25); pointer-events: none; border-radius: 2px; }
.radiogram .mono { color: #5a5547; }
.rg-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.rg-stamp { font-family: var(--disp); font-size: 26px; letter-spacing: .28em; color: var(--ink); border-bottom: 3px double var(--ink); padding-bottom: 2px; }
.rg-row { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dotted rgba(0,0,0,.35); align-items: center; }
.rg-k { text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
.rg-row .ok { font-style: normal; color: #3b6e2a; font-size: 12px; }
.rg-row code { background: rgba(0,0,0,.06); padding: 2px 6px; border-radius: 3px; font-size: 12px; }
.rg-tabs { display: flex; gap: 6px; }
.rg-tabs button, .rg-presets button { font-family: var(--mono); font-size: 13px; background: transparent; border: 1.5px solid var(--ink); color: var(--ink); border-radius: 3px; padding: 6px 12px; cursor: pointer; }
.rg-tabs button[aria-selected="true"], .rg-presets button.on { background: var(--ink); color: var(--paper); }
.rg-presets { display: flex; gap: 6px; flex-wrap: wrap; }
.rg-custom { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.rg-custom input { width: 120px; font-family: var(--mono); font-size: 14px; padding: 6px 8px; border: 1.5px solid var(--ink); border-radius: 3px; background: rgba(255,255,255,.4); color: var(--ink); }
.rg-msg { margin: 0; font-size: 13px; color: var(--ink); }
.rg-foot { display: grid; grid-template-columns: 150px 1fr; gap: 18px; margin-top: 16px; align-items: start; }
.rg-qr .qr { width: 150px; height: 150px; background: #fff; padding: 6px; border: 1.5px solid var(--ink); }
.rg-qr .qr canvas, .rg-qr .qr img { width: 100%; height: 100%; }
.rg-qr p { margin: 6px 0 0; font-size: 11px; text-align: center; }
.send-btn { width: 100%; background: var(--ink); border-color: var(--ink); color: var(--paper); }
.send-btn:hover { background: #000; }
.rg-links { display: flex; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.rg-links a, .rg-links button { font-family: var(--mono); font-size: 12px; color: var(--ink); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.rg-fine { margin: 12px 0 0; font-size: 11px; }
.rg-panel { position: absolute; inset: 0; background: var(--paper); padding: 26px; display: grid; align-content: center; gap: 14px; }
.rg-panel-h { font-family: var(--disp); text-transform: uppercase; letter-spacing: .14em; font-size: 20px; margin: 0; }
.wallet-list { display: grid; gap: 8px; }
.wallet-list button { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 14px; background: rgba(255,255,255,.4); border: 1.5px solid var(--ink); color: var(--ink); border-radius: 4px; padding: 10px 12px; cursor: pointer; text-align: left; }
.wallet-list img { width: 22px; height: 22px; border-radius: 4px; }
.nowallet p { font-size: 15px; }
.nowallet-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.nowallet-btns a { color: var(--ink); border: 1.5px solid var(--ink); padding: 8px 12px; border-radius: 4px; text-decoration: none; }
.back { justify-self: start; background: none; border: 0; color: var(--ink); cursor: pointer; text-decoration: underline; }
.rg-status { text-align: center; justify-items: center; }
.spin { width: 30px; height: 30px; border-radius: 50%; border: 3px solid rgba(0,0,0,.2); border-top-color: var(--ink); animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.st-h { font-family: var(--disp); text-transform: uppercase; letter-spacing: .1em; font-size: 24px; margin: 0; }
.st-p { margin: 0; font-size: 15px; max-width: 40ch; }
.st-act { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.st-act a, .st-act button { font-family: var(--mono); font-size: 13px; color: var(--ink); border: 1.5px solid var(--ink); background: transparent; padding: 8px 12px; border-radius: 4px; text-decoration: none; cursor: pointer; }

/* charity + faq */
.charity { padding: calc(12 * var(--vh)) 0; background: #0b0d12; border-top: 1px solid var(--line); }
.charity-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.charity-grid > div:first-child { position: relative; }
.faq { padding: calc(12 * var(--vh)) 0; background: #07080b; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-family: var(--disp); text-transform: uppercase; letter-spacing: .06em; font-size: 20px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-list summary::after { content: "+"; color: var(--brass); font-weight: 300; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { color: var(--bone-2); margin: 0 0 18px; max-width: 62ch; }

/* footer */
.foot { padding: 60px 0 30px; background: #000; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.foot-mark { width: 90px; height: 90px; }
.foot-name { font-family: var(--disp); text-transform: uppercase; letter-spacing: .1em; font-size: 20px; margin: 12px 0 2px; }
.foot-text p { font-size: 14px; color: var(--bone-2); max-width: 70ch; }
.foot-c { margin-top: 30px; }

/* ============================================================ phones */
@media (max-width: 900px) {
  .hero-grid, .ch-grid, .scan-grid, .coin-grid, .send-grid, .charity-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-art { margin-top: 10px; }
  .tag-wrap { margin: -30px 0 0 auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .sheet-stats { grid-template-columns: 1fr; }
  .album-grid { grid-template-columns: 1fr 1fr; }
  .lg-row { grid-template-columns: 40px 90px 1fr 90px; }
  .lg-row > :nth-child(5), .lg-row > :nth-child(6) { grid-column: span 2; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 32px); }
  .nav { padding: 8px 12px; gap: 10px; }
  .hero-wrap { padding: calc(4 * var(--vh)) 0 calc(14 * var(--vh)); }
  .cyr { top: -4%; }
  .h-name { font-size: 26vw; }
  .tag { width: 220px; }
  .tag-wrap { margin: -20px 0 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .album-grid { grid-template-columns: 1fr; }
  .rg-foot { grid-template-columns: 1fr; }
  .rg-qr { justify-self: center; }
  .rg-row { grid-template-columns: 1fr; gap: 6px; }
  .sheet::after { font-size: 14px; right: 14px; top: 12px; }
  .lg-row { grid-template-columns: 1fr 1fr; }
  .lg-row > :nth-child(1) { display: none; }
  .lg-head > :nth-child(1) { display: none; }
  .lg-row > :nth-child(5), .lg-row > :nth-child(6) { grid-column: auto; }
  .still-n { font-size: 24vw; }
  .supply .stop text { font-size: 58px; }
  .supply .stop text.s { display: none; }
  .supply .stop circle { r: 16; }
  .supply svg g[data-parcel] { transform-box: fill-box; }
  .cyr { font-size: 46vw; right: -12%; top: 36%; }
}

/* QA only: ?shot renders the hero at a fixed height so a tall headless window captures the whole page */
.shot { --vh: 9px; }
.shot .hero { min-height: 900px; }
.shot .embers, .shot .beam { display: none; }

/* ============================================================ real photos (9 Nov) */
.ph.has-photo picture { display: contents; }
.ph.has-photo img { display: block; }
.ph-tall { aspect-ratio: 4 / 5; max-height: 640px; }
.ph-tall img { object-position: 50% 30%; }
.ph-supplies img { object-position: 50% 45%; }
.album-grid .ph img { object-position: 50% 50%; }
.album-grid .ph:nth-child(5) img { object-position: 50% 30%; }
.cf-b img { object-position: 50% 30%; }
.album-credit { margin-top: 16px; color: var(--steel); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }

/* case file: the real scan and surgery, pinned to a lightbox */
.casefile { margin-top: 72px; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 18px; background: radial-gradient(ellipse 70% 80% at 50% 40%, rgba(159,182,230,.10), transparent 70%), #090b10; }
.casefile-k { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 22px; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; color: var(--brass); }
.casefile-k span + span { color: var(--steel); }
.casefile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 44px; }
.cf-sheet { margin: 0; padding: 10px 10px 0; background: #e9e4d6; box-shadow: 0 24px 50px rgba(0,0,0,.6); transition: transform .4s ease; }
.cf-a { transform: rotate(-2.2deg); }
.cf-b { transform: rotate(1.8deg) translateY(18px); }
.cf-sheet:hover { transform: rotate(0) scale(1.02); }
.cf-sheet img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(.25) contrast(1.05); }
.cf-sheet figcaption { color: var(--ink); font-size: 11px; line-height: 1.5; padding: 10px 2px 12px; }
.cf-sheet figcaption b { display: block; letter-spacing: .2em; text-transform: uppercase; color: var(--flare); margin-bottom: 2px; }
.casefile-fine { margin: 30px 0 0; text-align: right; color: var(--steel); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

/* film: two reels from home */
.film { position: relative; padding: calc(14 * var(--vh)) 0; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse 45% 50% at 80% 40%, rgba(226,192,112,.08), transparent 70%), linear-gradient(#0b0d12, #090a0e); }
.film-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.reels { display: grid; gap: 30px; }
.reel { margin: 0; background: #050608; border-radius: 4px; box-shadow: 0 30px 60px rgba(0,0,0,.55); }
.reel:nth-child(1) { transform: rotate(-1deg); }
.reel:nth-child(2) { transform: rotate(.8deg); margin-left: 6%; }
.reel-holes { height: 18px; background: radial-gradient(circle at 50% 50%, #1b1f29 0 4px, transparent 4.5px) 0 50% / 22px 18px repeat-x; }
.reel-frame { position: relative; margin: 0 12px; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.reel-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-snd { position: absolute; right: 10px; bottom: 10px; background: rgba(11,13,18,.75); color: var(--bone); border: 1px solid rgba(200,162,79,.5); border-radius: 3px; padding: 5px 9px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.reel-snd[aria-pressed="true"] { background: var(--brass); color: var(--night); }
.reel figcaption { padding: 2px 14px 12px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-2); }
.reel figcaption b { color: var(--brass); margin-right: 8px; }

@media (max-width: 900px) {
  .film-grid { grid-template-columns: 1fr; }
  .reel:nth-child(2) { margin-left: 0; }
}
@media (max-width: 560px) {
  .casefile { padding: 16px 14px 14px; }
  .casefile-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cf-b { transform: rotate(1.8deg) translateY(10px); }
  .cf-sheet { padding: 6px 6px 0; }
  .cf-sheet figcaption { font-size: 10px; }
  .ph-tall { aspect-ratio: 4 / 4.6; }
}
