/* Yo-YoDyne tactical site */
:root {
  --bg: #050506;
  --steel: #16181c;
  --line: #2a2d33;
  --grey: #9aa0a6;
  --fog: #c5c8cc;
  --red: #d0121a;
  --red-glow: rgba(208, 18, 26, 0.45);
  --olive: #c5ccd4;
  --olive-dim: #8b949e;
  --olive-glow: rgba(197, 204, 212, 0.35);
  --mono: "Share Tech Mono", ui-monospace, monospace;
  --disp: "Rajdhani", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--fog); }
body { font-family: var(--disp); font-weight: 500; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--fog); text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }

.cursor {
  position: fixed; width: 16px; height: 16px; border: 1px solid var(--red);
  border-radius: 50%; pointer-events: none; z-index: 80; mix-blend-mode: screen;
  transform: translate(-50%,-50%); transition: width .2s, height .2s, background .2s;
}
.cursor.hot { width: 36px; height: 36px; background: rgba(208,18,26,.12); }
.cx, .cy { position: fixed; pointer-events: none; z-index: 79; background: rgba(208,18,26,.16); }
.cx { height: 1px; left: 0; right: 0; }
.cy { width: 1px; top: 0; bottom: 0; }

#boot {
  position: fixed; inset: 0; z-index: 100; background: #000;
  display: grid; place-items: center; overflow: hidden;
}
#boot.done { animation: bootOut .75s ease forwards; }
@keyframes bootOut { to { opacity: 0; visibility: hidden; } }
.boot-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(208,18,26,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(208,18,26,.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, #000 18%, transparent 72%);
}
.boot-scan {
  position: absolute; left: 0; right: 0; height: 16%;
  background: linear-gradient(to bottom, transparent, rgba(208,18,26,.2), transparent);
  animation: scan 2.3s linear infinite;
}
@keyframes scan { from { top: -18%; } to { top: 110%; } }
.boot-stage { position: relative; width: min(920px, 92vw); text-align: center; }
.boot-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .42em; color: var(--olive); margin-bottom: 16px; }
.boot-logo { width: min(320px, 52vw); height: auto; margin: 0 auto 10px; background: transparent; mix-blend-mode: screen; filter: drop-shadow(0 0 18px rgba(208,18,26,.35)); }
.boot-title { font-size: clamp(28px, 6vw, 64px); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.boot-title span { color: var(--red); }
.boot-schem { margin: 26px auto 0; width: min(640px, 86vw); opacity: 0; animation: schemIn 1.1s .55s ease forwards; }
.boot-schem img { width: 100%; mix-blend-mode: screen; mask-image: linear-gradient(#000 68%, transparent); }
@keyframes schemIn { to { opacity: 1; } }
.boot-bar { width: min(420px, 70vw); height: 2px; margin: 26px auto 0; background: #1a1a1a; overflow: hidden; }
.boot-bar i { display: block; height: 100%; width: 0; background: var(--red); box-shadow: 0 0 12px var(--red); }
@keyframes load { to { width: 100%; } }
.boot-log { font-family: var(--mono); font-size: 11px; color: var(--grey); margin-top: 14px; min-height: 16px; letter-spacing: .12em; }
.boot-skip { position: absolute; right: 24px; bottom: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--olive); border-bottom: 1px solid var(--olive); }

.hud-frame { pointer-events: none; position: fixed; inset: 10px; z-index: 40; border: 1px solid rgba(197,204,212,.45); }
.site { padding: 0 0 80px 108px; min-height: 100vh; }

.rail {
  position: fixed; left: 0; top: 0; bottom: 0; width: 96px;
  background: linear-gradient(180deg, #12161c 0%, #070708 42%);
  border-right: 1px solid var(--olive);
  z-index: 50; display: flex; flex-direction: column; align-items: center;
  padding: 16px 0 18px; transition: width .35s cubic-bezier(.2,.8,.2,1);
}
.rail:hover, .rail.open { width: 248px; }
.rail-logo { width: 72px; height: 72px; object-fit: contain; margin: 8px 0 22px; filter: none; }

.rail nav { display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 0 10px; flex: 1; }
.rail a.item {
  display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 10px;
  height: 44px; padding: 0 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  color: var(--grey); position: relative;
}
.rail a.item .code { color: var(--olive); }
.rail a.item .lbl { opacity: 0; transform: translateX(-6px); white-space: nowrap; transition: .25s .05s; }
.rail:hover a.item .lbl, .rail.open a.item .lbl { opacity: 1; transform: none; }
.rail a.item:hover, .rail a.item.is-on { color: #fff; background: rgba(197,204,212,.16); }
.rail a.item.is-on:before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: var(--olive); }
.rail-preview { width: calc(100% - 20px); margin-top: auto; display: none; border: 1px solid var(--olive); }
.rail:hover .rail-preview { display: block; }
.rail-preview img { width: 100%; mix-blend-mode: screen; opacity: .85; }
.rail-preview.flash-logo { border-color: var(--olive); background: #050806; }
.rail-preview.flash-logo img { mix-blend-mode: normal; opacity: 1; }
.rail-preview img.flash { animation: logoFlash 0.7s steps(2, end) 3; }
@keyframes logoFlash {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 0 transparent); }
  50% { opacity: 0.15; filter: drop-shadow(0 0 10px #c5ccd4); }
}
.rail-meta { font-family: var(--mono); font-size: 9px; color: var(--olive); letter-spacing: .14em; margin-top: 10px; }

.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1.08fr;
  align-items: center; gap: 20px; padding: 40px 48px 40px 28px;
}
.kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .38em; color: var(--olive); margin-bottom: 16px; }
.hero h1 { font-size: clamp(40px, 6vw, 80px); line-height: .92; font-weight: 700; text-transform: uppercase; color: #fff; max-width: 9em; }
.hero h1 em { font-style: normal; color: var(--red); }
.lede { margin-top: 20px; max-width: 34em; color: var(--grey); font-size: 20px; }
.cta-row { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.btn {
  font-family: var(--mono); font-size: 12px; letter-spacing: .2em; padding: 14px 18px;
  border: 1px solid var(--red); color: #fff; background: var(--red); text-transform: uppercase;
}
.btn-ghost { background: transparent; color: #d5d8b8; border-color: var(--olive); }
.btn:hover { box-shadow: 0 0 24px var(--red-glow); }
.hero-stage { position: relative; min-height: 70vh; }
.hero-stage img.schem { width: 100%; mix-blend-mode: screen; animation: floatY 8s ease-in-out infinite; }
@keyframes floatY { 50% { transform: translateY(-10px); } }
.hotspot {
  position: absolute; width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid var(--red); background: rgba(208,18,26,.35);
  box-shadow: 0 0 0 0 rgba(208,18,26,.5); animation: ping 2.2s ease-out infinite;
}
@keyframes ping { 70% { box-shadow: 0 0 0 14px transparent; } }
.hotspot .tip {
  position: absolute; left: 22px; top: -8px; white-space: nowrap;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: #fff;
  background: #000; border: 1px solid var(--line); padding: 6px 8px;
  opacity: 0; pointer-events: none;
}
.hotspot:hover .tip { opacity: 1; }

section.block { padding: 72px 48px 72px 28px; border-top: 1px solid var(--olive-dim); }
.sec-h { font-size: clamp(28px, 4vw, 48px); color: #fff; text-transform: uppercase; margin: 10px 0 28px; font-weight: 700; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card {
  background: var(--steel); border: 1px solid var(--line); padding: 28px; min-height: 230px;
  position: relative; overflow: hidden; transition: border-color .25s, transform .25s;
}
.card:hover { border-color: var(--red); transform: translateY(-3px); }
.card h3 { color: #fff; font-size: 28px; text-transform: uppercase; margin: 8px 0 12px; }
.card p { color: var(--grey); }
.card .num { font-family: var(--mono); color: var(--red); font-size: 11px; letter-spacing: .2em; }
.card img { position: absolute; right: -8%; bottom: -12%; width: 56%; opacity: .3; mix-blend-mode: screen; pointer-events: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.split img { border: 1px solid var(--line); background: #000; mix-blend-mode: screen; }
table.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
table.spec th, table.spec td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); }
table.spec th { font-family: var(--mono); font-size: 11px; color: var(--olive); letter-spacing: .16em; }
.ticker { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--grey); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; overflow: hidden; white-space: nowrap; }
.ticker b { color: var(--olive); font-weight: 400; }
footer.site-foot { padding: 28px 48px 48px 28px; color: var(--grey); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; }

/* Terminator-style boot extras */
.boot-hud {
  position: relative;
  width: min(1100px, 94vw);
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 18px;
  align-items: center;
}
.boot-col {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--grey);
  text-align: left;
  height: 280px;
  overflow: hidden;
  border: 1px solid var(--olive);
  padding: 10px;
  background: rgba(0,0,0,.35);
}
.boot-col.right { text-align: right; }
.boot-center { text-align: center; }
.boot-phase {
  font-family: var(--mono);
  color: var(--red);
  letter-spacing: .32em;
  font-size: 13px;
  margin: 8px 0 4px;
  min-height: 18px;
}
.boot-cfg {
  font-family: var(--mono);
  font-size: 11px;
  color: #fff;
  letter-spacing: .14em;
  min-height: 16px;
  margin-bottom: 16px;
}
.boot-meters { display: grid; gap: 6px; margin-top: 8px; }
.boot-meter { display: grid; grid-template-columns: 70px 1fr 40px; gap: 8px; align-items: center; font-family: var(--mono); font-size: 9px; color: var(--grey); }
.boot-meter b { height: 3px; background: #1a1a1a; display: block; overflow: hidden; }
.boot-meter b i { display: block; height: 100%; width: 0; background: var(--red); box-shadow: 0 0 8px var(--red); transition: width .4s linear; }
.boot-reticle {
  position: absolute; inset: 12% 28%;
  border: 1px solid rgba(208,18,26,.2);
  pointer-events: none;
}
.boot-reticle:before, .boot-reticle:after {
  content: ""; position: absolute; background: rgba(208,18,26,.5);
}
.boot-reticle:before { left: 50%; top: 0; bottom: 0; width: 1px; }
.boot-reticle:after { top: 50%; left: 0; right: 0; height: 1px; }
#boot[data-phase="3"] .boot-schem img { content: none; }
.hero-stage img.photo { mix-blend-mode: normal; animation: none; }
.bios { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.bio { background: var(--steel); border: 1px solid var(--line); padding: 22px; min-height: 280px; }
.bio .who { font-family: var(--mono); color: var(--olive); font-size: 11px; letter-spacing: .18em; }
.bio h3 { color: #fff; font-size: 24px; text-transform: uppercase; margin: 8px 0 10px; }
.bio p { color: var(--grey); font-size: 15px; }
.angles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.angles figure { border: 1px solid var(--olive); background: #000; }
.angles img { width: 100%; mix-blend-mode: screen; }
.angles figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--olive); padding: 8px 10px; }

@media (max-width: 900px) {
  .site { padding-left: 0; padding-top: 64px; }
  .rail { width: 100%; height: 58px; flex-direction: row; bottom: auto; right: 0; }
  .hero, .split, .cards, .bios, .boot-hud { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 24px 16px; }
  section.block { padding: 48px 16px; }
  .boot-col { display: none; }
}

#boot { display: block; }
.boot-hud {
  position: absolute; inset: 0; width: auto; display: block;
  grid-template-columns: none; pointer-events: none;
}
.boot-center {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%);
  width: min(520px, 62vw); text-align: center; z-index: 3;
}
.boot-schem {
  position: absolute; left: 50%; top: 58%; transform: translate(-50%, -40%);
  width: min(720px, 78vw); margin: 0; opacity: 1; animation: none;
  pointer-events: none; z-index: 2;
}
.boot-schem img {
  width: 100%; opacity: .42; mix-blend-mode: screen;
  mask-image: none; background: transparent;
  filter: grayscale(1) contrast(1.3);
  animation: schemFlash 1.5s steps(2, end) infinite;
}
@keyframes schemFlash { 0%, 100% { opacity: .5; } 50% { opacity: .12; } }
.boot-scenario {
  position: absolute; left: 50%; bottom: 18%; transform: translateX(-50%);
  z-index: 4; font-family: var(--mono); letter-spacing: .28em; font-size: 12px;
  color: #c5ccd4; text-shadow: 0 0 12px rgba(0,0,0,.8);
}
.boot-col.feed {
  position: absolute; top: 22px; right: 22px; width: 210px; height: 132px; z-index: 5;
}
.boot-col.side {
  position: absolute; left: 22px; bottom: 64px; width: 300px; height: 196px; z-index: 5; text-align: left;
}
.radar {
  position: absolute; left: 22px; top: 22px; width: 168px; height: 168px; z-index: 5;
  border: 1px solid #c5ccd4; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle, rgba(197,204,212,.08), transparent 68%);
}
.radar span, .uplink span, .uplink em {
  position: absolute; left: 8px; bottom: 6px; font-family: var(--mono); font-size: 9px;
  letter-spacing: .12em; color: #c5ccd4; font-style: normal;
}
.radar-sweep {
  position: absolute; inset: 0;
  background: conic-gradient(from 0deg, transparent 0 78%, rgba(197,204,212,.55) 88%, transparent 100%);
  animation: sweep 2.4s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }
.uplink {
  position: absolute; right: 22px; bottom: 28px; width: 240px; height: 92px; z-index: 5;
  border: 1px solid #c5ccd4; padding: 8px; background: rgba(0,0,0,.35);
}
.uplink-bars {
  height: 36px; margin-top: 8px;
  background: repeating-linear-gradient(90deg, #c5ccd4 0 2px, transparent 2px 7px);
  opacity: .55; animation: uplink 1.1s steps(4, end) infinite;
}
@keyframes uplink { 50% { opacity: .15; transform: translateX(4px); } }
@media (max-width: 900px) {
  .radar, .uplink, .boot-col.feed, .boot-col.side, .boot-scenario { display: none; }
}
