/* EIR Lifesciences — Marketing Site Styles */
/* =========================================================
   EIR Lifesciences — Design Tokens
   Color, type, spacing, radii, shadows.
   v1.2 — derived from brand_design_page_v1_2 + Investor Deck
   ========================================================= */

/* Google Fonts import removed for offline standalone build — relies on web-safe fallbacks */

:root {
  /* ---------- COLOR · FOUNDATION ---------- */
  --eir-midnight:        #0A0E1A;   /* primary dark bg */
  --eir-deep-navy:       #0F1B3D;   /* section bg, layered surface */
  --eir-electric-blue:   #1A6FFF;   /* brand accent, links, primary CTA */
  --eir-sky-blue:        #4D91FF;   /* italic display accent, highlights */
  --eir-teal:            #00D4B8;   /* data / science callouts */
  --eir-violet:          #7B5CF5;   /* innovation tag */
  --eir-gold:            #C9A84C;   /* premium / pharma */
  --eir-silver:          #B8C4D9;   /* body text on dark */

  /* ---------- COLOR · RED (v1.1 visuals) ---------- */
  --eir-crimson:         #B81C2E;   /* primary visual red */
  --eir-signal-red:      #D42B40;   /* charts / alerts */
  --eir-deep-crimson:    #8C0D1E;   /* dark-bg accent */
  --eir-blush:           #F2D0D4;   /* light fills, tags */

  /* ---------- COLOR · WHITE (v1.1 text) ---------- */
  --eir-warm-white:      #F5F0EB;   /* on crimson / warm */
  --eir-cool-white:      #EDF2F8;   /* on navy / blue */
  --eir-pure-white:      #FFFFFF;   /* max contrast / icons */

  /* ---------- SEMANTIC · LIGHT MODE ---------- */
  --bg:                  #FFFFFF;
  --bg-surface:          #F7F8FA;
  --bg-surface-2:        #EDF2F8;

  --fg:                  #0A0E1A;            /* primary text */
  --fg-secondary:        #4A5568;            /* body 2 */
  --fg-tertiary:         #8896A8;            /* labels, captions */
  --fg-on-dark:          var(--eir-cool-white);
  --fg-on-crimson:       var(--eir-warm-white);

  --accent:              var(--eir-electric-blue);
  --accent-hover:        #155FE0;
  --accent-soft:         #EBF2FF;

  --critical:            var(--eir-crimson);
  --critical-soft:       #FEF0F2;

  --success:             #00C48C;
  --warning:             #C9A84C;

  --border:              rgba(10, 14, 26, 0.10);
  --border-strong:       rgba(10, 14, 26, 0.18);
  --border-on-dark:      rgba(255, 255, 255, 0.12);

  /* ---------- TYPE · FAMILIES ---------- */
  --font-display:        'Instrument Serif', 'Times New Roman', Georgia, serif;
  --font-sans:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono:           'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  /* ---------- TYPE · SIZES (scale) ---------- */
  --fs-display-xl:       96px;   /* hero, deck title */
  --fs-display:          56px;   /* section openers */
  --fs-h1:               36px;
  --fs-h2:               24px;
  --fs-h3:               18px;
  --fs-body:             15px;
  --fs-body-sm:          13px;
  --fs-caption:          12px;
  --fs-label:            10px;

  /* ---------- TYPE · TRACKING ---------- */
  --tracking-display:    -0.025em;  /* tight on serif */
  --tracking-h:          -0.01em;
  --tracking-body:        0;
  --tracking-caps:        0.10em;
  --tracking-caps-tight:  0.06em;
  --tracking-caps-wide:   0.13em;

  /* ---------- TYPE · WEIGHTS ---------- */
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semibold:600;
  --fw-bold:    700;

  /* ---------- SPACING SCALE ---------- */
  --space-xs:   4px;
  --space-sm:   8px;
  --space-md:   12px;
  --space-base: 16px;
  --space-lg:   24px;
  --space-xl:   32px;
  --space-2xl:  48px;
  --space-3xl:  64px;
  --space-4xl:  96px;

  /* ---------- RADIUS ---------- */
  --radius-xs: 3px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 999px;

  /* ---------- SHADOW / ELEVATION ---------- */
  --shadow-1: 0 1px 2px rgba(10, 14, 26, 0.04), 0 0 0 0.5px rgba(10, 14, 26, 0.06);
  --shadow-2: 0 4px 14px rgba(10, 14, 26, 0.06), 0 0 0 0.5px rgba(10, 14, 26, 0.06);
  --shadow-3: 0 12px 32px rgba(10, 14, 26, 0.10), 0 0 0 0.5px rgba(10, 14, 26, 0.08);
  --shadow-glow-blue: 0 0 0 1px rgba(26, 111, 255, 0.4), 0 0 24px rgba(26, 111, 255, 0.25);

  /* ---------- MOTION ---------- */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 360ms;
}

/* =========================================================
   SEMANTIC ELEMENT STYLES
   ========================================================= */

html, body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.eir-display-xl,
.eir-display {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tracking-display);
  line-height: 1.0;
}
.eir-display-xl { font-size: var(--fs-display-xl); line-height: 0.96; }
.eir-display    { font-size: var(--fs-display);    line-height: 1.04; }

/* The italic accent — used in deck for ONE highlighted phrase */
.eir-display em,
.eir-display .accent,
.eir-display-xl em,
.eir-display-xl .accent {
  font-style: italic;
  color: var(--eir-sky-blue);
  font-weight: var(--fw-regular);
}

h1, .eir-h1 {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: var(--fs-h1);
  letter-spacing: var(--tracking-h);
  line-height: 1.1;
}

h2, .eir-h2 {
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-h2);
  letter-spacing: var(--tracking-h);
  line-height: 1.2;
}

h3, .eir-h3 {
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-h3);
  line-height: 1.3;
}

p, .eir-body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: 1.65;
  color: var(--fg-secondary);
}

.eir-caption {
  font-size: var(--fs-caption);
  color: var(--fg-tertiary);
  line-height: 1.5;
}

.eir-label,
.eir-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--fg-tertiary);
}

.eir-mono,
code, kbd, pre, samp {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

.eir-stat {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: var(--fs-display);
  letter-spacing: var(--tracking-display);
  line-height: 1;
  color: var(--eir-electric-blue);
}

/* Dark surface helpers (deck context) */
.eir-on-dark { background: var(--eir-midnight); color: var(--fg-on-dark); }
.eir-on-dark p, .eir-on-dark .eir-body { color: var(--eir-silver); }
.eir-on-dark .eir-label, .eir-on-dark .eir-eyebrow { color: rgba(184, 196, 217, 0.65); }


* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--eir-midnight);
  color: var(--eir-cool-white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* =================== LAYOUT =================== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
}

/* =================== NAV =================== */
.nav-wrap {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 12px 16px 12px 28px;
  border: 0.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(10, 14, 26, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  pointer-events: auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: 15px;
  color: var(--eir-pure-white);
  white-space: nowrap;
}
.nav-brand .mark {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--eir-electric-blue);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--eir-pure-white);
  line-height: 1;
  padding-bottom: 2px;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(237, 242, 248, 0.7);
  letter-spacing: -0.005em;
  transition: color 200ms var(--ease-out);
}
.nav-links a:hover { color: var(--eir-pure-white); }
.nav-links a.active { color: var(--eir-sky-blue); }
.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--eir-pure-white);
  color: var(--eir-midnight);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background 200ms var(--ease-out);
}
.nav-cta:hover { background: var(--eir-sky-blue); color: var(--eir-pure-white); }

/* =================== HERO =================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 96px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-grid.single { grid-template-columns: 1fr; max-width: 920px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(184, 196, 217, 0.85);
  margin-bottom: 28px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--eir-sky-blue);
}

h1.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--eir-pure-white);
  margin-bottom: 28px;
}
h1.display em, h1.display .accent {
  font-style: italic;
  color: var(--eir-sky-blue);
  font-weight: 400;
}

.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--eir-silver);
  max-width: 560px;
  margin-bottom: 40px;
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 0.5px solid transparent;
  cursor: pointer;
  transition: all 200ms var(--ease-out);
}
.btn-primary {
  background: var(--eir-pure-white);
  color: var(--eir-midnight);
}
.btn-primary:hover { background: var(--eir-sky-blue); color: var(--eir-pure-white); }
.btn-primary .arrow {
  width: 26px; height: 26px;
  border-radius: 999px;
  background: var(--eir-electric-blue);
  color: white;
  display: grid; place-items: center;
  margin-right: -10px;
}
.btn-ghost {
  background: transparent;
  color: var(--eir-cool-white);
  border-color: rgba(255, 255, 255, 0.18);
}
.btn-ghost:hover { border-color: var(--eir-sky-blue); color: var(--eir-sky-blue); }

/* hero-vis: photoreal-feel SVG composition stand-in for product/lab imagery */
.hero-vis {
  position: relative;
  aspect-ratio: 4/5;
  width: 100%;
  overflow: hidden;
}

.hero-watermark {
  width: min(172px, 26vw);
  height: auto;
  display: block;
  margin-bottom: 28px;
  position: absolute;
  left: -1px;
  top: 0px;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 980px) {
  .hero-watermark { display: none; }
}

/* =================== SECTIONS =================== */
section { padding: var(--section-pad, 96px) 0; position: relative; }
section.tight { padding: calc(var(--section-pad, 96px) * 0.67) 0; }

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(184, 196, 217, 0.6);
  margin-bottom: 24px;
}
.section-label .num { display: none; }

h2.display, .h2-display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--eir-pure-white);
  margin-bottom: 28px;
  max-width: 920px;
}
h2.display em, .h2-display em {
  font-style: italic;
  color: var(--eir-sky-blue);
  font-weight: 400;
}

h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--eir-pure-white);
  margin-bottom: 12px;
}

p { color: var(--eir-silver); }
p.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--eir-cool-white);
  max-width: 720px;
}

.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  width: 100%;
}

/* =================== CARDS =================== */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.pillar {
  background: var(--eir-midnight);
  padding: 48px 32px;
}
.pillar .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--eir-sky-blue);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  display: block;
}
.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  border: 1px solid rgba(77, 145, 255, 0.32);
  background: rgba(26, 111, 255, 0.08);
  display: grid;
  place-items: center;
  color: var(--eir-sky-blue);
  margin: 0 auto 24px;
}
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--eir-pure-white);
  text-align: center;
}
.pillar p { font-size: 14.5px; line-height: 1.55; color: var(--eir-silver); }

/* Step rows */
.steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 80px 200px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  align-items: baseline;
}
.step:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.step .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--eir-sky-blue);
  letter-spacing: 0.06em;
}
.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  border: 1px solid rgba(77, 145, 255, 0.32);
  background: rgba(26, 111, 255, 0.08);
  display: grid;
  place-items: center;
  color: var(--eir-sky-blue);
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--eir-pure-white);
  line-height: 1.05;
  margin-bottom: 0;
}
.step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--eir-silver);
  max-width: 560px;
}

/* Spec rows */
.specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.spec {
  background: var(--eir-midnight);
  padding: 28px 32px;
}
.spec .label {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(184, 196, 217, 0.6);
  margin-bottom: 10px;
}
.spec .value {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--eir-pure-white);
  font-weight: 500;
  letter-spacing: -0.005em;
}

/* Result stat cards */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-card {
  background: var(--eir-deep-navy);
  padding: 40px 32px;
}
.stat-card .figure {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--eir-sky-blue);
  margin-bottom: 16px;
  font-style: italic;
}
.stat-card .figure-label {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(184, 196, 217, 0.6);
  margin-bottom: 14px;
}
.stat-card p {
  font-size: 14px;
  color: var(--eir-cool-white);
  line-height: 1.55;
}

.disclaimer {
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 13px;
  color: rgba(184, 196, 217, 0.55);
  margin-top: 32px;
  line-height: 1.6;
  max-width: 680px;
}

/* Application cards */
.app {
  display: grid;
  grid-template-columns: 200px 1fr 320px;
  gap: 48px;
  padding: 56px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  align-items: start;
}
.app:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.app .app-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--eir-sky-blue);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 8px;
}
.app .app-cat {
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(184, 196, 217, 0.7);
}
.app h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--eir-pure-white);
  margin-bottom: 16px;
}
.app p { font-size: 15px; line-height: 1.65; color: var(--eir-silver); }
.app .applicable {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.app .applicable .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(184, 196, 217, 0.6);
  margin-bottom: 12px;
  display: block;
}
.app .applicable .items {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--eir-cool-white);
  line-height: 1.7;
}

/* Industries strip */
.industries {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 32px 0;
}
.industries .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(184, 196, 217, 0.55);
}
.industries .item {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--eir-pure-white);
}
.industries .dot {
  color: rgba(184, 196, 217, 0.4);
  font-size: 24px;
}

/* Requirements list */
.reqs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.req {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  padding: 28px 24px;
  background: rgba(15, 27, 61, 0.4);
}
.req .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--eir-sky-blue);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  display: block;
}
.req p {
  font-size: 14.5px;
  color: var(--eir-cool-white);
  line-height: 1.5;
}
.req .figure {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  color: var(--eir-sky-blue);
  letter-spacing: -0.02em;
  display: block;
  margin-top: 8px;
}

/* =================== CONTACT FORM =================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(184, 196, 217, 0.7);
  font-weight: 500;
}
.field label .req-star { color: var(--eir-sky-blue); margin-left: 4px; }

.field input, .field select, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding: 12px 0;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--eir-pure-white);
  outline: none;
  transition: border-color 200ms var(--ease-out);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%234D91FF' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
  cursor: pointer;
}
.field select option {
  background: var(--eir-midnight);
  color: var(--eir-pure-white);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(184, 196, 217, 0.4); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-bottom-color: var(--eir-sky-blue);
}
.field textarea {
  resize: vertical;
  min-height: 96px;
  font-family: var(--font-sans);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.form-submit {
  margin-top: 16px;
  align-self: flex-start;
  padding: 16px 28px;
  background: var(--eir-electric-blue);
  color: var(--eir-pure-white);
  border: none;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: background 200ms var(--ease-out);
}
.form-submit:hover { background: #155FE0; }

.contact-info {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  padding: 40px 36px;
  background: rgba(15, 27, 61, 0.3);
}
.contact-info .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(184, 196, 217, 0.6);
  margin-bottom: 20px;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--eir-pure-white);
  margin-bottom: 24px;
}
.contact-info dl { display: grid; gap: 18px; }
.contact-info dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(184, 196, 217, 0.55);
  margin-bottom: 4px;
}
.contact-info dd {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--eir-cool-white);
}

/* =================== FOOTER =================== */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 0 40px;
  margin-top: 32px;
  position: relative;
  overflow: hidden;
}
.footer-wave {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  height: 180px;
  opacity: 0.35;
  background: url("footer-wave.png") no-repeat center bottom;
  background-size: cover;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 2;
}
.footer-grid .nav-brand .mark { background: var(--eir-electric-blue); }
.footer-center {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: rgba(184, 196, 217, 0.7);
}
.footer-center a { transition: color 200ms; }
.footer-center a:hover { color: var(--eir-pure-white); }
.footer-right {
  text-align: right;
  font-size: 12px;
  color: rgba(184, 196, 217, 0.55);
  font-family: var(--font-mono);
}

/* =================== HERO VISUAL — SCIENTIFIC SVG =================== */
.hero-vis-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 40%, #142554 0%, #0A0E1A 70%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-vis-frame svg { width: 100%; height: 100%; display: block; }
.hero-vis-meta {
  position: absolute;
  inset: 16px 16px auto 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(184, 196, 217, 0.6);
  z-index: 3;
}
.hero-vis-meta .pill {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(10, 14, 26, 0.6);
}
.hero-vis-meta .pill .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--eir-sky-blue);
  margin-right: 6px;
  vertical-align: 1px;
  animation: pulse 2.4s var(--ease-out) infinite;
}
.hero-vis-bottom {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 3;
}
.hero-vis-bottom .cell {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(10, 14, 26, 0.7);
  color: rgba(184, 196, 217, 0.7);
}
.hero-vis-bottom .cell .v {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--eir-sky-blue);
  letter-spacing: -0.02em;
  margin-top: 4px;
  text-transform: none;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(77, 145, 255, 0.55); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(77, 145, 255, 0); }
}

/* Background wave on hero */
.hero-bg-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 280px;
  background: url("footer-wave.png") no-repeat center bottom;
  background-size: 120% auto;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
}

/* Diagram for technology — wave + bond visualization */
.bond-diagram {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(180deg, #0F1B3D 0%, #0A0E1A 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  margin-top: 48px;
}

@media (max-width: 980px) {
  .container { padding: 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 8px; }
  .app { grid-template-columns: 1fr; gap: 24px; }
  .reqs { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .stats { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-right { text-align: center; }
  .field-row { grid-template-columns: 1fr; }

  /* --- collapse the pill nav into a hamburger --- */
  .nav {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    gap: 0;
    width: min(560px, calc(100vw - 32px));
    padding: 10px 10px 10px 10px;
  }
  .nav-brand {
    grid-column: 2;
    justify-self: center;
  }
  .nav-toggle {
    grid-column: 3;
    justify-self: end;
  }
  .nav-links,
  .nav-cta { display: none; }
}

/* =================== MOBILE NAV (hamburger + panel) =================== */
.nav-toggle { display: none; }

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 0.5px solid rgba(255, 255, 255, 0.16);
    cursor: pointer;
    flex: 0 0 auto;
  }
  .nav-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--eir-cool-white);
    border-radius: 2px;
    transition: transform 0.25s var(--ease-out), opacity 0.2s var(--ease-out);
  }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .nav-mobile {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: min(560px, calc(100vw - 32px));
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    border: 0.5px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: rgba(10, 14, 26, 0.92);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    backdrop-filter: blur(18px) saturate(120%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out);
  }
  body.nav-open .nav-mobile {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }
  .nav-mobile a {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: rgba(237, 242, 248, 0.82);
    transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
  }
  .nav-mobile a:hover { color: var(--eir-pure-white); background: rgba(255, 255, 255, 0.05); }
  .nav-mobile a.active:not(.nav-mobile-cta) { color: var(--eir-sky-blue); }
  .nav-mobile-cta {
    margin-top: 6px;
    text-align: center;
    background: var(--eir-pure-white);
    color: var(--eir-midnight) !important;
  }
  .nav-mobile-cta:hover { background: var(--eir-sky-blue); color: var(--eir-pure-white) !important; }
}

/* Hide mobile panel entirely on larger screens */
@media (min-width: 981px) {
  .nav-mobile { display: none; }
}

/* =================== FINE PHONE BREAKPOINT =================== */
@media (max-width: 640px) {
  .container { padding: 0 20px; }

  .hero { min-height: auto; padding: 120px 0 64px; }
  h1.display { font-size: clamp(38px, 11vw, 56px) !important; width: auto !important; max-width: 100% !important; }
  .lede { font-size: 16px; }

  section { padding: 64px 0; }
  section.tight { padding: 48px 0; }

  /* justified text reads poorly in narrow columns */
  .lead, .lede, .app p, .step p, .req p { text-align: left !important; }

  .industries { gap: 18px 22px; padding: 24px 0; }
  .industries .item { font-size: 22px; }
  .industries .dot { display: none; }

  .stat-card .figure { font-size: 48px; }
  .stat-card { padding: 32px 24px; }
  .pillar { padding: 40px 28px; }

  .footer-center { flex-wrap: wrap; justify-content: center; row-gap: 8px; }

  .field input, .field select, .field textarea { font-size: 16px; } /* avoid iOS zoom-on-focus */
}



  /* ---- single-file router ---- */
  .page { display: block; }

  /* Home hero: give the animation box a wider column than the copy (desktop only) */
  @media (min-width: 981px) {
    #page-home .hero .hero-grid { grid-template-columns: 1fr 1.35fr; }
  }

  /* ===== Technology page styles (merged) ===== */
  .tech-hero { background: #05060B; }
  .tech-hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 1; pointer-events: none; }
  .tech-hero .container { position: relative; z-index: 3; width: 100%; margin: 0 auto; }
  .tech-hero-copy { position: relative; z-index: 3; max-width: 920px; }
  .th-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center right;
    display: block;
    transform: scaleY(1.4); transform-origin: top center;
  }
  .th-scrim {
    position: absolute; inset: 0;
    background:
      linear-gradient(95deg, rgba(5,6,11,0.82) 0%, rgba(5,6,11,0.45) 28%, rgba(5,6,11,0) 50%),
      linear-gradient(0deg, rgba(5,6,11,0.45) 0%, rgba(5,6,11,0) 30%);
    z-index: 2;
  }
  @media (max-width: 980px) {
    .tech-hero-copy { max-width: 100%; }
    .th-scrim { background: linear-gradient(180deg, rgba(5,6,11,0.55) 0%, rgba(5,6,11,0.35) 45%, rgba(5,6,11,0.75) 100%); }
  }
  .steps .step { align-items: center; }
