:root {
  /* plate armor: blued steel, polished silver */
  --ink: #0b0c0e; --panel: #121418; --panel-2: #181b20; --panel-3: #20242a;
  --hair: #e8ecf117; --hair-2: #e8ecf126; --hair-3: #e8ecf13d;
  --cream: #eceef1; --muted: #9da3ad; --faint: #646a74;
  --cu: #aeb6c1; --cu-2: #dde2e9; --cu-fill: #aeb6c11c; --cu-line: #aeb6c166;
  --steel: linear-gradient(180deg, #fafbfc 0%, #c3c9d2 48%, #8a929e 52%, #d6dbe2 100%);
  --up: #7fae98; --down: #d9644f;
  --r: 4px; --wrap: 1280px; --gut: 56px; --sec: 136px; --nav-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { margin: 0; background: var(--ink); color: var(--cream); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--cu-2); }
h1 em, h2 em, .close-h em { background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.mono { font-family: var(--mono); }
.faint { color: var(--faint); }
.small { font-size: 12.5px; }
.up { color: var(--up); } .down { color: var(--down); } .cu { color: var(--cu-2); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--cream); color: var(--ink); padding: 8px 12px; }
:focus-visible { outline: 1px solid var(--cu-2); outline-offset: 3px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 3px; font: 500 14px/1 var(--sans); transition: background .25s var(--ease), border-color .25s, transform .25s var(--ease); }
.btn-cream { background: linear-gradient(180deg, #f6f7f9, #cdd2d9); color: var(--ink); box-shadow: inset 0 1px 0 #fff, 0 1px 0 #00000080; }
.btn-cream:hover { background: linear-gradient(180deg, #fff, #dfe3e8); transform: translateY(-1px); }
.btn-line { border: 1px solid var(--hair-3); color: var(--cream); }
.btn-line:hover { border-color: var(--cu-line); background: var(--cu-fill); }

/* nav */
.nav { position: fixed; inset: 0 0 auto; height: var(--nav-h); z-index: 20; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: #0b0c0ed9; backdrop-filter: blur(14px); border-color: var(--hair); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 400 23px/1 var(--serif); letter-spacing: -.01em; }
.brand.small { font-size: 17px; gap: 8px; }
.links { display: flex; gap: 26px; font-size: 14px; color: var(--muted); }
.links a:hover { color: var(--cream); }
.nav-r { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; border: 1px solid var(--hair-2); border-radius: 3px; font-size: 12.5px; }
.chip i { width: 1px; height: 14px; background: var(--hair-3); }
.chip em { font-style: normal; color: var(--cu-2); font-family: var(--mono); font-size: 11.5px; }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 48px) 0 72px; overflow: hidden; }
#plate, #plate2 { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-shade { position: absolute; inset: 0; background:
  radial-gradient(ellipse 70% 60% at 28% 45%, #0b0c0ee6 0%, #0b0c0e99 45%, transparent 75%),
  linear-gradient(180deg, #0b0c0ecc 0%, transparent 18%); pointer-events: none; }
.hero-grid { position: relative; width: 100%; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font: 400 12.5px/1 var(--mono); color: var(--muted); letter-spacing: .02em; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cu); box-shadow: 0 0 0 4px var(--cu-fill); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px transparent; } }
h1 { margin: 0; font: 300 clamp(54px, 8.2vw, 118px)/.94 var(--serif); letter-spacing: -.035em; }
.lede { max-width: 520px; margin: 28px 0 34px; font-size: 18.5px; line-height: 1.55; color: #cfd3d9; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ca { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--hair); font-size: 13px; }
.ca-k { font: 500 12px var(--mono); color: var(--cu-2); }
.ca code { font: 400 12.5px var(--mono); color: var(--muted); padding: 5px 9px; border: 1px dashed var(--hair-3); border-radius: 3px; }
.ca-s { color: var(--faint); font-size: 12px; }

/* hero art */
.hero { padding-bottom: 0; align-items: stretch; }
.hero-grid { align-items: end; }
.hero-copy { align-self: center; padding-bottom: 72px; }
.knight { margin: 0; align-self: end; justify-self: center; position: relative; height: min(84svh, 880px); aspect-ratio: 712 / 1500; will-change: transform; }
.knight::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 140%; height: 22%; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 100%, #dde2e92e, transparent 70%); pointer-events: none; }
.knight img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: bottom; display: block;
  filter: drop-shadow(0 30px 60px #000) brightness(.96) contrast(1.04);
  animation: rise 1.6s var(--ease) both .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } }

/* one continuous Olympus scene: fixed behind everything, layers crossfade + drift on scroll (app.js) */
.scene { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--ink); overflow: hidden; }
.sc { position: absolute; inset: -6% -3%; background: var(--img) right center / cover no-repeat; opacity: 0; will-change: opacity, transform; }
.sc:first-child { opacity: 1; }
.sc-veil { position: absolute; inset: 0; z-index: 3; background:
  linear-gradient(90deg, #0b0c0ef5 0%, #0b0c0ed9 40%, #0b0c0e73 70%, #0b0c0e40 100%),
  radial-gradient(ellipse 120% 80% at 70% 40%, transparent 40%, #0b0c0e99 100%); }
main, .foot { position: relative; }
h2, .kicker, .body, .close-h { filter: drop-shadow(0 2px 14px #0b0c0e); }
.card, .node, .formula, .pc-stats div, .sim-out > div { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.card { background: linear-gradient(180deg, #181b20c7, #121418d9); }
.node, .formula { background: #121418c2; }
.pc-stats div, .sim-out > div { background: #121418e0; }
.sim-out .big { background: linear-gradient(90deg, #232830e6, #121418e0); }
#limits .lim-list { background: linear-gradient(180deg, #121418c7, #0b0c0ed9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--hair-2); border-radius: var(--r); padding: 10px 32px; }
.qa { background: linear-gradient(180deg, #121418e6, #0b0c0ef0); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 0 28px; border: 1px solid var(--hair); border-radius: var(--r); }
@media (max-width: 760px) {
  .sc { background-image: var(--img-m, var(--img)); background-position: 86% 40%; }
  .sc-veil { background: linear-gradient(180deg, #0b0c0ea6 0%, #0b0c0ec7 45%, #0b0c0ed9 100%); }
  #limits .lim-list { padding: 6px 22px; }
  .qa { padding: 0 18px; }
}

/* section art */
.sec-head { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; margin-bottom: 56px; }
.sec-head h2 { margin-bottom: 0; }
.art { display: block; height: auto; filter: drop-shadow(0 24px 50px #000) brightness(.94); }
.art-forge { width: min(470px, 42vw); }
.art-oath { width: min(470px, 42vw); }
.art-vault { width: min(460px, 100%); margin-top: 44px; }
.art-helm { width: 150px; height: auto; filter: drop-shadow(0 20px 40px #000); }
.live-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.live-in .plate-card { max-width: 560px; justify-self: end; width: 100%; }

/* cards */
.card { position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--hair-2); border-radius: var(--r); }
.card.lit::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), #dde2e91f, transparent 60%); }
.card.lit:hover::before { opacity: 1; }
.card.lit:hover { border-color: var(--cu-line); }

.plate-card { padding: 22px 22px 18px; box-shadow: 0 40px 120px -40px #000, inset 0 1px 0 #e8ecf11a; }
.pc-head { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 14px; }
.pc-chart { width: 100%; height: 190px; display: block; }
.pc-chart .grid line { stroke: var(--hair); stroke-dasharray: 2 4; }
.pc-chart .price { fill: none; stroke: #9da3ad; stroke-opacity: .9; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.pc-chart .floor { fill: none; stroke: var(--cu-2); stroke-width: 2; vector-effect: non-scaling-stroke; }
.pc-chart .floor-fill { fill: url(#fl); }
.pc-legend { display: flex; gap: 16px; font-size: 11px; color: var(--muted); margin: 10px 0 18px; }
.pc-legend i { display: inline-block; width: 14px; height: 2px; margin-right: 6px; vertical-align: middle; }
.lg-p { background: var(--muted); } .lg-f { background: var(--cu-2); }
.pc-legend .faint { margin-left: auto; }
.pc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: var(--hair); border: 1px solid var(--hair); border-radius: 3px; overflow: hidden; }
.pc-stats div { background: var(--panel); padding: 12px 14px; }
.pc-stats dt { font-size: 11.5px; color: var(--faint); margin-bottom: 4px; }
.pc-stats dd { margin: 0; font-size: 14.5px; }
.pc-note { margin: 12px 0 0; font-size: 12px; color: var(--faint); }

/* band */
.band { position: relative; border-block: 1px solid var(--hair); overflow: hidden; background: #0b0c0eb3; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.band-track { display: flex; gap: 22px; width: max-content; padding: 17px 0; font: 400 13px var(--mono); color: var(--muted); white-space: nowrap; animation: slide 42s linear infinite; }
.band-track b { color: var(--cu); font-weight: 400; }
@keyframes slide { to { transform: translateX(-50%); } }

/* sections */
.sec { padding: var(--sec) 0; position: relative; }
.sec-alt { background: none; }
.kicker { margin: 0 0 18px; font: 400 12px var(--mono); color: var(--cu-2); letter-spacing: .08em; text-transform: uppercase; }
h2 { margin: 0 0 56px; font: 300 clamp(38px, 5vw, 68px)/1 var(--serif); letter-spacing: -.03em; }
h3 { margin: 0 0 10px; font: 400 25px/1.15 var(--serif); letter-spacing: -.01em; }
.body { color: var(--muted); font-size: 16.5px; max-width: 440px; }

/* flow */
.flow { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1.2fr; align-items: center; gap: 0; margin-bottom: 56px; }
.node { border: 1px solid var(--hair-2); border-radius: 3px; padding: 14px 18px; background: var(--panel); min-width: 128px; }
.node span { display: block; font-size: 11px; margin-bottom: 4px; }
.node b { display: block; font: 300 34px/1 var(--serif); }
.node small { display: block; color: var(--faint); font-size: 11.5px; margin-top: 6px; }
.node.hot { border-color: var(--cu-line); background: linear-gradient(180deg, #262b33, var(--panel)); }
.cu-node { border-color: var(--cu-line); } .cu-node span { color: var(--cu-2); } .cu-node b { color: var(--cu-2); }
.wire { height: 1px; background: var(--hair-3); position: relative; overflow: hidden; margin: 0 10px; }
.wire i { position: absolute; top: -1px; left: -30%; width: 30%; height: 3px; background: linear-gradient(90deg, transparent, var(--cu-2), transparent); animation: flowl 2.2s linear infinite; }
@keyframes flowl { to { left: 100%; } }
.split { display: grid; gap: 10px; margin-left: 20px; padding-left: 20px; border-left: 1px solid var(--hair-3); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { padding: 30px 28px 32px; }
.num { display: block; font: 400 italic 30px/1 var(--serif); color: var(--cu); margin-bottom: 34px; }
.steps p, .rules li, .lim-list p, .qa p { color: var(--muted); font-size: 15px; margin: 0; }

/* sim */
.sim { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.formula { margin: 34px 0 0; padding: 20px 22px; border: 1px solid var(--hair-2); border-left: 2px solid var(--cu); background: var(--panel); font-size: 13.5px; line-height: 1.9; color: var(--cream); border-radius: 0 3px 3px 0; overflow-x: auto; }
.sim-card { padding: 26px; }
.field { display: block; margin-bottom: 22px; }
.field > span:first-child { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.field output { color: var(--cream); font-size: 13px; }
.field-row { display: flex; justify-content: space-between; align-items: center; }
.field-row > span:first-child { margin: 0; }
.hype { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--hair-2); border-radius: 3px; padding: 0 10px; height: 36px; }
.hype input { width: 70px; background: none; border: 0; color: var(--cream); font: 400 14px var(--mono); outline: none; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: linear-gradient(90deg, var(--cu) var(--p, 50%), var(--hair-3) var(--p, 50%)); border-radius: 2px; outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 2px; background: var(--cream); border: 3px solid var(--ink); box-shadow: 0 0 0 1px var(--cu); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 2px; background: var(--cream); border: 3px solid var(--ink); box-shadow: 0 0 0 1px var(--cu); cursor: pointer; }
.sim-out { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: 3px; overflow: hidden; margin: 8px 0 14px; }
.sim-out > div { background: var(--panel); padding: 14px; }
.sim-out span { display: block; font-size: 11.5px; color: var(--faint); margin-bottom: 4px; }
.sim-out b { font-weight: 400; font-size: 14.5px; }
.sim-out .big, .sim-out .after { grid-column: span 3; display: flex; justify-content: space-between; align-items: baseline; }
.sim-out .big b { font: 300 34px/1 var(--serif); color: var(--cream); }
.sim-out .big { background: linear-gradient(90deg, #232830, var(--panel)); }

/* rules */
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rules .card { padding: 30px 30px 26px; }
.rules h3 { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 13px 0 13px 26px; border-top: 1px solid var(--hair); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 10px; height: 5px; border-left: 1.5px solid var(--up); border-bottom: 1.5px solid var(--up); transform: rotate(-45deg); }
.ticks.no li::before { width: 10px; height: 0; top: 23px; border-left: 0; border-bottom: 1.5px solid var(--down); transform: none; }

/* limits */
.limits { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.lim-list p { padding: 20px 0; border-top: 1px solid var(--hair); }
.lim-list b { color: var(--cream); font-weight: 500; }

/* faq */
.qa { border-top: 1px solid var(--hair); max-width: 860px; }
.qa details { border-bottom: 1px solid var(--hair); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 0; font: 400 21px var(--serif); display: flex; justify-content: space-between; gap: 20px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font: 300 22px var(--mono); color: var(--cu-2); transition: transform .3s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 0 22px; max-width: 680px; }

/* close */
.close { position: relative; padding: 170px 0; overflow: hidden; text-align: center;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%); mask-image: linear-gradient(180deg, transparent, #000 22%); }
.close::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 60% at 50% 50%, #0b0c0ecc, transparent 80%); pointer-events: none; }
.close-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.close-h { margin: 0; font: 300 clamp(40px, 6vw, 84px)/1 var(--serif); letter-spacing: -.035em; }

.foot { border-top: 1px solid var(--hair); padding: 30px 0; font-size: 12.5px; background: #0b0c0ecc; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1080px) {
  :root { --gut: 32px; --sec: 104px; }
  .links { display: none; }
  .hero-grid, .sim, .limits, .live-in { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { padding-bottom: 0; }
  .knight { height: min(70svh, 620px); }
  .live-in .plate-card { justify-self: stretch; max-width: none; }
  .sec-head { grid-template-columns: 1fr; gap: 28px; }
  .art-forge { width: min(380px, 90vw); }
  .art-oath { width: min(380px, 90vw); }
  .flow { grid-template-columns: 1fr; gap: 10px; }
  .wire { width: 1px; height: 22px; margin: 0 0 0 30px; }
  .wire i { width: 3px; height: 40%; left: -1px; top: -40%; animation-name: flowv; }
  @keyframes flowv { to { top: 100%; } }
  .split { margin: 6px 0 0; padding: 0 0 0 20px; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --gut: 20px; --sec: 84px; --nav-h: 62px; }
  .chip { display: none; }
  .btn { height: 40px; padding: 0 15px; }
  .steps, .rules { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .sim-out { grid-template-columns: 1fr 1fr; }
  .sim-out .big, .sim-out .after { grid-column: span 2; }
  .sim-out > div:nth-child(3) { grid-column: span 2; }
  h2 { margin-bottom: 40px; }
  .lede { font-size: 17px; }
  .close { padding: 120px 0; }
  .knight { height: min(62svh, 500px); }
  .art-helm { width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
