/* ============================================
   MERIDIAN OCEANICS — STYLES
   Color Palette:
   - Alice Blue:    #E2E8F0
   - Flame Orange:  #FF4F00
   - Prussian Blue: #081633
   - Lime Yellow:   #DFFF00
   - Ink Black:     #050E1E
   ============================================ */

:root {
  --platinum: #E2E8F0;
  --cyan: #FF4F00;
  --scarlet: #FF4F00;
  --orange: #FF4F00;
  --navy: #081633;
  --neon: #DFFF00;
  --dark: #050E1E;
  --card-bg: rgba(8, 22, 51, 0.6);
  --glass: rgba(226, 232, 240, 0.05);
  --glass-border: rgba(226, 232, 240, 0.1);
  --font-main: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--dark);
  color: var(--platinum);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--cyan);
  color: var(--dark);
}

/* ---- Cursor Glow ---- */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 79, 0, 0.07) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: opacity 0.3s;
  opacity: 0;
}

body:hover .cursor-glow {
  opacity: 1;
}

/* ---- Announcement Strip ---- */
.announcement-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: 24px;
  cursor: pointer;
  text-decoration: none;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.announcement-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: announcement-scroll 20s linear infinite;
}

.announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #fff;
  text-transform: uppercase;
}

.announcement-item .badge-dot {
  width: 6px;
  height: 6px;
  background: var(--neon);
  border-radius: 50%;
  box-shadow: 0 0 4px var(--neon), 0 0 8px var(--neon);
  animation: twinkle 1.5s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 1; box-shadow: 0 0 4px var(--neon), 0 0 8px var(--neon); }
  50% { opacity: 0.3; box-shadow: 0 0 2px var(--neon); }
}

@keyframes announcement-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

body.light-mode .announcement-strip {
  background: #000;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
  background: rgba(5, 14, 30, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.6rem 2rem;
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 54px;
  filter: none;
  transition: filter 0.3s;
}

.nav.scrolled .logo-img {
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: rgba(5, 14, 30, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width 0.3s;
}

.nav-link:hover {
  color: #050E1E;
}

.nav.scrolled .nav-link {
  color: rgba(226, 232, 240, 0.6);
}

.nav.scrolled .nav-link:hover {
  color: var(--platinum);
}

.nav.scrolled .toggle-btn {
  background: var(--glass);
  border-color: var(--glass-border);
  color: rgba(226, 232, 240, 0.6);
}

.nav.scrolled .nav-hamburger span {
  background: var(--platinum);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-btn {
  padding: 0.5rem 1.25rem;
  background: var(--neon);
  color: var(--navy);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-btn:hover {
  background: #fff;
  box-shadow: 0 0 20px rgba(223, 255, 0, 0.3);
}

.nav-mobile-controls {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}

.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: #050E1E;
  transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  transform-origin: center;
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 14, 30, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  z-index: 999;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  padding: 6rem 2rem 3rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mobile-link {
  color: var(--platinum);
  text-decoration: none;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.08);
  transition: color 0.3s, padding-left 0.3s;
}

.mobile-link:hover,
.mobile-link:active {
  color: var(--neon);
  padding-left: 0.5rem;
}

.mobile-link.cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1rem 1.75rem;
  background: var(--neon);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 2px;
  text-align: center;
  align-self: flex-start;
}

.mobile-link.cta:hover,
.mobile-link.cta:active {
  padding-left: 1.75rem;
  background: #fff;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
}

.hero-bg-render {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: absolute;
  bottom: 4rem;
  left: 4vw;
  z-index: 2;
  max-width: 600px;
  text-align: left;
  padding: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #000;
  padding: 0.4rem 1rem;
  border: 1px solid var(--neon);
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--neon);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
}

.title-line.accent {
  color: var(--cyan);
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(226, 232, 240, 0.7);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--neon);
  color: var(--navy);
}

.btn-primary:hover {
  background: #fff;
  box-shadow: 0 0 30px rgba(223, 255, 0, 0.3);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--platinum);
  border: 1px solid var(--glass-border);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transform: translateY(20px);
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--platinum);
}

.stat-unit {
  font-size: 0.9rem;
  color: var(--cyan);
  margin-left: 2px;
}

.stat-label {
  display: block;
  font-size: 0.7rem;
  color: rgba(226, 232, 240, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scroll-indicator span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(226, 232, 240, 0.3);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ---- Sections ---- */
.section {
  padding: 8rem 2rem;
  position: relative;
}

.section-dark {
  background: var(--dark);
}

.section-light {
  background: var(--navy);
}

.section-funding {
  background: linear-gradient(180deg, var(--dark) 0%, #0d1f42 50%, var(--dark) 100%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.section-desc {
  font-size: 1.1rem;
  color: rgba(226, 232, 240, 0.6);
  line-height: 1.7;
  max-width: 560px;
}

/* ---- Tech Grid ---- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.tech-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--neon));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.tech-card:hover {
  border-color: rgba(255, 79, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tech-card:hover::before {
  transform: scaleX(1);
}

.tech-icon {
  color: var(--cyan);
  margin-bottom: 1.5rem;
}

.tech-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.tech-card p {
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.5);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.tech-metric {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--neon);
}

.metric-label {
  font-size: 0.75rem;
  color: rgba(226, 232, 240, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---- Prototype ---- */
.proto-showcase {
  margin-bottom: 3rem;
}

.proto-main {
  margin-bottom: 1.5rem;
}

.video-container {
  position: relative;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #050E1E 0%, #081633 50%, #050E1E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 4px;
}

.video-placeholder.thumb {
  aspect-ratio: 16/9;
}

.video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 79, 0, 0.03) 2px,
      rgba(255, 79, 0, 0.03) 4px
    );
  pointer-events: none;
}

.video-play {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(226, 232, 240, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--platinum);
  transition: all 0.3s;
  z-index: 2;
}

.video-play.small {
  width: 48px;
  height: 48px;
  border-width: 1.5px;
}

.video-placeholder:hover .video-play {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(255, 79, 0, 0.1);
  transform: scale(1.1);
}

.video-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(226, 232, 240, 0.5);
  z-index: 2;
}

.video-label.small {
  bottom: 0.75rem;
  left: 0.75rem;
  font-size: 0.6rem;
}

.video-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 1px,
    rgba(0, 0, 0, 0.05) 1px,
    rgba(0, 0, 0, 0.05) 2px
  );
  pointer-events: none;
  z-index: 1;
}

.video-noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  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='1'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.proto-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Telemetry strip */
.telemetry {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  overflow: hidden;
}

.telemetry-item {
  flex: 1;
  min-width: 150px;
  padding: 1.25rem 1.5rem;
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.telemetry-item:last-child {
  border-right: none;
}

.tele-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: rgba(226, 232, 240, 0.35);
  text-transform: uppercase;
}

.tele-value {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--platinum);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.tele-value.live {
  color: var(--neon);
}

.tele-dot {
  width: 6px;
  height: 6px;
  background: var(--neon);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

/* ---- Renders / Vision ---- */
.render-showcase {
  margin-bottom: 4rem;
}

.render-main {
  margin-bottom: 1.5rem;
}

.render-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #050E1E 0%, #081633 40%, #050E1E 100%);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.render-placeholder.small {
  aspect-ratio: 4/3;
}

.render-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 79, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 79, 0, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: grid-drift 20s linear infinite;
}

#render3D .render-grid-bg {
  display: none;
}

@keyframes grid-drift {
  0% { transform: perspective(500px) rotateX(2deg); }
  50% { transform: perspective(500px) rotateX(-2deg); }
  100% { transform: perspective(500px) rotateX(2deg); }
}

/* 3D Model Viewer */
#exteriorModel {
  z-index: 1;
  background: #1a1a2e;
}

body.light-mode #exteriorModel {
  background: white;
}

model-viewer::part(default-progress-bar) {
  display: none;
}

.model-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
}

.model-progress-bar {
  width: 0;
  height: 100%;
  background: var(--cyan);
  transition: width 0.3s;
}

.render-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(226, 232, 240, 0.5);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.render-label.small {
  bottom: 0.75rem;
  left: 0.75rem;
  font-size: 0.6rem;
}

.render-badge {
  padding: 0.2rem 0.5rem;
  background: var(--cyan);
  color: var(--dark);
  font-size: 0.6rem;
  font-weight: 600;
  border-radius: 2px;
}

.render-controls {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.render-ctrl {
  padding: 0.4rem 0.75rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: rgba(226, 232, 240, 0.5);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s;
}

.render-ctrl.active,
.render-ctrl:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--dark);
}

.render-rotate-hint {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(226, 232, 240, 0.25);
  font-size: 0.8rem;
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.render-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.render-thumb {
  cursor: pointer;
  transition: transform 0.3s;
}

.render-thumb:hover {
  transform: translateY(-4px);
}

/* Specs strip */
.specs-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.spec {
  text-align: center;
}

.spec-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--platinum);
}

.spec-unit {
  font-size: 1rem;
  color: var(--cyan);
}

.spec-label {
  display: block;
  font-size: 0.7rem;
  color: rgba(226, 232, 240, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

/* ---- Funding ---- */
.funding-dashboard {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 3rem;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.funding-dashboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--neon), var(--scarlet));
}

.fund-counter {
  text-align: center;
  margin-bottom: 2.5rem;
}

.fund-raised {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.fund-currency {
  font-family: var(--font-mono);
  font-size: 2rem;
  color: var(--cyan);
  font-weight: 300;
}

.fund-amount {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  color: var(--platinum);
  letter-spacing: -0.02em;
}

.fund-goal {
  font-size: 1rem;
  color: rgba(226, 232, 240, 0.5);
  margin-top: 0.5rem;
}

.fund-goal strong {
  color: var(--platinum);
  font-weight: 600;
}

/* Progress bar */
.fund-progress-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.fund-progress-track {
  flex: 1;
  height: 8px;
  background: rgba(226, 232, 240, 0.08);
  border-radius: 4px;
  position: relative;
  overflow: visible;
}

.fund-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--neon));
  border-radius: 4px;
  position: relative;
  transition: width 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fund-progress-glow {
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: var(--neon);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--neon), 0 0 40px rgba(223, 255, 0, 0.3);
  animation: glow-pulse 2s infinite;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px var(--neon), 0 0 40px rgba(223, 255, 0, 0.3); }
  50% { box-shadow: 0 0 30px var(--neon), 0 0 60px rgba(223, 255, 0, 0.5); }
}

.fund-milestones {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 20px;
}

.milestone {
  position: absolute;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.milestone-line {
  width: 1px;
  height: 12px;
  background: rgba(226, 232, 240, 0.15);
}

.milestone span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(226, 232, 240, 0.25);
  margin-top: 4px;
}

.fund-percent {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neon);
  min-width: 80px;
  text-align: right;
}

/* Fund stats */
.fund-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.fund-stat {
  text-align: center;
}

.fund-stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--platinum);
}

.fund-stat-label {
  font-size: 0.75rem;
  color: rgba(226, 232, 240, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Live feed */
.fund-feed {
  margin-bottom: 2.5rem;
}

.feed-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: rgba(226, 232, 240, 0.4);
  margin-bottom: 1rem;
}

.feed-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 200px;
  overflow: hidden;
}

.feed-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(226, 232, 240, 0.03);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  animation: feed-in 0.5s ease-out;
}

@keyframes feed-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feed-name {
  color: rgba(226, 232, 240, 0.6);
}

.feed-amount {
  color: var(--neon);
  font-weight: 600;
}

.feed-time {
  color: rgba(226, 232, 240, 0.25);
  font-size: 0.7rem;
}

/* Fund CTA */
.fund-cta {
  text-align: center;
}

.fund-legal {
  font-size: 0.75rem;
  color: rgba(226, 232, 240, 0.3);
  margin-top: 0.75rem;
}

/* Fund allocation */
.fund-allocation {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 2.5rem;
}

.alloc-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.alloc-bars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.alloc-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.alloc-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.7);
}

.alloc-header span:last-child {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--platinum);
}

.alloc-track {
  height: 4px;
  background: rgba(226, 232, 240, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.alloc-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--neon));
  border-radius: 2px;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Team ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover {
  border-color: rgba(255, 79, 0, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.team-photo {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.team-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 79, 0, 0.08) 0%, rgba(8, 22, 51, 0.3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(226, 232, 240, 0.3);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 2rem;
}

.team-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-role {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.team-bio {
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.6);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.team-tags span {
  padding: 0.3rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  border: 1px solid var(--glass-border);
  border-radius: 2px;
  color: rgba(226, 232, 240, 0.5);
}

/* Light mode team overrides */
body.light-mode .team-card {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(5, 14, 30, 0.08);
}

body.light-mode .team-card:hover {
  border-color: rgba(255, 79, 0, 0.2);
  box-shadow: 0 20px 40px rgba(5, 14, 30, 0.08);
}

body.light-mode .team-photo-placeholder {
  background: linear-gradient(135deg, rgba(255, 79, 0, 0.06) 0%, rgba(200, 215, 235, 0.5) 100%);
  color: rgba(5, 14, 30, 0.15);
}

body.light-mode .team-bio {
  color: rgba(5, 14, 30, 0.55);
}

body.light-mode .team-tags span {
  border-color: rgba(5, 14, 30, 0.1);
  color: rgba(5, 14, 30, 0.45);
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Footer ---- */
.footer {
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--glass-border);
  background: var(--dark);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  height: 32px;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.4);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(226, 232, 240, 0.5);
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(226, 232, 240, 0.35);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom span {
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.25);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  color: rgba(226, 232, 240, 0.3);
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: var(--cyan);
}

/* ---- Toggle Buttons (Theme & Language) ---- */
.toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(5, 14, 30, 0.05);
  border: 1px solid rgba(5, 14, 30, 0.15);
  border-radius: 50%;
  cursor: pointer;
  color: rgba(5, 14, 30, 0.6);
  transition: all 0.3s;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.toggle-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(255, 79, 0, 0.1);
}

.lang-toggle, .lang-toggle-mobile {
  width: auto;
  padding: 0 0.75rem;
  border-radius: 18px;
}

/* Theme toggle — show sun in dark mode, moon in light mode */
.theme-toggle .icon-moon,
.theme-toggle-mobile .icon-moon {
  display: none;
}

.theme-toggle .icon-sun,
.theme-toggle-mobile .icon-sun {
  display: block;
}

.mobile-toggles {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* ---- Light Theme (Day Mode) ---- */
body.light-mode {
  --dark: #E2EDF7;
  --platinum: #050E1E;
  --navy: #DDE8F4;
  --card-bg: rgba(5, 14, 30, 0.04);
  --glass: rgba(5, 14, 30, 0.04);
  --glass-border: rgba(5, 14, 30, 0.1);
  background: #E2EDF7;
  color: #050E1E;
}

body.light-mode .logo-img,
body.light-mode .nav.scrolled .logo-img {
  filter: none;
}

body.light-mode .nav.scrolled .nav-link {
  color: rgba(5, 14, 30, 0.5);
}

body.light-mode .nav.scrolled .nav-link:hover {
  color: #050E1E;
}

body.light-mode .nav.scrolled .toggle-btn {
  color: rgba(5, 14, 30, 0.5);
  border-color: rgba(5, 14, 30, 0.12);
  background: rgba(5, 14, 30, 0.04);
}

body.light-mode .nav.scrolled .nav-hamburger span {
  background: #050E1E;
}

body.light-mode .footer-logo {
  filter: none;
  opacity: 0.8;
}

body.light-mode .nav.scrolled {
  background: rgba(226, 237, 247, 0.94);
  border-bottom: 1px solid rgba(5, 14, 30, 0.08);
}

body.light-mode .nav-link {
  color: rgba(5, 14, 30, 0.5);
}

body.light-mode .nav-link:hover {
  color: #050E1E;
}

body.light-mode .nav-hamburger span {
  background: #050E1E;
}

body.light-mode .mobile-menu {
  background: rgba(226, 237, 247, 0.98);
}

body.light-mode .mobile-link {
  color: #050E1E;
}

body.light-mode .toggle-btn {
  color: rgba(5, 14, 30, 0.5);
  border-color: rgba(5, 14, 30, 0.12);
  background: rgba(5, 14, 30, 0.04);
}

body.light-mode .toggle-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(255, 79, 0, 0.08);
}

body.light-mode .theme-toggle .icon-sun,
body.light-mode .theme-toggle-mobile .icon-sun {
  display: none;
}

body.light-mode .theme-toggle .icon-moon,
body.light-mode .theme-toggle-mobile .icon-moon {
  display: block;
}

body.light-mode .hero {
  background: linear-gradient(
    180deg,
    #EAF1F8 0%,
    #E8EFF6 30%,
    #E2EDF7 44%,
    #DAE7F2 48%,
    #C9DDEF 50%,
    #D0E1F0 52%,
    #D6E5F1 56%,
    #DDEAF4 65%,
    #E2EDF7 80%,
    #E2EDF7 100%
  );
}

body.light-mode .hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 48%;
  height: 4%;
  background: linear-gradient(
    180deg,
    rgba(180, 210, 235, 0.0) 0%,
    rgba(180, 210, 235, 0.12) 40%,
    rgba(180, 210, 235, 0.18) 50%,
    rgba(180, 210, 235, 0.12) 60%,
    rgba(180, 210, 235, 0.0) 100%
  );
  z-index: 1;
  pointer-events: none;
}

body.light-mode .hero-overlay {
  background: none;
}

body.light-mode .hero-badge {
  border-color: rgba(0, 0, 0, 0.3);
  color: #000;
}

body.light-mode .badge-dot {
  background: #000;
}

body.light-mode .hero-sub {
  color: rgba(5, 14, 30, 0.6);
}

body.light-mode .btn-primary {
  color: #050E1E;
  box-shadow: 0 4px 14px rgba(5, 14, 30, 0.18);
}

body.light-mode .btn-primary:hover {
  background: #FFA500;
  box-shadow: 0 6px 20px rgba(5, 14, 30, 0.22);
  color: #050E1E;
}

body.light-mode .nav-btn {
  color: #050E1E;
  box-shadow: 0 2px 10px rgba(5, 14, 30, 0.15);
}

body.light-mode .nav-btn:hover {
  background: #FFA500;
  box-shadow: 0 4px 14px rgba(5, 14, 30, 0.2);
  color: #050E1E;
}

body.light-mode .btn-ghost {
  border-color: rgba(5, 14, 30, 0.15);
  color: #050E1E;
}

body.light-mode .btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Yellow text → Flame Orange in light mode */
body.light-mode .mobile-link.cta {
  color: #FF4F00;
}

body.light-mode .hero-badge {
  border-color: rgba(0, 0, 0, 0.3);
  color: #000;
}

body.light-mode .badge-dot {
  background: #000;
}

body.light-mode .metric-value {
  color: #FF4F00;
}

body.light-mode .tele-value.live {
  color: #FF4F00;
}

/* Specs section — light mode */
body.light-mode .spec-label {
  color: rgba(5, 14, 30, 0.6);
}

body.light-mode .spec-value {
  color: rgba(5, 14, 30, 0.72);
}

/* Hero title lines — keep grey in both modes */
.hero-title .title-line:not(.accent) {
  color: rgba(226, 232, 240, 0.88);
}

body.light-mode .hero-actions .btn-ghost {
  color: rgba(226, 232, 240, 0.88);
  border-color: rgba(226, 232, 240, 0.3);
}

body.light-mode .tele-dot {
  background: #FF4F00;
}

body.light-mode .fund-percent {
  color: #FF4F00;
}

body.light-mode .feed-amount {
  color: #FF4F00;
}

body.light-mode .stat-label {
  color: rgba(5, 14, 30, 0.45);
}

body.light-mode .scroll-indicator span {
  color: rgba(5, 14, 30, 0.3);
}

body.light-mode .section-dark {
  background: #EBF2FA;
}

body.light-mode .section-light {
  background: #EBF2FA;
}

body.light-mode .section-funding {
  background: linear-gradient(180deg, #EBF2FA 0%, #DDE8F4 50%, #EBF2FA 100%);
}

body.light-mode .section-desc {
  color: rgba(5, 14, 30, 0.55);
}

body.light-mode .tech-card {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(5, 14, 30, 0.08);
}

body.light-mode .tech-card:hover {
  border-color: rgba(255, 79, 0, 0.25);
  box-shadow: 0 20px 40px rgba(5, 14, 30, 0.08);
}

body.light-mode .tech-card p {
  color: rgba(5, 14, 30, 0.55);
}

body.light-mode .video-placeholder {
  background: linear-gradient(135deg, #e8ecf1 0%, #dde2e8 50%, #e8ecf1 100%);
  border-color: rgba(5, 14, 30, 0.08);
}

body.light-mode .video-play {
  border-color: rgba(5, 14, 30, 0.2);
  color: #050E1E;
}

body.light-mode .video-label {
  color: rgba(5, 14, 30, 0.5);
}

body.light-mode .telemetry {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(5, 14, 30, 0.08);
}

body.light-mode .telemetry-item {
  border-right-color: rgba(5, 14, 30, 0.06);
}

body.light-mode .tele-label {
  color: rgba(5, 14, 30, 0.35);
}

body.light-mode .render-placeholder {
  background: linear-gradient(135deg, #e8ecf1 0%, #dde2e8 40%, #e8ecf1 100%);
  border-color: rgba(5, 14, 30, 0.08);
}

body.light-mode .render-grid-bg {
  background-image:
    linear-gradient(rgba(255, 79, 0, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 79, 0, 0.08) 1px, transparent 1px);
}

body.light-mode .render-ctrl {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(5, 14, 30, 0.1);
  color: rgba(5, 14, 30, 0.6);
}

body.light-mode .render-label {
  color: rgba(5, 14, 30, 0.5);
}

body.light-mode .render-rotate-hint {
  color: rgba(5, 14, 30, 0.25);
}

body.light-mode .funding-dashboard {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(5, 14, 30, 0.08);
}

body.light-mode .fund-goal {
  color: rgba(5, 14, 30, 0.5);
}

body.light-mode .fund-progress-track {
  background: rgba(5, 14, 30, 0.06);
}

body.light-mode .milestone-line {
  background: rgba(5, 14, 30, 0.1);
}

body.light-mode .milestone span {
  color: rgba(5, 14, 30, 0.3);
}

body.light-mode .fund-stat-label {
  color: rgba(5, 14, 30, 0.45);
}

body.light-mode .feed-header {
  color: rgba(5, 14, 30, 0.4);
}

body.light-mode .feed-item {
  background: rgba(5, 14, 30, 0.03);
}

body.light-mode .feed-name {
  color: rgba(5, 14, 30, 0.6);
}

body.light-mode .feed-time {
  color: rgba(5, 14, 30, 0.3);
}

body.light-mode .fund-legal {
  color: rgba(5, 14, 30, 0.35);
}

body.light-mode .fund-allocation {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(5, 14, 30, 0.08);
}

body.light-mode .alloc-header {
  color: rgba(5, 14, 30, 0.6);
}

body.light-mode .alloc-track {
  background: rgba(5, 14, 30, 0.05);
}

body.light-mode .footer {
  background: #EBF2FA;
  border-top-color: rgba(5, 14, 30, 0.08);
}

body.light-mode .footer-brand p {
  color: rgba(5, 14, 30, 0.4);
}

body.light-mode .footer-col h4 {
  color: rgba(5, 14, 30, 0.45);
}

body.light-mode .footer-col a {
  color: rgba(5, 14, 30, 0.4);
}

body.light-mode .footer-bottom {
  border-top-color: rgba(5, 14, 30, 0.08);
}

body.light-mode .footer-bottom span {
  color: rgba(5, 14, 30, 0.3);
}

body.light-mode .footer-socials a {
  color: rgba(5, 14, 30, 0.3);
}

body.light-mode .cursor-glow {
  background: radial-gradient(circle, rgba(255, 79, 0, 0.05) 0%, transparent 70%);
}

body.light-mode .hero-canvas {
  opacity: 0.3;
}

/* ---- Animations ---- */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Touch device optimizations ---- */
@media (hover: none) {
  .cursor-glow {
    display: none;
  }

  .tech-card:hover,
  .team-card:hover,
  .render-thumb:hover,
  .btn-primary:hover,
  .btn-ghost:hover {
    transform: none;
  }
}

/* ---- Tablet & Mobile ---- */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-mobile-controls {
    display: flex;
  }

  .nav-hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .mobile-toggles {
    display: none;
  }

  .nav {
    padding: 0.75rem 1.25rem;
  }

  .nav.scrolled {
    padding: 0.5rem 1.25rem;
  }

  .logo-img {
    height: 42px;
  }

  .section {
    padding: 5rem 1.25rem;
  }

  .container {
    padding: 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: clamp(1.75rem, 7vw, 2.75rem);
  }

  .section-desc {
    font-size: 1rem;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
  }

  .hero-bg-render {
    object-fit: cover;
    object-position: center center;
  }

  .hero-content {
    left: 1.5rem;
    right: 1.5rem;
    bottom: 6rem;
    max-width: none;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 3rem);
    margin-bottom: 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 0;
  }

  .hero-actions .btn {
    justify-content: center;
    padding: 1rem 1.5rem;
    width: 100%;
  }

  .scroll-indicator {
    bottom: 1rem;
  }

  .scroll-indicator span {
    display: none;
  }

  /* Tech grid */
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tech-card {
    padding: 1.5rem;
  }

  /* Prototype */
  .proto-thumbs {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .video-label {
    bottom: 0.75rem;
    left: 0.75rem;
    font-size: 0.65rem;
  }

  .video-play {
    width: 60px;
    height: 60px;
  }

  /* Telemetry */
  .telemetry {
    flex-direction: column;
  }

  .telemetry-item {
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
  }

  .telemetry-item:last-child {
    border-bottom: none;
  }

  /* Render section */
  .render-placeholder {
    aspect-ratio: 4/5;
  }

  .render-controls {
    flex-wrap: wrap;
    top: 0.75rem;
    right: 0.75rem;
    gap: 0.35rem;
    max-width: calc(100% - 1.5rem);
    justify-content: flex-end;
  }

  .render-ctrl {
    padding: 0.35rem 0.6rem;
    font-size: 0.6rem;
  }

  .render-label {
    bottom: 0.75rem;
    left: 0.75rem;
    font-size: 0.65rem;
    gap: 0.5rem;
  }

  .render-rotate-hint {
    display: none;
  }

  .render-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .render-showcase {
    margin-bottom: 2.5rem;
  }

  /* Specs strip */
  .specs-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
    padding: 2rem 0;
  }

  .spec-value {
    font-size: 1.5rem;
  }

  /* Funding */
  .funding-dashboard {
    padding: 1.75rem 1.25rem;
    margin-bottom: 2.5rem;
  }

  .fund-currency {
    font-size: 1.5rem;
  }

  .fund-amount {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

  .fund-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .fund-stat-value {
    font-size: 1.25rem;
  }

  .fund-stat-label {
    font-size: 0.65rem;
  }

  .fund-progress-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .fund-percent {
    text-align: center;
    min-width: 0;
  }

  .fund-milestones {
    display: none;
  }

  .feed-item {
    padding: 0.6rem 0.75rem;
    font-size: 0.7rem;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .feed-time {
    font-size: 0.6rem;
  }

  .fund-allocation {
    padding: 1.75rem 1.25rem;
  }

  .alloc-title {
    font-size: 1.1rem;
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .team-info {
    padding: 1.5rem;
  }

  /* Footer */
  .footer {
    padding: 3rem 1.25rem 1.5rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  /* Announcement strip */
  .announcement-item {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

  .announcement-track {
    gap: 2rem;
    animation-duration: 15s;
  }
}

/* ---- Small phones ---- */
@media (max-width: 480px) {
  .section {
    padding: 4rem 1rem;
  }

  .hero-content {
    left: 1.25rem;
    right: 1.25rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 9vw, 2.5rem);
  }

  .render-gallery {
    grid-template-columns: 1fr;
  }

  .specs-strip {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .fund-amount {
    font-size: 2.75rem;
  }

  .nav-btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.75rem;
  }

  .toggle-btn {
    width: 32px;
    height: 32px;
  }
}

/* ---- Landscape phones ---- */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: 100vh;
  }

  .hero-content {
    bottom: 4rem;
  }

  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }

  .hero-actions {
    flex-direction: row;
  }

  .hero-actions .btn {
    width: auto;
  }
}
