/* ============================================================
   CRYOFLUX TECHNOLOGIES — v3 DESIGN SYSTEM
   Clean Room Cathedral — Asset-First — Loop Aura Animation
   June 2026
   ============================================================ */

:root {
  --cryo-blue: #0082b4;
  --cryo-blue-bright: #00b4e6;
  --cryo-green: #3a9e28;
  --cryo-green-bright: #58c63a;
  --cold-gold: #b8962e;
  --flame: #cc3300;

  --white: #ffffff;
  --bg: #ffffff;
  --off-white: #f8f9fb;
  --surface: #f2f5f8;
  --rule: rgba(0,120,170,0.1);
  --rule-mid: rgba(0,120,170,0.15);

  --text-primary: #18253a;
  --text-secondary: #3a4d62;
  --text-muted: #7a8fa8;
  --text-ghost: rgba(0,100,160,0.18);

  --aura-blue: rgba(0,180,230,0.07);
  --aura-blue-mid: rgba(0,180,230,0.04);

  --font-serif: 'Cormorant Garamond', serif;
  --font-hero: 'Playfair Display', serif;
  --font-body: 'Rajdhani', sans-serif;
  --font-display: 'Orbitron', monospace;

  --nav-h: 68px;
  --max-w: 1280px;
  --pad: 64px;
  --pad-sm: 32px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  background: var(--white);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rule);
  z-index: 200;
  transition: box-shadow 0.3s;
}
.site-nav.scrolled { box-shadow: 0 2px 20px rgba(0,100,160,0.06); }
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-emblem { width: 38px; height: 38px; object-fit: contain; }
.nav-identity { display: flex; flex-direction: column; gap: 1px; }
.nav-wordmark { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: 1px; line-height: 1; }
.nc { color: var(--cryo-blue); }
.nf { color: var(--cryo-green); }
.nav-sub { font-family: var(--font-body); font-size: 8px; letter-spacing: 5px; color: var(--text-muted); text-transform: uppercase; }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--cryo-blue);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-links a:hover { color: var(--cryo-blue); }
.nav-links a:hover::after { transform: scaleX(1); }
/* ── DROPDOWN TRIGGER -- matches nav-links a styling ── */
.nav-links .nav-dropdown-trigger {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav-links .nav-dropdown:hover .nav-dropdown-trigger { color: var(--cryo-blue); }

/* ── DROPDOWN PANEL -- light theme, gap bridge fix ── */
.nav-dropdown {
  position: relative;
}
/* Invisible bridge fills the gap so mouse can travel to menu without losing hover */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 18px;
  background: transparent;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff !important;
  border: 1px solid rgba(0,130,180,0.25) !important;
  border-radius: 3px;
  min-width: 210px;
  padding: 8px 0;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,82,140,0.10) !important;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block !important;
  padding: 10px 20px !important;
  font-family: var(--font-body) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  color: var(--text-muted) !important;

  border-bottom: none !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}
.nav-dropdown-menu a:hover {
  color: var(--cryo-blue) !important;
  background: rgba(0,130,180,0.04) !important;
}
.nav-dropdown-sub {
  font-family: var(--font-body) !important;
  font-size: 8px !important;
  letter-spacing: 3px !important;
  font-weight: 600 !important;
  opacity: 0.4 !important;
  padding: 8px 20px 3px !important;
  text-transform: uppercase;
  pointer-events: none;
  display: block;
  color: var(--text-muted) !important;
}
.nav-dropdown-divider { height: 1px; background: rgba(0,130,180,0.12); margin: 4px 0; }

.nav-mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-mobile-toggle span { display: block; width: 22px; height: 1.5px; background: var(--text-primary); transition: all 0.2s; }

/* Mobile nav drawer */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  width: 100vw;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rule);
  z-index: 199;
  padding: 24px 20px;
  flex-direction: column;
  gap: 0;
  box-sizing: border-box;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s;
  width: 100%;
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover { color: var(--cryo-blue); }
/* Investors beacon in mobile drawer */
.nav-mobile-menu .nav-investors-beacon {
  display: block !important;
  font-family: 'Orbitron', sans-serif !important;
  font-size: 0.62rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  color: #0082b4 !important;
  border: 1px solid rgba(0,130,180,0.5) !important;
  border-radius: 3px !important;
  padding: 12px 16px !important;
  margin-top: 8px !important;
  text-align: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ============================================================
   LOOP AURA ANIMATION
   ============================================================ */
.aura-text { position: relative; }
.aura-pass {
  position: absolute;
  top: -40px; bottom: -40px;
  width: 220px;
  background: radial-gradient(
    ellipse 110px 80px at center,
    rgba(0,180,230,0.09) 0%,
    rgba(0,180,230,0.05) 40%,
    rgba(88,198,58,0.03) 70%,
    transparent 100%
  );
  pointer-events: none;
  border-radius: 50%;
  left: -110px;
  animation: none;
  opacity: 0;
}
.aura-pass.active {
  animation: aura-travel 4.5s ease-in-out forwards;
}
@keyframes aura-travel {
  0% { left: -15%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: 105%; opacity: 0; }
}

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.s-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: var(--white);
  overflow: hidden;
}

.hero-asset-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-asset {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  opacity: 0.88;
}
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: calc(var(--nav-h) + 6vh);
  pointer-events: none;
}
.hero-tag {
  position: absolute;
  z-index: 3;
  top: calc(var(--nav-h) + 16px);
  left: 4%;
  font-family: var(--font-display);
  font-size: clamp(8px, 0.85vw, 11px);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cryo-blue);
  background: rgba(255,255,255,0.32);
  border: 1px solid rgba(0,130,180,0.55);
  padding: 7px 16px;

  pointer-events: auto;
}
.hero-headline {
  z-index: 3;
  text-align: center;
  width: 100%;
  max-width: var(--max-w);
  padding: 0 var(--pad);
  margin-bottom: 1.2vw;
  position: relative;
  left: -5%;
}
.hh-all {
  font-family: var(--font-hero);
  font-size: clamp(20px, 2.8vw, 48px);
  font-weight: 700;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  display: block;

  text-shadow: 0 1px 8px rgba(255,255,255,0.85);
}

/* ── HERO HEADLINE SPANS -- three-line variant ── */
.hh-plain {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.0;
  color: var(--text-primary);
  display: block;
  margin-bottom: 8px;
  text-shadow: 0 1px 8px rgba(255,255,255,0.85);
}
.hh-stra {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.6vw, 22px);
  font-weight: 700;
  color: var(--cryo-blue);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.4;
  display: block;
  margin-bottom: 8px;
  margin-left: 0.15%;
  text-shadow: 0 1px 8px rgba(255,255,255,0.85);
}
.hh-close {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.0;
  color: var(--text-primary);
  display: block;
  text-shadow: 0 1px 8px rgba(255,255,255,0.85);
}
.thermal-fire {
  color: var(--cryo-green) !important;
  font-style: italic;
}
.hero-tagline {
  position: absolute;
  top: 66vh;
  left: -4%;
  right: 4%;
  z-index: 3;
  font-family: var(--font-hero);
  font-size: clamp(16px, 1.9vw, 28px);
  font-weight: 700;
  font-style: italic;
  color: var(--cryo-blue);
  background: transparent;

  line-height: 1.6;
  text-align: center;
  text-shadow: 0 1px 8px rgba(255,255,255,0.85);
  width: 100%;
  padding: 0 var(--pad);
}
.hero-nav-hint {
  position: absolute;
  z-index: 3;
  bottom: 6%;
  left: 4%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.hero-nav-hint span {
  font-family: var(--font-display);
  font-size: clamp(10px, 1vw, 13px);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cryo-blue);
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(255,255,255,0.9);
}
.hint-chevron {
  width: 16px; height: 16px;
  border-right: 2px solid var(--cryo-green);
  border-bottom: 2px solid var(--cryo-green);
  transform: rotate(45deg);
  animation: chevron-bob 1.8s ease-in-out infinite;
  margin-left: 2px;
}
@keyframes chevron-bob {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.6; }
  50% { transform: rotate(45deg) translateY(7px); opacity: 1; }
}

/* ============================================================
   SECTION 2 — GOVERNING SIGNAL
   ============================================================ */
.s-signal {
  background: var(--off-white);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 64px var(--pad);
}
.signal-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.signal-rule {
  flex-shrink: 0;
  width: 56px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cryo-blue));
}
.signal-rule--right {
  background: linear-gradient(90deg, var(--cryo-blue), transparent);
}
.signal-text {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.75;
  color: var(--text-secondary);
  text-align: center;
}
.signal-text em { font-style: italic; color: var(--cryo-blue); }

/* ============================================================
   SECTION 3 — FOUNDING DOCTRINE
   ============================================================ */
.s-doctrine {
  background: var(--white);
  padding: 120px var(--pad) 160px;
  position: relative;
}
.s-doctrine::after {
  content: '';
  position: absolute;
  bottom: 0; left: var(--pad); right: var(--pad);
  height: 1px;
  background: var(--rule);
}
.doctrine-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 80px;
  align-items: start;
}
.doctrine-aside {
  position: sticky;
  top: calc(var(--nav-h) + 48px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.aside-eyebrow {
  font-family: var(--font-display);
  font-size: clamp(10px, 1vw, 13px);
  letter-spacing: 5px;
  color: var(--cryo-blue);
  line-height: 1.8;
  font-weight: 700;
}
.aside-rule {
  width: 2px; height: 80px;
  background: linear-gradient(180deg, var(--cryo-blue), transparent);
}
.aside-emblem {
  width: 80px; height: 80px;
  object-fit: contain;
  opacity: 0.65;
}
.doctrine-body p {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.doctrine-pivot {
  font-size: clamp(22px, 2.4vw, 30px) !important;
  font-style: italic;
  color: var(--cryo-blue) !important;
  font-weight: 500;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 0 0 32px !important;
}
.doctrine-ethic {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 36px;
  border-left: 4px solid var(--cold-gold);
  background: var(--off-white);
  margin-top: 0;
  margin-bottom: 32px;
}
.ethic-main {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: 2px;
  color: var(--cryo-blue);
  font-weight: 700;
}
.ethic-label {
  font-family: var(--font-body);
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ============================================================
   SECTION 4 — FRONTIER / HOTSPOTS
   ============================================================ */
.s-frontier {
  position: relative;
  background: var(--white);
  overflow: hidden;
  border-top: 1px solid var(--rule);
}
.frontier-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 100px var(--pad) 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.frontier-asset-frame {
  width: 100%;
  margin: 0;
  padding: 0;
}
.frontier-asset {
  width: 100%;
  height: auto;
  display: block;
}
.fc-eyebrow {
  font-family: var(--font-display);
  font-size: clamp(11px, 1.1vw, 14px);
  letter-spacing: 4px;
  color: var(--cryo-green);
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.fc-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  margin-bottom: 24px;
}
.fc-sub {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.8vw, 21px);
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}
.fc-divider {
  width: 48px;
  height: 2px;
  background: var(--cryo-blue);
  opacity: 0.3;
  margin-bottom: 36px;
}
.fc-body {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 680px;
}
.fc-distinction {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.9vw, 22px);
  font-style: italic;
  color: var(--text-primary);
  font-weight: 500;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 16px 0 32px;
  max-width: 680px;
  line-height: 1.65;
}
.fc-close {
  font-family: var(--font-display);
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 3px;
  color: var(--cryo-blue);
  text-transform: uppercase;
  font-weight: 700;
}

/* ============================================================
   SECTION 5 — FOUNDING MYTH
   ============================================================ */
.s-myth {
  background: var(--off-white);
  overflow: hidden;
}
.myth-hero-frame {
  position: relative;
  width: 100%;
}
.myth-asset { width: 100%; height: auto; display: block; }
.myth-hero-overlay {
  position: absolute;
  top: 55%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 var(--pad);
  pointer-events: none;
}
.myth-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px var(--pad) 72px;
}
.myth-eyebrow {
  font-family: var(--font-display);
  font-size: clamp(11px, 1.1vw, 14px);
  letter-spacing: 4px;
  color: var(--cold-gold);
  font-weight: 700;
  margin-bottom: 14px;
}
.myth-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 48px;
  line-height: 1.05;
  text-shadow: 0 1px 12px rgba(255,255,255,0.9);
}
.myth-body { max-width: 680px; margin-bottom: 56px; }
.myth-body p {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.myth-close {
  font-family: var(--font-serif) !important;
  font-size: clamp(18px, 2vw, 24px) !important;
  font-style: italic !important;
  font-weight: 500 !important;
  color: var(--cryo-blue) !important;
  line-height: 1.7;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.myth-trail {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 560px;
}
.mt-stop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.mt-stop span {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);

}
.mt-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
}
.mt-known .mt-dot { background: var(--cryo-blue); }
.mt-known span { color: var(--cryo-blue); }
.mt-beyond .mt-dot { background: var(--cryo-green); }
.mt-beyond span { color: var(--cryo-green); }
.mt-dot--pulse { animation: dot-pulse 2.5s ease-in-out infinite; }
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(58,158,40,0.35); }
  50% { box-shadow: 0 0 0 5px rgba(58,158,40,0); }
}
.mt-line {
  flex: 1;
  height: 1px;
  background: var(--rule-mid);
  margin-bottom: 20px;
}
.mt-line--dashed {
  background: none;
  border-top: 1px dashed rgba(0,120,170,0.15);
}

/* ============================================================
   SECTION 6 — KNOWN PATHWAYS
   ============================================================ */
.s-pathways {
  background: var(--white);
  border-top: 1px solid var(--rule);
  overflow: hidden;
}
.pathways-asset-frame { width: 100%; }
.pathways-asset { width: 100%; height: auto; display: block; }
.pathways-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px var(--pad);
}
.pathways-section-eyebrow {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--cryo-green);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.pathways-section-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 28px;
  line-height: 1.05;
}
.pw-intro {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 20px;
}
.pw-sub {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.8vw, 21px);
  font-style: italic;
  color: var(--cryo-green);
  margin-bottom: 52px;
}
.pw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-bottom: 36px;
}
.pw-card {
  background: var(--white);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.pw-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--cryo-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.pw-card:hover { background: var(--off-white); }
.pw-card:hover::after { transform: scaleX(1); }
.pw-card--space::after { background: var(--cryo-green); }
.pw-card--space .pw-num { color: var(--cryo-green); }
.pw-num {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 300;
  color: var(--cryo-blue);
  opacity: 0.5;
  line-height: 1;
}
.pw-name {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.3;
}
.pw-note {
  font-family: var(--font-serif);
  font-size: 17px;
  font-style: italic;
  color: var(--text-muted);
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

/* ============================================================
   SECTION 7 — EXPLORE
   ============================================================ */
.s-explore {
  background: var(--off-white);
  border-top: 1px solid var(--rule);
  padding: 120px var(--pad);
}
.explore-inner { max-width: var(--max-w); margin: 0 auto; }
.explore-eyebrow {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--cold-gold);
  margin-bottom: 14px;
}
.explore-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}
.explore-lead {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 72px;
}
.explore-doors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.explore-door {
  background: var(--white);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.door-mark {
  width: 32px; height: 3px;
  margin-bottom: 28px;
  flex-shrink: 0;
}
.door-mark--blue { background: var(--cryo-blue); }
.door-mark--gold { background: var(--cold-gold); }
.door-mark--green { background: var(--cryo-green); }
.door-title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.3;
}
.door-body {
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex: 1;
}
.door-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cryo-blue);
  margin-top: 24px;
  transition: color 0.2s;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;

}
.door-link:hover {
  color: var(--cryo-blue-bright);
  border-bottom-color: var(--cryo-blue-bright);
}
.explore-door:nth-child(2) .door-link { color: var(--cold-gold); }
.explore-door:nth-child(2) .door-link:hover { color: #d4b04a; border-bottom-color: #d4b04a; }
.explore-door:nth-child(3) .door-link { color: var(--cryo-green); }
.explore-door:nth-child(3) .door-link:hover { color: var(--cryo-green-bright); border-bottom-color: var(--cryo-green-bright); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--off-white);
  border-top: 1px solid var(--rule);
  padding: 80px var(--pad) 72px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.footer-lockup-img { width: 260px; object-fit: contain; opacity: 0.85; }
/* ── FOOTER DOCTRINE COLUMN ── */
.footer-doctrine p {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 2;
  font-style: italic;
  margin-bottom: 0;
}
.footer-doctrine .fd-arch {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--cryo-blue);
  font-style: normal;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.footer-doctrine .fd-deliver {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 2;
}
.footer-doctrine .fd-govern {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 2;
}
.footer-doctrine .fd-arch2 {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.9;
}

/* ── FOOTER CONTACT COLUMN ── */
.footer-contact p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  line-height: 1.7;
  font-weight: 400;
}
.footer-contact a {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--cryo-blue);
  display: block;
  margin-bottom: 6px;
  font-weight: 400;
}
.footer-url {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-muted);
}
.footer-legal {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 14px;
  font-weight: 400;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root { --pad: var(--pad-sm); }
  .doctrine-inner { grid-template-columns: 1fr; gap: 40px; }
  .doctrine-aside { position: static; flex-direction: row; align-items: center; }
  .aside-rule { width: 32px; height: 1px; background: linear-gradient(90deg, var(--cryo-blue), transparent); }
  .frontier-content { grid-template-columns: 1fr; gap: 32px; }
  .fc-eyebrow { margin-bottom: 0; }
  .pw-grid { grid-template-columns: repeat(2, 1fr); }
  .explore-doors { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .nav-links { display: none; }
  .nav-mobile-toggle {
    display: flex !important;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    z-index: 210;
  }
  .nav-mobile-toggle span {
    display: block !important;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
  }
  .signal-inner { flex-direction: column; gap: 16px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 680px)
   ============================================================ */
@media (max-width: 680px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  * { max-width: 100%; }
  :root {
    --pad: 20px;
    --nav-h: 60px;
  }

  /* Nav */
  .nav-inner { padding: 0 20px; }
  .nav-wordmark { font-size: 15px; }
  .nav-sub { font-size: 7px; letter-spacing: 3px; }
  .nav-emblem { width: 32px; height: 32px; }

  /* Hero */
  .hero-tag {
    top: 4%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 7px;
    letter-spacing: 1.5px;
    padding: 5px 10px;
  
  }
  .hh-all {
    font-size: clamp(16px, 5vw, 26px);
    font-weight: 700;
  
    letter-spacing: 0;
    text-shadow: 0 1px 6px rgba(255,255,255,0.9), 0 0 12px rgba(255,255,255,0.7);
  }
  .hero-headline {
    left: 0;
    padding: 0 16px;
  }
  .hero-content {
    padding-top: calc(var(--nav-h) + 4vh);
  }
  .hero-tagline {
    font-size: clamp(12px, 3.2vw, 15px);
    font-weight: 900;
  
    text-shadow: 0 1px 6px rgba(255,255,255,0.9), 0 0 12px rgba(255,255,255,0.7);
    top: 43vh;
    left: 0;
    right: 0;
    padding: 0 16px;
  }
  .hero-nav-hint { display: none; }

  /* Signal */
  .s-signal { padding: 48px 20px; }
  .signal-rule, .signal-rule--right { display: none; }
  .signal-text { font-size: 16px; }

  /* Doctrine */
  .s-doctrine { padding: 64px 20px; }
  .doctrine-aside { gap: 12px; }
  .aside-emblem { width: 40px; height: 40px; }
  .doctrine-body p { font-size: 17px; }
  .doctrine-ethic { padding: 20px; }

  /* Frontier */
  .frontier-content { padding: 48px 20px; gap: 24px; }
  .fc-eyebrow { margin-bottom: 0; }

  /* Myth */
  .myth-content { padding: 48px 20px; }
  .myth-title { margin-bottom: 32px; }
  .myth-body { margin-bottom: 36px; }
  .myth-trail { max-width: 100%; }

  /* Pathways */
  .pathways-content { padding: 48px 20px; }
  .pw-grid { grid-template-columns: 1fr 1fr; }
  .pw-card { padding: 20px 16px; }
  .pw-name { font-size: 11px; }

  /* Explore */
  .s-explore { padding: 64px 20px; }
  .explore-lead { margin-bottom: 40px; }
  .explore-door { padding: 32px 24px; }

  /* Footer */
  .site-footer { padding: 56px 20px; }
  .footer-lockup-img { width: 160px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .aura-pass { display: none; }
}

/* ============================================================
   AURA ANIMATIONS v2
   ============================================================ */
@keyframes tag-breathe {
  0%, 100% { opacity: 0.5; transform: scale(0.97); }
  50% { opacity: 1; transform: scale(1.03); }
}
@keyframes aura-travel {
  0%   { left: -15%; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { left: 105%; opacity: 0; }
}

/* ============================================================
   MOBILE ASSET SWAPS
   ============================================================ */
@media (max-width: 680px) {

  .hero-asset {
    content: url('../images/asset-01-hero-mobile.png');
  }

  .frontier-asset {
    content: url('../images/thermal_bleed-asset-rev_A.png');
  }

  .myth-asset {
    content: url('../images/asset-03-myth-mobile.png');
  }

  .pathways-asset {
    content: url('../images/asset-04-pathways-mobile.png');
  }

}

/* ============================================================
   SECTION 2B — THE PORTFOLIO
   ============================================================ */
.s-portfolio {
  background: var(--white) !important;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 64px var(--pad) 0;
  position: relative;
  z-index: 1;
}
.portfolio-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.portfolio-asset-frame {
  width: 100%;
  overflow: visible;
}
.portfolio-asset {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.portfolio-caption {
  width: 100%;
  padding: 28px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--rule);
}
.pc-eyebrow {
  font-family: 'Orbitron', monospace !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--cryo-blue);
  text-transform: uppercase;
}
.pc-line {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: center;
  margin: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .s-portfolio {
    padding: 48px var(--pad) 0;
  }
  .portfolio-caption {
    padding: 20px 0 32px;
  }
}
