/* ════════════════════════════════════════════════════
   Hyperion DataForge — main.css
   Fonts: Space Grotesk · Inter · JetBrains Mono
   ════════════════════════════════════════════════════ */

:root {
  /* ── Core tones ── */
  --black:   #080807;
  --deep:    #0d0d0b;
  --iron:    #141412;
  --steel:   #1c1c1a;
  --ash:     #2a2a27;
  --slate:   #44443f;
  --mist:    #8a8a82;
  --bone:    #d8d6cf;
  --white:   #f0ede6;

  /* ── Ember — primary accent (amber / orange) ── */
  --ember-dim:    #2a1000;
  --ember-core:   #622800;
  --ember-hot:    #b05000;
  --ember-glow:   #d97018;
  --ember-bright: #f09840;
  --ember-pale:   #fbd09a;

  /* ── Forge red — secondary accent (crimson) ── */
  --red-deep:   #170404;
  --red-core:   #571010;
  --red-mid:    #921818;
  --red-hot:    #b83030;
  --red-bright: #e03c3c;

  /* ── Module accent colors (pitch deck palette) ── */
  --mod-anvil:    #c0392b;
  --mod-hammer:   #d97018;
  --mod-bellows:  #d4a800;
  --mod-crucible: #27ae60;
  --mod-temper:   #2980b9;
  --mod-ember:    #8e44ad;

  /* ── Signal ── */
  --signal-green:  #27c93f;
  --signal-amber:  #ffbd2e;

  /* ── Text ── */
  --text-primary:   #f0ede6;
  --text-secondary: #8a8a82;
  --text-muted:     #44443f;

  /* ── Borders ── */
  --border-faint: rgba(240,237,230,0.05);
  --border-dim:   rgba(240,237,230,0.09);
  --border-soft:  rgba(240,237,230,0.15);

  /* ── Ambient glows ── */
  --glow-ember: rgba(217,112,24,0.15);
  --glow-red:   rgba(184,48,48,0.12);

  /* ── Layout ── */
  --max:       1160px;
  --radius:    6px;
  --radius-lg: 10px;
}

/* ─────── RESET ─────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
a    { color: inherit; text-decoration: none; }
img  { display: block; max-width: 100%; }

/* ─────── BASE ─────── */
body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  background-color: var(--black);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle film grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ─────── TYPOGRAPHY ─────── */
h1, h2, h3, h4,
.display, .nav-cta, .btn,
.module-name, .founder-name,
.contact-headline, .stat-num {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-feature-settings: 'ss01', 'ss02';
}

.mono, code,
.terminal-body, .terminal-title,
.section-label, .hero-tag,
.stat-label, .module-num,
.paper-detail, .founder-title,
.quote-attr, .ip-note-head,
.footer-copy, .footer-links a,
.flow-step, .paper-link,
.module-badge {
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
}

h1 {
  font-weight: 700;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
}

h1 em {
  font-style: normal;
  color: var(--ember-glow);
}

h2 {
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 14px;
}

h3 {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 10px;
}

h4 {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 6px;
}

.section-label {
  font-size: 10px;
  color: var(--ember-hot);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-intro {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.75;
}

.section-head { margin-bottom: 40px; }

/* ─────── NAV ─────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  border-bottom: 1px solid var(--border-faint);
  background: rgba(8,8,7,0.82);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}

.nav-logo img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(217,112,24,0.35));
  transition: filter 0.25s;
}

.nav-logo img:hover {
  filter: drop-shadow(0 0 18px rgba(217,112,24,0.55));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 9px 20px;
  border: 1px solid var(--ember-hot);
  color: var(--ember-bright);
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  background: var(--ember-hot);
  color: var(--black);
  box-shadow: 0 0 22px var(--glow-ember);
}

/* ─────── BUTTONS ─────── */
.btn {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: var(--radius);
  transition: transform 0.18s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--ember-hot) 0%, var(--ember-glow) 100%);
  color: var(--black);
  box-shadow: 0 4px 20px rgba(217,112,24,0.28);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(217,112,24,0.45);
}

.btn-ghost {
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--white);
  border-color: var(--mist);
  background: rgba(255,255,255,0.04);
}

/* ─────── HERO ─────── */
.hero {
  padding: 140px 0 96px;
  position: relative;
  overflow: hidden;
}

/* Ambient light — bottom left red */
.hero::before {
  content: '';
  position: absolute;
  bottom: -200px; left: -180px;
  width: 900px; height: 900px;
  background: radial-gradient(circle at center, rgba(184,48,48,0.07) 0%, transparent 60%);
  pointer-events: none;
}

/* Ambient light — top right ember */
.hero::after {
  content: '';
  position: absolute;
  top: -80px; right: -200px;
  width: 750px; height: 750px;
  background: radial-gradient(circle at center, rgba(217,112,24,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--ember-bright);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--ember-hot);
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.78;
  margin: 22px 0 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Logo frame — right column */
.hero-logo-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-frame::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 50% 50%,
    rgba(217,112,24,0.14) 0%,
    rgba(184,48,48,0.06) 45%,
    transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

.hero-logo-img {
  width: 100%;
  max-width: 340px;
  height: auto;
  filter:
    drop-shadow(0 0 40px rgba(217,112,24,0.32))
    drop-shadow(0 0 90px rgba(184,48,48,0.16));
  animation: logoFloat 7s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0px);
    filter:
      drop-shadow(0 0 40px rgba(217,112,24,0.32))
      drop-shadow(0 0 90px rgba(184,48,48,0.16));
  }
  50% {
    transform: translateY(-10px);
    filter:
      drop-shadow(0 0 55px rgba(217,112,24,0.48))
      drop-shadow(0 0 110px rgba(184,48,48,0.24));
  }
}

/* ─────── STATS STRIP ─────── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--deep);
  box-shadow:
    0 8px 40px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.stat-cell {
  padding: 24px 20px;
  border-right: 1px solid var(--border-faint);
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.018) 0%, transparent 100%);
  transition: background 0.3s;
}

.stat-cell:last-child { border-right: none; }

.stat-cell::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ember-hot), transparent);
}

.stat-cell:hover {
  background: linear-gradient(180deg, rgba(217,112,24,0.06) 0%, transparent 100%);
}

.stat-num {
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  text-shadow: 0 0 28px rgba(217,112,24,0.22);
}

.stat-num span { color: var(--ember-glow); }

.stat-label {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* ─────── SECTION BASE ─────── */
section { padding: 88px 0; position: relative; }

/* ─────── DIVIDERS ─────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent,
    var(--border-soft) 20%, var(--border-soft) 80%, transparent);
}

.hr-forge {
  height: 2px;
  background: linear-gradient(90deg,
    var(--red-hot) 0%, var(--ember-hot) 25%,
    var(--border-faint) 75%, transparent 100%);
}

/* ─────── PREMISE GRID ─────── */
.premise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.premise-cell {
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-faint);
  background: linear-gradient(145deg, var(--iron) 0%, var(--deep) 100%);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.premise-cell:hover {
  border-color: var(--border-soft);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.premise-cell p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.78;
}

.premise-cell.accent {
  background: linear-gradient(145deg, var(--red-deep) 0%, rgba(23,4,4,0.75) 100%);
  border-color: rgba(184,48,48,0.22);
  border-left: 2px solid var(--red-hot);
}

.premise-cell.accent h3 { color: var(--ember-pale); }
.premise-cell.accent p  { color: rgba(240,152,64,0.82); }

.premise-cell.accent:hover {
  border-color: rgba(184,48,48,0.45);
  box-shadow: 0 8px 32px rgba(184,48,48,0.10);
}

/* ─────── PERFORMANCE / TERMINAL ─────── */
.perf-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}

.terminal {
  background: var(--iron);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.025),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--steel);
  border-bottom: 1px solid var(--border-faint);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f56; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #27c93f; }

.terminal-title {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 6px;
}

.terminal-body {
  padding: 22px;
  font-size: 12.5px;
  line-height: 1.85;
}

.t-prompt  { color: var(--mist); }
.t-cmd     { color: var(--bone); }
.t-flag    { color: var(--ember-bright); }
.t-val     { color: var(--ember-pale); }
.t-comment { color: var(--text-muted); }
.t-head    { color: var(--ember-glow); font-weight: 500; }
.t-good    { color: #27c93f; }
.t-warn    { color: #ffbd2e; }
.t-num     { color: var(--ember-bright); }
.t-line    { display: block; }
.t-blank   { display: block; height: 0.9em; }

.perf-signals {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.signal-card {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--iron) 0%, var(--deep) 100%);
  border: 1px solid var(--border-faint);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.signal-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--ember-hot), var(--ember-dim));
}

.signal-card:hover {
  border-color: var(--border-soft);
  box-shadow: 0 6px 24px rgba(0,0,0,0.4), 0 0 14px var(--glow-ember);
}

.signal-card p {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─────── STACK MODULES ─────── */
.stack-modules {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.module {
  padding: 24px 14px 22px;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-faint);
  background: linear-gradient(180deg, var(--iron) 0%, var(--deep) 100%);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  cursor: default;
  /* defaults — overridden by data-mod selectors */
  --mod-color: var(--ember-hot);
  --mod-glow:  rgba(176,80,0,0.18);
  --mod-top:   rgba(176,80,0,0.07);
}

/* Colored top accent bar */
.module::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--mod-color);
  box-shadow: 0 0 12px var(--mod-color);
}

/* Subtle top-gradient tint */
.module::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 70px;
  background: linear-gradient(180deg, var(--mod-top) 0%, transparent 100%);
  pointer-events: none;
}

.module:hover {
  transform: translateY(-5px);
  border-color: var(--border-soft);
  box-shadow:
    0 14px 44px rgba(0,0,0,0.5),
    0 0 22px var(--mod-glow);
}

/* Per-module color tokens */
.module[data-mod="anvil"]    {
  --mod-color: var(--mod-anvil);
  --mod-glow:  rgba(192,57,43,0.20);
  --mod-top:   rgba(192,57,43,0.07);
}
.module[data-mod="hammer"]   {
  --mod-color: var(--mod-hammer);
  --mod-glow:  rgba(217,112,24,0.20);
  --mod-top:   rgba(217,112,24,0.07);
}
.module[data-mod="bellows"]  {
  --mod-color: var(--mod-bellows);
  --mod-glow:  rgba(212,168,0,0.20);
  --mod-top:   rgba(212,168,0,0.07);
}
.module[data-mod="crucible"] {
  --mod-color: var(--mod-crucible);
  --mod-glow:  rgba(39,174,96,0.20);
  --mod-top:   rgba(39,174,96,0.07);
}
.module[data-mod="temper"]   {
  --mod-color: var(--mod-temper);
  --mod-glow:  rgba(41,128,185,0.20);
  --mod-top:   rgba(41,128,185,0.07);
}
.module[data-mod="ember"]    {
  --mod-color: var(--mod-ember);
  --mod-glow:  rgba(142,68,173,0.20);
  --mod-top:   rgba(142,68,173,0.07);
}

.module-num {
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.module-badge {
  display: inline-block;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 3px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  border: 1px solid var(--border-faint);
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
}

.module-badge.alpha {
  background: rgba(39,174,96,0.10);
  border-color: rgba(39,174,96,0.28);
  color: #2ecc71;
}

.module-badge.roadmap {
  background: rgba(217,112,24,0.10);
  border-color: rgba(217,112,24,0.22);
  color: var(--ember-bright);
}

.module-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  display: block;
  margin-bottom: 5px;
  position: relative;
  z-index: 1;
}

.module-role {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
  line-height: 1.45;
  position: relative;
  z-index: 1;
}

.stack-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: var(--deep);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius);
  padding: 10px 0;
}

.flow-step {
  font-size: 11px;
  color: var(--text-secondary);
  padding: 6px 10px;
}

.flow-arrow {
  color: var(--ember-hot);
  font-size: 12px;
  font-family: 'Inter', sans-serif;
}

/* ─────── RESEARCH / PAPERS ─────── */
.papers-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border-faint);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.paper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  background: var(--deep);
  transition: background 0.2s;
}

.paper-row:hover { background: var(--iron); }

.paper-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.paper-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  display: block;
}

.paper-detail {
  font-size: 10.5px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  display: block;
}

.paper-link {
  font-size: 11px;
  font-weight: 500;
  color: var(--ember-bright);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid var(--ember-core);
  padding: 7px 14px;
  border-radius: var(--radius);
  transition: background 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.paper-link:hover {
  background: rgba(217,112,24,0.10);
  border-color: var(--ember-hot);
  box-shadow: 0 0 14px var(--glow-ember);
}

/* ─────── FOUNDER ─────── */
.founder-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.founder-card {
  background: linear-gradient(145deg, var(--iron) 0%, var(--deep) 100%);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 16px 52px rgba(0,0,0,0.45);
}

.founder-photo-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-faint);
}

.founder-photo {
  width: 88px;
  height: 88px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 2px solid var(--ember-hot);
  flex-shrink: 0;
  box-shadow:
    0 0 0 4px rgba(176,80,0,0.15),
    0 0 24px rgba(217,112,24,0.28);
}

.founder-name {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}

.founder-title {
  font-size: 10.5px;
  color: var(--ember-glow);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.founder-bio {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.82;
}

.founder-bio + .founder-bio { margin-top: 14px; }

.credential-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

.credential {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.credential-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ember-hot);
  flex-shrink: 0;
  box-shadow: 0 0 7px rgba(217,112,24,0.5);
}

.founder-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quote-block {
  background: linear-gradient(145deg, var(--red-deep) 0%, rgba(23,4,4,0.55) 100%);
  border: 1px solid rgba(184,48,48,0.22);
  border-left: 3px solid var(--red-hot);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow:
    0 0 48px rgba(184,48,48,0.06),
    inset 0 1px 0 rgba(255,255,255,0.025);
}

.quote-text {
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 300;
  color: var(--ember-pale);
  line-height: 1.78;
  margin-bottom: 18px;
}

.quote-attr {
  font-size: 10.5px;
  color: var(--red-hot);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ip-note {
  background: linear-gradient(145deg, var(--steel) 0%, var(--iron) 100%);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.ip-note-head {
  font-size: 10px;
  color: var(--ember-hot);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ip-note-body {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.68;
}

/* ─────── CONTACT BAND ─────── */
.contact-band {
  padding: 84px 0;
  position: relative;
  overflow: hidden;
}

.contact-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(184,48,48,0.065) 0%,
    rgba(217,112,24,0.04) 50%,
    transparent 100%);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.contact-headline {
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 10px;
}

.contact-sub {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 420px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─────── FOOTER ─────── */
footer {
  padding: 24px 0 40px;
  border-top: 1px solid var(--border-faint);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo img {
  height: 28px;
  width: auto;
  opacity: 0.65;
  filter: drop-shadow(0 0 5px rgba(217,112,24,0.18));
  transition: opacity 0.2s;
}

.footer-logo img:hover { opacity: 1; }

.footer-copy {
  font-size: 10.5px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 10.5px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--ember-bright); }

/* ─────── ANIMATIONS ─────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-tag     { animation: fadeUp 0.65s 0.05s ease both; }
.hero h1      { animation: fadeUp 0.65s 0.15s ease both; }
.hero-sub     { animation: fadeUp 0.65s 0.25s ease both; }
.hero-actions { animation: fadeUp 0.65s 0.33s ease both; }
.stats-strip  { animation: fadeUp 0.65s 0.44s ease both; }

.hero-logo-frame { animation: fadeUp 0.85s 0.20s ease both; }

/* ─────── RESPONSIVE ─────── */
@media (max-width: 960px) {
  .hero-grid       { grid-template-columns: 1fr; }
  .hero-logo-frame { display: none; }
  .stats-strip     { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .premise-grid    { grid-template-columns: 1fr; }
  .perf-layout     { grid-template-columns: 1fr; }
  .stack-modules   { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .founder-layout  { grid-template-columns: 1fr; }
  .contact-inner   { flex-direction: column; align-items: flex-start; }
  .footer-inner    { flex-direction: column; gap: 12px; }
  .nav-links       { display: none; }
}

@media (max-width: 560px) {
  .stats-strip   { grid-template-columns: 1fr 1fr; }
  .stack-modules { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
