/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ── Design tokens ── */
:root {
  --bg:     #050607;
  --bg-2:   #0a0c0e;
  --bg-3:   #0e1113;
  --fg:     #f4f6f5;
  --muted:  rgba(244,246,245,0.5);
  --border: rgba(244,246,245,0.08);
  --accent: #3d7eff;
  --sans:   "Inter", system-ui, sans-serif;
  --mono:   "JetBrains Mono", ui-monospace, monospace;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

/* ── Scanlines + vignette (fixed overlays) ── */
.scanlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 9998;
  opacity: 0.35;
  background-image: repeating-linear-gradient(
    0deg, rgba(255,255,255,0.015) 0 1px, transparent 1px 3px);
}
.vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 9997;
  background: radial-gradient(circle at 50% 0%, transparent 40%, rgba(0,0,0,0.55) 100%);
}

/* ── SOC command bar ── */
.soc-bar {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  border-bottom: 1px solid var(--border);
  padding: 8px 48px;
  display: flex;
  gap: 24px;
  align-items: center;
  color: var(--muted);
  background: var(--bg-2);
  flex-wrap: wrap;
}
.soc-bar strong { color: var(--fg); font-weight: 500; }
.soc-bar .accent-dot { color: var(--accent); margin-right: 6px; }
.soc-bar .soc-right { margin-left: auto; display: flex; gap: 24px; align-items: center; }
.soc-bar .swatch-row { display: flex; align-items: center; gap: 6px; padding-left: 16px; border-left: 1px solid var(--border); }
.soc-bar .swatch {
  width: 14px; height: 14px; border-radius: 2px; border: 1.5px solid transparent;
  cursor: pointer; padding: 0; transition: border-color .15s, box-shadow .15s;
}
.soc-bar .swatch[data-active] { border-color: var(--fg); box-shadow: 0 0 8px currentColor; }

/* ── Site header / nav ── */
.site-header {
  padding: 20px 48px;
  display: flex;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-img {
  width: 40px; height: 40px; border-radius: 4px;
  overflow: hidden; border: 1px solid var(--border); background: #000;
  flex-shrink: 0;
}
.nav-logo-img img { width: 100%; height: 100%; object-fit: cover; }
.nav-brand {
  font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 2px;
}
.nav-brand .muted { color: var(--muted); }
.nav-links {
  display: flex; gap: 2px; font-family: var(--mono);
  font-size: 11px; letter-spacing: 1px; margin-left: 20px; list-style: none;
}
.nav-links a {
  color: var(--muted); padding: 6px 10px; border-radius: 2px; transition: color .15s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--fg); background: rgba(255,255,255,0.04);
}
.nav-cta { margin-left: auto; display: flex; gap: 10px; }

/* ── Buttons ── */
.btn-ghost {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1px;
  background: transparent; color: var(--muted);
  border: 1px solid var(--border); padding: 8px 14px;
  transition: color .15s, border-color .15s;
}
.btn-ghost:hover { color: var(--fg); border-color: var(--fg); }
.btn-accent {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; font-weight: 700;
  background: var(--accent); color: #001a10; border: none; padding: 8px 16px;
  box-shadow: 0 0 20px color-mix(in srgb, var(--accent) 40%, transparent);
  transition: opacity .15s;
}
.btn-accent:hover { opacity: .85; }
.btn-accent-lg {
  font-family: var(--mono); font-size: 13px; letter-spacing: 1.5px; font-weight: 700;
  background: var(--accent); color: #001a10; border: none; padding: 16px 24px;
  box-shadow: 0 0 32px color-mix(in srgb, var(--accent) 40%, transparent);
  transition: opacity .15s; display: inline-block;
}
.btn-accent-lg:hover { opacity: .85; }
.btn-ghost-lg {
  font-family: var(--mono); font-size: 13px; letter-spacing: 1.5px; font-weight: 700;
  background: transparent; color: var(--fg);
  border: 1px solid var(--border); padding: 16px 24px; display: inline-block;
  transition: border-color .15s;
}
.btn-ghost-lg:hover { border-color: var(--fg); }

/* ── Hero ── */
.hero {
  padding: 64px 48px 100px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; opacity: .22;
  filter: blur(0.5px); pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 96px 96px;
}
.hero-inner { position: relative; max-width: 1400px; margin: 0 auto; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  letter-spacing: 3px; margin-bottom: 28px;
}
.hero-eyebrow-dot {
  width: 8px; height: 8px; background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 12px var(--accent); flex-shrink: 0;
}
.hero-title {
  font-size: clamp(80px, 11.1vw, 160px);
  line-height: .88; font-weight: 900; letter-spacing: -.04em;
  margin: 0; text-transform: uppercase;
}
.hero-title .accent-line {
  display: block; color: var(--accent);
  text-shadow: 0 0 40px color-mix(in srgb, var(--accent) 53%, transparent);
}
.hero-title span:not(.accent-line) { display: block; }
.hero-body {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 56px; margin-top: 56px; align-items: start;
}
.hero-sub {
  font-size: 19px; color: rgba(244,246,245,.7); line-height: 1.5;
  max-width: 540px; margin: 0;
}
.hero-ctas { display: flex; gap: 12px; margin-top: 32px; }
.terminal-prompt {
  margin-top: 40px; font-family: var(--mono); font-size: 12px;
  color: var(--muted); letter-spacing: 1px;
}
.terminal-prompt .accent { color: var(--accent); }
.cursor-blink {
  display: inline-block; width: 8px; height: 14px;
  background: var(--accent); margin-left: 6px; vertical-align: middle;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ── Terminal card ── */
.terminal-card {
  background: var(--bg-2);
  border: 1px solid var(--border); border-radius: 3px; overflow: hidden;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 6%, transparent),
              0 24px 60px rgba(0,0,0,.6);
  contain: layout;
}
.terminal-card-header {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10.5px; color: var(--muted);
  letter-spacing: 1.5px; background: var(--bg-3);
}
.terminal-card-header .rec { margin-left: auto; color: var(--accent); }
.terminal-card-header .live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}
.terminal-card-body { padding: 16px; height: 185px; overflow: hidden; }
.terminal-card-body > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.log-line {
  font-family: var(--mono); font-size: 11.5px; line-height: 1.65;
  color: rgba(230,240,235,.68);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: flex; gap: 8px;
}
.log-line .sev-info, .log-line .sev-warn, .log-line .sev-alert, .log-line .sev-ok { color: var(--accent); }
.log-line .log-ts    { color: rgba(230,240,235,.4); }
.log-line .log-msg   { color: rgba(230,240,235,.75); }

/* ── Ticker strip ── */
.ticker { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; background: var(--bg-2); }
.ticker-inner {
  display: flex; gap: 60px; padding: 18px 0; white-space: nowrap;
  font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 2px;
  animation: ticker 40s linear infinite;
}
.ticker-inner .accent { color: var(--accent); }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Services ── */
.services { padding: 140px 48px 60px; }
.services-inner { max-width: 1400px; margin: 0 auto; }
.section-eyebrow {
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  letter-spacing: 3px; margin-bottom: 24px;
}
.services-title {
  font-size: clamp(60px, 8.3vw, 120px);
  font-weight: 900; letter-spacing: -.04em; margin: 0 0 64px;
  line-height: .9; text-transform: uppercase; max-width: 1100px;
}
.services-title .accent { color: var(--accent); }
.service-count {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  letter-spacing: 1.5px; margin-bottom: 24px; padding-left: 4px;
}
.service-row {
  display: grid; grid-template-columns: 120px 1fr 1fr; gap: 56px;
  padding: 56px 0; border-top: 1px solid var(--border); align-items: start;
}
.service-code {
  font-family: var(--mono); font-size: 64px; font-weight: 900;
  color: var(--accent); letter-spacing: -2px; line-height: 1;
  text-shadow: 0 0 24px color-mix(in srgb, var(--accent) 27%, transparent);
}
.service-title {
  font-size: 44px; font-weight: 900; letter-spacing: -1.2px;
  margin: 0; text-transform: uppercase; line-height: 1;
}
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.service-tag {
  font-family: var(--mono); font-size: 10px; color: var(--muted);
  border: 1px solid var(--border); padding: 5px 10px; letter-spacing: 1.5px;
}
.service-body { font-size: 17px; color: rgba(244,246,245,.75); line-height: 1.6; margin: 0; }
.service-link {
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  letter-spacing: 1.5px; margin-top: 20px; display: block;
  transition: opacity .15s;
}
.service-link:hover { opacity: .7; }

/* ── Why Us ── */
.why { padding: 140px 48px; border-top: 1px solid var(--border); }
.why-inner { max-width: 1400px; margin: 0 auto; }
.why-title {
  font-size: clamp(48px, 6.7vw, 96px); font-weight: 900; letter-spacing: -3px;
  margin: 0 0 80px; line-height: .9; text-transform: uppercase; max-width: 1000px;
}
.why-title .accent { color: var(--accent); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); }
.why-card { background: var(--bg); padding: 48px 40px; min-height: 220px; }
.why-num { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 2px; margin-bottom: 20px; }
.why-card-title { font-size: 28px; font-weight: 700; letter-spacing: -.6px; margin-bottom: 16px; text-transform: uppercase; }
.why-card-body { font-size: 15px; color: var(--muted); line-height: 1.6; max-width: 420px; }

/* ── CTA ── */
.cta {
  padding: 140px 48px; text-align: center;
  position: relative; border-top: 1px solid var(--border);
}
.cta-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 60%);
}
.cta-prompt {
  font-family: var(--mono); font-size: 12px; color: var(--accent);
  letter-spacing: 3px; margin-bottom: 32px;
}
.cta-prompt .muted { color: var(--muted); }
.cta-title {
  font-size: clamp(56px, 9.7vw, 140px); font-weight: 900; letter-spacing: -.04em;
  margin: 0; line-height: .9; text-transform: uppercase;
  max-width: 1200px; margin-inline: auto;
}
.cta-title .accent {
  color: var(--accent);
  text-shadow: 0 0 40px color-mix(in srgb, var(--accent) 53%, transparent);
}
.cta-buttons { display: flex; gap: 14px; justify-content: center; margin-top: 48px; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px 28px;
  background: var(--bg-2); color: var(--fg);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px; padding-bottom: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo-img {
  width: 44px; height: 44px; border-radius: 4px; overflow: hidden;
  border: 1px solid var(--border); background: #000; flex-shrink: 0;
}
.footer-logo-img img { width: 100%; height: 100%; object-fit: cover; }
.footer-brand-name { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--accent); }
.footer-tagline { font-size: 13px; color: var(--muted); line-height: 1.6; max-width: 280px; }
.footer-col-label { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 10px; }
.footer-col-body { font-size: 13px; line-height: 1.8; }
.footer-col-body a { color: inherit; }
.footer-col-body a:hover { color: var(--fg); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 18px;
  display: flex; justify-content: space-between;
  font-size: 11px; font-family: var(--mono); color: var(--muted); letter-spacing: .5px;
}

/* ── Inner page hero ── */
.page-hero {
  padding: 80px 48px 64px;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; opacity: .15; pointer-events: none; }
.page-hero-inner { position: relative; max-width: 1400px; margin: 0 auto; }
.page-breadcrumb { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 3px; margin-bottom: 24px; }
.page-title {
  font-size: clamp(56px, 8.3vw, 120px); font-weight: 900; letter-spacing: -.04em;
  margin: 0; line-height: .9; text-transform: uppercase;
}
.page-title .accent {
  color: var(--accent);
  text-shadow: 0 0 40px color-mix(in srgb, var(--accent) 40%, transparent);
}
.page-sub {
  font-size: 19px; color: rgba(244,246,245,.7); line-height: 1.55;
  max-width: 640px; margin-top: 36px;
}

/* ── Services page grid ── */
.services-cards { padding: 80px 48px; }
.services-cards-inner { max-width: 1400px; margin: 0 auto; }
.service-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); }
.service-card { background: var(--bg-2); padding: 48px 40px; }
.service-card-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.service-card-code { font-family: var(--mono); font-size: 40px; font-weight: 900; color: var(--accent); letter-spacing: -1px; line-height: 1; }
.service-card-status { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 1.5px; }
.service-card-title { font-size: 32px; font-weight: 900; letter-spacing: -.8px; margin: 0 0 16px; text-transform: uppercase; line-height: 1.05; }
.service-card-body { font-size: 15px; color: rgba(244,246,245,.75); line-height: 1.65; margin-bottom: 24px; }

/* ── Silent Edge features ── */
.se-features { padding: 80px 48px; display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--border); border-bottom: 1px solid var(--border); }
.se-feature { background: var(--bg); padding: 48px 36px; min-height: 220px; }
.se-feature-num { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 2px; margin-bottom: 20px; }
.se-feature-title { font-size: 28px; font-weight: 700; letter-spacing: -.6px; margin-bottom: 14px; text-transform: uppercase; }
.se-feature-body { font-size: 14px; color: var(--muted); line-height: 1.6; }
.se-badge { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--accent); padding: 6px 12px; font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 2px; margin-bottom: 32px; }
.se-title { font-size: clamp(72px, 12.5vw, 180px); font-weight: 900; letter-spacing: -.04em; margin: 0; line-height: .88; text-transform: uppercase; }
.se-title .accent { color: var(--accent); text-shadow: 0 0 40px color-mix(in srgb, var(--accent) 53%, transparent); }
.se-sub { font-size: 20px; color: rgba(244,246,245,.7); line-height: 1.55; max-width: 620px; margin-top: 36px; }
.se-ctas { display: flex; gap: 14px; margin-top: 40px; }

/* ── Story page ── */
.story-body-text { padding: 40px 48px 80px; max-width: 920px; margin: 0 auto; font-size: 19px; line-height: 1.7; color: rgba(244,246,245,.8); }
.story-body-text p { margin-bottom: 24px; }
.story-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--border); margin-top: 72px; border-top: 1px solid var(--border); }
.story-stat { background: var(--bg); padding: 40px 28px; }
.story-stat-value { font-size: 64px; font-weight: 900; letter-spacing: -2px; color: var(--accent); line-height: 1; }
.story-stat-label { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 1.5px; margin-top: 10px; }

/* ── Contact page ── */
.contact-section { padding: 80px 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; max-width: 1400px; margin: 0 auto; }
.contact-info-title { font-size: clamp(48px, 6.7vw, 96px); font-weight: 900; letter-spacing: -3px; margin: 0; line-height: .9; text-transform: uppercase; }
.contact-info-title .accent { color: var(--accent); text-shadow: 0 0 32px color-mix(in srgb, var(--accent) 40%, transparent); }
.contact-info-sub { font-size: 17px; color: var(--muted); line-height: 1.6; margin-top: 32px; max-width: 480px; }
.contact-details { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-detail-label { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 1.5px; margin-bottom: 8px; }
.contact-detail-value { font-family: var(--mono); font-size: 14px; line-height: 1.5; }
.contact-detail-wide { grid-column: span 2; }
.contact-form { background: var(--bg-2); padding: 36px; border: 1px solid var(--border); border-radius: 4px; }
.form-title { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 2px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { margin-bottom: 14px; }
.form-label { display: block; font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 1.5px; margin-bottom: 6px; }
.form-input, .form-textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border);
  color: var(--fg); padding: 14px 16px; font-family: var(--mono); font-size: 13px;
  outline: none; border-radius: 2px; transition: border-color .15s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--accent); }
.form-textarea { resize: vertical; font-family: var(--sans); font-size: 14px; }
.form-interests { display: flex; flex-wrap: wrap; gap: 6px; }
.form-interest {
  font-family: var(--mono); font-size: 11px; color: var(--fg);
  border: 1px solid var(--border); padding: 8px 12px; cursor: pointer;
  transition: border-color .15s, color .15s;
}
.form-interest:hover, .form-interest.selected { border-color: var(--accent); color: var(--accent); }
.form-submit {
  font-family: var(--mono); font-size: 13px; letter-spacing: 1.5px;
  background: var(--accent); color: #001a10; border: none; padding: 14px 22px;
  font-weight: 700; cursor: pointer; width: 100%; margin-top: 6px;
  transition: opacity .15s;
}
.form-submit:hover { opacity: .85; }

/* ── Accent switching JS helper class ── */
.accent { color: var(--accent); }

/* ── Hamburger menu ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px; height: 16px;
  background: transparent; border: none;
  padding: 0; cursor: pointer; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 100%; height: 1.5px;
  background: var(--fg);
  transition: transform 0.2s, opacity 0.2s;
}
.site-header.nav-open .nav-hamburger span:first-child { transform: rotate(45deg) translate(4px, 4px); }
.site-header.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-hamburger span:last-child { transform: rotate(-45deg) translate(4px, -4px); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-body, .contact-section { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 80px 1fr; }
  .service-row > *:last-child { grid-column: 2; }
}
@media (max-width: 768px) {
  /* layout */
  /* SOC bar: hide status text, keep only the colour swatches */
  .soc-bar { padding: 6px 20px; justify-content: flex-end; gap: 0; }
  .soc-bar > span:not(.soc-right) { display: none; }
  .soc-bar .soc-right { margin-left: 0; }
  .soc-bar .soc-right > span:not(.swatch-row) { display: none; }
  .soc-bar .swatch-row { border-left: none; padding-left: 0; }
  /* header */
  .site-header { padding: 14px 20px; gap: 16px; position: relative; }
  .nav-cta .btn-ghost { display: none; }
  /* hamburger */
  .nav-hamburger { display: flex; }
  /* nav dropdown */
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 200;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    padding: 12px 20px; flex-direction: column; gap: 0;
  }
  .nav-links li { list-style: none; }
  .nav-links a { display: block; padding: 11px 8px; font-size: 12px; letter-spacing: 1px; }
  .site-header.nav-open .nav-links { display: flex; }
  .hero, .services, .why, .cta, .page-hero, .services-cards, .story-body-text { padding-left: 20px; padding-right: 20px; }
  .contact-section { padding: 48px 20px; }
  .hero { padding-top: 48px; padding-bottom: 64px; }
  .services { padding-top: 80px; padding-bottom: 40px; }
  .why { padding-top: 80px; padding-bottom: 80px; }
  .cta { padding-top: 80px; padding-bottom: 80px; }
  .page-hero { padding-top: 48px; padding-bottom: 40px; }
  .services-cards { padding-top: 48px; padding-bottom: 48px; }
  /* grids → single column */
  .service-cards-grid, .why-grid, .se-features, .story-stats { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .service-row > *:last-child { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-details { grid-template-columns: 1fr; }
  .contact-detail-wide { grid-column: 1; }
  .form-row { grid-template-columns: 1fr; }
  /* typography — reduce clamp minimums for small screens */
  .hero-title { font-size: clamp(44px, 13vw, 160px); }
  .services-title { font-size: clamp(36px, 10vw, 120px); }
  .why-title { font-size: clamp(32px, 9vw, 96px); }
  .cta-title { font-size: clamp(36px, 10vw, 140px); }
  .se-title { font-size: clamp(44px, 13vw, 180px); }
  .page-title { font-size: clamp(40px, 11vw, 120px); }
  .contact-info-title { font-size: clamp(36px, 10vw, 96px); }
  .service-code { font-size: 40px; }
}
@media (max-width: 480px) {
  .soc-bar { padding: 5px 16px; }
  .site-header { padding: 12px 16px; }
  .hero-ctas, .se-ctas, .cta-buttons { flex-direction: column; align-items: stretch; }
  .btn-accent-lg, .btn-ghost-lg { width: 100%; text-align: center; box-sizing: border-box; }
  .ticker-inner { gap: 32px; font-size: 10px; animation-duration: 25s; }
  .why-card { padding: 32px 24px; }
  .se-feature { padding: 36px 24px; }
  .terminal-card { margin-top: 32px; }
  .story-body-text { padding: 24px 20px 48px; font-size: 16px; }
  .hero-sub { font-size: 16px; }
  .service-body { font-size: 15px; }
}
