/* PanUrgos — panurgos.com. Void black, ember gold, a cold blue threshold. System faces only: no font requests. */
:root {
  --void: #050506;
  --ink: #09090c;
  --ink-2: #0e0e12;
  --ink-3: #15151b;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .13);
  --fg: #ece6da;
  --fg-2: #a7a197;
  --fg-3: #6c675f;
  --gold: #f3d58f;
  --ember: #ff6a2b;
  --flame: #e2362b;
  --cream: #ffe6c2;
  --threshold: #3b9bff;
  --ok: #7ee2a8;
  --bad: #ff4a3d;
  --fire: linear-gradient(100deg, #f6dc9a 0%, #ffad5c 40%, #ff6a2b 70%, #e2362b 100%);
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", "Iowan Old Style", Georgia, serif;
  --sans: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  --mono: "Cascadia Mono", "Cascadia Code", "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --r: 4px;
  --wrap: 1200px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; background: var(--void); }
body { margin: 0; background: var(--void); color: var(--fg); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.04; }
p { margin: 0; }
::selection { background: rgba(255, 106, 43, .35); color: #fff; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* film grain over everything */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--fg); color: var(--void); padding: 8px 14px; }
.skip:focus { left: 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 860px; }
.fire { background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; padding-right: .06em; }
.greek { text-transform: none; letter-spacing: .02em; }
.label { font: 500 12px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--ember); }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px;
  font: 600 12.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; border: 1px solid transparent; border-radius: 2px;
  transition: transform .2s ease, box-shadow .3s ease, background .3s ease, border-color .3s ease, color .3s ease; white-space: nowrap;
}
.btn-sm { height: 34px; padding: 0 14px; font-size: 11px; }
.btn-lg { height: 54px; padding: 0 30px; }
.btn-fire { background: linear-gradient(100deg, #ffb35c, #ff6a2b 55%, #e2362b); color: #120604; box-shadow: 0 0 0 1px rgba(255, 170, 90, .4), 0 10px 40px -10px rgba(255, 106, 43, .7); }
.btn-fire:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 200, 120, .6), 0 14px 60px -8px rgba(255, 106, 43, .9); }
.btn-ghost { border-color: var(--line-2); color: var(--fg); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: rgba(243, 213, 143, .5); color: var(--gold); }

/* ------------------------------------------------------------------ the gate */
.gate { display: none; }
.js .gate { display: grid; place-items: center; position: fixed; inset: 0; z-index: 150; background: #000; transition: opacity 1.4s ease, filter 1.4s ease, transform 1.6s cubic-bezier(.7, 0, .2, 1); }
.gate-rain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.gate-in { position: relative; text-align: center; padding: 24px; max-width: 760px; }
.gate-line { font: 400 clamp(14px, 1.8vw, 17px)/1.9 var(--mono); color: #8fb6d9; letter-spacing: .04em; opacity: 0; animation: type .9s ease forwards; }
.gate-title { margin: 34px 0 44px; font-size: clamp(40px, 7vw, 84px); color: #fff; font-style: italic; opacity: 0; animation: rise 1.6s cubic-bezier(.2, .7, .2, 1) forwards; text-shadow: 0 0 40px rgba(59, 155, 255, .45); }
.l1 { animation-delay: .4s; } .l2 { animation-delay: 1.5s; } .l3 { animation-delay: 2.6s; } .l4 { animation-delay: 3.8s; } .l5 { animation-delay: 5s; }
@keyframes type { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); filter: blur(12px); } to { opacity: 1; transform: none; filter: none; } }
.cross {
  display: inline-flex; align-items: center; gap: 16px; padding: 14px 28px 14px 16px; cursor: pointer; border-radius: 999px;
  background: rgba(59, 155, 255, .06); border: 1px solid rgba(59, 155, 255, .35); opacity: 0; animation: rise 1.2s ease 5s forwards, breathe 3s 6.5s ease-in-out infinite;
  font: 600 12.5px/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: #cfe6ff; transition: background .3s, border-color .3s, transform .3s;
}
.cross:hover { background: rgba(59, 155, 255, .14); border-color: rgba(120, 190, 255, .8); transform: scale(1.03); }
.cross-orb { position: relative; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #e6f3ff, #63b6ff 35%, #1a5fd6 70%, #0a2a66); box-shadow: 0 0 24px rgba(59, 155, 255, .9); }
.cross-orb::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(120, 190, 255, .5); animation: halo 2.4s ease-out infinite; }
@keyframes halo { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(59, 155, 255, 0); } 50% { box-shadow: 0 0 40px 2px rgba(59, 155, 255, .35); } }
.gate-skip { display: block; margin: 26px auto 0; background: none; border: 0; cursor: pointer; color: #4f6377; font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; opacity: 0; animation: rise 1.2s ease 5.6s forwards; }
.gate-skip:hover { color: #9db4c9; }
.gate.gone { opacity: 0; filter: blur(30px) brightness(3); transform: scale(1.25); pointer-events: none; }
.gate.hidden { display: none !important; }

/* ------------------------------------------------------------------ nav */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(5, 5, 6, .55); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.nav.scrolled { border-bottom-color: var(--line); background: rgba(5, 5, 6, .8); }
.nav-in { display: flex; align-items: center; gap: 36px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 600 14px/1 var(--mono); letter-spacing: .32em; }
.links { display: flex; gap: 30px; }
.links a { font: 500 11.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--fg-2); transition: color .2s; }
.links a:hover { color: var(--gold); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icon-link { display: inline-grid; place-items: center; width: 36px; height: 36px; color: var(--fg-2); transition: color .2s; }
.icon-link:hover { color: var(--gold); }
.nav-cta .btn { margin-left: 10px; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); display: flex; align-items: center; padding: 40px 0 120px; overflow: hidden; isolation: isolate; text-align: center; }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-vignette { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(70% 60% at 50% 40%, transparent 30%, rgba(5, 5, 6, .9) 85%), linear-gradient(transparent 70%, var(--void)); }
.hero-in { position: relative; width: 100%; }
.phoenix-wrap { position: relative; width: min(540px, 86vw, 62vh); margin: 0 auto -50px; }
.phoenix { width: 100%; height: auto; overflow: visible; }
.phoenix .ring { fill: none; stroke: rgba(243, 213, 143, .16); stroke-width: 1; }
.phoenix .r2 { stroke-dasharray: 2 7; stroke: rgba(243, 213, 143, .22); }
.phoenix .halo { transform-origin: 400px 270px; animation: spin 120s linear infinite; }
.phoenix .tick { stroke: rgba(243, 213, 143, .35); stroke-width: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.phoenix .stroke { fill: none; stroke: url(#fire); stroke-width: 1.4; stroke-linecap: round; }
.phoenix .feather { fill: url(#fire); fill-opacity: 0; transition: fill-opacity 2.4s ease; }
.phoenix.lit .feather { fill-opacity: .14; }
.phoenix .body { fill: url(#fire); fill-opacity: 0; transition: fill-opacity 2s ease 1s; }
.phoenix.lit .body { fill-opacity: .9; }
.phoenix .eye { fill: #fff; opacity: 0; transition: opacity 1s ease 2.6s; }
.phoenix.lit .eye { opacity: 1; }
.phoenix.lit #bird { animation: flare 6s ease-in-out 3s infinite; }
@keyframes flare { 0%, 100% { filter: url(#soft) drop-shadow(0 0 6px rgba(255, 120, 50, .35)); } 50% { filter: url(#soft) drop-shadow(0 0 22px rgba(255, 120, 50, .75)); } }

.kicker { font: 500 12px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 26px; }
.kicker .greek { color: var(--gold); letter-spacing: .1em; }
.kicker .sep { color: var(--ember); margin: 0 .5em; }
.hero h1 { font-size: clamp(52px, 8.4vw, 124px); letter-spacing: -.025em; line-height: .96; text-shadow: 0 0 80px rgba(255, 106, 43, .15); }
.lede { max-width: 640px; margin: 30px auto 0; font-size: clamp(17px, 1.9vw, 20px); color: var(--fg-2); }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.hud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; margin-top: 56px; font: 500 11px/1 var(--mono); letter-spacing: .18em; color: var(--fg-3); }
.hud span { display: inline-flex; align-items: center; gap: 9px; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--fg-3); }
.dot.ok { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.dot.bad { background: var(--bad); box-shadow: 0 0 10px var(--bad); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 1px; height: 56px; background: var(--line-2); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { to { top: 110%; } }

/* ------------------------------------------------------------------ manifesto */
.manifesto { padding: 140px 0 120px; }
.manifesto .label { margin-bottom: 36px; }
.scrub { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 46px); line-height: 1.3; letter-spacing: -.01em; }
.scrub .w { color: rgba(236, 230, 218, .13); transition: color .5s ease, text-shadow .5s ease; }
.scrub .w.on { color: var(--fg); }
.scrub .w.hot { color: var(--gold); text-shadow: 0 0 24px rgba(255, 140, 60, .4); font-style: italic; }

/* ------------------------------------------------------------------ sections */
.section { position: relative; padding: 130px 0; isolation: isolate; }
.sec-head { max-width: 780px; margin-bottom: 64px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .label { margin-bottom: 22px; }
h2 { font-size: clamp(38px, 5.2vw, 72px); letter-spacing: -.02em; }
.sec-head p:not(.label) { margin-top: 24px; font-size: 18px; color: var(--fg-2); }
.footnote { margin-top: 22px; text-align: center; font: 400 12px/1.6 var(--mono); color: var(--fg-3); letter-spacing: .04em; }

/* ------------------------------------------------------------------ sovereign graph */
.graph-viewport { position: relative; width: 100%; aspect-ratio: 1200 / 640; overflow: hidden; border: 1px solid var(--line); background: #070606; box-shadow: 0 40px 120px -40px rgba(255, 90, 30, .25); }
.graph { position: absolute; left: 0; top: 0; width: 1200px; height: 640px; transform-origin: 0 0; font-family: var(--mono); }
.graph-canvas { position: absolute; inset: 0; width: 1200px; height: 640px; }
.g-label { position: absolute; font: 500 11px/1 var(--mono); letter-spacing: .22em; color: #8b847a; }
.g-label b { color: #fff; font-weight: 600; letter-spacing: .04em; font-size: 13px; }
.g-sep { color: var(--ember); margin: 0 6px; }
.g-tl { left: 28px; top: 26px; }
.g-tc { left: 500px; top: 42px; letter-spacing: .14em; font-size: 10px; display: flex; align-items: center; gap: 8px; }
.g-tr { right: 28px; top: 22px; letter-spacing: .08em; }
.g-br { right: 28px; bottom: 22px; }
.sq { display: inline-block; width: 6px; height: 6px; background: #5b544c; }
.sq.lit { background: var(--ember); margin-left: 18px; }
.g-chip {
  position: absolute; left: var(--x); top: var(--y); transform: rotate(var(--r)); z-index: 2;
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; font: 500 13px/1 var(--sans); padding: 9px 12px;
  opacity: 0; transition: opacity .6s ease, transform .6s ease;
}
.g-chip.card { background: #ece5d9; color: #1b1612; box-shadow: 0 0 0 1px rgba(255, 106, 43, .55), 0 0 18px rgba(255, 106, 43, .25); }
.g-chip.tag { background: rgba(20, 10, 6, .9); color: #ffb08a; border: 1px solid rgba(255, 106, 43, .55); font: 500 12px/1 var(--mono); letter-spacing: .06em; }
.g-chip .ic { font: 700 9px/1 var(--mono); font-style: normal; letter-spacing: .02em; display: inline-grid; place-items: center; min-width: 22px; height: 18px; padding: 0 4px; border-radius: 3px; color: #fff; }
.ic.mail { background: #d93025; font-size: 11px; } .ic.py { background: #3572a5; } .ic.chat { background: #6b3fa0; font-size: 11px; }
.ic.doc { background: #8a8178; } .ic.db { background: #0f766e; } .ic.xls { background: #1d6f42; }
.graph.live .g-chip { opacity: 1; }
.g-core {
  position: absolute; left: var(--x); top: var(--y); width: 58px; height: 58px; margin: -29px 0 0 -29px; z-index: 3;
  display: grid; place-items: center; background: #fff; box-shadow: 0 0 50px 8px rgba(255, 106, 43, .45), 0 0 140px 30px rgba(255, 90, 30, .18);
  opacity: 0; transform: scale(.6); transition: opacity .6s ease, transform .8s cubic-bezier(.2, .9, .2, 1.3);
}
.graph.live .g-core { opacity: 1; transform: none; }
.g-core svg { width: 30px; height: 30px; }
.g-core .br { position: absolute; width: 7px; height: 7px; border: 1.5px solid var(--ember); }
.br.tl { left: -6px; top: -6px; border-right: 0; border-bottom: 0; } .br.tr { right: -6px; top: -6px; border-left: 0; border-bottom: 0; }
.br.bl { left: -6px; bottom: -6px; border-right: 0; border-top: 0; } .br.brr { right: -6px; bottom: -6px; border-left: 0; border-top: 0; }
.g-perimeter { position: absolute; left: var(--x); top: 70px; bottom: 60px; width: 0; border-left: 1px dashed rgba(255, 74, 61, .4); z-index: 1; }
.g-perimeter span { position: absolute; top: -18px; left: -60px; width: 120px; text-align: center; font: 500 9.5px/1 var(--mono); letter-spacing: .2em; color: rgba(255, 110, 100, .75); }
.g-node {
  position: absolute; left: var(--x); top: var(--y); z-index: 4; transform: translate(-6px, -50%);
  display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 4px 6px 4px 0; cursor: pointer;
  font: 600 13px/1 var(--mono); letter-spacing: .02em; color: #8f887d; opacity: 0; transition: opacity .6s ease, color .2s;
}
.graph.grown .g-node { opacity: 1; }
.g-node::before { content: ""; width: 11px; height: 11px; flex: none; background: #9a938a; transition: background .2s, box-shadow .2s; }
.g-node.person::before { background: #d8d2c8; }
.g-node.data::before { background: var(--ember); }
.g-node.outside { color: rgba(255, 120, 110, .75); }
.g-node.outside::before { background: transparent; border: 1.5px solid var(--bad); width: 10px; height: 10px; }
.g-node:hover, .g-node:focus-visible, .g-node.active { color: #fff; outline: none; }
.g-node.active { background: rgba(10, 6, 4, .92); box-shadow: 0 0 0 1px rgba(255, 106, 43, .8); padding: 6px 10px 6px 6px; }
.g-node.outside.active { box-shadow: 0 0 0 1px rgba(255, 74, 61, .9); }
.g-node.active::before { box-shadow: 0 0 12px var(--ember); }
.g-card {
  position: absolute; left: 930px; top: 318px; width: 244px; z-index: 5; padding: 18px 18px 16px; background: rgba(12, 9, 7, .94);
  border: 1px solid rgba(255, 106, 43, .45); box-shadow: 0 0 60px -10px rgba(255, 90, 30, .35); opacity: 0; transition: opacity .6s ease .6s;
}
.graph.grown .g-card { opacity: 1; }
.g-card > * { transition: opacity .3s ease; }
.g-card.swap > * { opacity: 0; }
.g-card-meta { font: 500 10.5px/1.4 var(--mono); letter-spacing: .14em; color: #8f887d; display: flex; gap: 10px; }
.g-card-q { margin-top: 12px; font: 400 16px/1.38 var(--sans); color: #fff; }
.g-card-r { margin-top: 14px; font: 500 12.5px/1.4 var(--sans); display: flex; gap: 8px; }
.g-card-r.ok { color: var(--ember); }
.g-card-r.ok::before { content: "✓"; }
.g-card-r.no { color: var(--bad); }
.g-card-r.no::before { content: "✕"; }
.g-card-tags { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 14px; }
.g-card-tags span { font: 500 11px/1 var(--mono); padding: 5px 8px; border: 1px solid var(--line-2); color: #ddd5c8; display: inline-flex; align-items: center; gap: 7px; }
.g-card-tags span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ember); }
.g-card-tags span.p::before { background: #fff; }
.g-card-tags span.x::before { background: var(--bad); }
.g-card-foot { margin-top: 14px; font: 500 10.5px/1 var(--mono); color: #6f685f; letter-spacing: .06em; }
.g-legend { position: absolute; left: 28px; bottom: 22px; display: flex; align-items: center; gap: 8px; font: 500 10.5px/1 var(--mono); letter-spacing: .16em; color: #8b847a; }
.g-legend .dot { width: 7px; height: 7px; margin-left: 14px; }
.g-legend .dot:first-child { margin-left: 0; }
.dot.w { background: #e8e2d8; } .dot.e { background: var(--ember); } .dot.c { background: var(--cream); } .dot.r { background: var(--bad); }

/* ------------------------------------------------------------------ old way vs the other side */
.versus { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); border: 1px solid var(--line); }
.vs-col { padding: 52px 48px; }
.vs-col .label { margin-bottom: 30px; }
.vs-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.vs-col li { font-family: var(--serif); font-size: clamp(19px, 1.9vw, 23px); line-height: 1.35; padding-left: 34px; position: relative; }
.old .label { color: var(--fg-3); }
.old li { color: var(--fg-3); text-decoration: line-through; text-decoration-color: rgba(255, 74, 61, .6); text-decoration-thickness: 1px; }
.old li::before { content: "✕"; position: absolute; left: 0; top: 1px; font: 13px/1.8 var(--mono); color: var(--bad); }
.new { background: radial-gradient(80% 100% at 100% 0%, rgba(255, 106, 43, .08), transparent 60%); }
.new li::before { content: "◆"; position: absolute; left: 0; top: 1px; font: 11px/2.2 var(--mono); color: var(--gold); }
.vs-mid { display: grid; place-items: center; width: 64px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); color: var(--ember); font: 22px var(--mono); }

/* ------------------------------------------------------------------ the four laws */
.laws { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: start; }
.law-tabs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.law-tab { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 0 8px; text-align: left; padding: 26px 8px 28px 0; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; color: var(--fg-3); transition: color .3s; }
.law-tab .n { font: 400 22px/1.2 var(--serif); color: var(--fg-3); transition: color .3s; }
.law-tab b { display: block; font: 400 28px/1.15 var(--serif); color: inherit; }
.law-tab small { display: block; margin-top: 6px; font-size: 15px; color: var(--fg-3); }
.law-tab .bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; overflow: hidden; }
.law-tab .bar i { display: block; height: 100%; width: 0; background: var(--fire); }
.law-tab.active { color: var(--fg); }
.law-tab.active .n { color: var(--ember); }
.law-tab.active small { color: var(--fg-2); }
.law-tab.active .bar i { animation: fill var(--dur, 7s) linear forwards; }
.laws.paused .law-tab.active .bar i { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.law-panels { position: relative; }
.law-panel { margin: 0; animation: panel-in .7s ease; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.law-panel img, .roster { border: 1px solid var(--line-2); box-shadow: 0 30px 90px -30px rgba(0, 0, 0, .9), 0 0 80px -30px rgba(255, 106, 43, .25); }
.law-panel figcaption { margin-top: 18px; color: var(--fg-2); font-size: 15px; max-width: 640px; }
.roster { background: #0b0a09; padding: 26px; font-family: var(--mono); aspect-ratio: 1480 / 920; display: flex; flex-direction: column; justify-content: center; gap: 0; }
.roster-head { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .2em; color: var(--fg-3); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.roster-head .tag { color: var(--ember); }
.roster-row { display: grid; grid-template-columns: 14px 1.1fr 1.4fr auto; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.roster-row b { font-weight: 600; color: var(--fg); }
.roster-row span { color: var(--fg-3); }
.roster-row.denied b { color: var(--fg-3); text-decoration: line-through; }
.lvl { font-style: normal; font-size: 11px; letter-spacing: .14em; padding: 5px 9px; border: 1px solid rgba(255, 74, 61, .5); color: var(--bad); }
.lvl.l4 { color: var(--gold); border-color: rgba(243, 213, 143, .5); }
.lvl.l3, .lvl.l2 { color: var(--ember); border-color: rgba(255, 106, 43, .5); }

/* ------------------------------------------------------------------ studio */
.studio { background: linear-gradient(180deg, transparent, rgba(255, 106, 43, .03) 30%, transparent); }
.window { position: relative; margin: 0; border: 1px solid var(--line-2); background: var(--ink); }
.studio-shot { max-width: 1100px; margin: 0 auto; }
.studio-shot img { position: relative; z-index: 1; }
.window-glow { position: absolute; inset: 8% 4% -4%; z-index: 0; background: radial-gradient(closest-side, rgba(255, 106, 43, .5), transparent); filter: blur(60px); }
.feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 72px; border-top: 1px solid var(--line); }
.feat { padding: 28px 26px 0 0; }
.feat + .feat { padding-left: 26px; border-left: 1px solid var(--line); }
.feat b { display: block; font: 400 22px/1.2 var(--serif); }
.feat span { display: block; margin-top: 10px; font-size: 15px; color: var(--fg-2); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 72px; }
.gallery .window { transition: transform .5s ease, border-color .5s ease; }
.gallery .window:hover { transform: translateY(-4px); border-color: rgba(243, 213, 143, .35); }

/* ------------------------------------------------------------------ hardware */
.hw { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.hw-item { padding: 34px 28px; }
.hw-item + .hw-item { border-left: 1px solid var(--line); }
.hw-item b { display: block; font: 400 28px/1.1 var(--serif); }
.hw-item span { display: block; margin-top: 12px; font-size: 15px; color: var(--fg-2); }

/* ------------------------------------------------------------------ download */
.download { overflow: hidden; }
.rise { position: absolute; left: 50%; bottom: -320px; width: 1100px; height: 700px; transform: translateX(-50%); z-index: -1; background: radial-gradient(closest-side, rgba(255, 106, 43, .28), rgba(226, 54, 43, .08) 55%, transparent); filter: blur(30px); animation: pulse 7s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .65; transform: translateX(-50%) scale(1.06); } }
.dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1000px; margin: 0 auto; border: 1px solid var(--line-2); background: rgba(9, 9, 12, .7); backdrop-filter: blur(6px); }
.dl-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 34px 30px; transition: background .3s; }
.dl-card + .dl-card { border-left: 1px solid var(--line-2); }
.dl-card svg { margin-bottom: 14px; color: var(--fg); }
.dl-card b { font: 400 28px/1.1 var(--serif); }
.dl-card span { color: var(--fg-2); font-size: 14px; }
.dl-card em { margin-top: 22px; font: 600 11.5px/1 var(--mono); font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.dl-card:hover { background: rgba(255, 106, 43, .06); }
.dl-card.mine { background: rgba(255, 106, 43, .07); box-shadow: inset 0 2px 0 var(--ember); }
.dl-card.mine::after { content: "YOUR SYSTEM"; position: absolute; top: 20px; right: 20px; font: 600 10px/1 var(--mono); letter-spacing: .18em; color: var(--ember); }
.fine { margin-top: 28px; text-align: center; color: var(--fg-3); font: 400 12px/1.6 var(--mono); letter-spacing: .04em; }

/* ------------------------------------------------------------------ faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 26px 50px 26px 0; position: relative; font: 400 23px/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 26px/1 var(--mono); color: var(--ember); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 28px; color: var(--fg-2); max-width: 720px; }

/* ------------------------------------------------------------------ footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 60px; }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 28px 48px; align-items: start; }
.foot-brand p { margin-top: 12px; color: var(--fg-3); font: 400 15px var(--serif); font-style: italic; }
.foot-links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: flex-end; }
.foot-links a { font: 500 11.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--fg-2); }
.foot-links a:hover { color: var(--gold); }
.foot-note { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid var(--line); color: var(--fg-3); font: 400 12px/1.6 var(--mono); }

/* ------------------------------------------------------------------ reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s cubic-bezier(.2, .7, .2, 1), transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero .reveal { transition-duration: 1.6s; }
.js .hero .reveal:nth-of-type(2) { transition-delay: .25s; }
.js .hero .reveal:nth-of-type(3) { transition-delay: .5s; }
.js .hero .cta-row { transition-delay: .75s; }
.js .hero .hud { transition-delay: 1s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::after, .phoenix .halo, .rise, .scroll-cue span { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .gate-line, .gate-title, .cross, .gate-skip { animation: none; opacity: 1; }
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .links { display: none; }
  .laws { grid-template-columns: minmax(0, 1fr); }
  .law-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .law-tab { padding-right: 16px; }
  .feats, .hw { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat:nth-child(3) { border-left: 0; padding-left: 0; }
  .hw-item:nth-child(3) { border-left: 0; }
  .hw-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 24px 0 100px; }
  .phoenix-wrap { margin-bottom: -10px; }
  .kicker { font-size: 10px; letter-spacing: .2em; }
  .hud { gap: 12px 18px; font-size: 10px; }
  .section { padding: 90px 0; }
  .manifesto { padding: 90px 0; }
  .graph-viewport { aspect-ratio: auto; height: 420px; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
  .graph-viewport .graph { position: relative; }
  .versus { grid-template-columns: minmax(0, 1fr); }
  .vs-mid { width: auto; height: 48px; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(90deg); }
  .vs-col { padding: 34px 22px; }
  .law-tabs { grid-template-columns: minmax(0, 1fr); }
  .law-tab b { font-size: 24px; }
  .feats, .hw, .gallery, .dl { grid-template-columns: minmax(0, 1fr); }
  .feat, .feat + .feat { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .hw-item + .hw-item { border-left: 0; border-top: 1px solid var(--line); }
  .dl-card + .dl-card { border-left: 0; border-top: 1px solid var(--line-2); }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .foot-links { justify-content: flex-start; }
  .nav-cta .icon-link { display: none; }
  .btn-lg { width: 100%; }
}

.dl-card.soon { cursor: default; }
.dl-card.soon em { color: var(--fg-3); }
.dl-card.soon:hover { background: none; }
