/* Nordyn — design tokens (mirrors src/styles/tokens.css) */
:root {
  --bg: #0a0a0a;
  --surface: #121212;
  --surface-2: #18181b;
  --surface-3: #1f1f23;
  --border: #262626;
  --border-hover: #3f3f46;
  --text: #fafafa;
  --text-2: #a1a1aa;
  --text-3: #71717a;
  --accent: #ff6b1a;
  --accent-hover: #ff8640;
  --accent-fg: #0a0a0a;
  --accent-soft: rgba(255, 107, 26, 0.08);
  --ring: var(--accent);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --header-h: 64px;
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  font-family: var(--font-sans);
  background: transparent;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-fg); }

/* Container */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* Type */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  font-family: var(--font-mono);
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 999px;
  margin-right: 10px;
  vertical-align: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--border-hover); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(2px); }

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 50;
  transition: background-color .2s, border-color .2s, backdrop-filter .2s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(10,10,10,0.72);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--border);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.logo svg { display: block; }
.logo .group { color: var(--text-3); font-weight: 400; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; margin-left: 2px; }

.nav { display: none; align-items: center; gap: 32px; }
.nav a { color: var(--text-2); font-size: 14px; transition: color .18s; }
.nav a:hover, .nav a.active { color: var(--text); }
.nav .ext { display: inline-flex; align-items: center; gap: 4px; }
.nav .ext svg { width: 12px; height: 12px; }

.header-right { display: none; align-items: center; gap: 20px; }
.locale {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-3);
}
.locale button {
  background: transparent; border: 0; color: var(--text-3);
  padding: 4px 6px; font: inherit; transition: color .18s;
}
.locale button.on { color: var(--text); }
.locale button:hover { color: var(--text); }
.locale .sep { color: var(--text-3); opacity: .5; }

@media (min-width: 768px) {
  .nav, .header-right { display: flex; }
  .menu-btn { display: none !important; }
}
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: transparent; border: 0; color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 64px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255,107,26,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(255,107,26,0.04) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  opacity: 0.45;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-scan {
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.4;
  z-index: -1;
  animation: scan 9s linear infinite;
}
@keyframes scan {
  0% { transform: translateY(20vh); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translateY(80vh); opacity: 0; }
}

.hero-content { max-width: 980px; }
.hero h1 {
  margin: 28px 0 0;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--text);
  text-wrap: balance;
}
.hero h1 .ms {
  color: var(--accent);
  display: inline-block;
  position: relative;
}
.hero h1 .ms::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--accent);
  opacity: 0.25;
}
.hero p.lede {
  margin: 28px 0 0;
  max-width: 640px;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--text-2);
  line-height: 1.55;
  text-wrap: pretty;
}
.hero-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero status row (live operations strip) */
.hero-status {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.hero-status .cell {
  background: var(--bg);
  padding: 16px 18px;
}
.hero-status .lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hero-status .val {
  margin-top: 6px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pulse {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(255,107,26,0.5);
  animation: pulse 2s infinite;
}
.pulse.green { background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  70%  { box-shadow: 0 0 0 6px transparent; opacity: 1; }
  100% { box-shadow: 0 0 0 0 transparent; opacity: 1; }
}

/* Sections */
.section {
  border-top: 1px solid var(--border);
  padding: clamp(72px, 10vw, 144px) 0;
  position: relative;
}
.section h2 {
  margin: 0;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
  text-wrap: balance;
}
.section .lede {
  margin-top: 16px;
  max-width: 640px;
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.55;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 56px;
}
@media (min-width: 768px) {
  .section-head {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: end;
    gap: 48px;
  }
}
.section-head .meta { color: var(--text-3); font-size: 13px; line-height: 1.6; }

/* Problem statement */
.problem-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 768px) {
  .problem-block { grid-template-columns: 80px 1fr; gap: 48px; }
}
.problem-block .num {
  font-family: var(--font-mono);
  color: var(--text-3);
  font-size: 13px;
  letter-spacing: 0.1em;
}
.problem-block h2 .strike {
  color: var(--text-3);
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
}
.problem-block .answer {
  margin-top: 20px;
  font-size: 22px;
  color: var(--text);
  font-weight: 500;
}
.problem-block .answer .accent { color: var(--accent); }

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
}
.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  min-height: 360px;
  transition: border-color .2s, transform .2s, background-color .2s;
  overflow: hidden;
  cursor: pointer;
}
.pillar:hover {
  border-color: var(--border-hover);
  background: var(--surface-2);
}
.pillar .icon {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
}
.pillar .tag {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
}
.pillar h3 {
  margin: 8px 0 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.pillar p {
  margin: 12px 0 0;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.55;
}
.pillar .more {
  margin-top: auto;
  padding-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}
.pillar .more svg { transition: transform .2s; }
.pillar:hover .more svg { transform: translateX(3px); }
.pillar .corner {
  position: absolute;
  top: 0; right: 0;
  width: 48px; height: 48px;
  pointer-events: none;
  opacity: .3;
}

/* LiveWing feature split */
.livewing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .livewing { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; }
}
.livewing-media {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(180deg, #16181c 0%, #0e0f12 100%);
  overflow: hidden;
  min-height: 420px;
  display: flex; align-items: center; justify-content: center;
}
.livewing-media::before {
  content: "";
  position: absolute; inset: 0;
  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: 40px 40px;
}
.livewing-media .label {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  background: rgba(10,10,10,0.6);
  border: 1px solid var(--border);
  padding: 5px 8px;
  border-radius: 4px;
}
.livewing-media .badge {
  position: absolute; top: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--text);
  background: rgba(10,10,10,0.6);
  border: 1px solid var(--border);
  padding: 5px 8px;
  border-radius: 4px;
}
.livewing-text h2 { margin-top: 12px; }
.livewing-text .body { margin-top: 24px; color: var(--text-2); font-size: 17px; line-height: 1.6; max-width: 520px; }
.spec-list {
  margin-top: 32px;
  border-top: 1px solid var(--border);
}
.spec-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.spec-row .k { color: var(--text-2); }
.spec-row .v { color: var(--text); font-family: var(--font-mono); font-size: 13px; }

.arrowlink {
  margin-top: 32px;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text);
  font-size: 14.5px; font-weight: 500;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  width: max-content;
  transition: color .2s, border-color .2s;
}
.arrowlink:hover { color: var(--accent); }
.arrowlink svg { transition: transform .2s; }
.arrowlink:hover svg { transform: translateX(3px); }

/* SVG mothership scene */
.scene { width: 100%; height: 100%; position: relative; z-index: 1; }
.scene svg { width: 100%; height: 100%; }

/* Insights */
.insights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .insights-grid { grid-template-columns: repeat(3, 1fr); }
}
.insight {
  background: var(--bg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background-color .2s;
  cursor: pointer;
}
.insight:hover { background: var(--surface); }
.insight .meta {
  display: flex; gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-3);
  text-transform: uppercase;
}
.insight .meta .cat { color: var(--accent); }
.insight h4 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text);
}
.insight p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.55; }
.insight .read {
  margin-top: auto;
  font-size: 13px;
  color: var(--text);
  display: inline-flex; align-items: center; gap: 6px;
}
.insight .read svg { transition: transform .2s; }
.insight:hover .read svg { transform: translateX(3px); }

/* Final CTA */
.final-cta {
  position: relative;
  padding: clamp(72px, 9vw, 120px) 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 100%, rgba(255,107,26,0.10) 0%, transparent 60%);
}
.final-cta-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: end;
}
@media (min-width: 900px) {
  .final-cta-inner {
    grid-template-columns: 1.2fr auto;
    gap: 64px;
  }
}
.final-cta h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 16px 0 0;
  text-wrap: balance;
}
.final-cta .sub { color: var(--text-2); font-size: 17px; margin-top: 16px; }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
}
.footer .col h5 {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
}
.footer .col a { display: block; padding: 6px 0; color: var(--text-2); font-size: 14px; transition: color .18s; }
.footer .col a:hover { color: var(--text); }
.footer address { color: var(--text-2); font-size: 14px; line-height: 1.6; font-style: normal; margin-top: 16px; }
.footer .bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--text-3);
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Tweaks panel */
.tweaks {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  width: 280px;
  background: rgba(18,18,18,0.96);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  font-size: 13px;
  color: var(--text);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.tweaks h6 {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
  display: flex; justify-content: space-between; align-items: center;
}
.tweaks .row { margin-top: 12px; }
.tweaks .row label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 6px;
  font-family: var(--font-mono);
}
.tweaks .seg {
  display: flex;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px;
  gap: 2px;
}
.tweaks .seg button {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--text-2);
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 12px;
}
.tweaks .seg button.on {
  background: var(--surface-3);
  color: var(--text);
}
.tweaks .swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.tweaks .swatches button {
  width: 24px; height: 24px;
  border-radius: 4px;
  border: 2px solid transparent;
  padding: 0;
}
.tweaks .swatches button.on { border-color: var(--text); }
.tweaks .toggle {
  width: 36px; height: 20px;
  background: var(--surface-3);
  border-radius: 999px;
  border: 1px solid var(--border);
  position: relative;
  padding: 0;
  cursor: pointer;
  transition: background-color .2s;
}
.tweaks .toggle::after {
  content: "";
  position: absolute;
  top: 1px; left: 1px;
  width: 16px; height: 16px;
  background: var(--text-2);
  border-radius: 999px;
  transition: transform .2s, background-color .2s;
}
.tweaks .toggle.on { background: var(--accent); }
.tweaks .toggle.on::after { transform: translateX(16px); background: var(--accent-fg); }
.tweaks-row-flex { display: flex; align-items: center; justify-content: space-between; gap: 8px; }


/* ============================================================
   ARAWN Fleet — three-up drone cards
   ============================================================ */
.fleet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 900px) {
  .fleet-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
.fleet-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--surface) 0%, #0e0f12 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease, background-color .25s ease;
}
.fleet-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.fleet-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, #1a1c21 0%, #0a0b0e 70%);
  border-bottom: 1px solid var(--border);
}
.fleet-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center;
  transition: transform .6s ease;
}
.fleet-media[data-fit="contain"] img { object-fit: contain; padding: 18px; }
.fleet-media[data-fit="cover"] img { object-fit: cover; }
.fleet-card:hover .fleet-media img { transform: scale(1.03); }
.fleet-media-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 90%);
}
.fleet-hud { position: absolute; inset: 12px; pointer-events: none; }
.hud-corner {
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--accent);
  opacity: 0.9;
}
.hud-corner.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud-corner.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud-corner.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud-corner.br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.fleet-media-chip {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(10,10,10,0.75);
  border: 1px solid var(--border);
  padding: 5px 8px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}
.fleet-media-role {
  position: absolute;
  bottom: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(10,10,10,0.72);
  border: 1px solid var(--border);
  padding: 5px 9px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}
.fleet-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fleet-head { display: flex; flex-direction: column; gap: 6px; }
.fleet-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--text-3);
  text-transform: uppercase;
}
.fleet-card h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.fleet-desc {
  margin: 0;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.55;
  text-wrap: pretty;
}
.fleet-specs {
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.fleet-specs dt { color: var(--text-3); font-family: var(--font-sans); margin: 0; }
.fleet-specs dd { color: var(--text); font-family: var(--font-mono); font-size: 12.5px; margin: 0; text-align: right; }

/* ============================================================
   DRN:X Factory
   ============================================================ */
.factory-section {
  background:
    linear-gradient(180deg, transparent 0%, rgba(255,107,26,0.015) 50%, transparent 100%);
}
.factory-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
@media (min-width: 960px) {
  .factory-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: stretch; }
}
.factory-body {
  margin-top: 24px;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.6;
  max-width: 520px;
  text-wrap: pretty;
}
.factory-hero {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 320px;
  background: #0a0b0e;
  aspect-ratio: 16 / 10;
}
.factory-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.factory-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.6) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.3) 0%, transparent 30%);
}
.factory-hero-caption {
  position: absolute;
  left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text);
  background: rgba(10,10,10,0.7);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}
.factory-hero .hud-corner { position: absolute; width: 16px; height: 16px; }
.factory-hero .hud-corner.tl { top: 12px; left: 12px; }
.factory-hero .hud-corner.tr { top: 12px; right: 12px; }
.factory-hero .hud-corner.bl { bottom: 12px; left: 12px; }
.factory-hero .hud-corner.br { bottom: 12px; right: 12px; }

.factory-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
@media (min-width: 700px) { .factory-tiles { grid-template-columns: repeat(3, 1fr); } }
.factory-tile {
  position: relative;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  aspect-ratio: 4 / 3;
  transition: border-color .25s, transform .25s;
}
.factory-tile:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.factory-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.factory-tile:hover img { transform: scale(1.04); }
.factory-tile figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 16px 16px;
  display: flex; flex-direction: column; gap: 4px;
  background: linear-gradient(180deg, transparent 0%, rgba(10,10,10,0.9) 80%);
  color: var(--text);
}
.tile-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
}
.tile-label {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.factory-logistics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
@media (min-width: 700px) { .factory-logistics { grid-template-columns: repeat(3, 1fr); } }
.logistics-card {
  background: var(--bg);
  padding: 18px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.logistics-media {
  position: relative;
  width: 96px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.logistics-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.logistics-text { min-width: 0; }
.logistics-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.logistics-value {
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.35;
}

/* ============================================================
   LiveWing — Interceptor photo with HUD annotations
   ============================================================ */
.livewing-photo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.livewing-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 48px 24px 56px;
}
.livewing-vignette {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, transparent 35%, rgba(10,10,10,0.6) 100%);
}
.livewing-scan {
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.6;
  animation: scan 6s linear infinite;
  pointer-events: none;
}
.livewing-annotations {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.livewing-readout {
  position: absolute;
  left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--text);
  background: rgba(10,10,10,0.7);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 4px;
  z-index: 3;
  backdrop-filter: blur(6px);
}
.livewing-readout .sep { color: var(--text-3); opacity: 0.5; }


/* ============================================================
   v4 additions — Display font, Hero timeline, Why, Trust,
   Matrix, Contact form, Shop-prefix, reduced-motion
   ============================================================ */

/* Display face for headlines */
.hero h1,
.section h2,
.factory-head h2,
.matrix-heading,
.why-tile h3,
.trust-section h2,
.contact-section h2 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

/* Reduced motion — neutralize animated decor */
.reduced-motion .hero-scan,
.reduced-motion .ht-line-fill,
.reduced-motion .reveal { transition: none !important; animation: none !important; }
.reduced-motion .reveal { opacity: 1 !important; transform: none !important; }

/* -------- Header: Parts-Shop prefix -------- */
.nav a.ext { display: inline-flex; align-items: center; gap: 6px; }
.nav a.ext .ext-prefix {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.nav a.ext .ext-sep { color: var(--text-3); opacity: 0.5; }

/* -------- Hero timeline -------- */
.hero-timeline {
  margin-top: 56px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--border);
}
.ht-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
}
.ht-track { position: relative; }
.ht-line {
  position: absolute;
  left: 0; right: 0; top: 8px;
  height: 1px;
  background: var(--border);
  overflow: hidden;
}
.ht-line-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--accent);
  transition: width 1.4s cubic-bezier(.2,.7,.2,1) 0.2s;
}
.hero-timeline.seen.motion .ht-line-fill { width: 100%; }
.hero-timeline.seen:not(.motion) .ht-line-fill { width: 100%; transition: none; }

.ht-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.ht-step {
  padding-top: 26px;
  position: relative;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .5s ease;
  transition-delay: calc(var(--i) * 140ms + 200ms);
}
.hero-timeline.seen .ht-step { opacity: 1; transform: translateY(0); }
.ht-dot {
  position: absolute;
  left: 0;
  top: 3px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--accent);
}
.ht-dot::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform .4s ease;
  transition-delay: calc(var(--i, 0) * 140ms + 400ms);
}
.hero-timeline.seen .ht-step .ht-dot::after { transform: scale(1); }
.ht-t {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
}
.ht-title {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.ht-note {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.5;
}
@media (max-width: 820px) {
  .ht-steps { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .ht-line { display: none; }
  .ht-step { padding-top: 0; padding-left: 22px; }
  .ht-dot { top: 4px; }
}
@media (max-width: 480px) {
  .ht-steps { grid-template-columns: 1fr; }
}

/* -------- Why Nordyn section -------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.why-tile {
  background: var(--bg);
  padding: 36px 32px 40px;
  position: relative;
  min-height: 260px;
  transition: background-color .3s ease;
}
.why-tile:hover { background: var(--surface); }
.why-tile .corner {
  position: absolute;
  top: 14px; right: 14px;
  width: 24px; height: 24px;
  color: var(--text-3);
  opacity: 0.5;
}
.why-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
}
.why-tile h3 {
  margin: 18px 0 14px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.why-tile p {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* -------- Fleet: motion on specs hover -------- */
.fleet-card.motion:hover .fleet-specs dt,
.fleet-card.motion:hover .fleet-specs dd {
  animation: specLine .5s ease both;
}
.fleet-card.motion:hover .fleet-specs > *:nth-child(1) { animation-delay: .04s; }
.fleet-card.motion:hover .fleet-specs > *:nth-child(2) { animation-delay: .04s; }
.fleet-card.motion:hover .fleet-specs > *:nth-child(3) { animation-delay: .12s; }
.fleet-card.motion:hover .fleet-specs > *:nth-child(4) { animation-delay: .12s; }
.fleet-card.motion:hover .fleet-specs > *:nth-child(5) { animation-delay: .20s; }
.fleet-card.motion:hover .fleet-specs > *:nth-child(6) { animation-delay: .20s; }
.fleet-card.motion:hover .fleet-specs > *:nth-child(7) { animation-delay: .28s; }
.fleet-card.motion:hover .fleet-specs > *:nth-child(8) { animation-delay: .28s; }
@keyframes specLine {
  from { opacity: 0.5; transform: translateX(-6px); }
  to   { opacity: 1;   transform: translateX(0); }
}

/* -------- Missions matrix -------- */
.matrix-wrap {
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
}
.matrix-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.matrix-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}
.matrix-heading {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.matrix-scroll { overflow-x: auto; }
table.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
table.matrix th,
table.matrix td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  white-space: nowrap;
  vertical-align: middle;
}
table.matrix thead th {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-top: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
table.matrix tbody th.mx-platform {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  letter-spacing: -0.01em;
}
table.matrix tbody tr:last-child th,
table.matrix tbody tr:last-child td { border-bottom: 0; }
table.matrix td.mx-role,
table.matrix thead th.mx-role { color: var(--accent); }
table.matrix td { color: var(--text-2); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; }
.matrix-foot {
  padding: 14px 24px 18px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-3);
}

/* -------- Trust & Standards section -------- */
.trust-section { }
.trust-chips {
  margin-top: 36px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}
.trust-chips-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.trust-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text);
  transition: border-color .2s ease, color .2s ease;
}
.trust-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.trust-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
}
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; } }

.trust-company {
  padding: 28px 28px 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}
.trust-co-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.trust-co-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 14px 22px;
  margin: 0;
}
.trust-co-list dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-3);
  text-transform: uppercase;
}
.trust-co-list dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--text);
  letter-spacing: -0.005em;
}

.trust-quote {
  position: relative;
  padding: 32px 36px 28px;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  overflow: hidden;
}
.trust-quote .quote-mark {
  position: absolute;
  top: -10px; left: 18px;
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.18;
  pointer-events: none;
}
.trust-quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.015em;
  text-wrap: pretty;
}
.trust-quote figcaption {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trust-quote .qname {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.trust-quote .qrole {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.trust-quote .hud-corner {
  position: absolute;
  width: 10px; height: 10px;
  border-color: var(--accent);
  opacity: 0.6;
}
.trust-quote .hud-corner.tl { top: 8px; left: 8px; border-top: 1px solid; border-left: 1px solid; }
.trust-quote .hud-corner.tr { top: 8px; right: 8px; border-top: 1px solid; border-right: 1px solid; }
.trust-quote .hud-corner.bl { bottom: 8px; left: 8px; border-bottom: 1px solid; border-left: 1px solid; }
.trust-quote .hud-corner.br { bottom: 8px; right: 8px; border-bottom: 1px solid; border-right: 1px solid; }

/* -------- Contact section -------- */
.contact-section { padding-bottom: 120px; }
.contact-sub {
  margin-top: 20px;
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.55;
  max-width: 680px;
}
.contact-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }

/* Form */
.contact-form {
  padding: 32px 32px 32px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  display: grid;
  gap: 20px;
}
.cf-heading {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 620px) { .cf-row { grid-template-columns: 1fr; } }

.cf-field { display: flex; flex-direction: column; gap: 8px; }
.cf-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.cf-label em { color: var(--accent); font-style: normal; margin-left: 2px; }

.cf-field input,
.cf-field textarea,
.cf-types legend + .cf-types-row {
  font-family: var(--font-sans);
}
.cf-field input,
.cf-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--text);
  transition: border-color .18s ease, background-color .18s ease;
  resize: vertical;
}
.cf-field input:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.02);
}
.cf-field.err input,
.cf-field.err textarea { border-color: #b34030; }

.cf-types { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.cf-types-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 620px) { .cf-types-row { grid-template-columns: repeat(4, 1fr); } }
.cf-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}
.cf-type input { position: absolute; opacity: 0; pointer-events: none; }
.cf-type:hover { border-color: var(--border-hover); color: var(--text); }
.cf-type.on {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.cf-submit { justify-self: start; margin-top: 4px; }

.contact-form.success {
  align-items: start;
  justify-items: start;
}
.success-mark {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.contact-form.success h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.contact-form.success p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.55; }

/* Contact card */
.contact-card {
  padding: 28px 28px 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  display: grid;
  gap: 18px;
}
.cc-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}
.cc-person { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center; }
.cc-portrait {
  position: relative;
  width: 92px; height: 92px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 6px, transparent 6px 12px),
    var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cc-initials {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.cc-portrait-label {
  position: absolute;
  left: 6px; bottom: 6px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: var(--text-3);
}
.cc-portrait .hud-corner {
  position: absolute;
  width: 8px; height: 8px;
  border-color: var(--accent);
  opacity: 0.7;
}
.cc-portrait .hud-corner.tl { top: 4px; left: 4px; border-top: 1px solid; border-left: 1px solid; }
.cc-portrait .hud-corner.tr { top: 4px; right: 4px; border-top: 1px solid; border-right: 1px solid; }
.cc-portrait .hud-corner.bl { bottom: 4px; left: 4px; border-bottom: 1px solid; border-left: 1px solid; }
.cc-portrait .hud-corner.br { bottom: 4px; right: 4px; border-bottom: 1px solid; border-right: 1px solid; }

.cc-meta { display: grid; gap: 4px; }
.cc-name { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.015em; color: var(--text); }
.cc-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}
.cc-link {
  color: var(--accent);
  font-size: 14px;
  border-bottom: 1px dashed rgba(255,107,26,0.4);
  padding-bottom: 1px;
  width: max-content;
  transition: color .18s ease, border-color .18s ease;
}
.cc-link:hover { color: var(--accent-hover); border-bottom-color: var(--accent); }
.cc-link.secondary { font-size: 13.5px; }
.cc-phone { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; color: var(--text-2); }

.cc-divider {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.cc-response {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.cc-resp-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}
.cc-resp-val {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text);
}
.cc-resp-val .pulse.green { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.15); }

/* Mobile refinements */
@media (max-width: 560px) {
  .cc-person { grid-template-columns: 72px 1fr; }
  .cc-portrait { width: 72px; height: 72px; }
  .cc-initials { font-size: 22px; }
}


/* ============================================================
   Hero globe scene
   ============================================================ */
.globe-scene {
  position: absolute;
  top: 6%;
  right: -14%;
  width: 680px;
  height: 680px;
  max-width: 70vw;
  max-height: 90vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
  mask-image: radial-gradient(circle at 50% 50%, black 52%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 52%, transparent 80%);
  animation: globeFadeIn 1.2s ease both 0.3s;
}
@keyframes globeFadeIn {
  from { opacity: 0; transform: translateX(40px) scale(0.96); }
  to   { opacity: 0.85; transform: none; }
}
.globe-svg { width: 100%; height: 100%; }

/* Outer ticks slow rotate */
.gl-ticks { transform-origin: 260px 260px; animation: glSpin 120s linear infinite; }
.gl-outer { transform-origin: 260px 260px; animation: glSpinR 240s linear infinite; }

/* Meridians rotate (earth spin) */
.gl-meridians { transform-origin: 260px 260px; animation: glSpin 40s linear infinite; }
.gl-terminator { transform-origin: 260px 260px; animation: glSpin 40s linear infinite; }

/* Orbit rings — counter rotate */
.gl-orbit-ring { transform-origin: 260px 260px; animation: glSpinR 18s linear infinite; }
.gl-orbit-ring-2 { transform-origin: 260px 260px; animation: glSpin 28s linear infinite; }

@keyframes glSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes glSpinR {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

/* Node pings */
.gl-ping {
  transform-origin: center;
  transform-box: fill-box;
  animation: glPing 3.2s ease-out infinite;
}
.gl-ping-2 { animation-duration: 3.2s; animation-delay: 0.6s; }
.gl-ping-3 { animation-duration: 2.6s; animation-delay: 0.3s; }
.gl-ping-4 { animation-duration: 2.8s; animation-delay: 1.1s; }
.gl-ping-5 { animation-duration: 3.0s; animation-delay: 1.7s; }
.gl-ping-6 { animation-duration: 2.4s; animation-delay: 2.2s; }
@keyframes glPing {
  0%   { transform: scale(0.6); opacity: 0.9; }
  70%  { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* HUD readout */
.globe-hud {
  position: absolute;
  bottom: 8%;
  right: 18%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(10,10,10,0.72);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
  z-index: 2;
  pointer-events: auto;
}
.globe-hud .sep { color: var(--text-3); opacity: 0.5; }
.globe-hud .pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,107,26,0.15);
  animation: hudPulse 1.6s ease-in-out infinite;
}
@keyframes hudPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.25); }
}

/* Reduced motion — freeze the globe */
.reduced-motion .gl-ticks,
.reduced-motion .gl-outer,
.reduced-motion .gl-meridians,
.reduced-motion .gl-terminator,
.reduced-motion .gl-orbit-ring,
.reduced-motion .gl-orbit-ring-2,
.reduced-motion .gl-ping,
.reduced-motion .globe-hud .pulse-dot,
.reduced-motion .globe-scene { animation: none !important; }
.reduced-motion .globe-scene { opacity: 0.5; transform: none; }

/* Responsive: shrink + move behind content */
@media (max-width: 1200px) {
  .globe-scene { width: 560px; height: 560px; right: -20%; top: 10%; opacity: 0.65; }
  .globe-hud { bottom: 10%; right: 12%; }
}
@media (max-width: 900px) {
  .globe-scene { width: 480px; height: 480px; right: -30%; top: 12%; opacity: 0.4; }
  .globe-hud { display: none; }
}
@media (max-width: 640px) {
  .globe-scene { width: 380px; height: 380px; right: -40%; top: 14%; opacity: 0.3; }
}

/* Make sure hero content sits above */
.hero-content { position: relative; z-index: 1; }

/* The hero bg should mask more aggressively so the globe reads */
.hero-grid { opacity: 0.35; }

/* ============================================================
   Rotating Nordyn shield logo (center of globe scene)
   ============================================================ */
.gl-logo-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
.gl-logo {
  width: 52%;
  height: 52%;
  max-width: 340px;
  max-height: 340px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 22px rgba(255, 107, 26, 0.35))
    drop-shadow(0 0 60px rgba(255, 107, 26, 0.18));
  /* Rotation is scroll-driven via --gl-rotate; glow pulses on its own. */
  transform: rotate(var(--gl-rotate, 0deg));
  transition: transform 0.12s linear;
  animation: glLogoFloat 6s ease-in-out infinite;
  transform-origin: 50% 50%;
  will-change: transform, filter;
}
@keyframes glLogoFloat {
  0%, 100% { filter: drop-shadow(0 0 22px rgba(255, 107, 26, 0.35)) drop-shadow(0 0 60px rgba(255, 107, 26, 0.18)); }
  50%      { filter: drop-shadow(0 0 28px rgba(255, 107, 26, 0.55)) drop-shadow(0 0 90px rgba(255, 107, 26, 0.28)); }
}

.reduced-motion .gl-logo { animation: none !important; transform: rotate(0deg) !important; }

/* ============================================================
   Global compass background
   Layer 1 (::before): compass ring (static, sits in outer viewport)
   Layer 2 (::after):  Nordyn shield logo (rotates 0° → 180° on scroll)
   ============================================================ */

/* Background rotating globe — lives behind everything, behind logo too */
.bg-globe {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.bg-globe-disc {
  position: relative;
  width: min(68vh, 68vw, 780px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  color: var(--accent);
  opacity: 0.28;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,150,80,0.28) 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(120,40,0,0.55) 0%, transparent 60%),
    #140802;
  box-shadow:
    0 0 40px rgba(255, 107, 26, 0.25),
    inset 0 0 60px rgba(0,0,0,0.55);
}
.bg-globe-atmos {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 60%, rgba(255, 107, 26, 0.25) 72%, transparent 80%);
  filter: blur(8px);
  z-index: 0;
}
.bg-globe-surface {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
}
.bg-globe-strip {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 200%;           /* two copies side-by-side for seamless loop */
  height: 100%;
  display: flex;
  animation: bg-globe-spin 90s linear infinite;
}
.bg-globe-strip > span {
  width: 50%;
  height: 100%;
  display: block;
  background: #ff6b1a;
  -webkit-mask-image: url("assets/world-map.svg");
          mask-image: url("assets/world-map.svg");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  opacity: 0.9;
  filter: drop-shadow(0 0 3px rgba(255, 107, 26, 0.35));
}

@keyframes bg-globe-spin {
  from { transform: translate(0, -50%); }
  to   { transform: translate(-50%, -50%); }
}

.bg-globe-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #ffb383;
  z-index: 2;
  mix-blend-mode: screen;
  opacity: 0.5;
}
.bg-globe-shade {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: 3;
  background:
    radial-gradient(circle at 35% 32%, rgba(255, 200, 150, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 70% 75%, rgba(0, 0, 0, 0.55) 0%, transparent 60%);
  pointer-events: none;
}
@media (max-width: 768px) {
  .bg-globe-disc { width: 78vw; opacity: 0.22; }
}
.reduced-motion .bg-globe-strip { animation: none; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    url("assets/compass-ring.svg") center center / min(130vh, 130vw, 1600px) auto no-repeat;
  opacity: 0.10;
  transform: none;
  transform-origin: 50% 50%;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 107, 26, 0.07) 0%, transparent 55%),
    url("assets/nordyn-shield.png") center center / min(70vh, 70vw, 820px) auto no-repeat;
  opacity: 0.11;
  transform: rotate(var(--gl-rotate, 0deg));
  transform-origin: 50% 50%;
  transition: transform 0.2s linear;
  will-change: transform;
  filter: brightness(1.6) contrast(0.9);
}
@media (max-width: 768px) {
  body::before { background-size: 140vw auto; opacity: 0.09; }
  body::after  { background-size: 72vw auto;  opacity: 0.09; }
}
.reduced-motion body::after { transform: rotate(0deg) !important; }


/* ============================================================
   Contact section
   ============================================================ */
.contact-section { padding: 96px 0 120px; border-top: 1px solid var(--border); }
.contact-sub { max-width: 640px; color: var(--text-2); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; }
.contact-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cf-heading { margin: 0 0 8px; font-size: 16px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); font-weight: 500; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .cf-row { grid-template-columns: 1fr; } }
.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.cf-field input, .cf-field textarea, .cf-field select {
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 3px;
  transition: border-color .15s, background .15s;
}
.cf-field textarea { resize: vertical; min-height: 120px; }
.cf-field input:focus, .cf-field textarea:focus, .cf-field select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,107,26,0.04);
}
.cf-types { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cf-type-btn {
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 13px;
  border-radius: 3px;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
.cf-type-btn:hover { border-color: var(--border-hover); color: var(--text); }
.cf-type-btn.on { border-color: var(--accent); background: rgba(255,107,26,0.1); color: var(--accent); }
.cf-submit { margin-top: 8px; align-self: flex-start; }
.contact-form.success { align-items: center; justify-content: center; text-align: center; min-height: 360px; gap: 12px; }
.success-mark { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,107,26,0.12); color: var(--accent); }

/* Contact card */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cc-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.cc-person { display: flex; gap: 18px; align-items: flex-start; }
.cc-portrait {
  position: relative;
  width: 112px; height: 140px;
  flex-shrink: 0;
  background: #111;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cc-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(0.15) contrast(1.05);
}
.cc-initials { font-family: var(--font-display); font-size: 32px; font-weight: 600; color: var(--accent); letter-spacing: 0.04em; }
.cc-portrait-label {
  position: absolute;
  bottom: 6px; left: 6px; right: 6px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.15em;
  color: var(--text);
  background: rgba(0,0,0,0.6);
  padding: 3px 6px;
  backdrop-filter: blur(4px);
}
.hud-corner {
  position: absolute; width: 10px; height: 10px;
  border: 1px solid var(--accent);
}
.hud-corner.tl { top: 4px; left: 4px; border-right: 0; border-bottom: 0; }
.hud-corner.tr { top: 4px; right: 4px; border-left: 0; border-bottom: 0; }
.hud-corner.bl { bottom: 4px; left: 4px; border-right: 0; border-top: 0; }
.hud-corner.br { bottom: 4px; right: 4px; border-left: 0; border-top: 0; }

.cc-meta { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.cc-name { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--text); letter-spacing: -0.01em; }
.cc-role { font-size: 13px; color: var(--text-2); margin-bottom: 8px; }
.cc-link { font-size: 14px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border-hover); padding-bottom: 1px; transition: border-color .15s, color .15s; align-self: flex-start; }
.cc-link:hover { color: var(--accent); border-color: var(--accent); }
.cc-link.secondary { font-size: 13px; color: var(--text-2); }
.cc-phone { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); letter-spacing: 0.04em; }
.cc-phone a { color: inherit; text-decoration: none; }
.cc-phone a:hover { color: var(--accent); }
.cc-divider {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.cc-response { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--border); }
.cc-resp-lbl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.cc-resp-val { font-family: var(--font-mono); font-size: 12px; color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(255,107,26,0.15); animation: hudPulse 1.6s ease-in-out infinite; }
.pulse.green { background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,0.15); }


/* Header shop button */
.btn-shop {
  gap: 7px;
}
.btn-shop svg { flex: none; }
@media (max-width: 900px) {
  .btn-shop span { display: none; }
  .btn-shop { padding: 0 12px; }
}

/* ============================================================
   Legal pages (Impressum, Datenschutzerklärung, AGB)
   ============================================================ */
.legal-section {
  padding: 140px 0 96px;
  border-top: 1px solid var(--border);
}
.legal-container { max-width: 820px; }
.legal-h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--text);
}
.legal-meta {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-3);
  text-transform: uppercase;
}
.legal-body {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.legal-block h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--text);
}
.legal-block p,
.legal-block div {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
}
.legal-block a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  opacity: 0.85;
  transition: opacity .15s ease;
}
.legal-block a:hover {
  opacity: 1;
}
