/* ============================================================
   MARTENSITE VENTURES — PREMIUM DESIGN SYSTEM
   ============================================================ */

/* hero-detail: secondary body paragraphs in the hero */
/* section-card-copy-spaced: spacing modifier for perspective cards */
/* These classes are used in the HTML and defined in their relevant sections below. */

/* --- TOKENS --- */
:root {
  --bg: #080E17;
  --bg-2: #0C1521;
  --bg-3: #101D2E;
  --panel: rgba(16, 29, 46, 0.72);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text: #E8EFF6;
  --muted: #7E97AD;
  --faint: rgba(230, 239, 246, 0.4);
  --accent: #2ED47A;
  /* Original Green */
  --accent-dim: rgba(46, 212, 122, 0.12);
  --accent-glow: rgba(46, 212, 122, 0.25);
  --accent-hover: #25BA69;
  --blue: #4B8CF5;
  --border: rgba(37, 186, 105, 0.25);
  /* Green border */
  --shadow-sm: 0 4px 24px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 12px 48px rgba(0, 0, 0, 0.36);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.48);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --nav-h: 72px;
  --max: 1300px;
  --gutter: clamp(16px, 4vw, 120px);
  --sp-xs: clamp(24px, 4vw, 48px);
  --sp-sm: clamp(48px, 6vw, 80px);
  --sp-md: clamp(64px, 8vw, 100px);
  --sp-lg: clamp(80px, 10vw, 128px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', -apple-system, blinkmacsystemfont, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

h1,
h2,
h3,
h4 {
  font-family: 'Instrument Serif', serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--accent);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* --- LAYOUT --- */
.wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.page-shell {
  padding-top: var(--nav-h);
}

/* ============================================================
   NOISE + GRADIENT BACKGROUND
   ============================================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% -10%, rgba(46, 212, 122, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at -10% 80%, rgba(75, 140, 245, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   NAVIGATION — DARK GLASSMORPHIC
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-h);
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav.scrolled {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-inner {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #0c1521;
  letter-spacing: -0.01em;
}

.brand img {
  height: clamp(48px, 6vw, 56px);
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}

.nav-links a {
  color: #0c1521;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
  opacity: 0.8;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  opacity: 1;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: #0C1521;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1.5px solid rgba(11, 26, 43, 0.12);
  transition: all 0.2s;
  flex: 0 0 auto;
}

.nav-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* Hamburger */
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(11, 26, 43, 0.14);
  border-radius: 50%;
  background: rgba(11, 26, 43, 0.03);
  color: #0B1A2B;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  transition: all 0.2s;
  cursor: pointer;
  z-index: 101;
}

.menu-btn:hover {
  background: rgba(11, 26, 43, 0.07);
  border-color: var(--accent);
}

.nav.nav--open .menu-btn {
  background: #000;
  color: #fff;
  border-color: #000;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform 0.3s ease;
}

.menu-btn span::before,
.menu-btn span::after {
  content: '';
  position: absolute;
  left: 0;
}

.menu-btn span::before {
  top: -6px;
}

.menu-btn span::after {
  top: 6px;
}

.nav.nav--open .menu-btn span {
  background: transparent;
}

.nav.nav--open .menu-btn span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav.nav--open .menu-btn span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Panel */
.mobile-panel {
  position: fixed;
  top: 0;
  right: -100%;
  bottom: 0;
  width: 300px;
  background: #0a0c10;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
  padding: 100px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99;
  transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-panel.open {
  right: 0;
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  z-index: 98;
  transition: opacity 0.4s;
}

.mobile-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  transition: color 0.2s;
}

.mobile-panel a:hover {
  color: var(--accent);
}

.mobile-panel a::after {
  content: '→';
  color: var(--accent);
  opacity: 0.5;
  transition: transform 0.2s, opacity 0.2s;
}

.mobile-panel a:hover::after {
  transform: translateX(8px);
  opacity: 1;
}


/* ============================================================
   EYEBROW LABEL
   ============================================================ */
.eyebrow {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: calc(100svh - var(--nav-h));
  padding: clamp(60px, 8vw, 100px) 0 clamp(60px, 8vw, 80px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* subtle grid pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black, transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 680px;
}

.hero-copy .eyebrow {
  margin-bottom: 24px;
}

.hero-copy h1 {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, #6EE7B7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-copy .lead {
  margin-top: 32px;
  color: var(--text);
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.45;
  max-width: 52ch;
  font-weight: 500;
}

.typing-active::after {
  content: '|';
  color: var(--accent);
  margin-left: 4px;
  animation: blink 0.8s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-copy .hero-detail {
  margin-top: 24px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
  max-width: 52ch;
}

.hero-copy strong {
  color: var(--text);
  font-weight: 600;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #06100D;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid var(--accent);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* Atom visual */
.science-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(380px, 42vw, 620px);
  background:
    radial-gradient(circle at center, rgba(46, 212, 122, 0.1) 0%, transparent 60%);
    width: 100%;
    padding: 2rem 0;
    min-height: 280px;
}

.visual-atomic {
  position: relative;
  /* Make the width more fluid for mobile screens */
  width: 100%;
  max-width: clamp(240px, 80vw, 520px);
  margin: 0 auto; /* Ensures it stays centered */
  aspect-ratio: 1/1;
  filter: drop-shadow(0 0 48px rgba(46, 212, 122, 0.18));
  perspective: 1400px;
  transform-style: preserve-3d;
  transform: rotateX(var(--atom-rot-x, 66deg)) rotateY(var(--atom-rot-y, -8deg)) rotateZ(var(--atom-rot-z, 0deg));
}

.visual-atomic::before,
.visual-atomic::after {
  content: '';
  position: absolute;
  inset: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(46, 212, 122, 0.1);
}

.visual-atomic::before {
  width: 68%;
  height: 68%;
}

.visual-atomic::after {
  width: 90%;
  height: 90%;
  border-color: rgba(46, 212, 122, 0.06);
}

.rutherford-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
  border: 1px solid rgba(46, 212, 122, 0.2);
  opacity: 0.8;
  pointer-events: none;
}

.rutherford-orbit::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(46, 212, 122, 0.1);
  box-shadow: 0 0 14px rgba(46, 212, 122, 0.2);
  transform: translate(-50%, -50%);
}

.rutherford-track {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(46, 212, 122, 0.14);
  opacity: 0.5;
}

.rutherford-electron {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f0fdf4 0%, #bbf7d0 24%, #22c55e 68%, #16a34a 100%);
  box-shadow: 0 0 12px rgba(46, 212, 122, 0.9), 0 0 24px rgba(46, 212, 122, 0.3);
  will-change: transform;
}

.rutherford-electron::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(46, 212, 122, 0.4), transparent 70%);
  filter: blur(3px);
}

.core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(26px, 5vw, 42px);
  height: clamp(26px, 5vw, 42px);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 35%, #f0fdf4 0%, #bbf7d0 16%, #4ade80 42%, #16a34a 72%, #14532d 100%);
  box-shadow: 0 0 28px rgba(46, 212, 122, 0.6), 0 0 80px rgba(46, 212, 122, 0.2);
  animation: nucleus-pulse 4s ease-in-out infinite;
}

.core::before {
  content: '';
  position: absolute;
  inset: -60%;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(46, 212, 122, 0.3), transparent 70%);
  filter: blur(12px);
  animation: nucleus-halo 4s ease-in-out infinite;
}

@keyframes nucleus-pulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes nucleus-halo {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.96);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.06);
  }
}

@keyframes atomic-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.018);
  padding: clamp(36px, 5vw, 56px) 0;
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.stat-item {
  padding: 20px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.stat-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-item+.stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.stat-number {
  font-family: 'Instrument Serif', serif;
  font-size: 72px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--accent);
  line-height: 1;
}

.stat-number sup {
  font-size: 0.45em;
  vertical-align: super;
  letter-spacing: 0;
  font-weight: 600;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-sub {
  font-size: 12px;
  color: var(--faint);
  max-width: 18ch;
  text-align: center;
  line-height: 1.4;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: var(--sp-md) 0;
  position: relative;
}

.section+.section {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
  margin-bottom: 56px;
}

.section h2 {
  margin-top: 14px;
  max-width: 18ch;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  color: #ffffff;
  /* White for better TCV look on dark */
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.section-copy {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.75;
  max-width: 60ch;
}

/* Pull-quote */
.quote {
  margin-top: 48px;
  padding: 24px 28px;
  border-left: 3px solid var(--accent);
  background: var(--accent-dim);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text);
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.65;
  font-style: italic;
}

.quote strong {
  color: var(--accent);
  font-style: normal;
}

/* ============================================================
   CARDS (GLASSMORPHIC)
   ============================================================ */
.card {
  padding: clamp(24px, 2.5vw, 36px);
  border-radius: 12px;
  background: #0a0c10;
  border: 1px solid rgba(37, 186, 105, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(46, 212, 122, 0.1);
}

.card h3 {
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 12px;
  color: var(--text);
}

.card p,
.card li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.card ul {
  margin-top: 14px;
  padding-left: 0;
}

.card ul li {
  position: relative;
  padding-left: 18px;
  margin-top: 10px;
}

.card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

/* ============================================================
   WHAT WE BACK GRID
   ============================================================ */
.what-we-back-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: 48px;
}

.what-we-back-card {
  position: relative;
  padding: clamp(20px, 3vw, 40px);
  border-radius: 12px;
  background: #0a0c10;
  border: 1px solid rgba(37, 186, 105, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  min-height: clamp(380px, 50vh, 520px); /* Fluid height */
  height: 100%;
}

.what-we-back-card p:last-child {
  margin-top: auto;
}

.what-we-back-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(46, 212, 122, 0.1);
}

.what-we-back-card-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(46, 212, 122, 0.2);
  background: rgba(46, 212, 122, 0.08);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.what-we-back-card h3 {
  font-size: clamp(17px, 1.8vw, 20px);
  margin-bottom: 20px;
  color: var(--text);
  max-width: 18ch;
}

.what-we-back-card--support h3 {
  max-width: none;
  margin-bottom: 4px;
}

.what-we-back-card p:last-child {
  margin-top: auto;
  padding-top: 24px;
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  border-top: 1px solid var(--border);
  min-height: clamp(64px, 8vw, 92px); /* Responsive footer height */
  display: flex;
  align-items: center;
}

/* Bullet reveal list */
.bullet-reveal-list {
  padding: 0;
}

.bullet-reveal-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 1.5s ease, transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--bullet-delay, 0ms);
}

.bullet-reveal-list li+li {
  margin-top: 12px;
}

.bullet-reveal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 1px;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--bullet-delay, 0ms);
}

.bullet-card.is-visible .bullet-reveal-list li {
  opacity: 1;
  transform: translateX(0);
}

.bullet-card.is-visible .bullet-reveal-list li::before {
  transform: scaleX(1);
}

.slide-up-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.5s ease, transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.slide-up-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   PORTFOLIO CARDS
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: 48px;
  align-items: stretch;
}

.portfolio-card {
  padding: clamp(24px, 2.5vw, 36px);
  border-radius: 12px;
  background: #0a0c10;
  border: 1px solid rgba(37, 186, 105, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(46, 212, 122, 0.1);
}

.portfolio-card .meta {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.portfolio-card .meta::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.portfolio-card strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--text);
  font-weight: 600;
  line-height: 1.35;
  display: block;
}

.portfolio-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-top: 14px;
}

/* ============================================================
   PERSPECTIVE SECTION CARDS
   ============================================================ */
.section-card {
  margin-top: 24px;
  padding: clamp(32px, 4vw, 48px);
  border-radius: 12px;
  background: #0a0c10;
  border: 1px solid rgba(37, 186, 105, 0.25);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.section-card-copy {
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.75;
}

.section-card-copy+.section-card-copy {
  margin-top: 18px;
}

.section-card-copy-spaced {
  margin-top: 18px;
}

.section-card-copy strong {
  color: var(--text);
  font-weight: 600;
}

/* ============================================================
   ABOUT GRID
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
  margin-top: 48px;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
  margin-top: 56px;
}

#contact h2 {
  font-size: clamp(34px, 4.5vw, 64px);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.15); /* Transparent/Faded text */
  margin-bottom: 40px;
  letter-spacing: -0.02em;
  max-width: 44ch;
}

.highlight-line {
  display: inline;
  background-image: linear-gradient(#1B754E, #1B754E); /* Deeper Emerald Green */
  background-repeat: no-repeat;
  background-size: 0% 0.22em; /* Proportional thickness to font size */
  background-position: 0 92%;
  transition: background-size 3.5s cubic-bezier(0.25, 0.1, 0.25, 1), color 2s ease;
  transition-delay: 0s !important; /* Instant reset when scrolling away */
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 4px;
}

#contact h2.is-visible .highlight-line {
  background-size: 100% 0.22em;
  color: #ffffff;
  transition-delay: var(--d, 0s) !important; /* Staggered reveal based on --d */
}

.contact-info {
  position: sticky;
  top: 100px;
}

.contact-form {
  border: 1px solid var(--accent);
  padding: clamp(32px, 5vw, 64px);
  border-radius: 12px;
  background: #0a0c10;
  /* Solid dark background */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.contact-form h3 {
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    
  .hero-grid {
    display: flex;
    flex-direction: column-reverse; /* Puts the visual above or below the text */
    gap: 2rem; /* Add some breathing room */
  
  }
}

  .contact-info {
    position: static;
  }
}

.contact-info p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
  border: 1px solid rgba(46, 212, 122, 0.22);
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.2s;
}

.contact-email-link:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
}

.contact-email-link svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

/* Form */
.contact-form {
  padding: clamp(28px, 3vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
}

.contact-form h3 {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(37, 186, 105, 0.15);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  padding: 12px 16px;
  outline: none;
  transition: all 0.3s ease;
  width: 100%;
  resize: none;
  appearance: none;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2325BA69' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  background: rgba(37, 186, 105, 0.05);
  box-shadow: 0 0 15px rgba(37, 186, 105, 0.1);
}

.form-group select option {
  background: #111;
  color: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--faint);
}

.form-group textarea {
  min-height: 120px;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 32px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #06100D;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.form-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.form-note {
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--faint);
}

/* legacy contact card compat */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  transition: border-color 0.2s, color 0.2s;
}

.cta:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-note {
  margin-top: 16px !important;
  color: var(--muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: clamp(56px, 7vw, 96px) 0 clamp(32px, 4vw, 48px);
  color: var(--muted);
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(46, 212, 122, 0.04), transparent);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}

.footer-brand img {
  height: 36px;
  width: auto;
  object-fit: contain;
  border-radius: 0;
}

.footer-copy {
  font-size: 18px;
  line-height: 1.7;
  max-width: 34ch;
}

.eyebrow {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 24px;
}

h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(52px, 8vw, 92px);
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}

h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(38px, 6vw, 60px);
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  font-weight: 800;
}

h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(24px, 2.5vw, 32px);
  letter-spacing: -0.04em;
  font-weight: 800;
}

.lead {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(24px, 3.2vw, 40px);
  letter-spacing: -0.01em;
  color: var(--accent);
  line-height: 1.25;
  margin-bottom: 48px;
  font-weight: 500;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.footer-links {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  font-size: 17px;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.footer-contact-val {
  color: var(--muted);
  font-size: 17px;
  margin-top: 4px;
  transition: color 0.2s;
}

.footer-contact-val:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: clamp(20px, 3vw, 28px);
  font-size: 14px;
  color: var(--faint);
}

.footer-bottom a {
  color: var(--faint);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--accent);
}

.footer-mark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--faint);
  font-size: 12px;
}

/* Legacy compat */
.footer-right {
  display: contents;
}

.footer-col {
  min-width: 0;
}

.footer-label--nav {
  padding-left: 0;
}

.footer-label--nav::before {
  display: none;
}

.footer-note {
  display: none;
}

.footer-note-brand {
  display: none;
}

/* ============================================================
   SECTION-CARD (PERSPECTIVE)
   ============================================================ */
.perspective-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.5vw, 28px);
  margin-top: 48px;
}

.hero-tech-sectors {
  color: #ffffff;
  font-weight: 800;
}

/* Fly Carousel */
.fly-carousel-item {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: block;
}
.fly-carousel-item.is-visible {
  opacity: 1;
  transform: translateX(0);
}


/* ============================================================
   SCROLL REVEAL (GENERIC)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.5s ease, transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-d, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

  .bullet-reveal-list li,
  .bullet-reveal-list li::before,
  .slide-up-reveal,
  .reveal,
  .stat-item {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .bullet-reveal-list li::before {
    transform: scaleX(1);
  }
}

/* ============================================================
   RESPONSIVE — TABLET 960px
   ============================================================ */
@media (max-width: 960px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .mobile-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 12px;
    top: calc(var(--nav-h) + 12px);
    width: 280px;
    padding: 24px 20px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(11, 26, 43, 0.1);
    box-shadow: 0 32px 80px rgba(11, 26, 43, 0.15);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.95);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 99;
  }

  .mobile-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .mobile-panel a {
    color: #0C1521;
    font-size: 19px;
    font-weight: 700;
    padding: 16px 0;
    border-top: 1px solid rgba(11, 26, 43, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-panel a:first-child {
    border-top: none;
  }

  .mobile-panel a::after {
    content: '→';
    color: var(--accent);
    opacity: 0.5;
    transition: transform 0.2s;
  }

  .mobile-panel a:hover {
    color: var(--accent);
  }

  .mobile-panel a:hover::after {
    transform: translateX(6px);
    opacity: 1;
  }

  .mobile-backdrop {
    display: block;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0s linear 0.22s;
    z-index: 98;
  }

  .mobile-backdrop.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.22s ease, visibility 0s;
  }

  /* Hero */
  .hero {
    padding-top: 40px;
    padding-bottom: 40px;
    min-height: auto;
    align-items: flex-start;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .science-panel {
    min-height: 300px;
    order: -1;
    /* show atom above copy on tablet */
  }

  .visual-atomic {
    width: min(100%, 340px);
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item+.stat-item::before {
    display: none;
  }

  /* Cards / Grids */
  .what-we-back-grid {
    grid-template-columns: 1fr 1fr;
  }

  .what-we-back-card:last-child {
    grid-column: 1 / -1;
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  /* Perspective */
  .perspective-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE 640px
   ============================================================ */
@media (max-width: 640px) {
  :root {
    --gutter: 16px;
    --nav-h: 60px;
  }

  /* Nav */
  .brand img {
    height: 38px;
  }

  .mobile-panel {
    left: 8px;
    right: 8px;
    top: calc(var(--nav-h) + 6px);
    padding: 14px 16px 18px;
    border-radius: 16px;
  }

  /* Hero */
  .hero {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-copy h1 {
    font-size: clamp(30px, 9.5vw, 40px);
    letter-spacing: -0.025em;
  }

  .hero-copy .lead {
    font-size: 18px;
    line-height: 1.6;
    margin-top: 24px;
    font-weight: 500;
  }

  .hero-copy .hero-detail {
    font-size: 16px;
    line-height: 1.65;
    margin-top: 14px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
  }

  .btn-primary,
  .btn-secondary,
  .cta,
  .form-submit {
    width: 100%;
    justify-content: center;
    height: 50px;
    font-size: 14px;
  }

  .science-panel {
    min-height: 240px;
    order: -1;
  }

  .visual-atomic {
    width: min(100%, 240px);
  }

  /* Stats */
  .stats-bar {
    padding: 28px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .stat-item {
    padding: 16px 12px;
  }

  .stat-number {
    font-size: clamp(26px, 8vw, 38px);
  }

  .stat-label {
    font-size: 11px;
  }

  .stat-sub {
    font-size: 11px;
  }

  /* Sections */
  .section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section h2 {
    font-size: clamp(26px, 8vw, 36px);
    margin-top: 10px;
    font-weight: 800;
  }

  .section-copy {
    font-size: 16px;
    line-height: 1.7;
  }

  /* Cards — force single column */
  .what-we-back-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }

  .what-we-back-card:last-child {
    grid-column: auto;
  }

  .what-we-back-card {
    padding: 22px 18px;
  }

  .what-we-back-card h3 {
    font-size: 16px;
  }

  .bullet-reveal-list li {
    font-size: 14px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }

  .portfolio-card {
    padding: 24px 20px;
  }

  .portfolio-card strong {
    font-size: 17px;
  }

  .portfolio-card p {
    font-size: 15px;
  }

  .about-grid {
    gap: 14px;
    margin-top: 28px;
  }

  .card {
    padding: 24px 20px;
  }

  .card h3 {
    font-size: 19px;
  }

  .card p,
  .card li {
    font-size: 15px;
  }

  /* Perspective */
  .perspective-grid {
    gap: 14px;
    margin-top: 28px;
  }

  .section-card {
    padding: 24px 20px;
  }

  .section-card-copy {
    font-size: 15px;
    line-height: 1.7;
  }

  /* Quote */
  .quote {
    padding: 18px 20px;
    font-size: 15px;
    margin-top: 28px;
  }

  /* Contact */
  .contact-layout {
    gap: 24px;
    margin-top: 32px;
  }

  .contact-info h3 {
    font-size: 18px;
  }

  .contact-info p {
    font-size: 14px;
  }

  .contact-email-link {
    width: 100%;
    justify-content: center;
  }

  .contact-form {
    padding: 22px 18px;
  }

  .contact-form h3 {
    font-size: 17px;
    margin-bottom: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-group {
    margin-bottom: 14px;
  }

  .form-group label {
    font-size: 11px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 14px;
    padding: 11px 14px;
  }

  .form-group textarea {
    min-height: 100px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    font-size: 18px;
  }

  .footer-brand img {
    height: 30px;
  }

  .footer-copy {
    font-size: 15px;
  }

  .footer-col-title {
    font-size: 11px;
  }

  .footer-links a {
    font-size: 15px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    font-size: 13px;
  }

  .footer-mark {
    display: none;
  }

  /* Eyebrow */
  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.18em;
  }
}

/* ============================================================
   RESPONSIVE — SMALL PHONES 480px
   ============================================================ */
@media (max-width: 480px) {
  :root {
    --gutter: 14px;
  }

  .hero-copy h1 {
    font-size: clamp(26px, 10vw, 32px);
  }

  .hero-copy .lead {
    font-size: 14px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-number {
    font-size: clamp(24px, 8vw, 34px);
  }

  .stat-sub {
    display: none;
  }

  /* hide sub-label on tiny screens */

  .section h2 {
    font-size: clamp(22px, 8vw, 28px);
  }

  .what-we-back-card,
  .portfolio-card,
  .card,
  .section-card,
  .contact-form {
    padding: 18px 16px;
  }

  .mobile-panel {
    left: 6px;
    right: 6px;
    border-radius: 14px;
  }
}

/* Extra Responsive for tiny screens */
@media (max-width: 400px) {
  :root {
    --nav-h: 56px;
  }
  .brand img {
    height: 30px;
  }
  .section {
    padding: 32px 0;
  }
  .hero-copy h1 {
    font-size: 32px; /* Slightly larger for impact */
    line-height: 1.1;
  }
  .hero-actions .btn-primary, .hero-actions .cta {
    font-size: 13px;
    height: 48px;
  }
  .footer-links a {
    font-size: 14px;
  }
  .stat-number {
    font-size: 24px;
  }
  /* Hide heavy visuals on tiny mobile to prioritize text */
  /*.visual-atomic {
    display: none;
  }*/
}

/* Landscape Phone Fixes */
@media (max-height: 480px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 40px 0;
  }
  .science-panel {
    display: none;
  }
}


/* Pitch Deck Form Extras */
.file-drop-area {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 1.5px dashed rgba(37, 186, 105, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.01);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.file-drop-area:hover {
  background: rgba(37, 186, 105, 0.04);
  border-color: rgba(37, 186, 105, 0.5);
  transform: translateY(-1px);
}

.file-msg {
  font-size: 13px;
  color: var(--muted);
}

.file-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}