:root {
  --bg: #04070c;
  --bg-2: #08101a;
  --c1: #5ee7ff;          /* HUD cyan */
  --c1-dim: rgba(94, 231, 255, .18);
  --gold: #ffb547;        /* suit gold */
  --hot: #ff5a3d;         /* suit red, sparingly */
  --ink: #e8f6ff;
  --ink-2: #9fb6c6;
  --ink-3: #5f7685;
  --glass: rgba(10, 22, 34, .72);
  --line: rgba(94, 231, 255, .22);
  --hud: "Chakra Petch", "Segoe UI", sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --speed: 1;
}
body.peace {
  --c1: #a8c8ff;
  --c1-dim: rgba(168, 200, 255, .16);
  --gold: #d9c2ff;
  --hot: #9fd8c8;
  --line: rgba(168, 200, 255, .2);
  --bg: #070912;
  --speed: 4;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: radial-gradient(ellipse at 50% 40%, var(--bg-2), var(--bg) 70%);
  background-color: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 2s ease;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
kbd {
  font: 500 11px var(--hud); border: 1px solid var(--line); border-radius: 4px;
  padding: 1px 6px; color: var(--c1);
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.grid-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--c1-dim) 1px, transparent 1px),
    linear-gradient(90deg, var(--c1-dim) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.35), transparent 70%);
  opacity: .5;
}
.scanline {
  position: fixed; inset: 0; z-index: 50; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 3px);
}

/* ================= BOOT ================= */
#boot {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: grid; place-items: center; transition: opacity .8s ease, visibility .8s;
}
#boot.done { opacity: 0; visibility: hidden; }
#boot[hidden], .panel[hidden] { display: none; }
.boot-inner { width: min(420px, 86vw); text-align: center; }
.boot-reactor { width: 150px; height: 150px; margin: 0 auto 28px; display: block; }
.br { fill: none; stroke: var(--c1); stroke-width: 1.5; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.6s ease forwards; }
.br.r2 { animation-delay: .25s; stroke: var(--gold); }
.br.r3 { animation-delay: .5s; stroke-dasharray: 4 6; stroke-dashoffset: 0; opacity: 0; animation: fade .6s .8s forwards; }
.br-core { fill: var(--c1); opacity: 0; filter: drop-shadow(0 0 18px var(--c1)); animation: fade .6s 1.1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.boot-lines { font: 500 13px/1.9 var(--hud); color: var(--ink-2); text-align: left; min-height: 150px; letter-spacing: .04em; }
.boot-lines div::before { content: "› "; color: var(--c1); }
.boot-lines .ok { color: var(--c1); float: right; }
.boot-bar { height: 2px; background: var(--c1-dim); margin-top: 14px; overflow: hidden; }
.boot-bar span { display: block; height: 100%; width: 0; background: var(--gold); box-shadow: 0 0 12px var(--gold); transition: width .3s ease; }
.boot-skip {
  position: absolute; bottom: 28px; right: 28px; font: 500 12px var(--hud); letter-spacing: .1em;
  color: var(--ink-3); border: 1px solid var(--line); padding: 8px 14px; border-radius: 4px;
}
.boot-skip:hover { color: var(--ink); }

/* ================= TOP HUD ================= */
.hud-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 24px;
  font-family: var(--hud);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: .2em; font-size: 13px; color: var(--ink-2); transition: color .2s; }
.logo:hover { color: var(--ink); }
.logo b { color: var(--gold); font-weight: 600; }
.logo-mark { width: 18px; height: 18px; border: 2px solid var(--c1); border-radius: 50%; box-shadow: 0 0 10px var(--c1), inset 0 0 6px var(--c1); }
.hud-status { font-size: 12px; letter-spacing: .16em; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--c1); box-shadow: 0 0 10px var(--c1); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.hud-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 6px; font-size: 13px; color: var(--ink-2);
  background: rgba(4, 7, 12, .5);
}
.icon-btn:hover { color: var(--ink); border-color: var(--c1); }
#soundBtn .snd-on { display: none; }
#soundBtn[aria-pressed="true"] .snd-on { display: inline; }
#soundBtn[aria-pressed="true"] .snd-off { display: none; }
.recruiter-btn {
  display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px;
  background: var(--gold); color: #1a1205; font-weight: 600; font-size: 13px; letter-spacing: .06em;
  text-decoration: none; border-radius: 6px; box-shadow: 0 0 24px rgba(255, 181, 71, .35);
  transition: transform .2s ease;
}
.recruiter-btn:hover { transform: translateY(-1px); }
.rb-dot { width: 6px; height: 6px; border-radius: 50%; background: #1a1205; }
.recruiter-fab { display: none; }
@media (max-width: 860px) { .hud-status { display: none; } }
@media (max-width: 600px) {
  .hud-top { padding: 12px 16px; }
  .hide-sm { display: none; }
  .recruiter-btn { display: none; }
  .recruiter-fab {
    display: block; position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 40;
    text-align: center; padding: 13px; border-radius: 10px; background: var(--gold); color: #1a1205;
    font: 600 14px var(--hud); letter-spacing: .06em; text-decoration: none;
    box-shadow: 0 8px 30px rgba(0,0,0,.5);
  }
}

/* ================= HUB ================= */
#hub {
  position: fixed; inset: 0; z-index: 10; display: grid; place-items: center;
  perspective: 1200px; transition: opacity .5s ease, transform .6s ease, filter .6s ease;
  padding-top: 44px;
}
body.panel-open #hub { opacity: .18; transform: scale(1.12); filter: blur(4px); pointer-events: none; }
.hub-stage {
  --S: min(calc(100vh - 230px), 88vw, 720px);
  --R: calc(var(--S) * .40);
  position: relative; width: var(--S); height: var(--S);
  transform-style: preserve-3d; transition: transform .25s ease-out;
}
.links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.links line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 6; }
.links line.hot { stroke: var(--gold); stroke-dasharray: none; filter: drop-shadow(0 0 4px var(--gold)); }

.core-wrap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; }
.core { width: calc(var(--S) * .40); height: calc(var(--S) * .40); display: block; margin: 0 auto; border-radius: 50%; }
.core svg { width: 100%; height: 100%; overflow: visible; }
.ring { fill: none; stroke: var(--c1); transform-origin: 150px 150px; }
.ring-a { stroke-width: 1; stroke-dasharray: 2 8; animation: spin calc(40s * var(--speed)) linear infinite; }
.ring-b { stroke-width: 3; stroke: var(--gold); stroke-dasharray: 60 22; opacity: .9; animation: spin calc(24s * var(--speed)) linear infinite reverse; filter: drop-shadow(0 0 6px var(--gold)); }
.ring-c { stroke-width: 1.5; stroke-dasharray: 140 20 10 20; animation: spin calc(16s * var(--speed)) linear infinite; }
.ring-ticks line { stroke: var(--c1); stroke-width: 1; opacity: .6; }
.ring-ticks { transform-origin: 150px 150px; animation: spin calc(90s * var(--speed)) linear infinite reverse; }
.tri { fill: none; stroke: var(--c1); stroke-width: 2; opacity: .8; filter: drop-shadow(0 0 6px var(--c1)); }
.core-glow { animation: breathe calc(3s * var(--speed)) ease-in-out infinite; transform-origin: 150px 150px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.15); opacity: .8; } }
.core:hover .tri { stroke: var(--gold); }
.core-id { margin-top: 6px; white-space: nowrap; }
.id-name { font: 600 clamp(16px, 2.4vw, 22px) var(--hud); letter-spacing: .3em; }
.id-role { font-size: clamp(12px, 1.4vw, 14px); color: var(--ink-2); }

.node {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -39px) rotate(var(--a)) translate(var(--R)) rotate(calc(-1 * var(--a)));
  width: 150px; padding: 12px 10px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-family: var(--hud);
}
.node-ring {
  width: 54px; height: 54px; border-radius: 50%; margin-bottom: 8px; position: relative;
  border: 1.5px solid var(--c1); box-shadow: 0 0 14px var(--c1-dim), inset 0 0 14px var(--c1-dim);
  transition: transform .3s ease, border-color .3s, box-shadow .3s;
  animation: float 5s ease-in-out infinite;
}
.node-ring::before, .node-ring::after { content: ""; position: absolute; border-radius: 50%; }
.node-ring::before { inset: 8px; border: 1px dashed var(--c1); opacity: .6; animation: spin calc(10s * var(--speed)) linear infinite; }
.node-ring::after { inset: 19px; background: var(--c1); box-shadow: 0 0 12px var(--c1); }
.node:nth-of-type(2) .node-ring { animation-delay: -1s; }
.node:nth-of-type(3) .node-ring { animation-delay: -2s; }
.node:nth-of-type(4) .node-ring { animation-delay: -3s; }
.node:nth-of-type(5) .node-ring { animation-delay: -4s; }
@keyframes float { 50% { translate: 0 -6px; } }
.node-code { font-size: 11px; letter-spacing: .22em; color: var(--gold); }
.node-title { font-size: 17px; font-weight: 600; letter-spacing: .04em; }
.node-peek {
  font: 12px var(--sans); color: var(--ink-2); max-width: 170px;
  opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s;
}
.node:hover .node-ring, .node:focus-visible .node-ring {
  transform: scale(1.18); border-color: var(--gold);
  box-shadow: 0 0 26px rgba(255, 181, 71, .5), inset 0 0 14px rgba(255, 181, 71, .3);
}
.node:hover .node-ring::after, .node:focus-visible .node-ring::after { background: var(--gold); box-shadow: 0 0 14px var(--gold); }
.node:hover .node-peek, .node:focus-visible .node-peek { opacity: 1; transform: none; }

.telemetry {
  position: fixed; bottom: 28px; z-index: 11; font: 500 11px/1.9 var(--hud);
  letter-spacing: .12em; color: var(--ink-2);
}
.telemetry span { display: inline-block; min-width: 140px; color: var(--ink-3); }
.telemetry b { color: var(--c1); font-weight: 500; }
.tl-left { left: 24px; }
.tl-right { right: 24px; text-align: right; }
.tl-right span { min-width: 0; margin-right: 14px; }
.hub-hint {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
  font: 500 12px var(--hud); letter-spacing: .14em; color: var(--ink-3); z-index: 11; text-transform: uppercase;
}
@media (max-width: 1100px) { .telemetry { display: none; } }

/* Mobile hub: vertical stack */
@media (max-width: 600px) {
  body { overflow: auto; }
  #hub { position: relative; inset: auto; display: block; min-height: 100vh; padding: 76px 16px 96px; perspective: none; }
  .hub-stage { --S: 100%; width: 100%; height: auto; display: flex; flex-direction: column; gap: 10px; transform: none !important; }
  .links { display: none; }
  .core-wrap { position: static; transform: none; margin: 0 auto 18px; }
  .core { width: 190px; height: 190px; margin: 0 auto; }
  .node {
    position: static; transform: none; width: 100%; flex-direction: row; text-align: left; gap: 14px;
    padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--glass);
    display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto auto; column-gap: 14px; row-gap: 0;
  }
  .node-ring { width: 40px; height: 40px; margin: 0; grid-row: 1 / 4; align-self: center; animation: none; }
  .node-ring::after { inset: 13px; }
  .node-ring::before { inset: 6px; }
  .node-peek { opacity: 1; transform: none; max-width: none; }
  .hub-hint { display: none; }
}

/* ================= PANELS ================= */
.panel {
  position: fixed; inset: 0; z-index: 40; display: grid; place-items: center;
  padding: 76px 24px 24px; overflow-y: auto;
}
.panel[hidden] { display: none; }
.panel-frame {
  position: relative; width: min(1040px, 100%); max-height: calc(100vh - 100px); overflow-y: auto;
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 4px;
  clip-path: polygon(0 18px, 18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  animation: panelIn .55s cubic-bezier(.2, .9, .3, 1) both;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.panel-frame.narrow { width: min(640px, 100%); }
.panel-frame::before, .panel-frame::after {
  content: ""; position: absolute; width: 28px; height: 28px; border: 2px solid var(--gold); pointer-events: none;
}
.panel-frame::before { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.panel-frame::after { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
@keyframes panelIn {
  from { opacity: 0; transform: scale(.94) translateY(16px); clip-path: polygon(0 50%, 0 50%, 100% 50%, 100% 50%, 100% 50%, 0 50%); }
}
.panel-head {
  position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 32px; background: linear-gradient(var(--glass) 70%, transparent);
  border-bottom: 1px solid var(--line);
}
.p-code { font: 600 12px var(--hud); letter-spacing: .24em; color: var(--gold); }
.panel-head h2 { font: 600 clamp(24px, 3.4vw, 34px)/1.1 var(--hud); letter-spacing: .04em; }
.close { font: 500 12px var(--hud); letter-spacing: .12em; color: var(--ink-2); border: 1px solid var(--line); padding: 8px 12px; border-radius: 4px; }
.close:hover { color: var(--ink); border-color: var(--c1); }
.panel-body { padding: 28px 32px 36px; }
.panel-body.center { text-align: center; }
.p-lede { font-size: clamp(16px, 1.7vw, 19px); color: var(--ink); max-width: 64ch; }
.center .p-lede { margin: 0 auto; }
.sub { font: 600 13px var(--hud); letter-spacing: .2em; text-transform: uppercase; color: var(--c1); margin: 40px 0 16px; }
.sub small { font: 400 13px var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-3); margin-left: 10px; }
.note { color: var(--ink-3); font-size: 14px; margin-top: 18px; }
.p-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.p-cta.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 4px;
  border: 1px solid var(--line); font: 600 13px var(--hud); letter-spacing: .08em; text-decoration: none;
  color: var(--ink); background: rgba(4, 7, 12, .4); transition: border-color .2s, transform .2s;
}
.btn:hover { border-color: var(--c1); transform: translateY(-1px); }
.btn.gold { background: var(--gold); color: #1a1205; border-color: var(--gold); }
.btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }
@media (max-width: 600px) {
  .panel { padding: 0; place-items: stretch; }
  .panel-frame { max-height: 100vh; height: 100vh; clip-path: none; border: 0; }
  .panel-head { padding: 16px; }
  body.panel-open { overflow: hidden; }
  body.panel-open #hub { display: none; }
  .panel-frame::before, .panel-frame::after { display: none; }
  .panel-body { padding: 20px 16px 96px; }
}

/* Readouts */
.readouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.readout { border: 1px solid var(--line); padding: 16px; position: relative; background: rgba(94, 231, 255, .03); }
.readout::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 2px; background: var(--gold); }
.readout em { display: block; font: 600 11px var(--hud); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-style: normal; margin-bottom: 10px; }
.readout b { display: block; font: 600 clamp(28px, 3.6vw, 40px)/1 var(--hud); color: var(--c1); text-shadow: 0 0 18px var(--c1-dim); }
.readout span { display: block; margin-top: 8px; font-size: 13px; color: var(--ink-2); }
@media (max-width: 760px) { .readouts { grid-template-columns: 1fr 1fr; } }

/* Missions */
.mission-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.mission-tabs button {
  font: 500 13px var(--hud); letter-spacing: .06em; padding: 8px 14px; border: 1px solid var(--line);
  border-radius: 4px; color: var(--ink-2);
}
.mission-tabs button[aria-selected="true"] { color: #1a1205; background: var(--c1); border-color: var(--c1); }
.mission { display: grid; grid-template-columns: 180px 1fr; gap: 24px; border: 1px solid var(--line); padding: 22px; animation: fadeUp .35s ease both; }
.mission[hidden] { display: none; }
.m-stat b { display: block; font: 700 36px/1 var(--hud); color: var(--gold); }
.m-stat span { font-size: 13px; color: var(--ink-2); }
.mission dl { display: grid; grid-template-columns: 90px 1fr; gap: 10px 16px; }
.mission dt { font: 600 11px var(--hud); letter-spacing: .18em; color: var(--ink-3); text-transform: uppercase; padding-top: 3px; }
.mission dd { color: var(--ink-2); font-size: 15px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 680px) { .mission { grid-template-columns: 1fr; } .mission dl { grid-template-columns: 1fr; gap: 2px; } .mission dd { margin-bottom: 10px; } }

/* Armor */
.armor { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; position: relative; }
.armor::before { content: ""; position: absolute; left: 4%; right: 4%; top: 30px; height: 1px; background: var(--line); }
.suit { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 4px 10px; font-family: var(--hud); }
.suit i {
  font-style: normal; font-size: 12px; letter-spacing: .1em; width: 60px; height: 60px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--ink-2); margin-bottom: 8px;
  transition: all .25s ease;
}
.suit b { font-size: 14px; font-weight: 600; }
.suit span { font-size: 12px; color: var(--ink-3); }
.suit:hover i { border-color: var(--c1); color: var(--c1); }
.suit.active i { border-color: var(--gold); color: #1a1205; background: var(--gold); box-shadow: 0 0 20px rgba(255, 181, 71, .45); }
.suit-detail { margin-top: 12px; border: 1px solid var(--line); padding: 18px 22px; animation: fadeUp .3s ease both; }
.suit-detail h4 { font: 600 17px var(--hud); }
.suit-detail h4 small { font: 400 13px var(--sans); color: var(--ink-3); margin-left: 8px; }
.suit-detail p { color: var(--ink-2); font-size: 15px; margin-top: 6px; }
.suit-detail ul { list-style: none; display: grid; gap: 8px; margin-top: 14px; }
.suit-detail li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.suit-detail li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--c1); box-shadow: 0 0 6px var(--c1); }
.suit-detail .cap { font: 500 11px var(--hud); letter-spacing: .16em; color: var(--c1); margin-top: 16px; text-transform: uppercase; }
@media (max-width: 600px) { .suit i { width: 46px; height: 46px; font-size: 10px; } .armor::before { top: 23px; } .suit b { font-size: 11px; } }

.awards { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.awards span { font: 500 12px var(--hud); letter-spacing: .06em; padding: 6px 12px; border: 1px solid rgba(255, 181, 71, .4); color: var(--gold); border-radius: 999px; }
.awards span::before { content: "★ "; }
.edu { color: var(--ink-3); font-size: 13.5px; margin-top: 16px; }

/* Consulting scan */
.scan { border: 1px solid var(--line); padding: 4px 24px 24px; margin-top: 28px; background: rgba(94, 231, 255, .025); }
.scan .sub { margin-top: 22px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts button { padding: 9px 15px; border: 1px solid var(--line); border-radius: 4px; font: 500 14px var(--hud); color: var(--ink-2); transition: all .2s; }
.opts button:hover { border-color: var(--c1); color: var(--ink); }
.opts button.sel { background: var(--c1); color: #04121a; border-color: var(--c1); }
.scan-run { margin-top: 22px; }
.scan-console { margin-top: 18px; font: 500 13px/1.9 var(--hud); color: var(--ink-2); letter-spacing: .04em; }
.scan-console div::before { content: "› "; color: var(--c1); }
.scan-console .bar { height: 2px; background: var(--c1-dim); margin: 10px 0 4px; overflow: hidden; }
.scan-console .bar::before { content: none; }
.scan-console .bar i { display: block; height: 100%; width: 0; background: var(--c1); box-shadow: 0 0 10px var(--c1); transition: width 1.6s linear; }
.scan-result { margin-top: 18px; animation: fadeUp .4s ease both; }
.scan-result h4 { font: 600 15px var(--hud); letter-spacing: .1em; color: var(--gold); text-transform: uppercase; margin-bottom: 12px; }
.opps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opp { border: 1px solid var(--line); padding: 16px; background: var(--bg); }
.opp i { font: 600 11px var(--hud); letter-spacing: .14em; color: var(--c1); font-style: normal; }
.opp b { display: block; font: 600 16px/1.3 var(--hud); margin: 6px 0; }
.opp p { font-size: 14px; color: var(--ink-2); }
@media (max-width: 760px) { .opps { grid-template-columns: 1fr; } }
.offer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.offer > div { border-left: 2px solid var(--gold); padding: 4px 0 4px 16px; }
.offer b { font: 600 16px var(--hud); }
.offer p { color: var(--ink-2); font-size: 14.5px; margin-top: 4px; }
@media (max-width: 760px) { .offer { grid-template-columns: 1fr; } }
.systems { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.systems > * { display: grid; grid-template-columns: 14px 1fr; column-gap: 12px; row-gap: 2px; padding: 14px 16px; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s; }
.systems a:hover { border-color: var(--c1); transform: translateY(-1px); }
.systems i { grid-row: 1 / 4; width: 9px; height: 9px; border-radius: 50%; margin-top: 7px; }
.systems .live i { background: #4ade80; box-shadow: 0 0 10px #4ade80; }
.systems .proto i { background: var(--c1); box-shadow: 0 0 10px var(--c1); }
.systems .soon i { background: transparent; border: 1.5px solid var(--gold); }
.systems .soon { border-style: dashed; }
.systems .top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.systems b { font: 600 15px var(--hud); }
.systems em { font: 600 10px var(--hud); letter-spacing: .14em; font-style: normal; white-space: nowrap; }
.systems .live em { color: #4ade80; } .systems .proto em { color: var(--c1); } .systems .soon em { color: var(--gold); }
.systems span { font-size: 13.5px; color: var(--ink-2); }
.systems small { font: 500 11.5px var(--hud); color: var(--ink-3); letter-spacing: .04em; word-break: break-all; }
@media (max-width: 680px) { .systems { grid-template-columns: 1fr; } }

/* Guitar */
.guitar-wrap { margin-top: 26px; border: 1px solid var(--line); padding: 18px; background: rgba(94, 231, 255, .025); position: relative; }
.chords { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chords button { min-width: 50px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; font: 600 13px var(--hud); color: var(--ink-2); }
.chords button.on { background: var(--gold); color: #1a1205; border-color: var(--gold); }
.chords .strum { margin-left: auto; border-color: var(--c1); color: var(--c1); }
.fretboard {
  position: relative; height: 210px; border-radius: 6px; touch-action: none; user-select: none; cursor: grab;
  background:
    linear-gradient(90deg, rgba(0,0,0,.35), transparent 8%, transparent 92%, rgba(0,0,0,.35)),
    linear-gradient(180deg, #2a1a10, #3b2414 50%, #2a1a10);
  box-shadow: inset 0 0 40px rgba(0,0,0,.6);
  overflow: hidden;
}
.frets { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 2px), rgba(220, 220, 230, .35) calc(12.5% - 2px) 12.5%); }
.frets::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,.55) 5px, transparent 6px) 31.25% 50% / 12.5% 100% no-repeat,
              radial-gradient(circle, rgba(255,255,255,.55) 5px, transparent 6px) 56.25% 50% / 12.5% 100% no-repeat;
}
.string {
  position: absolute; left: 0; right: 0; height: 24px; transform: translateY(-50%);
  display: flex; align-items: center;
}
.string::before {
  content: ""; display: block; width: 100%; height: var(--th, 2px);
  background: linear-gradient(180deg, #f6f1e7, #9c9488); box-shadow: 0 1px 2px rgba(0,0,0,.6);
  transition: background .2s;
}
.string.hit::before { background: var(--c1); box-shadow: 0 0 12px var(--c1); animation: vib .45s linear; }
@keyframes vib {
  0%, 100% { transform: translateY(0); }
  10% { transform: translateY(-3px); } 20% { transform: translateY(3px); } 30% { transform: translateY(-2px); }
  40% { transform: translateY(2px); } 55% { transform: translateY(-1px); } 70% { transform: translateY(1px); }
}
.string label {
  position: absolute; left: 8px; font: 600 11px var(--hud); color: rgba(255,255,255,.55); pointer-events: none;
  background: rgba(0,0,0,.4); padding: 0 5px; border-radius: 3px;
}
.scope { display: block; width: 100%; height: 56px; margin-top: 12px; }
.stage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.stage-photo { position: relative; margin: 0; border: 1px solid var(--line); overflow: hidden; }
.stage-photo img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/11; }
.stage-photo figcaption, .v-cap {
  position: absolute; left: 10px; bottom: 10px; font: 600 11px var(--hud); letter-spacing: .14em;
  background: rgba(4,7,12,.75); padding: 5px 10px; border-left: 2px solid var(--hot); color: var(--ink);
}
.video { border: 1px solid var(--line); position: relative; aspect-ratio: 16/11; background: #000; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-poster { position: absolute; inset: 0; display: block; width: 100%; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .3s; }
.video-poster:hover img { opacity: 1; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; font-size: 24px;
  background: rgba(4,7,12,.6); border: 2px solid var(--gold); color: var(--gold); box-shadow: 0 0 30px rgba(255,181,71,.4);
  padding-left: 4px;
}
@media (max-width: 680px) { .stage { grid-template-columns: 1fr; } .fretboard { height: 190px; } }

/* Peace */
.breath { display: grid; place-items: center; margin: 40px 0 10px; }
.breath-circle {
  width: 200px; height: 200px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--c1); box-shadow: 0 0 40px var(--c1-dim), inset 0 0 40px var(--c1-dim);
  font: 600 18px var(--hud); letter-spacing: .2em; text-transform: uppercase; color: var(--c1);
  transform: scale(.7); transition: transform 4s ease-in-out, box-shadow 4s;
}
.breath-circle.in { transform: scale(1.05); box-shadow: 0 0 80px var(--c1-dim), inset 0 0 60px var(--c1-dim); }
.breath-circle.out { transform: scale(.7); transition-duration: 6s; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; text-align: left; }
.values div { border-top: 1px solid var(--line); padding-top: 14px; }
.values b { display: block; font: 600 16px var(--hud); color: var(--c1); }
.values span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 680px) { .values { grid-template-columns: 1fr; } }

/* Author */
.book-row { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: center; }
.book-3d { perspective: 1000px; height: 330px; display: grid; place-items: center; cursor: grab; touch-action: none; }
.book {
  --w: 200px; --h: 300px; --d: 34px;
  position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d;
  transform: rotateY(-28deg) rotateX(6deg);
}
.book > div { position: absolute; backface-visibility: hidden; }
.b-front {
  inset: 0; transform: translateZ(calc(var(--d) / 2));
  background: linear-gradient(155deg, #0b1724, #102a3a 55%, #07121c);
  border: 1px solid rgba(94,231,255,.35); border-left: 6px solid var(--gold);
  padding: 22px 18px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: inset 0 0 40px rgba(94,231,255,.12);
}
.b-front small { font: 500 10px var(--hud); letter-spacing: .16em; text-transform: uppercase; color: var(--c1); }
.b-front strong { font: 700 28px/1.05 var(--hud); color: var(--ink); }
.b-front span { font: 600 11px var(--hud); letter-spacing: .2em; color: var(--gold); }
.b-spine {
  width: var(--d); height: var(--h); left: calc(50% - var(--d) / 2);
  transform: rotateY(-90deg) translateZ(calc(var(--w) / 2));
  background: #0a1622; border: 1px solid rgba(94,231,255,.3);
  writing-mode: vertical-rl; font: 600 10px var(--hud); letter-spacing: .2em; color: var(--gold);
  display: grid; place-items: center;
}
.b-back {
  inset: 0; transform: rotateY(180deg) translateZ(calc(var(--d) / 2));
  background: #081420; border: 1px solid rgba(94,231,255,.3); padding: 26px 20px;
  font-size: 14px; color: var(--ink-2); display: grid; place-items: center; text-align: center;
}
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.posts article { border: 1px solid var(--line); padding: 18px; }
.posts i { font: 600 11px var(--hud); letter-spacing: .16em; color: var(--c1); font-style: normal; }
.posts b { display: block; font: 600 16px/1.35 var(--hud); margin: 8px 0 6px; }
.posts p { font-size: 14px; color: var(--ink-2); }
@media (max-width: 760px) { .book-row { grid-template-columns: 1fr; gap: 10px; } .posts { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-top: 24px; }
.about-grid button { text-align: left; padding: 14px; border: 1px solid var(--line); font: 600 15px var(--hud); }
.about-grid button:hover { border-color: var(--gold); }
.about-grid i { display: block; font-style: normal; font-size: 11px; letter-spacing: .2em; color: var(--gold); }

/* ================= COMMAND BAR ================= */
.cmd { position: fixed; inset: 0; z-index: 90; background: rgba(2, 4, 8, .7); backdrop-filter: blur(6px); display: flex; justify-content: center; padding: 14vh 16px 0; }
.cmd[hidden] { display: none; }
.cmd-box { width: min(600px, 100%); height: fit-content; background: var(--bg-2); border: 1px solid var(--c1); box-shadow: 0 0 40px var(--c1-dim); animation: fadeUp .25s ease both; }
.cmd-input { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.cmd-input span { color: var(--gold); font: 600 20px var(--hud); }
.cmd-input input { flex: 1; background: none; border: 0; outline: 0; color: var(--ink); font: 500 17px var(--hud); letter-spacing: .03em; }
#cmdList { list-style: none; max-height: 50vh; overflow-y: auto; padding: 6px; }
#cmdList li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; cursor: pointer; font: 500 15px var(--hud); color: var(--ink-2); border-radius: 3px; }
#cmdList li small { color: var(--ink-3); font: 12px var(--sans); }
#cmdList li.act { background: var(--c1-dim); color: var(--ink); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}

/* ================= PEACE TOOLKIT ================= */
.peace-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 26px 0 8px; }
.peace-tabs button {
  font: 500 14px var(--hud); letter-spacing: .03em; padding: 9px 15px; border: 1px solid var(--line);
  border-radius: 999px; color: var(--ink-2); transition: all .2s;
}
.peace-tabs button:hover { color: var(--ink); border-color: var(--c1); }
.peace-tabs button[aria-selected="true"] { background: var(--c1); color: #070912; border-color: var(--c1); }
.pt { margin-top: 18px; animation: fadeUp .35s ease both; }
.pt[hidden] { display: none; }
.pt-hint { color: var(--ink-2); font-size: 15px; text-align: center; max-width: 56ch; margin: 14px auto 0; }
.chips-row { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.chips-row button { padding: 7px 13px; border: 1px solid var(--line); border-radius: 4px; font: 500 13px var(--hud); color: var(--ink-2); }
.chips-row button.on { border-color: var(--gold); color: var(--gold); }
.breath { margin: 30px 0 6px; }
.breath-circle { flex-direction: column; gap: 4px; display: flex; align-items: center; justify-content: center; }
.breath-circle small { font: 500 12px var(--hud); letter-spacing: .14em; color: var(--ink-3); }
.breath-circle.hold { transform: scale(1.05); }
.breath-circle.hold-out { transform: scale(.7); }

.scan-card { max-width: 560px; margin: 22px auto 0; border: 1px solid var(--line); padding: 28px; text-align: center; background: rgba(168, 200, 255, .03); }
.scan-step-n { font: 600 12px var(--hud); letter-spacing: .2em; color: var(--c1); text-transform: uppercase; }
.scan-cue { font: 500 clamp(19px, 2.4vw, 24px)/1.45 var(--hud); margin: 14px 0 20px; min-height: 3em; transition: opacity .4s; }
.scan-prog { height: 3px; background: var(--c1-dim); overflow: hidden; }
.scan-prog i { display: block; height: 100%; width: 0; background: var(--c1); box-shadow: 0 0 10px var(--c1); }

.mantra-big { max-width: 640px; margin: 26px auto 0; text-align: center; min-height: 4.5em; display: grid; place-items: center; }
.mantra-big span { font: 500 clamp(21px, 3vw, 30px)/1.4 var(--hud); color: var(--ink); animation: fadeUp .5s ease both; }
.journal { display: grid; gap: 10px; max-width: 620px; }
.journal label { display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 10px; }
.journal label span { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font: 600 13px var(--hud); }
.journal input {
  width: 100%; background: rgba(4, 7, 12, .5); border: 1px solid var(--line); border-radius: 4px;
  padding: 11px 14px; color: var(--ink); font: 15px var(--sans); outline: none;
}
.journal input:focus { border-color: var(--c1); }
.journal input.done { border-color: var(--gold); }

.mantra-card { max-width: 620px; margin: 22px auto 0; text-align: center; border: 1px solid var(--line); padding: 30px 24px 18px; background: rgba(168, 200, 255, .03); }
.m-dev { font: 500 clamp(24px, 3.4vw, 34px)/1.4 "Noto Sans Devanagari", "Nirmala UI", "Mangal", sans-serif; color: var(--gold); min-height: 1.4em; }
.m-tr { font: 600 clamp(16px, 2vw, 19px) var(--hud); letter-spacing: .04em; margin-top: 10px; }
.m-mean { color: var(--ink-2); font-size: 15px; margin-top: 8px; }
.m-nav { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 18px; font: 500 12px var(--hud); color: var(--ink-3); letter-spacing: .1em; }
.m-nav button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink-2); }
.m-nav button:hover { border-color: var(--c1); color: var(--ink); }
.mala { display: flex; align-items: center; gap: 24px; max-width: 620px; margin: 22px auto 0; }
.mala-ring { position: relative; width: 120px; height: 120px; flex: none; border-radius: 50%; }
.mala-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mala-track { fill: none; stroke: var(--c1-dim); stroke-width: 6; stroke-dasharray: 1 4.9; }
.mala-fill { fill: none; stroke: var(--gold); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset .3s ease; filter: drop-shadow(0 0 4px var(--gold)); }
.mala-ring > span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.mala-ring b { font: 600 28px var(--hud); }
.mala-ring small { font: 500 11px var(--hud); color: var(--ink-3); }
.mala-ring:active { transform: scale(.97); }
.mala-text b { display: block; font: 600 16px var(--hud); }
.mala-text span { color: var(--ink-2); font-size: 14px; }
.link-btn { font: 500 13px var(--hud); color: var(--c1); text-decoration: underline; text-underline-offset: 3px; margin-top: 6px; display: inline-block; }
@media (max-width: 520px) { .mala { flex-direction: column; text-align: center; } }

.ground { display: grid; gap: 10px; max-width: 620px; margin: 20px auto 0; }
.g-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); opacity: .45; transition: opacity .3s, border-color .3s; }
.g-row.active { opacity: 1; border-color: var(--c1); }
.g-row.done { opacity: .8; border-color: var(--gold); }
.g-row b { font: 600 16px var(--hud); }
.g-row span { display: block; color: var(--ink-2); font-size: 13.5px; }
.g-dots { display: flex; gap: 6px; }
.g-dots button { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--c1); }
.g-dots button.on { background: var(--c1); box-shadow: 0 0 8px var(--c1); }
.g-dots button:disabled { cursor: default; }
.g-final { text-align: center; font: 500 18px var(--hud); color: var(--gold); padding: 10px; }
.peace-foot { margin-top: 44px; border-top: 1px solid var(--line); padding-top: 8px; }
@media (max-width: 520px) { .g-row { grid-template-columns: 1fr; } }

/* ================= POSTS READER ================= */
.posts button { text-align: left; border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.posts button:hover { border-color: var(--c1); transform: translateY(-2px); }
.posts em { margin-top: auto; padding-top: 12px; font: 600 12px var(--hud); letter-spacing: .1em; color: var(--gold); font-style: normal; }
.reader { border: 1px solid var(--line); padding: 24px 28px; animation: fadeUp .35s ease both; scroll-margin-top: 96px; }
#posts { scroll-margin-top: 96px; }
.reader[hidden] { display: none; }
.reader > i { display: block; margin-top: 16px; font: 600 11px var(--hud); letter-spacing: .16em; color: var(--c1); font-style: normal; }
.reader h3 { font: 600 clamp(20px, 2.6vw, 26px)/1.3 var(--hud); margin: 8px 0 14px; }
.reader-body { color: var(--ink-2); font-size: 15.5px; max-width: 68ch; }
.reader-body p { margin-top: 12px; }
.reader-body ul { margin: 10px 0 0 4px; list-style: none; display: grid; gap: 6px; }
.reader-body li::before { content: "→ "; color: var(--c1); }
@media (max-width: 600px) { .reader { padding: 18px 16px; } }
