/* =========================================================
   IT GURUJAN — "HUD" edition
   Sci-fi augmented-reality heads-up-display aesthetic.
   ========================================================= */

:root{
  --bg: #050706;
  --bg-1: #0a0d0b;
  --bg-2: #0e1310;
  --panel: rgba(10, 18, 14, 0.55);
  --line: rgba(57, 255, 154, 0.22);
  --line-strong: rgba(57, 255, 154, 0.45);
  --hud: #39ff9a;           /* the ONE accent — phosphor / electric green */
  --hud-soft: rgba(57, 255, 154, 0.14);
  --hud-dim: rgba(57, 255, 154, 0.55);
  --alert: #ff4d4d;         /* momentary "not-yet-locked" state only */
  --ink: #eef7f1;
  --ink-dim: #9fb3a9;
  --ink-faint: #5d6d65;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --font-head: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --corner-s: 22px;
  --corner-t: 2px;
  --nav-h: 76px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; background: var(--bg); }
body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.hud-loading{ overflow: hidden; }

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul, ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3{ font-family: var(--font-head); margin:0; font-weight:700; }
p{ margin:0; }
.mono{ font-family: var(--font-mono); }
button{ font-family:inherit; background:none; border:none; color:inherit; cursor:pointer; }

::selection{ background: var(--hud); color:#03130a; }

/* subtle scanline / grid texture across whole page */
body::before{
  content:"";
  position:fixed; inset:0;
  pointer-events:none;
  z-index: 2;
  background-image:
    repeating-linear-gradient(180deg, rgba(57,255,154,0.025) 0px, rgba(57,255,154,0.025) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: overlay;
}
body::after{
  content:"";
  position:fixed; inset:0;
  pointer-events:none;
  z-index:1;
  background:
    linear-gradient(rgba(57,255,154,0.05) 1px, transparent 1px) 0 0/48px 48px,
    linear-gradient(90deg, rgba(57,255,154,0.05) 1px, transparent 1px) 0 0/48px 48px;
  opacity:.35;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent 75%);
}

/* =========================================================
   REUSABLE: HUD corner-bracket frame (single pseudo-element,
   layered gradients = 4 corner brackets, no extra markup)
   ========================================================= */
.hud-frame{ position: relative; }
.hud-frame::before{
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  z-index: 3;
  background:
    linear-gradient(var(--hud),var(--hud)) top left / var(--corner-s) var(--corner-t) no-repeat,
    linear-gradient(var(--hud),var(--hud)) top left / var(--corner-t) var(--corner-s) no-repeat,
    linear-gradient(var(--hud),var(--hud)) top right / var(--corner-s) var(--corner-t) no-repeat,
    linear-gradient(var(--hud),var(--hud)) top right / var(--corner-t) var(--corner-s) no-repeat,
    linear-gradient(var(--hud),var(--hud)) bottom left / var(--corner-s) var(--corner-t) no-repeat,
    linear-gradient(var(--hud),var(--hud)) bottom left / var(--corner-t) var(--corner-s) no-repeat,
    linear-gradient(var(--hud),var(--hud)) bottom right / var(--corner-s) var(--corner-t) no-repeat,
    linear-gradient(var(--hud),var(--hud)) bottom right / var(--corner-t) var(--corner-s) no-repeat;
  opacity: .85;
}

/* =========================================================
   CUSTOM CURSOR
   ========================================================= */
.hud-cursor{
  position: fixed;
  top:0; left:0;
  width: 54px; height:54px;
  margin: -27px 0 0 -27px;
  pointer-events: none;
  z-index: 9999;
  display: none;
  will-change: transform;
  transform: translate3d(-100px,-100px,0);
}
.hud-cursor__ring{ width:100%; height:100%; display:block; overflow:visible; }
.hud-cursor__circle{
  fill:none; stroke: var(--hud); stroke-width:1.4; opacity:.85;
  transition: stroke .2s var(--ease), opacity .2s var(--ease);
}
.hud-cursor__ticks{ stroke: var(--hud); stroke-width:1.4; opacity:.6; }
.hud-cursor__dot{
  position:absolute; top:50%; left:50%;
  width:4px; height:4px; margin:-2px 0 0 -2px;
  background: var(--hud); border-radius:50%;
  box-shadow: 0 0 8px 1px var(--hud);
}
.hud-cursor__label{
  position:absolute; top: 62px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 9px; letter-spacing:.12em;
  color: var(--hud); opacity:0; white-space:nowrap;
  background: rgba(3,10,6,.8); border:1px solid var(--line-strong);
  padding: 2px 6px; border-radius:2px;
  transition: opacity .18s var(--ease);
}
.hud-cursor.is-active .hud-cursor__circle{ stroke: var(--hud); }
.hud-cursor.is-locked{ transform-origin:center; }
.hud-cursor.is-locked .hud-cursor__circle{ opacity:1; }
.hud-cursor.is-locked .hud-cursor__label{ opacity:1; }
.hud-cursor.is-locked .hud-cursor__ring{ animation: cursor-pulse .5s var(--ease); }
@keyframes cursor-pulse{
  0%{ transform: scale(1); } 45%{ transform: scale(.72); } 100%{ transform: scale(1); }
}

@media (hover:hover) and (pointer:fine){
  html.has-hud-cursor, html.has-hud-cursor body, html.has-hud-cursor a, html.has-hud-cursor button{
    cursor:none !important;
  }
  html.has-hud-cursor .hud-cursor{ display:block; }
}

/* =========================================================
   NAV
   ========================================================= */
.hud-nav{
  position: fixed; top:0; left:0; right:0; z-index: 500;
  height: var(--nav-h);
  background: rgba(5,7,6,.72);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line);
  --corner-s: 14px;
}
.hud-nav__inner{
  max-width: 1400px; margin:0 auto; height:100%;
  display:flex; align-items:center; justify-content:space-between;
  padding: 0 28px;
  gap: 24px;
}
.hud-nav__brand{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.hud-nav__mark{ width:34px; height:34px; object-fit:contain; filter: drop-shadow(0 0 6px var(--hud-dim)); }
.hud-nav__brandtext{ display:flex; flex-direction:column; line-height:1.2; }
.hud-nav__brandtext strong{ font-family:var(--font-head); font-size:15px; letter-spacing:.04em; }
.hud-nav__brandtext em{ font-family:var(--font-mono); font-style:normal; font-size:9.5px; color:var(--hud-dim); letter-spacing:.1em; }

.hud-nav__links{ display:flex; gap: 26px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing:.05em; text-transform:uppercase; }
.hud-nav__links a{ position:relative; color: var(--ink-dim); transition: color .2s; padding: 6px 0; }
.hud-nav__links a::after{
  content:""; position:absolute; left:0; bottom:0; height:1px; width:0;
  background: var(--hud); transition: width .25s var(--ease);
}
.hud-nav__links a:hover{ color: var(--ink); }
.hud-nav__links a:hover::after{ width:100%; }

.hud-nav__right{ display:flex; align-items:center; gap:14px; }

.hud-editions{ position:relative; }
.hud-editions__btn{
  display:flex; align-items:center; gap:7px;
  font-family: var(--font-mono); font-size:11px; letter-spacing:.1em;
  color: var(--ink); border:1px solid var(--line-strong); padding:8px 12px; border-radius:3px;
  background: var(--hud-soft);
  transition: background .2s, border-color .2s;
}
.hud-editions__btn:hover{ background: rgba(57,255,154,.22); }
.hud-editions__btn .dot{ width:6px; height:6px; border-radius:50%; background: var(--hud); box-shadow:0 0 6px var(--hud); }
.hud-editions__btn .chev{ transition: transform .2s; font-size:9px; }
.hud-editions__btn[aria-expanded="true"] .chev{ transform: rotate(180deg); }

.hud-editions__panel{
  position:absolute; top: calc(100% + 10px); right:0;
  width: 220px; background: rgba(4,8,6,.96);
  border-radius:4px; padding: 14px 16px;
  display:flex; flex-direction:column; gap:2px;
  opacity:0; visibility:hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  --corner-s: 10px;
}
.hud-editions__panel.is-open{ opacity:1; visibility:visible; transform:translateY(0); }
.hud-editions__head{ font-family:var(--font-mono); font-size:9.5px; color:var(--ink-faint); letter-spacing:.15em; margin-bottom:8px; }
.hud-editions__panel a{ font-family:var(--font-mono); font-size:12.5px; color: var(--ink-dim); padding:6px 4px; border-radius:2px; transition: color .15s, background .15s; }
.hud-editions__panel a:hover{ color: var(--hud); background: var(--hud-soft); }
.hud-editions__active{ font-family:var(--font-mono); font-size:12.5px; color: var(--hud); padding:6px 4px; display:flex; justify-content:space-between; }
.hud-editions__active em{ font-style:normal; font-size:9px; border:1px solid var(--hud-dim); padding:1px 5px; border-radius:2px; }
.hud-editions__sep{ height:1px; background: var(--line); margin:8px 0; }

.hud-navtoggle{ display:none; flex-direction:column; gap:5px; padding:8px; }
.hud-navtoggle span{ width:22px; height:2px; background: var(--hud); display:block; }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative;
  min-height: 100svh;
  display:flex; flex-direction:column; justify-content:center; align-items:center;
  padding: calc(var(--nav-h) + 40px) 24px 90px;
  overflow:hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(57,255,154,.08), transparent 65%),
    var(--bg);
}
.hero__frame{ position:absolute; inset: 14px; z-index:1; --corner-s: 34px; --corner-t: 1.5px; pointer-events:none; }
.hero__frame::before{ opacity:.55; }

.hero__radar{
  position:absolute; top: calc(var(--nav-h) + 30px); right: 34px;
  width: 96px; height:96px; z-index:1; opacity:.5;
  display:none;
}
.hero__radar-rings{
  position:absolute; inset:0; border-radius:50%;
  border:1px solid var(--line);
  box-shadow: 0 0 0 16px var(--line) inset, 0 0 0 32px var(--line-strong) inset;
}
.hero__radar-sweep{
  position:absolute; inset:0; border-radius:50%;
  background: conic-gradient(from 0deg, var(--hud-dim), transparent 28%);
  animation: radar-spin 3.6s linear infinite;
  -webkit-mask-image: radial-gradient(circle, transparent 0%, black 2%);
}
.hero__radar-blip{
  position:absolute; top:30%; left:62%; width:4px; height:4px; border-radius:50%;
  background: var(--hud); box-shadow:0 0 6px var(--hud);
  animation: blip-fade 3.6s linear infinite;
}
@keyframes radar-spin{ to{ transform: rotate(360deg); } }
@keyframes blip-fade{ 0%,92%{ opacity:0; } 94%{ opacity:1; } 100%{ opacity:0; } }

.ticker{
  position:relative; z-index:2;
  width:100%; max-width: 1400px;
  overflow:hidden;
  border-top: 1px solid var(--line); border-bottom:1px solid var(--line);
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.ticker--top{ margin-bottom: 44px; }
.ticker--bottom{ margin-top: 44px; }
.ticker__track{
  display:flex; gap: 34px; white-space:nowrap; width: max-content;
  font-family: var(--font-mono); font-size: 11px; letter-spacing:.08em; color: var(--hud-dim);
  animation: ticker-scroll 32s linear infinite;
}
.ticker--bottom .ticker__track{ animation-duration: 38s; animation-direction: reverse; }
.ticker__seg::after{ content:"//"; margin-left:34px; color: var(--ink-faint); }
@keyframes ticker-scroll{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

.hero__content{ position:relative; z-index:3; max-width: 880px; text-align:center; }

.hero__reticle{
  position: relative;
  width: 74px; height:74px; margin: 0 auto 22px;
  animation: reticle-lock 1.1s var(--ease) both;
  animation-delay: .15s;
}
.reticle-corner{ position:absolute; width:22px; height:22px; border: 1.5px solid var(--hud); }
.rc-tl{ top:0; left:0; border-right:none; border-bottom:none; }
.rc-tr{ top:0; right:0; border-left:none; border-bottom:none; }
.rc-bl{ bottom:0; left:0; border-right:none; border-top:none; }
.rc-br{ bottom:0; right:0; border-left:none; border-top:none; }
.reticle-cross{ position:absolute; top:50%; left:50%; width:8px; height:8px; margin:-4px 0 0 -4px; border:1px solid var(--hud); border-radius:50%; }
@keyframes reticle-lock{
  0%{ transform: scale(1.9); opacity:0; }
  35%{ opacity:1; }
  60%{ transform: scale(.85); }
  100%{ transform: scale(1); opacity:1; }
}

.hero__eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-size: 11.5px; letter-spacing:.14em; text-transform:uppercase; color: var(--hud);
  border:1px solid var(--line-strong); padding: 7px 14px; border-radius:20px;
  margin-bottom: 26px; background: var(--hud-soft);
}
.pulse-dot{ width:7px; height:7px; border-radius:50%; background: var(--hud); box-shadow:0 0 8px var(--hud); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse{ 0%,100%{ opacity:1; transform:scale(1);} 50%{ opacity:.4; transform:scale(.7);} }

.hero__title{
  font-size: clamp(2.1rem, 5.4vw, 4.1rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}
.hero__title .accent{ color: var(--hud); text-shadow: 0 0 22px rgba(57,255,154,.35); }

.hero__desc{ font-size: 1.05rem; color: var(--ink-dim); max-width: 660px; margin: 0 auto 30px; }

.hero__chips{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-bottom: 34px; font-size: 11px; letter-spacing:.07em; text-transform:uppercase; }
.hero__chips span{ border:1px solid var(--line-strong); padding: 7px 13px; border-radius:3px; color: var(--ink-dim); }

.hero__cta{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.btn{ font-family: var(--font-mono); font-size: 13px; letter-spacing:.08em; text-transform:uppercase; padding: 14px 26px; border-radius:3px; transition: all .22s var(--ease); display:inline-flex; align-items:center; gap:8px; }
.btn--primary{ background: var(--hud); color: #04170c; font-weight:700; box-shadow: 0 0 26px rgba(57,255,154,.35); }
.btn--primary:hover{ transform: translateY(-2px); box-shadow: 0 6px 30px rgba(57,255,154,.5); }
.btn--ghost{ border:1px solid var(--line-strong); color: var(--ink); }
.btn--ghost:hover{ border-color: var(--hud); color: var(--hud); background: var(--hud-soft); }

.hero__scroll{
  position:absolute; bottom: 26px; left:50%; transform: translateX(-50%);
  font-size:10px; letter-spacing:.2em; color: var(--ink-faint); z-index:3;
  display:flex; flex-direction:column; align-items:center; gap:6px;
}
.hero__scroll::after{ content:""; width:1px; height:26px; background: linear-gradient(var(--hud), transparent); animation: scroll-line 1.6s ease-in-out infinite; }
@keyframes scroll-line{ 0%{ opacity:0; transform: scaleY(0); transform-origin:top;} 40%{opacity:1; transform:scaleY(1);} 100%{ opacity:0; transform: scaleY(1); } }

/* =========================================================
   SECTION SHELL
   ========================================================= */
.section{ position:relative; z-index:2; padding: 120px 28px; max-width: 1400px; margin: 0 auto; }
.section__head{ max-width: 720px; margin-bottom: 56px; }
.section__kicker{ font-size: 11.5px; letter-spacing:.14em; color: var(--hud); text-transform:uppercase; margin-bottom: 14px; }
.section__title{ font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.section__sub{ color: var(--ink-dim); font-size: 1rem; max-width: 620px; }

/* =========================================================
   SCAN GRID — SERVICES
   ========================================================= */
.scan-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.scan-panel{
  position:relative; background: var(--bg-1); padding: 26px 22px 24px;
  min-height: 190px; overflow:hidden;
  --corner-s: 16px;
}
.scan-panel::before{ opacity:0; transition: opacity .4s var(--ease); }
.scan-panel.is-scanned::before{ opacity:.85; }

.scan-panel__bar{
  position:absolute; top:0; left:0; right:0; height:2px;
  background: var(--hud); box-shadow: 0 0 10px var(--hud);
  transform: scaleX(0); transform-origin:left; opacity:0;
}
.scan-panel.is-scanning .scan-panel__bar{ opacity:1; animation: scan-sweep-x 1.1s linear forwards; }
@keyframes scan-sweep-x{ from{ transform: scaleX(0); } to{ transform: scaleX(1); } }

.scan-panel__head{ display:flex; justify-content:space-between; align-items:center; font-size: 10.5px; letter-spacing:.08em; color: var(--ink-faint); margin-bottom: 18px; }
.scan-panel__id{ color: var(--hud-dim); }
.scan-panel__match{ color: var(--hud); }
.scan-panel h3{ font-size: 1.12rem; margin-bottom: 10px; }
.scan-panel p{ color: var(--ink-dim); font-size: .92rem; }
.scan-panel{ opacity:.5; filter: saturate(.6); transition: opacity .5s var(--ease), filter .5s var(--ease); }
.scan-panel.is-scanned{ opacity:1; filter:none; }

/* =========================================================
   PRODUCT SPOTLIGHT
   ========================================================= */
.spotlight__stage{ display:grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items:start; }
.spotlight__frame{
  position:relative; overflow:hidden; border-radius:2px; background:#000;
  --corner-s: 30px; --corner-t: 2px;
}
.spotlight__frame img{ width:100%; display:block; filter: saturate(1.05) contrast(1.04); opacity: .35; transition: opacity 1s var(--ease); }
.spotlight__frame.is-scanned img{ opacity:1; }

.spotlight__scanline{
  position:absolute; left:0; right:0; top:0; height:3px;
  background: linear-gradient(90deg, transparent, var(--hud), transparent);
  box-shadow: 0 0 18px var(--hud);
  opacity:0; z-index:2;
}
.spotlight__frame.is-scanned .spotlight__scanline{ opacity:1; animation: spotlight-scan 2.2s ease-in-out infinite; }
@keyframes spotlight-scan{ 0%{ top:0; } 50%{ top: calc(100% - 3px); } 100%{ top:0; } }

.spotlight__tag{
  position:absolute; left:16px; bottom:14px; z-index:3;
  font-size: 10px; letter-spacing:.1em; color: var(--hud);
  background: rgba(3,10,6,.75); border: 1px solid var(--line-strong); padding: 5px 10px; border-radius:2px;
}

.marker{ position:absolute; width:16px; height:16px; margin:-8px 0 0 -8px; z-index:4; opacity:0; transition: opacity .4s; }
.spotlight__frame.is-scanned .marker{ opacity:1; }
.marker__dot{ position:absolute; top:50%; left:50%; width:5px; height:5px; margin:-2.5px 0 0 -2.5px; background: var(--hud); border-radius:50%; box-shadow: 0 0 8px var(--hud); }
.marker__ring{ position:absolute; inset:0; border:1px solid var(--hud); border-radius:50%; animation: marker-ping 1.8s ease-out infinite; }
@keyframes marker-ping{ 0%{ transform: scale(.4); opacity: 1; } 100%{ transform: scale(2.4); opacity: 0; } }

.marker-label{
  position:absolute; z-index:4; font-size: 10px; letter-spacing:.05em; color: var(--ink);
  background: rgba(3,10,6,.86); border:1px solid var(--line-strong); padding: 6px 10px; border-radius:2px;
  white-space: nowrap; opacity:0; transform: translateY(4px);
  transition: opacity .5s var(--ease) .3s, transform .5s var(--ease) .3s;
}
.spotlight__frame.is-scanned .marker-label{ opacity:1; transform: translateY(0); }
.marker-label__line{ position:absolute; top:50%; left:-14px; width:14px; height:1px; background: var(--hud-dim); }

.spotlight__data{ background: var(--bg-1); padding: 26px 24px; --corner-s: 16px; align-self:stretch; }
.spotlight__data-head{ font-size: 10.5px; letter-spacing:.14em; color: var(--hud-dim); margin-bottom: 16px; }
.spotlight__list{ display:flex; flex-direction:column; gap: 16px; margin-bottom: 22px; }
.spotlight__list li{ border-left: 2px solid var(--hud-dim); padding-left: 12px; }
.spotlight__list li span{ display:block; font-size: 11.5px; color: var(--hud); letter-spacing:.06em; margin-bottom: 4px; }
.spotlight__list li em{ font-style:normal; font-family: var(--font-body); font-size: .88rem; color: var(--ink-dim); }
.spotlight__tags{ display:flex; flex-wrap:wrap; gap: 8px; font-size: 10.5px; letter-spacing:.06em; }
.spotlight__tags span{ border:1px solid var(--line-strong); color: var(--ink-dim); padding: 5px 10px; border-radius:2px; }

/* =========================================================
   WORK / APP CARDS (shared)
   ========================================================= */
.work-grid, .app-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 24px; }
.work-card, .app-card{ background: var(--bg-1); --corner-s: 16px; display:flex; flex-direction:column; overflow:hidden; }
.work-card__imgwrap, .app-card__imgwrap{ position:relative; aspect-ratio: 16/10; overflow:hidden; background:#000; }
.work-card__imgwrap img, .app-card__imgwrap img{ width:100%; height:100%; object-fit:cover; opacity:.55; transition: opacity .8s var(--ease), transform 6s linear; }
.work-card.is-scanned .work-card__imgwrap img, .app-card.is-scanned .app-card__imgwrap img{ opacity:1; }
.work-card:hover .work-card__imgwrap img, .app-card:hover .app-card__imgwrap img{ transform: scale(1.05); }

.scan-sweep{ position:absolute; inset:0; z-index:2; background: linear-gradient(180deg, transparent, var(--hud-soft) 45%, transparent); transform: translateY(-100%); opacity:0; }
.is-scanning .scan-sweep{ opacity:1; animation: scan-sweep-y 1.3s ease-in-out forwards; }
@keyframes scan-sweep-y{ from{ transform: translateY(-100%); } to{ transform: translateY(100%); } }

.work-card__label{
  position:absolute; left:12px; bottom:12px; z-index:3;
  font-size: 10.5px; letter-spacing:.08em; color: var(--hud);
  background: rgba(3,10,6,.8); border:1px solid var(--line-strong); padding: 6px 10px; border-radius:2px;
}
.lbl-locked{ display:none; }
.work-card.is-scanned .lbl-analyzing{ display:none; }
.work-card.is-scanned .lbl-locked{ display:inline; }

.work-card__body, .app-card__body{ padding: 22px 22px 26px; display:flex; flex-direction:column; gap: 10px; flex:1; }
.work-card__meta, .app-card__meta{ display:flex; justify-content:space-between; font-size: 10px; letter-spacing:.08em; color: var(--ink-faint); }
.status{ display:inline-flex; align-items:center; gap:5px; }
.status--current, .status--live{ color: var(--hud); }
.status--dev{ color: #ffd166; }
.work-card h3, .app-card h3{ font-size: 1.2rem; }
.work-card p, .app-card p{ color: var(--ink-dim); font-size: .92rem; }
.readout{ display:flex; flex-direction:column; gap:6px; font-size: 11px; margin-top:4px; }
.readout li{ display:flex; gap:8px; color: var(--ink-dim); }
.readout li span{ color: var(--hud-dim); flex-shrink:0; min-width: 68px; letter-spacing:.06em; }
.tags{ display:flex; flex-wrap:wrap; gap:7px; margin-top:6px; }
.tags span{ font-size: 10px; letter-spacing:.05em; border:1px solid var(--line-strong); color: var(--ink-dim); padding: 4px 9px; border-radius:2px; }
.work-card__link{ margin-top:auto; padding-top:10px; font-size:11.5px; letter-spacing:.08em; color: var(--hud); }
.work-card__link:hover{ text-decoration: underline; }

/* =========================================================
   PROCESS — BOOT SEQUENCE
   ========================================================= */
.boot-sequence{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 0; position:relative; }
.boot-sequence::before{
  content:""; position:absolute; top: 27px; left: 6%; right:6%; height:1px; background: var(--line); z-index:0;
}
.boot-step{
  position:relative; z-index:1; padding: 0 18px 0 0; opacity:.4; transition: opacity .5s var(--ease) calc(var(--i) * .15s);
}
.boot-step.is-active{ opacity:1; }
.boot-step__num{
  display:flex; align-items:center; justify-content:center;
  width:54px; height:54px; border-radius:50%; border:1.5px solid var(--line-strong);
  font-size: 15px; margin-bottom: 20px; background: var(--bg);
  transition: border-color .4s var(--ease) calc(var(--i) * .15s), color .4s var(--ease) calc(var(--i) * .15s), box-shadow .4s var(--ease) calc(var(--i) * .15s);
}
.boot-step.is-active .boot-step__num{ border-color: var(--hud); color: var(--hud); box-shadow: 0 0 16px rgba(57,255,154,.4); }
.boot-step__status{ display:block; font-size: 9.5px; letter-spacing:.14em; color: var(--ink-faint); margin-bottom: 8px; transition: color .3s; }
.boot-step.is-active .boot-step__status{ color: var(--hud); }
.boot-step.is-active .boot-step__status::before{ content:"✓ "; }
.boot-step h3{ font-size: 1.05rem; margin-bottom: 8px; }
.boot-step p{ color: var(--ink-dim); font-size: .88rem; }

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid{ display:grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items:center; }
.about__imgwrap{ position:relative; overflow:hidden; --corner-s: 26px; background:#000; }
.about__imgwrap img{ width:100%; display:block; aspect-ratio: 4/5; object-fit:cover; opacity:.5; transition: opacity 1s var(--ease); }
.about__imgwrap.is-scanned img{ opacity:1; }
.about__tag{ position:absolute; left:14px; bottom:14px; font-size:10px; letter-spacing:.08em; color: var(--hud); background: rgba(3,10,6,.8); border:1px solid var(--line-strong); padding:6px 10px; border-radius:2px; }
.about__content p{ color: var(--ink-dim); margin-bottom: 16px; }
.about__content strong{ color: var(--ink); }
.about__content blockquote{ border-left: 2px solid var(--hud); padding-left: 16px; margin: 22px 0; color: var(--hud); font-size: .95rem; }
.about__stats{ gap:10px !important; margin-top: 22px; }
.about__stats li span{ min-width: 100px; }

/* =========================================================
   CONTACT
   ========================================================= */
.comms-panel{ background: var(--bg-1); --corner-s: 20px; overflow:hidden; }
.comms-row{
  position:relative; display:flex; align-items:center; gap: 18px;
  padding: 20px 24px; border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.comms-row:last-child{ border-bottom:none; }
.comms-row:hover{ background: var(--hud-soft); }
.comms-row__radar{ position:relative; width:14px; height:14px; flex-shrink:0; }
.comms-row__radar span{ position:absolute; inset:0; border-radius:50%; border:1px solid var(--hud); }
.comms-row__radar::before{ content:""; position:absolute; top:50%; left:50%; width:5px; height:5px; margin:-2.5px 0 0 -2.5px; border-radius:50%; background: var(--hud); box-shadow:0 0 6px var(--hud); }
.comms-row__radar span{ animation: marker-ping 2.2s ease-out infinite; }
.comms-row__label{ font-size: 10.5px; letter-spacing:.1em; color: var(--hud-dim); width: 100px; flex-shrink:0; }
.comms-row__value{ flex:1; font-size: 1rem; color: var(--ink); }
.comms-row__go{ font-size: 10.5px; letter-spacing:.08em; color: var(--ink-faint); flex-shrink:0; }
.comms-row:hover .comms-row__go{ color: var(--hud); }

/* =========================================================
   FOOTER
   ========================================================= */
.hud-footer{ border-top: 1px solid var(--line); padding: 40px 28px 26px; position:relative; z-index:2; }
.hud-footer__top{ max-width: 1400px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap: 20px; margin-bottom: 22px; }
.hud-footer__brand{ display:flex; align-items:center; gap:10px; font-size:11px; letter-spacing:.08em; color: var(--ink-faint); }
.hud-footer__brand img{ width:22px; height:22px; opacity:.7; }
.hud-footer__nav{ display:flex; flex-wrap:wrap; gap: 14px; font-size: 11px; letter-spacing:.06em; color: var(--ink-faint); }
.hud-footer__nav a{ color: var(--ink-dim); transition: color .2s; }
.hud-footer__nav a:hover{ color: var(--hud); }
.hud-footer__bottom{ max-width:1400px; margin: 0 auto; font-size: 10.5px; color: var(--ink-faint); letter-spacing:.06em; text-align:center; }

/* =========================================================
   GENERIC REVEAL (data-observe elements not otherwise handled)
   ========================================================= */
[data-observe]{ opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-observe].is-visible{ opacity:1; transform: translateY(0); }
.scan-panel[data-observe]{ transform: none; }

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .hud-cursor__ring, .hud-cursor.is-locked .hud-cursor__ring{ animation:none !important; }
  .hero__radar-sweep, .hero__radar-blip, .pulse-dot, .hero__scroll::after{ animation:none !important; }
  .ticker__track{ animation:none !important; }
  .hero__reticle{ animation:none !important; opacity:1; transform:none; }
  .scan-panel__bar{ animation:none !important; }
  .spotlight__scanline{ animation:none !important; }
  .scan-sweep{ animation:none !important; }
  .marker__ring, .comms-row__radar span{ animation:none !important; }
  [data-observe]{ transition:none !important; opacity:1 !important; transform:none !important; }
  .work-card__imgwrap img, .app-card__imgwrap img{ transition:none !important; }
  .boot-step{ transition:none !important; }
  .boot-step__num{ transition:none !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px){
  .spotlight__stage{ grid-template-columns:1fr; }
  .about__grid{ grid-template-columns:1fr; }
  .about__imgwrap img{ aspect-ratio: 16/9; }
  .hero__radar{ display:none !important; }
}

@media (max-width: 880px){
  .hud-nav__links{ position: fixed; top: var(--nav-h); left:0; right:0; bottom:0;
    background: rgba(4,8,6,.98); flex-direction:column; padding: 30px 28px; gap:4px;
    transform: translateX(100%); transition: transform .3s var(--ease); font-size:15px;
    overflow-y:auto;
  }
  .hud-nav__links.is-open{ transform: translateX(0); }
  .hud-nav__links a{ padding: 14px 0; border-bottom:1px solid var(--line); }
  .hud-navtoggle{ display:flex; }
  .hud-editions__btn span.dot{ display:none; }
  .boot-sequence{ grid-template-columns: 1fr; gap: 34px; }
  .boot-sequence::before{ display:none; }
}

@media (max-width: 640px){
  .hud-nav__inner{ padding: 0 16px; }
  .hud-nav__brandtext em{ display:none; }
  .section{ padding: 84px 18px; }
  .hero{ padding: calc(var(--nav-h) + 26px) 16px 70px; }
  .ticker{ padding: 6px 0; }
  .ticker__track{ font-size: 10px; gap: 22px; }
  .ticker__seg::after{ margin-left:22px; }
  .hero__title{ font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .hero__chips{ gap:7px; }
  .hero__chips span{ padding:6px 10px; font-size:10px; }
  .btn{ padding: 13px 20px; font-size:12px; }
  .scan-grid{ grid-template-columns: 1fr; }
  .work-grid, .app-grid{ grid-template-columns: 1fr; }
  .marker-label{ font-size:9px; padding:5px 8px; white-space:normal; max-width: 150px; }
  .comms-row{ padding: 16px 16px; gap:12px; flex-wrap:wrap; }
  .comms-row__label{ width:auto; }
  .comms-row__value{ font-size:.88rem; width:100%; order:3; }
  .hud-editions__panel{ right:-16px; width: 200px; }
}

@media (max-width: 400px){
  .hero__title{ font-size: 1.55rem; }
  :root{ --corner-s: 16px; }
  .hero__frame{ --corner-s: 22px; }
  .section__title{ font-size: 1.4rem; }
}

/* Touch devices: never hide native cursor, ensure hover-only content is visible by default */
@media (hover:none), (pointer:coarse){
  .hud-cursor{ display:none !important; }
}
