:root {
  --ink:        #06090d;
  --bg:         #0a0e14;
  --bg-1:       #10151d;
  --bg-2:       #161c26;
  --line:       #1f2731;
  --line-2:     #2a3340;
  --muted:      #6b7585;
  --text-2:     #aab3c1;
  --text:       #e6ebf2;
  --accent:     #2f8bff;
  --accent-2:   #1463d4;
  --accent-glow: rgba(47,139,255,0.18);
  --safety:     #ff7a1a;
  --ok:         #3ddc97;

  --shell-pad:  clamp(20px, 4vw, 56px);
  --rule:       1px solid var(--line);

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--ink); color: var(--text); -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; padding: 0; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--accent); color: #fff; }

/* ============ Type ============ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.center::before, .eyebrow.center::after {
  width: 22px; height: 1px; background: var(--accent); display: inline-block; content: "";
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; margin: 0; color: var(--text); }
h1 { font-size: clamp(44px, 7.4vw, 112px); line-height: 0.96; letter-spacing: -0.035em; font-weight: 500; }
h2 { font-size: clamp(32px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.025em; }
h3 { font-size: clamp(20px, 1.7vw, 26px); line-height: 1.15; }
h4 { font-size: 15px; letter-spacing: 0; font-weight: 600; font-family: var(--font-body); }

p { margin: 0; }

.mono { font-family: var(--font-mono); }

/* ============ Layout shell ============ */
.shell {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding-left: var(--shell-pad);
  padding-right: var(--shell-pad);
}

section { position: relative; }

.section-pad { padding: clamp(80px, 9vw, 140px) 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: end;
  padding-bottom: 56px;
}
.section-head .lead p { color: var(--text-2); font-size: 17px; line-height: 1.55; max-width: 56ch; }
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; padding-bottom: 36px; }
}

.section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.15em;
}

/* ============ Top frame: grid + reticle ============ */
.bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

/* ============ Nav ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px var(--shell-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: background 240ms, backdrop-filter 240ms, border-color 240ms;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 14, 20, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand .wordmark { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: 0.08em; }
.nav-brand .wordmark .light { color: var(--text-2); font-weight: 400; margin-left: 6px; letter-spacing: 0.16em; font-size: 12px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-2);
  padding: 10px 14px;
  border-radius: 4px;
  transition: color 180ms;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::before {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1px; background: var(--accent);
}
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-meta { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.15em; }
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-meta { display: none; }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 0;
  position: relative;
  border: 1px solid transparent;
  transition: background 180ms, color 180ms, border-color 180ms, transform 180ms;
  font-family: var(--font-body);
  white-space: nowrap;
}
.btn .arr { width: 14px; height: 9px; display: inline-block; }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--text); }
.btn-link {
  padding: 10px 0;
  background: none;
  border: none;
  color: var(--text);
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 500;
}
.btn-link:hover { border-bottom-color: var(--accent); color: var(--accent); }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 88px;
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 35%, rgba(47,139,255,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(20,99,212,0.12) 0%, transparent 60%),
    var(--bg);
}
.hero-img {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,14,20,0.55) 0%, rgba(10,14,20,0.7) 60%, rgba(10,14,20,0.95) 100%),
    linear-gradient(135deg, #1a2330 0%, #0a0e14 70%);
  opacity: 0.9;
}
.hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-photo .siteshot {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 70%;
  aspect-ratio: 4/3;
  opacity: 0.4;
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  padding-top: 64px;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-meta span { display: inline-flex; gap: 8px; align-items: center; }
.hero-meta .dot { width: 6px; height: 6px; background: var(--accent); display: inline-block; border-radius: 50%; box-shadow: 0 0 12px var(--accent); }

.hero h1 .accent { color: var(--accent); }
.hero h1 .stroke {
  -webkit-text-stroke: 1px var(--text);
  color: transparent;
  font-style: italic;
  font-weight: 300;
}
.hero-tag {
  margin-top: 32px;
  font-size: 18px;
  color: var(--text-2);
  max-width: 60ch;
  line-height: 1.5;
}
.hero-ctas {
  margin-top: 48px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 80px;
  padding-top: 32px;
  border-top: var(--rule);
}
.stat .label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}
.stat .val {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
}
.stat .val .accent { color: var(--accent); }
@media (max-width: 880px) {
  .hero-footer { grid-template-columns: repeat(2, 1fr); }
  .hero-meta { flex-wrap: wrap; }
}

/* Crosshair animation overlay */
.reticle {
  position: absolute;
  width: 280px;
  height: 280px;
  right: 6%;
  top: 22%;
  pointer-events: none;
  opacity: 0.65;
}
@media (max-width: 980px) { .reticle { display: none; } }

/* ============ Services ============ */
.services-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  border-top: var(--rule);
  border-bottom: var(--rule);
}
.svc-tab {
  text-align: left;
  padding: 22px 24px;
  border-right: var(--rule);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  position: relative;
  transition: color 180ms, background 180ms;
}
.svc-tab:last-child { border-right: none; }
.svc-tab:hover { color: var(--text-2); background: rgba(255,255,255,0.015); }
.svc-tab.active { color: var(--text); background: var(--bg-1); }
.svc-tab.active::after {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
}
.svc-tab .num { color: var(--muted); }
.svc-tab.active .num { color: var(--accent); }
.svc-tab .ttl { font-family: var(--font-display); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; text-transform: none; color: inherit; }

.svc-panel {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  border-bottom: var(--rule);
}
.svc-content {
  padding: 56px 56px 56px 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.svc-content .desc {
  font-size: 20px;
  line-height: 1.45;
  color: var(--text);
  max-width: 50ch;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.svc-content .small {
  color: var(--text-2);
  font-size: 15px;
  max-width: 50ch;
}
.svc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: var(--rule);
}
.svc-list li {
  list-style: none;
  padding: 14px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: var(--rule);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.svc-list li:nth-child(odd) { padding-right: 24px; }
.svc-list li:nth-child(even) { padding-left: 24px; border-left: var(--rule); }
.svc-list li::before {
  content: "+";
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
}
.svc-visual {
  position: relative;
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg) 100%);
  border-left: var(--rule);
  padding: 56px;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 980px) {
  .services-tabs { grid-template-columns: 1fr 1fr; }
  .svc-tab:nth-child(2) { border-right: none; }
  .svc-tab:nth-child(1), .svc-tab:nth-child(2) { border-bottom: var(--rule); }
  .svc-panel { grid-template-columns: 1fr; }
  .svc-visual { border-left: none; border-top: var(--rule); padding: 36px; }
  .svc-content { padding: 36px 0; }
}

/* ============ Why ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: var(--rule);
  border-left: var(--rule);
}
.why-cell {
  border-right: var(--rule);
  border-bottom: var(--rule);
  padding: 36px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  transition: background 220ms;
}
.why-cell:hover { background: var(--bg-1); }
.why-cell .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.15em;
}
.why-cell .ttl { font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.why-cell .body { color: var(--text-2); font-size: 14px; line-height: 1.55; }
@media (max-width: 880px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ Projects ============ */
.projects {
  background: var(--bg-1);
}
.project-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: var(--rule);
  border-bottom: var(--rule);
}
.proj {
  border-right: var(--rule);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 220ms;
  cursor: pointer;
}
.proj:last-child { border-right: none; }
.proj:hover { background: var(--bg-2); }
.proj-img {
  aspect-ratio: 4/3;
  background: var(--bg);
  border: var(--rule);
  position: relative;
  overflow: hidden;
}
.proj-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.proj-head .name { font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.proj-head .num { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.18em; }
.proj-meta {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px 16px;
  font-size: 13px;
}
.proj-meta dt { font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.15em; padding-top: 2px; }
.proj-meta dd { margin: 0; color: var(--text); }
.proj-tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; border-top: 1px dashed var(--line); }
.proj-tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-2);
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--line-2);
}
@media (max-width: 980px) {
  .project-strip { grid-template-columns: 1fr; }
  .proj { border-right: none; border-bottom: var(--rule); }
  .proj:last-child { border-bottom: none; }
}

/* ============ Technology ============ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--rule);
  border-left: var(--rule);
}
.tech-cell {
  padding: 32px;
  border-right: var(--rule);
  border-bottom: var(--rule);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  transition: background 220ms;
}
.tech-cell:hover { background: var(--bg-1); }
.tech-cell:hover .tech-icon { color: var(--accent); }
.tech-icon { color: var(--text-2); transition: color 220ms; }
.tech-cell .ttl { font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.tech-cell .desc { color: var(--text-2); font-size: 13px; line-height: 1.5; }
.tech-cell .tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
@media (max-width: 880px) { .tech-grid { grid-template-columns: 1fr 1fr; } }

/* ============ Process ============ */
.process {
  background: var(--bg-1);
}
.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: var(--rule);
  border-bottom: var(--rule);
  position: relative;
}
.process-row::before {
  content: "";
  position: absolute;
  top: 96px;
  left: 32px;
  right: 32px;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--line-2) 0 6px, transparent 6px 14px);
  z-index: 0;
}
.step {
  padding: 36px 32px 40px;
  border-right: var(--rule);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step:last-child { border-right: none; }
.step .step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.2em;
}
.step .dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  color: var(--text);
  font-size: 14px;
  margin-bottom: 8px;
  position: relative;
}
.step .dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.step .name { font-family: var(--font-display); font-size: 24px; font-weight: 500; letter-spacing: -0.015em; }
.step .desc { color: var(--text-2); font-size: 14px; }
@media (max-width: 980px) {
  .process-row { grid-template-columns: 1fr 1fr; }
  .process-row::before { display: none; }
  .step:nth-child(2) { border-right: none; }
}
@media (max-width: 560px) {
  .process-row { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: var(--rule); }
  .step:last-child { border-bottom: none; }
}

/* ============ Clients ============ */
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: var(--rule);
  border-left: var(--rule);
}
.client-cell {
  padding: 28px;
  border-right: var(--rule);
  border-bottom: var(--rule);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 220ms;
  cursor: default;
}
.client-cell:hover { background: var(--bg-1); }
.client-cell .ttl { font-family: var(--font-display); font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.client-cell .num { font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: 0.18em; }
@media (max-width: 880px) { .client-grid { grid-template-columns: 1fr 1fr; } }

/* ============ About / Capability ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
  border-top: var(--rule);
}
.about-left {
  padding: 48px 48px 48px 0;
  border-right: var(--rule);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.about-left .ko {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.02em;
  font-weight: 400;
  line-height: 1.05;
}
.about-left .ko .accent { color: var(--accent); }
.about-right {
  padding: 48px 0 48px 48px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.6;
}
.about-right p strong { color: var(--text); font-weight: 600; }
.about-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 24px;
  border-top: var(--rule);
  margin-top: 12px;
}
.about-meta .val { font-family: var(--font-display); font-size: 28px; color: var(--text); font-weight: 500; letter-spacing: -0.02em; }
.about-meta .val .accent { color: var(--accent); }
.about-meta .lbl { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.15em; text-transform: uppercase; margin-top: 4px; }
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-left { border-right: none; border-bottom: var(--rule); padding: 36px 0; }
  .about-right { padding: 36px 0; }
}

/* ============ Contact ============ */
.contact {
  background: var(--bg-1);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  border: var(--rule);
}
.contact-form {
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 24px;
}
.contact-form .full { grid-column: span 2; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  font-family: var(--font-body);
  font-size: 15px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-2);
  color: var(--text);
  padding: 10px 0;
  outline: none;
  transition: border-color 180ms, color 180ms;
  border-radius: 0;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-bottom-color: var(--accent);
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%236b7585' stroke-width='1.2'/></svg>"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 22px; }
.field select option { background: var(--bg-1); color: var(--text); }
.field.err input, .field.err textarea, .field.err select { border-bottom-color: #ff5b5b; }
.field .errmsg { font-family: var(--font-mono); font-size: 10px; color: #ff8d8d; letter-spacing: 0.1em; text-transform: uppercase; }
.submit-row { grid-column: span 2; display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: var(--rule); margin-top: 8px; }
.submit-row .note { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.1em; }
.contact-side {
  padding: 48px;
  border-left: var(--rule);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-side h3 { font-family: var(--font-display); font-size: 18px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.contact-side .item .lbl { font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 4px; }
.contact-side .item .v { font-size: 15px; }
.contact-side .divider { height: 1px; background: var(--line); }
.success-card {
  grid-column: span 2;
  padding: 36px;
  border: 1px dashed var(--accent);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--accent-glow);
}
.success-card .lbl { color: var(--accent); font-family: var(--font-mono); letter-spacing: 0.2em; font-size: 11px; }
.success-card .h { font-family: var(--font-display); font-size: 22px; }
@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-side { border-left: none; border-top: var(--rule); padding: 36px; }
  .contact-form { padding: 36px; }
}

/* ============ Footer ============ */
.footer {
  border-top: var(--rule);
  padding: 56px 0 28px;
  background: var(--bg);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-col h5 { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 18px; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col li { font-size: 14px; color: var(--text-2); }
.footer-col li a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  margin-top: 48px;
  border-top: var(--rule);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  gap: 24px;
  flex-wrap: wrap;
}
@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ============ Image placeholders ============ */
.placeholder-img {
  width: 100%;
  height: 100%;
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.018) 0 6px, transparent 6px 12px),
    linear-gradient(180deg, #182230 0%, #0d121a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.placeholder-img::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(47,139,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(47,139,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.placeholder-img .lab {
  position: relative;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.placeholder-img .lab .sub { color: var(--muted); letter-spacing: 0.15em; }
.placeholder-img .corners {
  position: absolute; inset: 14px;
  pointer-events: none;
}
.placeholder-img .corners::before, .placeholder-img .corners::after,
.placeholder-img .corners > span::before, .placeholder-img .corners > span::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--accent);
  opacity: 0.6;
}
.placeholder-img .corners::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.placeholder-img .corners::after  { top: 0; right: 0; border-left: none; border-bottom: none; }
.placeholder-img .corners > span::before { bottom: 0; left: 0; border-right: none; border-top: none; }
.placeholder-img .corners > span::after  { bottom: 0; right: 0; border-left: none; border-top: none; }

/* ============ Marquee strip ============ */
.marquee {
  border-top: var(--rule);
  border-bottom: var(--rule);
  overflow: hidden;
  background: var(--bg);
}
.marquee-track {
  display: flex;
  gap: 56px;
  padding: 18px 0;
  animation: marq 38s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee-track span::after {
  content: "✕";
  color: var(--accent);
  margin-left: 56px;
}
@keyframes marq {
  to { transform: translateX(-50%); }
}

/* ============ Animations ============ */
@keyframes reticleSpin { to { transform: rotate(360deg); } }
@keyframes scanLine {
  0%, 100% { transform: translateY(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  50% { transform: translateY(100%); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease-out, transform 700ms ease-out;
}
.fade-in.in {
  opacity: 1;
  transform: translateY(0);
}

/* coordinate overlay */
.coord {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
  pointer-events: none;
}
.coord .accent { color: var(--accent); }
