/* ============================================================
   TECHNOCAST FOUNDRY v2 — Cinematic Homepage Stylesheet
   Design: Glassmorphic · Molten-Iron · Dark Navy + Orange
   ============================================================ */

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

/* ─── CSS Custom Properties ───────────────────────────────── */
:root {
  /* Core Palette — brand-blue base (matches the original TCF site) */
  --ink:          #0A2148;   /* deep TCF brand blue (was near-black #060B18) */
  --navy:         #0B2A5B;
  --navy-2:       #1E5AA8;   /* brand mid-blue — top of the classic header gradient */
  --molten-core:  #FFB24D;
  --molten:       #FF7A18;
  --orange:       #E8811A;
  --ember:        #C2410C;
  --iron:         #6B7480;
  --ash:          #9AA4B2;
  --white:        #F5F7FA;

  /* Derived / Opacity Tokens */
  --glass-bg:         rgba(22, 60, 118, 0.48);   /* frosted brand-blue — sits lighter than the blue base */
  --glass-border:     rgba(245, 247, 250, 0.08);
  --glass-highlight:  rgba(245, 247, 250, 0.04);
  --orb-glow:         rgba(255, 122, 24, 0.35);
  --orb-glow-deep:    rgba(194, 65, 12, 0.45);

  /* Typography */
  --font-display:  'IBM Plex Sans Condensed', 'Arial Narrow', sans-serif;
  --font-body:     'IBM Plex Sans', 'Helvetica Neue', sans-serif;
  --font-mono:     'IBM Plex Mono', 'Courier New', monospace;
  --font-nav:      'IBM Plex Sans Condensed', sans-serif;   /* condensed — menu text */
  --wt-display:    700;   /* explicit heavy weight for the display face */

  /* Type Scale */
  --text-xs:   0.6875rem;   /* 11px */
  --text-sm:   0.8125rem;   /* 13px */
  --text-base: 1rem;        /* 16px */
  --text-lg:   1.125rem;    /* 18px */
  --text-xl:   1.375rem;    /* 22px */
  --text-2xl:  1.75rem;     /* 28px */
  --text-3xl:  2.25rem;     /* 36px */
  --hero-fluid: clamp(3.5rem, 8vw, 8rem);

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* Layout */
  --max-w: 1280px;
  --nav-h: 72px;

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.45, 0, 0.55, 1);
  --dur-fast: 180ms;
  --dur-base: 300ms;
  --dur-slow: 600ms;

  /* Glass / Card */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

/* ─── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--white);
  background-color: var(--ink);
  /* Subtle brand-blue glow from the top — echoes the classic TCF blue-gradient header */
  background-image: radial-gradient(120% 55% at 50% -8%, rgba(30, 90, 168, 0.38) 0%, transparent 60%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ─── Accessibility ───────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -9999px; left: 1rem;
  background: var(--molten); color: var(--ink);
  padding: 0.5rem 1rem; border-radius: var(--radius-sm);
  font-family: var(--font-mono); font-size: var(--text-sm);
  font-weight: 700; z-index: 9999;
  transition: top var(--dur-fast);
}
.skip-link:focus { top: 1rem; }

*:focus-visible {
  outline: 2px solid var(--molten);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ─── Container ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ─── Utility Classes ─────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}
.mono { font-family: var(--font-mono); }
.text-molten { color: var(--molten); }
.text-ash { color: var(--ash); }

/* ─── Section Reveal (scroll-triggered) ──────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(38px) scale(0.985);
  filter: blur(6px);
  transition: opacity 720ms var(--ease-out-expo),
              transform 720ms var(--ease-out-expo),
              filter 720ms var(--ease-out-expo);
  will-change: opacity, transform, filter;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }

/* ─── Glass Panel ─────────────────────────────────────────── */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  transition: transform var(--dur-fast) var(--ease-out-expo),
              box-shadow var(--dur-base) var(--ease-out-expo),
              background var(--dur-base);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--molten);
  color: var(--ink);
  box-shadow: 0 0 0 0 rgba(255,122,24,0);
}
.btn-primary:hover {
  background: var(--molten-core);
  box-shadow: 0 8px 32px rgba(255,122,24,0.45);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(245,247,250,0.25);
}
.btn-secondary:hover {
  border-color: rgba(245,247,250,0.55);
  background: rgba(245,247,250,0.06);
}

/* ═══════════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════════════ */
.v2-nav {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  width: calc(100% - 3rem);
  max-width: 960px;
  transition: top var(--dur-base), box-shadow var(--dur-slow);
}
.v2-nav.scrolled {
  top: 0.75rem;
}
.v2-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 0.75rem 1.25rem 0.75rem 1.5rem;
  border-radius: 100px;
  /* Frosted brand-blue glass pill with a top sheen — reads as TCF blue, not black */
  background: linear-gradient(180deg, rgba(23, 60, 120, 0.80) 0%, rgba(10, 33, 72, 0.86) 100%);
  border: 1px solid rgba(120, 160, 220, 0.22);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 10px 36px rgba(4, 14, 36, 0.50), inset 0 1px 0 rgba(255, 255, 255, 0.10);
  transition: background var(--dur-slow), box-shadow var(--dur-slow);
}
.v2-nav.scrolled .v2-nav__inner {
  background: linear-gradient(180deg, rgba(23, 60, 120, 0.92) 0%, rgba(10, 33, 72, 0.95) 100%);
  box-shadow: 0 12px 44px rgba(4, 14, 36, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.v2-nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}
.v2-nav__logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--molten) 0%, var(--ember) 100%);
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: 0;
  flex-shrink: 0;
}
.v2-nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.v2-nav__logo-name {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
}
.v2-nav__logo-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--ash);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.v2-nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.v2-nav__link {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(226, 234, 246, 0.78);
  padding: 0.4rem 0.75rem;
  border-radius: 100px;
  transition: color var(--dur-fast), background var(--dur-fast);
}
.v2-nav__link:hover { color: var(--white); background: rgba(245,247,250,0.07); }
.v2-nav__link.is-active {
  color: var(--molten-core);
  background: rgba(255,178,77,0.1);
}

.v2-nav__cta {
  background: var(--molten);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 1.125rem;
  border-radius: 100px;
  transition: background var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
  white-space: nowrap;
  flex-shrink: 0;
}
.v2-nav__cta:hover {
  background: var(--molten-core);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255,122,24,0.4);
}

/* Mobile nav toggle */
.v2-nav__mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  color: var(--ash);
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.v2-nav__mobile-toggle:hover { color: var(--white); border-color: rgba(245,247,250,0.2); }
.v2-nav__mobile-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out-expo), opacity var(--dur-base);
}
.v2-nav__mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.v2-nav__mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.v2-nav__mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile dropdown */
.v2-nav__mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: rgba(6, 11, 24, 0.95);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.v2-nav__mobile-menu.is-open { display: flex; }
.v2-nav__mobile-menu a {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--ash);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
  letter-spacing: 0.04em;
}
.v2-nav__mobile-menu a:hover { color: var(--white); background: rgba(245,247,250,0.06); }
.v2-nav__mobile-menu .v2-nav__cta {
  margin-top: 0.5rem;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.v2-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: var(--space-xl);
  overflow: hidden;
}

/* Background field */
.v2-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 50%, rgba(18, 56, 111, 0.5) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 70% 55%, rgba(194, 65, 12, 0.12) 0%, transparent 60%),
    var(--ink);
  z-index: 0;
}
/* Subtle noise texture overlay */
.v2-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  opacity: 0.4;
  pointer-events: none;
}

.v2-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

/* ── Hero Left ─── */
.v2-hero__left {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.v2-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
}
.v2-hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--molten);
  flex-shrink: 0;
}

.v2-hero__headline {
  font-family: var(--font-display);
  font-size: var(--hero-fluid);
  line-height: 0.93;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
}
.v2-hero__headline .word-glow {
  color: var(--molten);
  text-shadow:
    0 0 40px rgba(255,122,24,0.5),
    0 0 80px rgba(255,122,24,0.2);
}

.v2-hero__sub {
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--ash);
  max-width: 38ch;
  line-height: 1.55;
}

.v2-hero__ctas {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* Hero stats strip — 4-column grid; gaps kept tight so it never wraps */
.v2-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--glass-border);
  margin-top: var(--space-xs);
  align-items: start;
}
.v2-hero__stat {}
.v2-hero__stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
/* --ash (#9AA4B2) is ~7.9:1 on --ink — WCAG AA pass for small text.
   --iron (#6B7480) is ~4.15:1 — fails AA at 13px, so restricted to large/decorative only. */
.v2-hero__stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  margin-top: 0.25rem;
}

/* ── Hero Right — Orb Panel ─── */
.v2-hero__right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2-orb-panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1.05;
  border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) 4px; /* notched bottom-left */
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: rgba(11, 42, 91, 0.3);
  border: 1px solid rgba(245,247,250,0.09);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}
/* Panel sheen highlight */
.v2-orb-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,178,77,0.5) 50%, transparent 100%);
  pointer-events: none;
}

/* Canvas for embers sits behind orb */
.v2-orb-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ── Orb itself ─── */
.v2-orb-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  z-index: 2;
}

/* Concentric ripple rings */
.v2-orb-rings {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.v2-orb-ring {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255,122,24,0.22);
  animation: ring-pulse 3.6s var(--ease-in-out) infinite;
}
.v2-orb-ring:nth-child(1) {
  width: 220px; height: 220px;
  animation-delay: 0s;
}
.v2-orb-ring:nth-child(2) {
  width: 280px; height: 280px;
  animation-delay: 0.9s;
  border-color: rgba(255,122,24,0.14);
}
.v2-orb-ring:nth-child(3) {
  width: 340px; height: 340px;
  animation-delay: 1.8s;
  border-color: rgba(255,122,24,0.08);
}
.v2-orb-ring:nth-child(4) {
  width: 400px; height: 400px;
  animation-delay: 2.7s;
  border-color: rgba(255,122,24,0.04);
}
@keyframes ring-pulse {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
  20%  { opacity: 1; }
  80%  { opacity: 0.3; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.1); }
}

/* The molten sphere */
.v2-orb {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    /* bright specular highlight */
    radial-gradient(ellipse 45% 40% at 35% 28%, rgba(255, 220, 140, 0.9) 0%, transparent 55%),
    /* molten core */
    radial-gradient(ellipse 70% 70% at 50% 45%, var(--molten-core) 0%, var(--molten) 30%, var(--orange) 55%, var(--ember) 75%, #7A1800 100%);
  box-shadow:
    /* outer ambient glow */
    0 0 60px 20px rgba(194,65,12,0.45),
    0 0 120px 40px rgba(255,122,24,0.25),
    /* inner depth shadow */
    inset 0 -20px 40px rgba(0,0,0,0.5),
    inset 0 10px 20px rgba(255,220,140,0.15);
  animation: orb-pulse 4s var(--ease-in-out) infinite alternate;
  will-change: transform, box-shadow;
}
@keyframes orb-pulse {
  0% {
    transform: scale(1) rotate(0deg);
    box-shadow:
      0 0 60px 20px rgba(194,65,12,0.45),
      0 0 120px 40px rgba(255,122,24,0.25),
      inset 0 -20px 40px rgba(0,0,0,0.5),
      inset 0 10px 20px rgba(255,220,140,0.15);
  }
  50% {
    transform: scale(1.03) rotate(2deg);
  }
  100% {
    transform: scale(1.06) rotate(4deg);
    box-shadow:
      0 0 80px 30px rgba(194,65,12,0.55),
      0 0 160px 60px rgba(255,122,24,0.3),
      inset 0 -20px 40px rgba(0,0,0,0.5),
      inset 0 10px 20px rgba(255,220,140,0.2);
  }
}

/* Heat shimmer layer */
.v2-orb::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(255,122,24,0.12) 0%,
    transparent 70%);
  animation: shimmer 2.2s ease-in-out infinite alternate;
  filter: blur(6px);
}
@keyframes shimmer {
  0%   { transform: scale(1) rotate(0deg); opacity: 0.7; }
  100% { transform: scale(1.08) rotate(-5deg); opacity: 1; }
}

/* Orb label at bottom of panel */
.v2-orb-label {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  text-align: center;
  line-height: 1.5;
}
.v2-orb-label strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--molten-core);
  margin-bottom: 0.15rem;
}

/* Orb panel corner badge */
.v2-orb-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  background: rgba(245,247,250,0.06);
  border: 1px solid var(--glass-border);
  padding: 0.3rem 0.6rem;
  border-radius: 100px;
  z-index: 3;
}

/* ═══════════════════════════════════════════════════════════
   PROCESS — The Pour
══════════════════════════════════════════════════════════════ */
.v2-process {
  padding: var(--space-3xl) 0 var(--space-2xl);
  position: relative;
}

.v2-section-header {
  margin-bottom: var(--space-xl);
}
.v2-section-super {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--molten);
  margin-bottom: 0.75rem;
}
.v2-section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -0.01em;
}
.v2-section-sub {
  margin-top: 1rem;
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--ash);
  max-width: 52ch;
  line-height: 1.55;
}

/* Scroll progress line */
.v2-process__track {
  position: relative;
  padding-left: 2rem;
}
.v2-process__line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(245,247,250,0.08);
  border-radius: 2px;
}
.v2-process__line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--molten-core) 0%, var(--molten) 50%, var(--ember) 100%);
  border-radius: 2px;
  transition: height 0.1s linear;
  box-shadow: 0 0 8px rgba(255,122,24,0.6);
}

.v2-process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.v2-process__step {
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: rgba(11,42,91,0.2);
  border: 1px solid var(--glass-border);
  transition: border-color var(--dur-base), background var(--dur-base), transform var(--dur-base) var(--ease-out-expo);
}
.v2-process__step:hover {
  border-color: rgba(255,122,24,0.2);
  background: rgba(11,42,91,0.35);
  transform: translateY(-4px);
}
.v2-process__num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  color: var(--molten);
  margin-bottom: var(--space-sm);
  display: block;
}
.v2-process__step-title {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.v2-process__step-desc {
  font-size: var(--text-sm);
  color: var(--ash);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   CAPABILITIES
══════════════════════════════════════════════════════════════ */
.v2-capabilities {
  padding: var(--space-2xl) 0;
}

.v2-cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.v2-cap-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(11,42,91,0.28);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out-expo),
              border-color var(--dur-base),
              box-shadow var(--dur-base);
}
.v2-cap-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  box-shadow: inset 0 0 0 1px rgba(255,122,24,0.35);
  transition: opacity var(--dur-base);
  pointer-events: none;
}
.v2-cap-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,122,24,0.15);
  box-shadow: 0 12px 48px rgba(0,0,0,0.3), 0 0 32px rgba(194,65,12,0.15);
}
.v2-cap-card:hover::after { opacity: 1; }

/* Icon glyph */
.v2-cap-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255,122,24,0.12);
  border: 1px solid rgba(255,122,24,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  color: var(--molten);
  transition: background var(--dur-base), border-color var(--dur-base);
}
.v2-cap-card:hover .v2-cap-icon {
  background: rgba(255,122,24,0.2);
  border-color: rgba(255,122,24,0.4);
}
.v2-cap-icon svg { width: 24px; height: 24px; }

.v2-cap-num {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ash);
  letter-spacing: 0.1em;
}
.v2-cap-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.v2-cap-desc {
  font-size: var(--text-sm);
  color: var(--ash);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.v2-cap-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.v2-cap-spec {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ash);
  background: rgba(245,247,250,0.04);
  border: 1px solid var(--glass-border);
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════════════════
   MATERIALS
══════════════════════════════════════════════════════════════ */
.v2-materials {
  padding: var(--space-2xl) 0;
  position: relative;
}
.v2-materials__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--glass-border);
}
.v2-mat-panel {
  padding: 3rem 2.5rem;
  background: rgba(11,42,91,0.4);
  position: relative;
  overflow: hidden;
}
.v2-mat-panel--ductile {
  background: rgba(18,56,111,0.5);
}
/* decorative large letter */
.v2-mat-panel::before {
  content: attr(data-letter);
  position: absolute;
  right: -0.05em;
  bottom: -0.1em;
  font-family: var(--font-display);
  font-size: 9rem;
  color: rgba(245,247,250,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.v2-mat-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--molten);
  margin-bottom: 0.75rem;
}
.v2-mat-name {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.v2-mat-desc {
  font-size: var(--text-sm);
  color: var(--ash);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 36ch;
}
.v2-mat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.v2-mat-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: var(--ash);
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  background: rgba(245,247,250,0.04);
  transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast);
}
.v2-mat-tag:hover {
  color: var(--molten-core);
  border-color: rgba(255,178,77,0.3);
  background: rgba(255,178,77,0.06);
}

/* ═══════════════════════════════════════════════════════════
   EDITORIAL — Giant Letterform
══════════════════════════════════════════════════════════════ */
.v2-editorial {
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.v2-editorial__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(18,56,111,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.v2-editorial__giant {
  font-family: var(--font-display);
  font-size: clamp(10rem, 28vw, 22rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245,247,250,0.1);
  background: linear-gradient(180deg, rgba(245,247,250,0.12) 0%, rgba(245,247,250,0.03) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  pointer-events: none;
  position: relative;
  z-index: 0;
}
.v2-editorial__content {
  position: relative;
  z-index: 1;
  margin-top: -0.3em;
}
.v2-editorial__label {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 1rem;
}
.v2-editorial__statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
  max-width: 22ch;
  margin: 0 auto;
  letter-spacing: -0.01em;
}
.v2-editorial__statement em {
  color: var(--molten);
  font-style: normal;
  text-shadow: 0 0 30px rgba(255,122,24,0.4);
}

/* ═══════════════════════════════════════════════════════════
   CERTIFICATIONS STRIP
══════════════════════════════════════════════════════════════ */
.v2-certs {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.v2-certs__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.v2-certs__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
  white-space: nowrap;
  flex-shrink: 0;
}
.v2-certs__list {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.v2-cert-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  background: rgba(245,247,250,0.03);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.v2-cert-badge:hover {
  border-color: rgba(255,178,77,0.25);
  background: rgba(255,178,77,0.04);
}
.v2-cert-badge__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--molten);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(255,122,24,0.6);
}
.v2-cert-badge__text {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: var(--ash);
}

/* ═══════════════════════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════════════════════════ */
.v2-cta-band {
  padding: var(--space-2xl) 0;
}
.v2-cta-band__inner {
  position: relative;
  padding: 4rem 3.5rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(18,56,111,0.6) 0%, rgba(11,42,91,0.7) 100%);
  border: 1px solid rgba(255,122,24,0.15);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
}
/* Molten glow orb in corner */
.v2-cta-band__inner::before {
  content: '';
  position: absolute;
  right: -80px; bottom: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(194,65,12,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.v2-cta-band__inner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,122,24,0.5) 50%, transparent 100%);
  pointer-events: none;
}
.v2-cta-band__copy { position: relative; z-index: 1; }
.v2-cta-band__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--molten);
  margin-bottom: 0.75rem;
}
.v2-cta-band__headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.v2-cta-band__sub {
  margin-top: 0.75rem;
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--ash);
  max-width: 40ch;
}
.v2-cta-band__action {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}
.v2-cta-band__contact {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ash);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.v2-cta-band__contact::before {
  content: '';
  display: block;
  width: 16px; height: 1px;
  background: var(--ash);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.v2-footer {
  border-top: 1px solid var(--glass-border);
  padding: var(--space-2xl) 0 var(--space-lg);
}
.v2-footer__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--glass-border);
}
.v2-footer__brand-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin: var(--space-sm) 0 0.5rem;
  letter-spacing: -0.01em;
}
.v2-footer__brand-desc {
  font-size: var(--text-sm);
  color: var(--ash);
  line-height: 1.65;
  max-width: 30ch;
  margin-bottom: var(--space-sm);
}
.v2-footer__certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}
.v2-footer__cert-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash);
  border: 1px solid var(--glass-border);
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
}
.v2-footer__col-title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 1rem;
}
.v2-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.v2-footer__nav a {
  font-size: var(--text-sm);
  color: var(--ash);
  transition: color var(--dur-fast);
  line-height: 1.4;
}
.v2-footer__nav a:hover { color: var(--white); }

.v2-footer__contact address {
  font-style: normal;
}
.v2-footer__contact p {
  font-size: var(--text-sm);
  color: var(--ash);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.v2-footer__contact a {
  color: var(--ash);
  transition: color var(--dur-fast);
}
.v2-footer__contact a:hover { color: var(--molten); }

.v2-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  flex-wrap: wrap;
}
.v2-footer__bottom p {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ash);
  letter-spacing: 0.08em;
}
.v2-footer__bottom a { color: var(--ash); transition: color var(--dur-fast); }
.v2-footer__bottom a:hover { color: var(--molten); }

/* ═══════════════════════════════════════════════════════════
   HERO LOAD ANIMATION
══════════════════════════════════════════════════════════════ */
.hero-fade {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeIn 0.8s var(--ease-out-expo) forwards;
}
.hero-fade-1 { animation-delay: 0.1s; }
.hero-fade-2 { animation-delay: 0.25s; }
.hero-fade-3 { animation-delay: 0.4s; }
.hero-fade-4 { animation-delay: 0.55s; }
.hero-fade-5 { animation-delay: 0.7s; }
.hero-fade-orb {
  opacity: 0;
  animation: orbGlowIn 1.2s var(--ease-out-expo) 0.3s forwards;
}
@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes orbGlowIn {
  0%   { opacity: 0; transform: scale(0.88); }
  100% { opacity: 1; transform: scale(1); }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .v2-hero__layout { grid-template-columns: 1fr; text-align: center; }
  .v2-hero__left { align-items: center; }
  .v2-hero__eyebrow { justify-content: center; }
  .v2-hero__sub { margin: 0 auto; }
  .v2-hero__right { justify-content: center; margin-top: var(--space-md); }
  .v2-orb-panel { max-width: 380px; }
  .v2-hero__stats { justify-content: center; }

  .v2-footer__main { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }

  .v2-process__steps { grid-template-columns: repeat(2, 1fr); }
  .v2-cap-grid { grid-template-columns: 1fr; }
  .v2-materials__split { grid-template-columns: 1fr; gap: 1.5px; }
}

@media (max-width: 768px) {
  :root { --space-3xl: 5rem; --space-2xl: 3.5rem; --space-xl: 2.5rem; }

  .v2-nav__links { display: none; }
  .v2-nav__cta { display: none; }
  /* …but keep the CTA visible inside the open mobile menu (it reuses .v2-nav__cta) */
  .v2-nav__mobile-menu .v2-nav__cta { display: block; }
  .v2-nav__mobile-toggle { display: flex; }

  .v2-orb-panel { max-width: 320px; }
  .v2-orb-wrap { width: 150px; height: 150px; }

  .v2-process__steps { grid-template-columns: 1fr; }
  .v2-process__track { padding-left: 0; }
  .v2-process__line { display: none; }

  .v2-materials__split { border-radius: var(--radius-lg); }
  .v2-mat-panel { padding: 2rem 1.5rem; }

  .v2-cta-band__inner {
    flex-direction: column;
    padding: 2.5rem 2rem;
    text-align: center;
  }
  .v2-cta-band__action { align-items: center; }

  .v2-footer__main { grid-template-columns: 1fr; gap: var(--space-lg); }
  .v2-footer__bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

  .v2-certs__inner { flex-direction: column; align-items: flex-start; }

  .v2-editorial__giant { font-size: clamp(7rem, 28vw, 12rem); }
}

@media (max-width: 480px) {
  :root { --space-xl: 2rem; }
  .container { padding: 0 var(--space-sm); }
  .v2-nav { width: calc(100% - 2rem); }
  .v2-orb-panel { max-width: 280px; }
  .v2-orb-wrap { width: 120px; height: 120px; }
  .v2-hero__stats { gap: var(--space-md); }
  .v2-hero__stat-num { font-size: var(--text-xl); }
  .v2-cap-grid { gap: 1rem; }
  .v2-certs__list { gap: 0.6rem; }
}

/* ═══════════════════════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  /* Freeze all CSS animations and transitions */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* Force visible final states for hero reveals */
  .hero-fade, .hero-fade-orb { opacity: 1 !important; transform: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  /* Freeze orb */
  .v2-orb { animation: none !important; }
  .v2-orb::after { animation: none !important; }
  .v2-orb-ring { animation: none !important; opacity: 0.3 !important; }
}

/* ─── Display weighting (IBM Plex Sans Condensed) ─────────────────
   Plex Sans Condensed carries the headlines, so display text
   takes an explicit heavy weight. Uppercase + tighter tracking keeps
   the confident, engineered industrial character. */
.v2-nav__logo-mark,
.v2-hero__headline,
.v2-section-title,
.v2-mat-name,
.v2-editorial__giant,
.v2-editorial__statement,
.v2-cta-band__headline,
.v2-footer__brand-name {
  font-weight: var(--wt-display);
  text-transform: uppercase;
}
.v2-hero__headline { letter-spacing: 0.005em; line-height: 0.95; }
.v2-editorial__giant { font-weight: 700; letter-spacing: -0.02em; }
.v2-section-title { letter-spacing: 0.01em; }

/* ─── Menu text (IBM Plex Sans Condensed) ────────────────────────
   Nav text uses the condensed cut for a compact, technical menu; the
   site pairs Plex Sans Condensed display + Plex Sans body + Plex Mono labels. */
.v2-nav__link,
.v2-nav__cta,
.v2-nav__mobile-menu a,
.v2-nav__logo-sub {
  font-family: var(--font-nav);
}
.v2-nav__link { letter-spacing: 0.04em; font-weight: 500; }
.v2-nav__cta  { letter-spacing: 0.03em; font-weight: 600; }
