/* =========================================================
   Digital Creations — global styles
   ========================================================= */

:root {
  --bg: #07070c;
  --bg-2: #0c0c14;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f5f7;
  --text-dim: #a8a8b3;
  --text-mute: #6e6e7a;
  --accent: #7c5cff;
  --accent-2: #ff5cb4;
  --accent-3: #5cd9ff;
  --gold: #ffd76a;
  --grad-1: linear-gradient(135deg, #7c5cff 0%, #ff5cb4 50%, #ffb05c 100%);
  --grad-2: linear-gradient(135deg, #5cd9ff 0%, #7c5cff 100%);
  --grad-soft: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(255, 92, 180, 0.18));
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* =========================================================
   Animated background
   ========================================================= */
.bg-canvas {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background: radial-gradient(ellipse at top, #14122a 0%, var(--bg) 60%);
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.5;
  animation: float 22s ease-in-out infinite;
}
.orb-1 { width: 520px; height: 520px; background: #7c5cff; top: -160px; left: -120px; }
.orb-2 { width: 480px; height: 480px; background: #ff5cb4; top: 30%; right: -160px; animation-delay: -7s; }
.orb-3 { width: 420px; height: 420px; background: #5cd9ff; bottom: -120px; left: 30%; animation-delay: -14s; }

@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 7, 12, 0.55);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.nav.scrolled {
  padding: 12px 48px;
  border-bottom-color: var(--border);
  background: rgba(7, 7, 12, 0.85);
}

.brand {
  display: flex; align-items: center; gap: 12px; font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 18px;
}
.brand-logo {
  width: 36px; height: 36px; border-radius: 8px; object-fit: cover;
  box-shadow: 0 0 20px rgba(124, 92, 255, 0.4);
}
.brand-text em {
  font-style: normal;
  background: var(--grad-1);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; padding: 10px 16px; font-size: 14px; font-weight: 500;
  color: var(--text-dim); border-radius: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text); background: var(--surface); }
.chev { transition: transform 0.2s; }
.nav-item.has-dropdown:hover .chev { transform: rotate(180deg); }

.nav-item { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: -8px;
  width: 340px; padding: 10px;
  background: rgba(15, 15, 24, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.2s var(--ease);
}
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px; border-radius: 10px;
  transition: background 0.2s;
}
.dropdown a:hover { background: var(--surface-2); }
.dd-ic {
  flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-soft); color: var(--accent);
  font-size: 16px;
}
.dropdown a strong { display: block; font-size: 14px; color: var(--text); font-weight: 600; }
.dropdown a em { font-style: normal; font-size: 12px; color: var(--text-mute); }
.dd-featured { background: linear-gradient(135deg, rgba(255,215,106,0.08), rgba(255,92,180,0.08)); }
.dd-featured .dd-ic { background: linear-gradient(135deg, #ffd76a, #ff5cb4); color: #1a0f00; }
.dd-featured strong { color: var(--gold); }

.nav-cta {
  padding: 10px 20px;
  background: var(--grad-1);
  color: white; font-weight: 600; font-size: 14px;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.35);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(124, 92, 255, 0.5); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 14px; letter-spacing: 0.01em;
  transition: all 0.2s var(--ease);
  white-space: nowrap; cursor: pointer;
}
.btn-primary {
  background: var(--grad-1); color: white;
  box-shadow: 0 12px 30px rgba(124, 92, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(124, 92, 255, 0.55); }
.btn-ghost {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-strong); }
.btn-lg { padding: 18px 34px; font-size: 15px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  min-height: 100vh;
  padding: 160px 48px 80px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 60px; max-width: 1400px; margin: 0 auto;
}
.hero-inner { flex: 1; max-width: 720px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 13px; color: var(--text-dim); margin-bottom: 28px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 12px #4ade80; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.5; } }

.hero-title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 700;
  margin-bottom: 24px;
}
.hero-title .grad {
  background: var(--grad-1);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 18px; color: var(--text-dim); max-width: 580px;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.hero-stats div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong {
  font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 600;
  background: var(--grad-2);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stats span { font-size: 12px; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.08em; }

.hero-visual {
  position: relative; width: 460px; height: 460px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.ring {
  position: absolute; border: 1px solid var(--border-strong); border-radius: 50%;
  animation: spin 30s linear infinite;
}
.ring.r1 { width: 100%; height: 100%; border-top-color: var(--accent); }
.ring.r2 { width: 75%; height: 75%; border-right-color: var(--accent-2); animation-duration: 22s; animation-direction: reverse; }
.ring.r3 { width: 55%; height: 55%; border-bottom-color: var(--accent-3); animation-duration: 16s; }
@keyframes spin { to { transform: rotate(360deg); } }
.logo-glow {
  width: 180px; height: 180px; border-radius: 30px; overflow: hidden;
  box-shadow: 0 0 80px rgba(124, 92, 255, 0.6), 0 0 120px rgba(255, 92, 180, 0.3);
  background: var(--grad-1); padding: 6px;
}
.logo-glow img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }

/* =========================================================
   Section base
   ========================================================= */
.section {
  padding: 110px 48px;
  max-width: 1400px; margin: 0 auto;
  scroll-margin-top: 80px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 18px;
}
.section-head h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 16px; }
.section-head p { color: var(--text-dim); font-size: 17px; }

/* =========================================================
   Products overview grid
   ========================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-grid .prod-featured { grid-column: span 4; }

.prod-card {
  position: relative;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all 0.3s var(--ease);
  overflow: hidden;
  min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.prod-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-soft); opacity: 0; transition: opacity 0.3s;
}
.prod-card > * { position: relative; z-index: 1; }
.prod-card:hover {
  transform: translateY(-4px); border-color: var(--border-strong);
  box-shadow: 0 20px 60px rgba(124, 92, 255, 0.2);
}
.prod-card:hover::before { opacity: 1; }
.prod-num {
  font-family: 'Space Grotesk'; font-size: 13px; color: var(--text-mute); margin-bottom: 12px;
}
.prod-card h3 { font-size: 22px; margin-bottom: 10px; }
.prod-card p { color: var(--text-dim); font-size: 14px; }
.prod-arrow {
  display: inline-block; margin-top: 20px; font-size: 22px; color: var(--accent);
  transition: transform 0.2s;
}
.prod-card:hover .prod-arrow { transform: translateX(6px); }

.prod-featured {
  background: linear-gradient(135deg, rgba(255,215,106,0.06), rgba(255,92,180,0.08));
  border-color: rgba(255, 215, 106, 0.25);
}
.prod-featured h3 { color: var(--gold); }
.featured-tag {
  position: absolute; top: 20px; right: 20px;
  padding: 5px 12px; border-radius: 999px;
  background: linear-gradient(135deg, #ffd76a, #ff5cb4);
  color: #1a0f00; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* =========================================================
   Detail sections
   ========================================================= */
.detail-section.alt::before {
  content: ''; position: absolute; left: 0; right: 0;
  height: 100%; background: rgba(255, 255, 255, 0.015);
}
.detail-section { position: relative; }

/* Video grid */
.video-grid, .card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-bottom: 60px;
}
.video-card, .proj-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px;
  transition: all 0.3s var(--ease);
}
.video-card:hover, .proj-card:hover {
  border-color: var(--border-strong); transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.video-thumb {
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  position: relative; overflow: hidden;
  margin-bottom: 16px;
  background: #0a0a12;
  cursor: pointer;
}
.video-thumb video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Subtle dim overlay so badge/hint are readable when video is at rest */
.video-thumb::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, transparent 40%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.video-card:hover .video-thumb::before { opacity: 0.4; }

/* Center play-hint icon */
.play-hint {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  transform: translate(-50%, -50%) scale(1);
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,0.95); color: #111;
  font-size: 18px; padding-left: 4px;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.video-card:hover .play-hint,
.video-card.is-playing .play-hint {
  opacity: 0; transform: translate(-50%, -50%) scale(0.85);
}

/* Top-left category badge */
.vbadge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(8px);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text);
}

/* Bottom hover hint */
.hover-hint {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(8px);
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--text);
  opacity: 1; transition: opacity 0.25s var(--ease);
}
.video-card:hover .hover-hint,
.video-card.is-playing .hover-hint { opacity: 0; }

/* Slight zoom while playing for liveliness */
.video-thumb video { transition: transform 0.6s var(--ease); }
.video-card:hover .video-thumb video,
.video-card.is-playing .video-thumb video { transform: scale(1.04); }
.video-card h4, .proj-card h4 { font-size: 18px; margin-bottom: 6px; padding: 0 6px; }
.video-card p, .proj-card p { color: var(--text-dim); font-size: 14px; padding: 0 6px; }

/* Project covers */
.proj-cover {
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md); margin-bottom: 16px;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.proj-cover.s1 { background: linear-gradient(135deg, #312e81 0%, #1e3a8a 100%); }
.proj-cover.s2 { background: linear-gradient(135deg, #831843 0%, #7c2d12 100%); }
.proj-cover.s3 { background: linear-gradient(135deg, #0f766e 0%, #1e3a8a 100%); }
.proj-cover.w1 { background: linear-gradient(135deg, #be185d 0%, #7c3aed 100%); }
.proj-cover.w2 { background: linear-gradient(135deg, #0891b2 0%, #4338ca 100%); }
.proj-cover.w3 { background: linear-gradient(135deg, #0a0a0a 0%, #1e293b 100%); }

/* Real screenshot covers (override the gradient padding) */
.proj-cover.proj-shot {
  padding: 0;
  background: #0a0a12;
}
.proj-cover.proj-shot img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: transform 0.6s var(--ease);
  display: block;
}
.proj-card:hover .proj-cover.proj-shot img {
  transform: scale(1.05);
}
/* Soft top gradient so tags/badges (if added later) stay readable */
.proj-cover.proj-shot::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, transparent 30%, transparent 75%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}

/* "In Progress" ribbon for WIP projects */
.proj-ribbon {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  padding: 5px 12px; border-radius: 999px;
  background: linear-gradient(135deg, #ffd76a, #ff5cb4);
  color: #1a0f00;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(255, 92, 180, 0.35);
}

.mock-window, .browser-mock {
  width: 100%; max-width: 240px; aspect-ratio: 4/3;
  background: rgba(255,255,255,0.95); border-radius: 8px;
  padding: 10px; box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.dots, .bdots { display: flex; gap: 5px; margin-bottom: 10px; }
.dots i, .bdots i {
  width: 8px; height: 8px; border-radius: 50%; display: block;
  background: #d1d5db;
}
.dots i:first-child, .bdots i:first-child { background: #ef4444; }
.dots i:nth-child(2), .bdots i:nth-child(2) { background: #f59e0b; }
.dots i:last-child, .bdots i:last-child { background: #10b981; }
.mock-bar { height: 14px; background: #e5e7eb; border-radius: 4px; margin-bottom: 8px; }
.mock-line { height: 6px; background: #d1d5db; border-radius: 3px; margin-bottom: 6px; }
.mock-line.short { width: 60%; }

.chart-mock {
  display: flex; align-items: flex-end; gap: 8px; height: 100%; padding: 20px 0;
}
.bar {
  flex: 1; height: var(--h); border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, #fb923c, #fbbf24);
}

.device-mock {
  width: 130px; aspect-ratio: 9/16;
  background: #111; border-radius: 18px; padding: 6px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.device-mock .screen {
  width: 100%; height: 100%; border-radius: 12px;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
}

.bcontent { height: calc(100% - 18px); background: linear-gradient(180deg, #f3f4f6, #e5e7eb); border-radius: 4px; }
.grid-mock {
  background-image:
    linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 24px 24px; background-color: #ec4899;
}
.dark-mock { background: linear-gradient(135deg, #1e293b 0%, #7c3aed 100%); }

.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; padding: 0 6px 6px; }
.tags span {
  padding: 3px 10px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 11px; color: var(--text-dim);
}

/* Prose */
.prose {
  max-width: 800px; margin: 0 auto;
  font-size: 17px; color: var(--text-dim);
}
.prose p { margin-bottom: 22px; }
.prose .tile-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin: 36px 0;
}
.prose .tile {
  padding: 20px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 6px;
}
.prose .tile strong { color: var(--text); font-family: 'Space Grotesk'; font-size: 16px; }
.prose .tile span { font-size: 13px; color: var(--text-mute); }

/* Lede paragraph (intro emphasis) */
.prose .lede {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.45; font-weight: 500;
  color: var(--text);
  letter-spacing: -0.005em;
  margin-bottom: 28px;
}

/* In-prose subheadings */
.prose .prose-h {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 600;
  color: var(--text);
  margin: 40px 0 14px;
  display: flex; align-items: center; gap: 14px;
}
.prose .prose-h::before {
  content: ''; flex-shrink: 0;
  width: 32px; height: 2px;
  background: var(--grad-1);
  border-radius: 2px;
}

/* Bulleted list inside prose */
.prose .prose-list {
  list-style: none; padding: 0; margin: 8px 0 22px;
  display: grid; gap: 14px;
}
.prose .prose-list li {
  position: relative;
  padding: 16px 18px 16px 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 15px; line-height: 1.65;
}
.prose .prose-list li::before {
  content: '↳';
  position: absolute; left: 16px; top: 14px;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-weight: 600;
  font-size: 15px;
}
.prose .prose-list strong { color: var(--text); font-weight: 600; }

/* Compact metric row */
.prose .metric-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin: 40px 0 10px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(124,92,255,0.06), rgba(255,92,180,0.04));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.prose .metric { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.prose .metric strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px; font-weight: 600;
  background: var(--grad-1);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.prose .metric span {
  font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-mute);
}

/* Featured banner */
.featured-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 50px; padding: 28px 36px;
  background: linear-gradient(135deg, rgba(255,215,106,0.06), rgba(255,92,180,0.06));
  border: 1px solid rgba(255, 215, 106, 0.25);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.featured-banner:hover {
  border-color: rgba(255, 215, 106, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(255, 92, 180, 0.15);
}
.featured-banner small {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.featured-banner h4 { font-size: 20px; margin-top: 4px; }

/* =========================================================
   Custom Section (Featured)
   ========================================================= */
.custom-section {
  padding: 110px 48px;
  max-width: 1100px; margin: 0 auto;
}
.custom-card {
  position: relative;
  padding: 70px 60px;
  background: linear-gradient(135deg, rgba(124,92,255,0.12), rgba(255,92,180,0.10), rgba(255,215,106,0.10));
  border: 1px solid rgba(255, 215, 106, 0.3);
  border-radius: var(--r-xl);
  text-align: center;
  overflow: hidden;
}
.custom-card::before {
  content: ''; position: absolute; inset: -2px;
  background: var(--grad-1);
  filter: blur(40px); opacity: 0.15; z-index: -1;
}
.custom-tag {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: linear-gradient(135deg, #ffd76a, #ff5cb4);
  color: #1a0f00; font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 24px;
}
.custom-card h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  background: var(--grad-1);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}
.custom-card p { color: var(--text-dim); font-size: 18px; max-width: 720px; margin: 0 auto 30px; }
.custom-list {
  list-style: none; max-width: 520px; margin: 0 auto 36px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  text-align: left;
}
.custom-list li { color: var(--text-dim); font-size: 14px; }

/* =========================================================
   About section
   ========================================================= */
.about-section { max-width: 1100px; }
.about-section .section-head h2 .grad {
  background: var(--grad-1);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-intro {
  max-width: 780px; margin: 0 auto 60px;
  font-size: 17px; color: var(--text-dim); line-height: 1.8;
}
.about-intro p { margin-bottom: 20px; }
.about-intro strong { color: var(--text); font-weight: 600; }
.about-intro a {
  color: var(--accent); border-bottom: 1px solid currentColor;
  transition: color 0.2s;
}
.about-intro a:hover { color: var(--accent-2); }

/* Vision card */
.vision-card {
  position: relative;
  max-width: 980px; margin: 0 auto 30px;
  padding: 56px;
  background: linear-gradient(135deg, rgba(124,92,255,0.10), rgba(255,92,180,0.08), rgba(255,215,106,0.06));
  border: 1px solid rgba(255, 215, 106, 0.25);
  border-radius: var(--r-xl);
  overflow: hidden;
  text-align: center;
}
.vision-card::before {
  content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 400px; border-radius: 50%;
  background: var(--grad-1); filter: blur(120px); opacity: 0.18; z-index: 0;
}
.vision-card > * { position: relative; z-index: 1; }
.vc-tag {
  display: inline-block; padding: 6px 18px; border-radius: 999px;
  background: linear-gradient(135deg, #ffd76a, #ff5cb4);
  color: #1a0f00; font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 24px;
}
.vc-statement {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3vw, 36px); line-height: 1.3;
  font-weight: 500; color: var(--text);
  max-width: 760px; margin: 0 auto 18px;
  letter-spacing: -0.01em;
}
.vc-statement .grad {
  background: var(--grad-1);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}
.vc-sub {
  color: var(--text-dim); font-size: 15px;
  max-width: 580px; margin: 0 auto;
}

/* Mission card */
.mission-card {
  max-width: 980px; margin: 0 auto 80px;
  padding: 50px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  text-align: center;
}
.mc-tag {
  display: inline-block; padding: 6px 18px; border-radius: 999px;
  background: var(--grad-2); color: #07070c;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 22px;
}
.mc-statement {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 2.4vw, 28px); line-height: 1.4;
  font-weight: 500; color: var(--text);
  max-width: 720px; margin: 0 auto 16px;
  letter-spacing: -0.005em;
}
.mc-sub {
  color: var(--text-dim); font-size: 15px;
  max-width: 620px; margin: 0 auto;
}

/* Values block */
.values-block {
  max-width: 1100px; margin: 0 auto 80px;
}
.values-head { text-align: center; margin-bottom: 36px; }
.values-head h3 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-top: 12px;
}
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.value-card {
  position: relative;
  padding: 36px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all 0.3s var(--ease);
  overflow: hidden;
}
.value-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-1);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.value-card:hover {
  transform: translateY(-4px); border-color: var(--border-strong);
  box-shadow: 0 20px 50px rgba(124, 92, 255, 0.18);
}
.value-card:hover::before { transform: scaleX(1); }
.vc-num {
  font-family: 'Space Grotesk'; font-size: 13px;
  color: var(--text-mute); margin-bottom: 16px;
}
.vc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-soft);
  color: var(--accent); font-size: 22px;
  margin-bottom: 18px;
}
.value-card h4 {
  font-size: 22px; margin-bottom: 12px;
}
.value-card p {
  color: var(--text-dim); font-size: 14px; line-height: 1.7;
}

/* Offerings recap */
.about-offerings {
  max-width: 1100px; margin: 0 auto 60px;
}
.ao-head { text-align: center; margin-bottom: 30px; }
.ao-head h3 { font-size: clamp(22px, 2.6vw, 28px); margin-top: 10px; }
.ao-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.ao-item {
  padding: 22px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: 6px;
  transition: all 0.25s var(--ease);
}
.ao-item span {
  font-family: 'Space Grotesk'; font-size: 12px; color: var(--text-mute);
  letter-spacing: 0.05em;
}
.ao-item strong {
  font-family: 'Space Grotesk'; font-size: 16px; color: var(--text);
  font-weight: 600;
}
.ao-item:hover {
  background: var(--surface-2); border-color: var(--border-strong);
  transform: translateY(-2px);
}
.ao-featured {
  background: linear-gradient(135deg, rgba(255,215,106,0.08), rgba(255,92,180,0.08));
  border-color: rgba(255, 215, 106, 0.3);
}
.ao-featured strong { color: var(--gold); }

/* =========================================================
   Founder — long-form magazine layout
   ========================================================= */
.founder-tagline {
  font-size: 15px; color: var(--accent);
  letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 500; margin-top: 6px;
}

/* Hero card */
.founder-hero {
  display: grid; grid-template-columns: 320px 1fr; gap: 50px;
  align-items: center;
  max-width: 1000px; margin: 0 auto 70px;
  padding: 44px;
  background: linear-gradient(135deg, rgba(124,92,255,0.08), rgba(255,92,180,0.06));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  position: relative; overflow: hidden;
}
.founder-hero::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: var(--grad-1); filter: blur(80px); opacity: 0.18; z-index: 0;
}
.founder-hero > * { position: relative; z-index: 1; }

.founder-photo {
  aspect-ratio: 1;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--grad-1); padding: 4px;
  box-shadow: 0 20px 60px rgba(124, 92, 255, 0.35);
}
.founder-photo img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: calc(var(--r-lg) - 4px);
}

.founder-lede {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px; font-weight: 500; line-height: 1.3;
  color: var(--text); margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.founder-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  padding: 22px 0; margin-bottom: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.founder-stats div { display: flex; flex-direction: column; gap: 4px; }
.founder-stats strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px; font-weight: 600;
  background: var(--grad-1);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.founder-stats span {
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-mute);
}

.founder-links { display: flex; gap: 24px; flex-wrap: wrap; }
.founder-links a { color: var(--accent); font-weight: 500; font-size: 14px; }
.founder-links a:hover { text-decoration: underline; }

/* Long-form story */
.founder-story {
  max-width: 720px; margin: 0 auto;
  font-family: 'Inter', sans-serif;
  font-size: 17px; line-height: 1.8;
  color: var(--text-dim);
}
.founder-story p { margin-bottom: 22px; }
.founder-story p:first-of-type::first-letter {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 64px; font-weight: 600;
  float: left; line-height: 0.9;
  margin: 8px 12px 0 0;
  background: var(--grad-1);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.founder-story em { color: var(--text); font-style: italic; }
.founder-story strong { color: var(--text); font-weight: 600; }

.founder-pullquote {
  position: relative;
  margin: 50px -40px;
  padding: 40px 60px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px; font-weight: 500; line-height: 1.35;
  text-align: center;
  background: var(--grad-1);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}
.founder-pullquote::before,
.founder-pullquote::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
}
.founder-pullquote::before { top: 0; }
.founder-pullquote::after { bottom: 0; }
.founder-pullquote .pq-mark {
  display: block; font-size: 56px; line-height: 0.5;
  margin-bottom: 6px; opacity: 0.6;
}

.founder-emphasis {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px; font-weight: 600;
  text-align: center;
  color: var(--text);
  margin: 32px 0 !important;
  letter-spacing: -0.01em;
}

/* Today card */
.founder-today {
  max-width: 860px; margin: 80px auto 0;
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  position: relative;
}
.today-tag {
  display: inline-block;
  padding: 6px 16px; border-radius: 999px;
  background: var(--grad-2); color: #07070c;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 22px;
}
.founder-today p {
  font-size: 16px; color: var(--text-dim);
  line-height: 1.75; margin-bottom: 18px;
}
.founder-today strong { color: var(--text); }

.today-values {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-top: 30px; padding-top: 30px;
  border-top: 1px solid var(--border);
}
.value-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 14px; font-weight: 500;
  color: var(--text);
}
.value-chip span {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-soft);
  color: var(--accent);
  font-size: 14px;
}

/* Closing line */
.founder-closing {
  max-width: 860px; margin: 60px auto 0;
  text-align: center;
  padding: 50px 30px;
}
.closing-line {
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 600; letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.closing-line span { color: var(--text); }
.closing-line .closing-accent {
  background: var(--grad-1);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.closing-sub {
  font-style: italic;
  color: var(--text-mute); font-size: 16px;
}

/* =========================================================
   Book Section
   ========================================================= */
.book-section { max-width: 800px; }
.book-card {
  text-align: center;
  padding: 70px 50px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
}
.book-card h2 { font-size: clamp(32px, 4vw, 48px); margin: 12px 0 16px; }
.book-card p { color: var(--text-dim); font-size: 17px; margin-bottom: 32px; }
.book-card .btn { margin-bottom: 20px; }
.book-note { font-size: 13px; color: var(--text-mute); }
.book-note a { color: var(--accent); }

/* =========================================================
   Legal
   ========================================================= */
.legal-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 1000px; margin: 0 auto;
}
.legal-card {
  display: flex; gap: 24px; padding: 32px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all 0.3s var(--ease);
}
.legal-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(124, 92, 255, 0.2);
}
.legal-icon {
  flex-shrink: 0; width: 72px; height: 72px;
  border-radius: var(--r-md);
  background: var(--grad-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.legal-card small {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-mute);
}
.legal-card h4 { font-size: 18px; margin: 4px 0 8px; }
.legal-card p { font-size: 14px; color: var(--text-dim); margin-bottom: 12px; }
.legal-link { font-size: 14px; color: var(--accent); font-weight: 500; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  margin-top: 80px;
  padding: 80px 48px 30px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  max-width: 1400px; margin: 0 auto 50px;
}
.footer-tag { color: var(--text-dim); font-size: 14px; margin-top: 16px; max-width: 280px; }
.footer h5 {
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 18px; color: var(--text);
}
.footer a {
  display: block; padding: 6px 0;
  font-size: 14px; color: var(--text-dim);
  transition: color 0.2s;
}
.footer a:hover { color: var(--text); }
.footer .btn-sm { margin-top: 10px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1400px; margin: 0 auto;
  padding-top: 30px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-mute);
}

/* =========================================================
   Floating CTA
   ========================================================= */
.float-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px 12px 14px;
  background: linear-gradient(135deg, #1a1530 0%, #2a1a40 100%);
  border: 1px solid rgba(255, 215, 106, 0.35);
  border-radius: 999px;
  box-shadow: 0 20px 50px rgba(255, 92, 180, 0.25), 0 0 0 1px rgba(255, 215, 106, 0.15);
  transition: all 0.3s var(--ease);
  animation: floatPulse 3s ease-in-out infinite;
  max-width: 270px;
}
.float-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(255, 92, 180, 0.4);
  border-color: rgba(255, 215, 106, 0.6);
}
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 20px 50px rgba(255, 92, 180, 0.25), 0 0 0 1px rgba(255, 215, 106, 0.15); }
  50% { box-shadow: 0 20px 60px rgba(255, 92, 180, 0.4), 0 0 0 1px rgba(255, 215, 106, 0.4); }
}
.float-star {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #ffd76a, #ff5cb4);
  color: #1a0f00; display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.float-text { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.float-text strong { font-size: 13px; color: var(--gold); font-family: 'Space Grotesk'; }
.float-text em {
  font-style: normal; font-size: 12px; color: var(--text-dim);
  margin-top: 2px;
}

/* =========================================================
   Modal
   ========================================================= */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}
.modal-card {
  position: relative; z-index: 1;
  width: 100%; max-width: 580px;
  max-height: 90vh; overflow-y: auto;
  background: linear-gradient(180deg, #14121f 0%, #0c0b14 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--shadow);
  animation: modalIn 0.3s var(--ease);
}
@keyframes modalIn { from { transform: translateY(20px) scale(0.97); opacity: 0; } }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 22px; line-height: 1; color: var(--text-dim);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.modal-close:hover { background: var(--surface-2); color: var(--text); }
.modal-tag {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: linear-gradient(135deg, #ffd76a, #ff5cb4); color: #1a0f00;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 16px;
}
.modal-header h3 { font-size: 28px; margin-bottom: 8px; }
.modal-header p { color: var(--text-dim); font-size: 15px; margin-bottom: 28px; }

.modal-form { display: flex; flex-direction: column; gap: 16px; }
.modal-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal-form label { display: flex; flex-direction: column; gap: 6px; }
.modal-form span {
  font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-dim); font-weight: 500;
}
.modal-form input,
.modal-form select,
.modal-form textarea {
  padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text);
  font-family: inherit; font-size: 14px;
  transition: border-color 0.2s, background 0.2s;
}
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  outline: none; border-color: var(--accent);
  background: var(--surface-2);
}
.modal-form textarea { resize: vertical; min-height: 90px; }
.modal-form .btn { margin-top: 8px; position: relative; }
.modal-form .btn .btn-spinner {
  display: none;
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  animation: spinSm 0.7s linear infinite;
}
.modal-form .btn.is-loading .btn-label { opacity: 0.5; }
.modal-form .btn.is-loading .btn-spinner { display: inline-block; }
.modal-form .btn.is-loading { pointer-events: none; }
@keyframes spinSm { to { transform: rotate(360deg); } }

.form-error {
  margin: 4px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.10);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-size: 13px; text-align: center;
}
.form-error a { color: #fff; text-decoration: underline; }
.form-error[hidden] { display: none; }

.form-fine {
  font-size: 12px; color: var(--text-mute); text-align: center;
}

.modal-success { display: none; text-align: center; padding: 20px 0; }
.modal-success.show { display: block; }
.modal-success.show ~ .modal-form,
.modal-success.show ~ .modal-header { display: none; }
.modal-success .check {
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--grad-1); color: white;
  font-size: 36px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 0 50px rgba(124, 92, 255, 0.5);
}
.modal-success h3 { font-size: 26px; margin-bottom: 10px; }
.modal-success p { color: var(--text-dim); font-size: 15px; margin-bottom: 24px; }

/* =========================================================
   Reveal animations
   ========================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid .prod-featured { grid-column: span 2; }
  .video-grid, .card-grid { grid-template-columns: 1fr 1fr; }
  .prose .tile-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { width: 360px; height: 360px; }
}

@media (max-width: 860px) {
  .nav { padding: 14px 20px; }
  .nav.scrolled { padding: 10px 20px; }
  .nav-links {
    position: fixed; top: 70px; left: 20px; right: 20px;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px;
    background: rgba(15, 15, 24, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border); border-radius: var(--r-md);
    box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: all 0.25s var(--ease);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-link { padding: 12px 14px; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    width: 100%; box-shadow: none; background: transparent;
    border: none; padding: 0 0 8px; margin-top: 4px;
  }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero {
    flex-direction: column-reverse; padding: 130px 24px 60px;
    text-align: center; gap: 40px;
  }
  .hero-cta { justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero-visual { width: 280px; height: 280px; }
  .logo-glow { width: 130px; height: 130px; }

  .section { padding: 70px 24px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-grid .prod-featured { grid-column: span 1; }
  .video-grid, .card-grid { grid-template-columns: 1fr; }
  .prose .tile-row { grid-template-columns: 1fr; }
  .prose .metric-row { grid-template-columns: repeat(2, 1fr); padding: 20px; }
  .prose .prose-h { font-size: 20px; }
  .prose .lede { font-size: 19px; }
  .featured-banner { flex-direction: column; text-align: center; padding: 28px; }
  .custom-card { padding: 50px 26px; }
  .custom-list { grid-template-columns: 1fr; }

  .vision-card { padding: 36px 24px; }
  .mission-card { padding: 36px 24px; margin-bottom: 60px; }
  .values-grid { grid-template-columns: 1fr; gap: 14px; }
  .value-card { padding: 28px 24px; }
  .ao-grid { grid-template-columns: 1fr 1fr; }

  .founder-hero {
    grid-template-columns: 1fr; padding: 30px; gap: 30px; text-align: center;
  }
  .founder-photo { max-width: 240px; margin: 0 auto; }
  .founder-links { justify-content: center; }
  .founder-stats { gap: 12px; }
  .founder-stats strong { font-size: 26px; }
  .founder-lede { font-size: 22px; }
  .founder-pullquote {
    margin: 36px 0; padding: 30px 20px; font-size: 22px;
  }
  .founder-story p:first-of-type::first-letter {
    font-size: 48px; margin-right: 8px;
  }
  .founder-today { padding: 32px 24px; }
  .today-values { grid-template-columns: 1fr 1fr; }
  .founder-closing { padding: 30px 16px; }
  .closing-line { gap: 10px; }

  .legal-grid { grid-template-columns: 1fr; }
  .legal-card { flex-direction: column; }

  .footer { padding: 60px 24px 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  .float-cta { bottom: 16px; right: 16px; padding: 10px 16px 10px 12px; }
  .float-text strong { font-size: 12px; }
  .float-text em { font-size: 11px; }

  .modal-card { padding: 30px 24px; }
  .modal-form .row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-text { display: none; }
  .float-cta { padding: 10px; }
}
