/* ============================================
   CLAUSAL — Design System v4.0
   "Void & Signal" — Mission-grade visual identity
   For defense, autonomous systems, denied environments
   ============================================ */

/* --- Fonts --- */
@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/exo2-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Share Tech Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/share-tech-mono-latin.woff2') format('woff2');
}

/* --- Design Tokens --- */
:root {
  /* ── Background System ── */
  --void:        #060810;   /* Deepest black — page root */
  --deep:        #0B0E18;   /* Section alternate */
  --ink:         #10131E;   /* Primary page background */
  --ink-mid:     #171B28;   /* Surface elevated */
  --surface:     #1C2030;   /* Card / panel surface */
  --surface-up:  #222638;   /* Raised surface */
  --rim:         #2C3147;   /* Border rim */

  /* ── Signal: Champagne gold (single primary accent) ── */
  --amber:       #C9A84C;
  --amber-hot:   #DABC62;
  --amber-glow:  rgba(201, 168, 76, 0.22);
  --amber-soft:  rgba(201, 168, 76, 0.10);
  --amber-60:    rgba(201, 168, 76, 0.60);
  --amber-30:    rgba(201, 168, 76, 0.30);
  --amber-15:    rgba(201, 168, 76, 0.15);

  /* ── Data: Tactical blue (numbers / telemetry only) ── */
  --data:        #4EB5D6;
  --data-dim:    rgba(78, 181, 214, 0.55);
  --data-soft:   rgba(78, 181, 214, 0.08);

  /* ── Text ── */
  --text-hi:     #F0F2F8;   /* Headlines */
  --text:        #E2E6EE;   /* Body primary */
  --text-body:   rgba(185, 195, 218, 0.88);
  --text-muted:  rgba(135, 148, 175, 0.80);
  --text-subtle: rgba(90, 105, 135, 0.70);

  /* ── White scale (used in article / inline styles) ── */
  --white:       #FFFFFF;
  --white-80:    rgba(255, 255, 255, 0.80);
  --white-60:    rgba(255, 255, 255, 0.60);
  --white-50:    rgba(255, 255, 255, 0.65);
  --white-30:    rgba(255, 255, 255, 0.30);

  /* ── Status colours ── */
  --status-amber: #E8970C;

  /* ── Lines ── */
  --line-dim:    rgba(200, 210, 235, 0.055);
  --line:        rgba(200, 210, 235, 0.10);
  --line-med:    rgba(200, 210, 235, 0.20);
  --line-bright: rgba(200, 210, 235, 0.32);

  /* ── Grid texture ── */
  --grid:        rgba(200, 210, 235, 0.022);
  --grid-med:    rgba(200, 210, 235, 0.044);

  /* ── Typography ── */
  --ff-primary:  'Exo 2', system-ui, sans-serif;
  --ff-mono:     'Share Tech Mono', monospace;

  /* ── Type Scale ── */
  --ts-hero:     clamp(52px, 6.5vw, 140px);
  --ts-h1:       clamp(44px, 4.5vw, 100px);
  --ts-h2:       clamp(28px, 2.8vw, 64px);
  --ts-h3:       clamp(18px, 1.6vw, 34px);
  --ts-body:     clamp(17px, 1.15vw, 22px);
  --ts-label:    clamp(11px, 0.7vw, 15px);

  /* ── Spacing ── */
  --page-pad:       clamp(24px, 7vw, 112px);
  --section-gap:    clamp(128px, 10vw, 200px);
  --content-max:    clamp(1200px, 78vw, 1800px);
  --body-max:       clamp(640px, 44vw, 960px);

  /* ── Motion ── */
  --ease:      0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-slow: 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-primary);
  font-size: var(--ts-body);
  font-weight: 300;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--ink);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--amber);
  color: var(--void);
  font-family: var(--ff-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

img { max-width: 100%; display: block; }

a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--ease);
}
a:hover { color: var(--text); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 1px solid var(--amber);
  outline-offset: 3px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, .h1 {
  font-family: var(--ff-primary);
  font-size: var(--ts-h1);
  font-weight: 100;
  letter-spacing: -0.03em;
  line-height: 0.97;
  color: var(--text-hi);
}
h1 strong, .h1 strong { font-weight: 800; }

h2, .h2 {
  font-family: var(--ff-primary);
  font-size: var(--ts-h2);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.06;
  color: var(--text);
}
h2 strong, .h2 strong { font-weight: 700; }

h3, .h3 {
  font-family: var(--ff-primary);
  font-size: var(--ts-h3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.005em;
  color: var(--text);
}

.body-text {
  font-size: var(--ts-body);
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-body);
  max-width: var(--body-max);
}

.caption {
  font-family: var(--ff-mono);
  font-size: var(--ts-label);
  letter-spacing: 0.10em;
  color: var(--text-subtle);
}

.label {
  font-family: var(--ff-mono);
  font-size: var(--ts-label);
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

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

/* Eyebrow — branded section label */
.eyebrow {
  font-family: var(--ff-mono);
  font-size: var(--ts-label);
  letter-spacing: 0.12em;
  color: var(--amber-60);
  display: flex;
  align-items: center;
  gap: 16px;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--amber), transparent);
  flex-shrink: 0;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.section {
  padding: var(--section-gap) 0;
  position: relative;
}

/* Section junction: hairline with amber origin point */
.section + .section {
  border-top: 1px solid var(--line-dim);
}
.section + .section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--amber-30), transparent);
}

/* Background variants */
.section--ink      { background-color: var(--ink); }
.section--ink-deep {
  background-color: var(--deep);
  background-image:
    repeating-linear-gradient(90deg, var(--grid) 0, var(--grid) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(0deg,  var(--grid) 0, var(--grid) 1px, transparent 1px, transparent 80px);
}
.section--ink-mid  { background-color: var(--ink-mid); }
.section--graphite { background-color: var(--surface-up); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 60px;
  background: rgba(6, 8, 16, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-dim);
}

.nav__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--ease);
}
.nav__logo:hover { opacity: 0.70; }

/* ── Terminal Wordmark ── */
@keyframes cursor-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.nav__wordmark {
  font-family: var(--ff-primary);
  font-size: 18px;
  font-weight: 200;
  letter-spacing: 0.10em;
  color: var(--text);
  text-transform: none;
  display: inline-flex;
  align-items: center;
}
.nav__cursor {
  display: inline-block;
  width: 0.19em;
  height: 0.50em;
  background: var(--amber);
  margin-left: 0.08em;
  vertical-align: -0.05em;
  animation: cursor-blink 1.1s step-end infinite;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 3px;
  transition: color var(--ease);
}
.nav__links a:hover,
.nav__links a.active { color: var(--text); }

.nav__links a[aria-current="page"] {
  color: var(--text);
}
.nav__links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--amber);
}

.nav__links a:focus-visible,
.nav__mobile-overlay a:focus-visible,
.footer__nav a:focus-visible {
  outline: 1px solid var(--amber);
  outline-offset: 4px;
}

.nav__cta {
  border: 1px solid var(--amber-30);
  padding: 9px 20px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--amber-60);
  text-transform: uppercase;
  transition: all var(--ease);
}
.nav__cta:hover {
  background: var(--amber-soft);
  border-color: var(--amber-60);
  color: var(--amber-hot);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
}
.nav__hamburger span {
  display: block;
  width: 20px;
  height: 1px;
  background-color: var(--text-muted);
  transition: transform var(--ease);
}
.nav__mobile-overlay { display: none; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--void);
  padding: 80px 0 48px;
  border-top: 1px solid var(--line-dim);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--amber), transparent);
}

.footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 60px;
}

.footer__brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__wordmark-text {
  font-family: var(--ff-primary);
  font-size: 15px;
  font-weight: 200;
  letter-spacing: 0.10em;
  color: var(--text);
  text-transform: none;
  display: inline-flex;
  align-items: center;
}
.footer__cursor {
  display: inline-block;
  width: 0.19em;
  height: 0.50em;
  background: var(--amber);
  margin-left: 0.08em;
  vertical-align: -0.05em;
  animation: cursor-blink 1.1s step-end infinite;
  flex-shrink: 0;
}
.footer__tagline {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--amber-60);
  margin-top: 14px;
  text-transform: uppercase;
}

.footer__nav { display: flex; gap: 36px; }
.footer__nav a {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: color var(--ease);
}
.footer__nav a:hover { color: var(--text); }

.footer__divider {
  border: none;
  border-top: 1px solid var(--line-dim);
  margin-bottom: 32px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__legal, .footer__closing {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--text-subtle);
}
.footer__contact { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em; display: flex; align-items: center; gap: 16px; }
.footer__contact a { color: var(--text-muted); }
.footer__contact a:hover { color: var(--amber); }
.footer__linkedin { display: inline-flex; align-items: center; color: var(--text-subtle); transition: color var(--ease); }
.footer__linkedin:hover { color: var(--amber); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all var(--ease);
  cursor: pointer;
  border: none;
  position: relative;
}
.btn:hover { text-decoration: none; }

.btn--primary {
  background: var(--amber);
  color: var(--void);
  padding: 14px 32px;
  overflow: hidden;
}
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--ease);
}
.btn--primary:hover {
  background: var(--amber-hot);
  color: var(--void);
  box-shadow: 0 0 36px var(--amber-glow), 0 4px 24px rgba(0,0,0,0.5);
}
.btn--primary:hover::before { opacity: 1; }

.btn--secondary {
  background: rgba(12, 14, 22, 0.72);
  border: 1px solid var(--line);
  color: var(--text-muted);
  padding: 13px 28px;
}
.btn--secondary:hover {
  border-color: var(--amber-30);
  color: var(--text);
  background: var(--amber-soft);
}

.btn--ghost {
  background: none;
  border: none;
  color: var(--amber-60);
  padding: 0;
}
.btn--ghost::after {
  content: '\2192';
  margin-left: 8px;
  transition: transform var(--ease), color var(--ease);
}
.btn--ghost:hover { color: var(--amber); }
.btn--ghost:hover::after { transform: translateX(5px); }

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--line-dim);
  border-left: 2px solid var(--line-dim);
  padding: 44px 36px;
  transition: background var(--ease), border-color var(--ease), border-left-color var(--ease-slow);
  position: relative;
}
.card:hover {
  background: var(--surface-up);
  border-color: var(--line);
  border-left-color: var(--amber-60);
}

.card__label {
  font-family: var(--ff-mono);
  font-size: var(--ts-label);
  letter-spacing: 0.14em;
  color: var(--amber-60);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.card__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-hi);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
  line-height: 1.35;
}
.card__body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 20px;
}
.card__status {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--amber);
  text-transform: uppercase;
}
.card__status::before { content: "\2192\00a0"; }

a.card { display: block; }

/* ============================================
   PRODUCT DIFFERENTIATION
   Taiga = tactical blue (navigation / positioning)
   Kite  = champagne gold (perception / signal) — default card, no override
   Forge = graphite (infrastructure / neutral)
   ============================================ */

/* Taiga — cool blue accent */
.card--taiga .card__label       { color: rgba(78, 181, 214, 0.75); }
.card--taiga.card:hover         { border-left-color: rgba(78, 181, 214, 0.70); }
.card--taiga .card__status      { color: var(--data); }

/* Forge — graphite accent */
.card--forge .card__label       { color: rgba(138, 158, 185, 0.70); }
.card--forge.card:hover         { border-left-color: rgba(138, 158, 185, 0.65); }
.card--forge .card__status      { color: rgba(138, 158, 185, 0.85); }

/* Product page sections — propagates accent into product-section__label */
.section--taiga .product-section__label { color: rgba(78, 181, 214, 0.75); }
.section--taiga .product-section__title strong { color: var(--data); }
.section--taiga .card__label    { color: rgba(78, 181, 214, 0.75); }
.section--taiga .card:hover     { border-left-color: rgba(78, 181, 214, 0.70); }

.section--forge .product-section__label { color: rgba(138, 158, 185, 0.70); }
.section--forge .product-section__title strong { color: rgba(160, 178, 205, 0.90); }
.section--forge .product-section__status { color: rgba(138, 158, 185, 0.80); }
.section--forge .card__label    { color: rgba(138, 158, 185, 0.70); }
.section--forge .card:hover     { border-left-color: rgba(138, 158, 185, 0.65); }

/* ============================================
   GRIDS
   ============================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  background-color: var(--void);
  color: var(--text);
  padding-top: 168px;
  padding-bottom: 140px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Video background */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.50;
}

/* Grid + gradient overlay on top of video */
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    /* Darken left side for text legibility */
    radial-gradient(ellipse 90% 90% at 5% 55%, rgba(12, 14, 22, 0.92) 0%, transparent 75%),
    /* Bottom fade for status bar */
    linear-gradient(to bottom, rgba(12, 14, 22, 0.30) 0%, rgba(12, 14, 22, 0.75) 100%);
}

/* Accessibility: respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}

/* Corner HUD bracket — homepage hero only */
.hero:not(.hero--short)::before {
  content: '';
  position: absolute;
  bottom: 64px;
  right: var(--page-pad);
  width: 28px;
  height: 28px;
  border-right: 1px solid var(--amber-30);
  border-bottom: 1px solid var(--amber-30);
  pointer-events: none;
  z-index: 2;
}

.hero--short {
  min-height: auto;
  padding-top: 148px;
  padding-bottom: 80px;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero__eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--amber-60);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  text-transform: uppercase;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--amber), transparent);
  flex-shrink: 0;
}

.hero__title {
  font-size: var(--ts-hero);
  font-weight: 100;
  letter-spacing: -0.04em;
  line-height: 0.94;
  color: var(--text-hi);
  margin-bottom: 28px;
}
.hero__title strong { font-weight: 800; }

.hero__subtitle {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-body);
  max-width: 520px;
  text-shadow: 0 1px 14px rgba(12, 14, 22, 0.90);
}

.hero__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 44px;
  flex-wrap: wrap;
}

/* Decorative rings */
.hero__rings {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: 60vw;
  height: 60vw;
  max-width: 720px;
  max-height: 720px;
  pointer-events: none;
  opacity: 0.45;
  animation: ring-breathe 10s ease-in-out infinite;
}
@keyframes ring-breathe {
  0%, 100% { opacity: 0.40; transform: translateY(-50%) scale(1.00); }
  50%       { opacity: 0.65; transform: translateY(-50%) scale(1.02); }
}

/* ── Status bar: tactical coordinate display ── */
.hero__status-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid var(--line-dim);
  z-index: 3;
}
.hero__status-bar::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--amber-30), transparent);
}

.hero__status-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 14px 48px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.hero__status-item {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}
.hero__status-key { color: var(--amber-30); }
.hero__status-alert { color: var(--amber-60); }
.hero__status-alert .hero__status-key { color: var(--amber-60); }

/* ============================================
   HERO GLANCE
   ============================================ */
.hero-glance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  margin-top: 32px;
  max-width: 900px;
}
.hero-glance__item {
  background: rgba(28, 32, 48, 0.80);
  border: 1px solid var(--line-dim);
  border-top: 1px solid var(--line);
  padding: 18px 18px 16px;
  transition: background var(--ease), border-top-color var(--ease);
}
.hero-glance__item:hover {
  background: rgba(34, 38, 58, 0.90);
  border-top-color: var(--amber-30);
}
.hero-glance__label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-60);
  margin-bottom: 8px;
}
.hero-glance__text {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-body);
  font-weight: 300;
}

/* Trust tags */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.hero-trust span {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--line-dim);
  background: rgba(12, 14, 22, 0.78);
  padding: 7px 12px;
  transition: border-color var(--ease), color var(--ease);
}
.hero-trust span:hover {
  border-color: var(--amber-30);
  color: var(--text);
}

/* ============================================
   METRIC CARDS
   ============================================ */
.metric-card {
  background: var(--surface);
  border: 1px solid var(--line-dim);
  padding: 32px 28px;
}
.metric-card__label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--amber-60);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.metric-card__value {
  font-weight: 100;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-hi);
  margin-bottom: 6px;
}
.metric-card__unit {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--text-subtle);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header { margin-bottom: 72px; }

.section-header__eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--amber-60);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 52px;
}
.section-header__eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--amber), transparent);
  flex-shrink: 0;
}

.section-header__title {
  font-size: var(--ts-h1);
  font-weight: 100;
  letter-spacing: -0.03em;
  line-height: 0.97;
  color: var(--text-hi);
  margin-bottom: 20px;
}
.section-header__title strong { font-weight: 800; }

.section-header__desc {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-body);
  max-width: 560px;
}

/* ============================================
   PLACEHOLDER IMAGES
   ============================================ */
.placeholder-image {
  background: var(--surface);
  border: 1px solid var(--line-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  min-height: 280px;
  text-align: center;
  padding: 24px;
  overflow: hidden;
  position: relative;
}
/* Subtle corner mark */
.placeholder-image::after {
  content: '';
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 16px;
  height: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ============================================
   CREDENTIAL BAR
   ============================================ */
.credential-bar {
  background: linear-gradient(
    135deg,
    rgba(201, 168, 76, 0.09) 0%,
    rgba(201, 168, 76, 0.04) 50%,
    transparent 100%
  );
  border-top: 1px solid var(--amber-30);
  border-bottom: 1px solid var(--line-dim);
  padding: 56px 0;
  position: relative;
}
.credential-bar::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--amber), transparent);
  box-shadow: 0 0 12px var(--amber-glow);
}

.credential-bar__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  text-align: center;
}
.credential-bar__text {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.85;
  max-width: 740px;
  margin: 0 auto;
}
.credential-bar__text strong {
  color: var(--text-hi);
  font-weight: 600;
}

/* ============================================
   SPEC ROW
   ============================================ */
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dim);
  gap: 24px;
  transition: border-color var(--ease);
}
.spec-row:hover { border-bottom-color: var(--line); }

.spec-key {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--text-subtle);
  flex-shrink: 0;
  text-transform: uppercase;
}
.spec-val {
  font-weight: 300;
  font-size: 13px;
  color: var(--text-body);
  text-align: right;
}
.spec-val strong {
  font-weight: 700;
  font-size: 16px;
  color: var(--amber);
}

/* ============================================
   TEAM CARDS
   ============================================ */
.team-card {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}
.team-card__photo {
  width: 140px;
  height: 180px;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--line-dim);
  overflow: hidden;
  position: relative;
}
.team-card__photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber-30), transparent);
}
.team-card__info { flex: 1; }
.team-card__name {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-hi);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}
.team-card__role {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--amber-60);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.team-card__bio {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 8px;
}

/* ============================================
   ARTICLE LIST (INSIGHTS)
   ============================================ */
.article-item {
  padding: 44px 0;
  border-bottom: 1px solid var(--line-dim);
  position: relative;
  transition: border-color var(--ease);
}
.article-item:first-child { padding-top: 0; }

/* Amber sweep on hover */
.article-item::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--amber-30), transparent);
  transition: width var(--ease-slow);
}
.article-item:hover::before { width: 60px; }

.article-item__date {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--amber-60);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.article-item__title {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 200;
  color: var(--text-hi);
  margin-bottom: 12px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.article-item__title a { color: var(--text-hi); }
.article-item__title a:hover { color: var(--text); }
.article-item__excerpt {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-body);
  max-width: 640px;
}
.article-item__read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--amber-60);
  margin-top: 18px;
  text-transform: uppercase;
  transition: color var(--ease), gap var(--ease);
}
.article-item__read-more:hover { color: var(--amber); gap: 14px; }

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form { max-width: 480px; }
.form-group { margin-bottom: 28px; }
.form-group label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--amber-60);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--ff-primary);
  font-size: 16px;
  font-weight: 300;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  transition: border-color var(--ease), background var(--ease);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-subtle); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--amber-30);
  background: rgba(201, 168, 76, 0.04);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ============================================
   FACT GRID
   ============================================ */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.fact-item {
  background: var(--surface);
  border: 1px solid var(--line-dim);
  padding: 40px 28px;
  position: relative;
  transition: background var(--ease);
  overflow: hidden;
}
/* Amber sweep from left on hover */
.fact-item::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--amber);
  transition: width var(--ease-slow);
}
.fact-item:hover::before { width: 100%; }
.fact-item:hover { background: var(--surface-up); }

.fact-item__value {
  font-weight: 100;
  font-size: clamp(36px, 4.5vw, 60px);
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--text-hi);
  margin-bottom: 12px;
}
.fact-item__label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--amber-60);
  line-height: 1.6;
  text-transform: uppercase;
}

/* ============================================
   PRODUCT SECTION
   ============================================ */
.product-section__label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--amber-60);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.product-section__title {
  font-size: var(--ts-h2);
  font-weight: 200;
  letter-spacing: -0.02em;
  color: var(--text-hi);
  margin-bottom: 8px;
  line-height: 1.08;
}
.product-section__title strong { font-weight: 700; }

.product-section__status {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--amber);
  margin-bottom: 32px;
  text-transform: uppercase;
}
.product-section__status::before { content: "\2192\00a0"; }

.product-section__body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-body);
  max-width: 540px;
  margin-bottom: 28px;
}
.product-section__chars {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-section__chars li {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: color var(--ease);
}
.product-section__chars li:hover { color: var(--text); }
.product-section__chars li::before {
  content: '\2014';
  color: var(--amber-30);
  flex-shrink: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  text-align: center;
  padding: var(--section-gap) 0;
}
.cta-section__title {
  font-size: var(--ts-h2);
  font-weight: 100;
  letter-spacing: -0.02em;
  color: var(--text-hi);
  margin-bottom: 16px;
  line-height: 1.05;
}
.cta-section__title strong { font-weight: 700; }
.cta-section__desc {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-body);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.85;
}

/* ============================================
   INDEX-SPECIFIC LAYOUT
   ============================================ */
.operational-layout { align-items: start; }
.operational-left { max-width: 640px; }
.operational-note { margin-top: 40px; max-width: 540px; }
.operational-right .card { padding: 36px 30px; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity  0.65s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   LOGO MARK
   ============================================ */
.logo-mark { display: inline-block; flex-shrink: 0; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4  { grid-template-columns: repeat(2, 1fr); }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { flex-direction: column; gap: 40px; }
}

@media (max-width: 768px) {
  .nav {
    z-index: 3000;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--void);
  }
  .nav__hamburger { position: relative; z-index: 3002; }
  .hero-glance { grid-template-columns: 1fr; margin-top: 20px; }
  .hero-glance__item { padding: 14px; }
  .hero-trust { margin-top: 14px; }
  .hero-trust span { font-size: 10px; }
  .operational-note { margin-top: 24px; max-width: none; }
  .container { padding: 0 24px; }
  .nav__inner { padding: 0 24px; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .nav__mobile-overlay {
    display: none;
    position: fixed;
    top: 60px; left: 0; right: 0; bottom: 0;
    background: var(--void);
    z-index: 3001;
    padding: 32px 24px;
    overflow-y: auto;
  }
  .nav__mobile-overlay.open {
    display: block !important;
    position: fixed !important;
    top: 60px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: var(--void) !important;
    z-index: 5000 !important;
  }
  .nav__mobile-overlay a {
    display: block;
    font-family: var(--ff-mono);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.10em;
    color: var(--text-muted);
    padding: 16px 10px;
    min-height: 44px;
    border-bottom: 1px solid var(--line-dim);
    text-transform: uppercase;
  }
  .nav__mobile-overlay a:hover { color: var(--text); }

  .hero { padding-top: 120px; padding-bottom: 80px; min-height: auto; }
  .hero--short { padding-top: 110px; padding-bottom: 64px; }
  .hero__rings { display: none; }
  .hero:not(.hero--short)::before { display: none; }
  .hero__status-inner { gap: 20px; padding: 12px 24px; }
  .hero__status-item { font-size: 10px; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .fact-grid { grid-template-columns: 1fr 1fr; gap: 2px; }

  .team-card { flex-direction: column; gap: 20px; }
  .team-card__photo { width: 100px; height: 130px; }

  .footer__nav { flex-wrap: wrap; gap: 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__inner { padding: 0 24px; }

  .hero__actions { flex-direction: column; align-items: flex-start; gap: 14px; }
  .btn { min-height: 44px; }
  .credential-bar__inner { padding: 0 24px; }
  .product-section__chars { gap: 8px; }

  /* Disable section anchor marks on mobile */
  .section + .section::before { display: none; }
}

@media (max-width: 480px) {
  .fact-grid, .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================
   PREMIUM EFFECTS
   ============================================ */

/* ── Text selection ── */
::selection {
  background: rgba(201, 168, 76, 0.28);
  color: var(--text-hi);
}

/* ── Custom scrollbar ── */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--line-med) var(--void);
}
::-webkit-scrollbar        { width: 3px; }
::-webkit-scrollbar-track  { background: var(--void); }
::-webkit-scrollbar-thumb  { background: var(--line); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--amber-30); }

/* ── Scroll progress bar (injected via JS) ── */
.scroll-progress {
  position: fixed;
  top: 60px;
  left: 0;
  height: 1px;
  width: 0%;
  background: linear-gradient(90deg, var(--amber), var(--amber-hot));
  box-shadow: 0 0 10px var(--amber-glow);
  z-index: 1001;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ── Hero: radar scan on page load ──
   A single amber sweep from top → bottom on the full homepage hero.
   Evokes a sensor system initialising for the first time.
── */
.hero:not(.hero--short)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent     0%,
    var(--amber-15) 15%,
    var(--amber-30) 40%,
    var(--amber-15) 70%,
    transparent     100%
  );
  pointer-events: none;
  z-index: 4;
  animation: hero-scan 3s cubic-bezier(0.4, 0, 0.6, 1) 0.6s 1 forwards;
  opacity: 0;
  top: 0;
}
@keyframes hero-scan {
  0%   { top: 0%;    opacity: 0; }
  4%   { opacity: 1; }
  96%  { opacity: 0.5; }
  100% { top: 100%;  opacity: 0; }
}

/* ── Hero content: staggered reveal on page load ──
   Each element slides up and fades in sequentially.
── */
.hero__eyebrow,
.hero__title,
.hero__subtitle,
.hero-glance,
.hero-trust,
.hero__actions {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-item-reveal 0.75s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.hero__eyebrow  { animation-delay: 0.20s; }
.hero__title    { animation-delay: 0.36s; }
.hero__subtitle { animation-delay: 0.52s; }
.hero-glance    { animation-delay: 0.68s; }
.hero-trust     { animation-delay: 0.78s; }
.hero__actions  { animation-delay: 0.88s; }

@keyframes hero-item-reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Logo dot: ambient breathe ──
   The amber dot at the centre of the logo mark pulses slowly.
── */
.logo-mark circle:last-child {
  animation: dot-breathe 3.5s ease-in-out infinite;
}
@keyframes dot-breathe {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.40; }
}

/* ── Nav: wordmark letter-spacing on hover ── */
.nav__wordmark {
  transition: letter-spacing var(--ease);
}
.nav__logo:hover .nav__wordmark {
  letter-spacing: 0.14em;
}
.nav__logo:hover .nav__cursor {
  animation-play-state: paused;
  opacity: 1;
}

/* ── Nav: scrolled state (class added via JS) ── */
.nav.is-scrolled {
  background: rgba(6, 8, 16, 0.99);
  border-bottom-color: var(--line);
}

/* ── Clickable cards: diagonal arrow on hover ── */
a.card::after {
  content: '\2197';
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 13px;
  color: var(--amber-30);
  opacity: 0;
  transition: opacity var(--ease), transform var(--ease), color var(--ease);
}
a.card:hover::after {
  opacity: 1;
  color: var(--amber-60);
  transform: translate(2px, -2px);
}

/* ── Number counter: fade-in class for .fact-item__value ── */
.fact-item__value.counting {
  color: var(--amber);
  transition: color 0.3s ease;
}
.fact-item__value.done {
  color: var(--text-hi);
  transition: color 0.6s ease;
}

/* ── Section eyebrow: hover lift on section number ── */
.section-header__eyebrow {
  cursor: default;
  transition: letter-spacing var(--ease);
}

/* ── Body ambient gradient: breaks up flat dark pages ── */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 40% at 80% 10%,  rgba(201, 168, 76, 0.025) 0%, transparent 60%),
    radial-gradient(ellipse 50% 30% at 10% 90%,  rgba(78, 181, 214, 0.02)  0%, transparent 55%);
}

/* ── Inline image: subtle dark amber treatment ── */
.placeholder-image img {
  transition: filter var(--ease), transform var(--ease-slow);
  filter: brightness(0.92) saturate(0.85);
}
.placeholder-image:hover img {
  filter: brightness(1.0) saturate(1.0);
  transform: scale(1.01);
}

/* ── Spec row: highlight numbers on hover ── */
.spec-row:hover .spec-val strong {
  color: var(--amber-hot);
}

/* ── Article read-more: animated arrow ── */
.article-item__read-more::after {
  content: '\2192';
  display: inline-block;
  margin-left: 4px;
  transition: transform var(--ease);
}
.article-item__read-more:hover::after {
  transform: translateX(5px);
}

/* ── Credential bar: ambient amber pulse ── */
@keyframes amber-pulse {
  0%, 100% { box-shadow: 0 0 8px  var(--amber-glow); }
  50%       { box-shadow: 0 0 20px var(--amber-glow); }
}
.credential-bar::before {
  animation: amber-pulse 4s ease-in-out infinite;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  /* Ensure hero content is visible even without animation */
  .hero__eyebrow,
  .hero__title,
  .hero__subtitle,
  .hero-glance,
  .hero-trust,
  .hero__actions {
    opacity: 1 !important;
    transform: none !important;
  }
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================
   LARGE SCREENS — 1920px+
   Scales up hardcoded component font sizes
   that don't use CSS variables
   ============================================ */
@media (min-width: 1920px) {
  html { font-size: 18px; }

  .nav__links a        { font-size: 13px; }
  .nav__wordmark       { font-size: 20px; }
  .nav__cta            { font-size: 13px; }

  .hero__eyebrow       { font-size: 13px; }
  .hero__subtitle      { font-size: 18px; }
  .hero-trust span     { font-size: 12px; }
  .hero__status-item   { font-size: 13px; }

  .section-header__eyebrow { font-size: 13px; }
  .card__label         { font-size: 13px; }
  .card__body          { font-size: 16px; }

  .btn                 { font-size: 13px; letter-spacing: 0.14em; }

  .footer__wordmark-text { font-size: 17px; }
  .footer__nav a       { font-size: 13px; }
  .footer__legal,
  .footer__closing,
  .footer__contact     { font-size: 13px; }

  .spec-key, .spec-val { font-size: 15px; }
  .credential-bar__text { font-size: 16px; }
}

/* ============================================
   EXTRA LARGE SCREENS — 2560px+
   QHD / 4K displays at native or near-native
   ============================================ */
@media (min-width: 2560px) {
  html { font-size: 20px; }

  .nav__links a        { font-size: 15px; }
  .nav__wordmark       { font-size: 22px; }
  .nav__cta            { font-size: 15px; letter-spacing: 0.14em; padding: 11px 28px; }
  .nav__inner          { padding: 0 48px; }

  .hero__eyebrow       { font-size: 14px; }
  .hero__subtitle      { font-size: 20px; max-width: 680px; }
  .hero-trust span     { font-size: 13px; padding: 9px 16px; }
  .hero__status-item   { font-size: 14px; }

  .section-header__eyebrow { font-size: 14px; }
  .section-header__desc    { font-size: 18px; }
  .card__label         { font-size: 14px; }
  .card__body          { font-size: 17px; }
  .card__title         { font-size: 20px; }

  .btn                 { font-size: 14px; padding: 16px 36px; }

  .footer__wordmark-text { font-size: 18px; }
  .footer__nav a       { font-size: 15px; }
  .footer__legal,
  .footer__closing,
  .footer__contact     { font-size: 14px; }
  .footer__tagline     { font-size: 15px; }

  .spec-key, .spec-val { font-size: 17px; }
  .credential-bar__text { font-size: 18px; }

  .body-text           { font-size: 18px; }
  .article-body p,
  .article-body li     { font-size: 18px; }
}
