/* ==========================================================================
   LUMORA AI — Design tokens
   ========================================================================== */

:root {
  /* Tells the browser this whole site is dark, so native controls it
     renders itself — a <select>'s dropdown popup, scrollbars, etc — default
     to dark chrome instead of light. Without this, a <select> could look
     right closed (we style that ourselves) but open onto a browser-default
     white popup with our own light --text-primary still cascading into it —
     white text on a white list, unreadable. */
  color-scheme: dark;

  /* Surfaces */
  --bg: #05050a;
  --bg-elevated: #0d0d16;
  --bg-elevated-2: #12121f;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text-primary: #f8fafc;
  --text-secondary: #a0aec0;
  --text-tertiary: #6b7280;

  /* Brand */
  --blue: #2fa8f5;
  --violet: #8b5cf6;
  --magenta: #ec4899;
  --orange: #fb923c;

  --gradient-brand: linear-gradient(120deg, var(--blue) 0%, var(--violet) 40%, var(--magenta) 70%, var(--orange) 100%);
  --gradient-brand-soft: linear-gradient(120deg, rgba(47, 168, 245, 0.15), rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.15), rgba(251, 146, 60, 0.15));

  /* Semantic (previously ad hoc — two different hardcoded greens existed
     for "success" in app.css alone before this). Derived from the existing
     brand palette, not new hues: success reuses a genuine green since none
     of the four brand colors reads as "success", danger/warning reuse the
     brand's own magenta/orange so state colors still feel native to the
     palette rather than bolted on. */
  --success: #34d399;
  --success-bg: rgba(52, 211, 153, 0.12);
  --danger: var(--magenta);
  --danger-bg: rgba(236, 72, 153, 0.12);
  --warning: var(--orange);
  --warning-bg: rgba(251, 146, 60, 0.12);

  /* Elevation — every panel/card sat flush on the background before this
     (zero shadow at rest), so stacked surfaces visually merged into one
     plane. --shadow-glow is a soft violet bloom for primary/active
     elements, not a new color — reuses --violet at low alpha. */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35), 0 1px 3px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 0 1px rgba(139, 92, 246, 0.25), 0 8px 28px rgba(139, 92, 246, 0.2);

  /* Type */
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* A real scale, formalizing sizes that already existed ad hoc per
     section (hero/section/panel headings) rather than changing them —
     nothing should visually jump when these get adopted. */
  --text-xs: 12px;
  --text-sm: 13.5px;
  --text-base: 15px;
  --text-lg: 17px;
  --text-xl: clamp(20px, 2.6vw, 24px);
  --text-2xl: clamp(24px, 3.4vw, 30px);
  --text-3xl: clamp(28px, 4.5vw, 42px);
  --text-4xl: clamp(36px, 6.4vw, 72px);

  /* Layout */
  --container-w: 1180px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --border-subtle: rgba(255, 255, 255, 0.06);

  --header-h: 76px;
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input { font: inherit; }
svg { width: 100%; height: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

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

.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #05050a;
  font-weight: 700;
  box-shadow: 0 8px 24px -8px rgba(139, 92, 246, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(139, 92, 246, 0.7); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}
.btn-outline:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.05); }

.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

.btn.is-loading { opacity: 0.85; cursor: progress; transform: none !important; }
.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  vertical-align: -2px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: currentColor;
  animation: lumoraSpin 0.7s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .btn-spinner { animation-duration: 1.6s; }
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(5, 5, 10, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }

/* Icon mark + real text wordmark — crisp at any size, unlike a shrunk raster logo */
.brand-lockup { display: inline-flex; align-items: center; gap: 9px; }
.brand-icon { height: 30px; width: auto; flex-shrink: 0; display: block; }
.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--text-primary);
  white-space: nowrap;
}
.brand-wordmark-ai {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.18s ease;
  position: relative;
}
.main-nav a:hover { color: var(--text-primary); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.login-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.18s ease;
}
.login-link:hover { color: var(--text-primary); }

.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: clamp(64px, 12vw, 140px) 0 clamp(56px, 9vw, 100px);
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 680px;
  background:
    radial-gradient(36% 52% at 18% 28%, rgba(47, 168, 245, 0.34), transparent 70%),
    radial-gradient(34% 50% at 82% 22%, rgba(236, 72, 153, 0.30), transparent 70%),
    radial-gradient(42% 58% at 50% 58%, rgba(139, 92, 246, 0.26), transparent 70%),
    radial-gradient(26% 40% at 68% 68%, rgba(251, 146, 60, 0.18), transparent 70%),
    radial-gradient(30% 44% at 30% 78%, rgba(47, 168, 245, 0.14), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  animation: auroraDrift 22s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes auroraDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  50%  { transform: translate3d(1.5%, 2%, 0) scale(1.04) rotate(1.5deg); }
  100% { transform: translate3d(-2%, 3%, 0) scale(1.08) rotate(-1deg); }
}

/* Faint tech-grid texture behind the aurora glow — the kind of subtle depth
   cue used across modern SaaS marketing hero sections (Linear/Vercel/Stripe
   style), never sharp enough to compete with the headline for attention.
   Masked with a radial gradient so it's only visible near the center and
   fades to nothing at the edges, rather than tiling harshly to the page
   boundary. */
.hero-grid {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 680px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(60% 60% at 50% 45%, #000 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* Three small glowing orbs drifting independently at different speeds/
   directions on top of the aurora — this is what actually reads as
   "alive" rather than just a static gradient blob; each one is cheap to
   animate (transform + opacity only, blur stays static) so it never taxes
   scroll/paint performance. */
.hero-orbs { position: absolute; inset: -20% -10% auto -10%; height: 680px; pointer-events: none; z-index: 0; }
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  will-change: transform, opacity;
}
.hero-orb-1 {
  top: 18%; left: 14%; width: 10px; height: 10px;
  background: var(--blue);
  box-shadow: 0 0 24px 6px rgba(47, 168, 245, 0.7);
  animation: orbFloat 9s ease-in-out infinite;
}
.hero-orb-2 {
  top: 62%; left: 82%; width: 7px; height: 7px;
  background: var(--magenta);
  box-shadow: 0 0 20px 5px rgba(236, 72, 153, 0.7);
  animation: orbFloat 11s ease-in-out infinite -3s;
}
.hero-orb-3 {
  top: 30%; left: 76%; width: 8px; height: 8px;
  background: var(--violet);
  box-shadow: 0 0 22px 6px rgba(139, 92, 246, 0.7);
  animation: orbFloat 13s ease-in-out infinite -7s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.7; }
  50%      { transform: translate3d(-14px, -22px, 0); opacity: 1; }
}

/* Was injected at runtime by js/studio.js — promoted to real CSS once a
   second consumer (.btn-spinner, below) needed it too. */
@keyframes lumoraSpin { to { transform: rotate(360deg); } }

.hero-inner { position: relative; z-index: 1; max-width: 780px; margin-inline: auto; }

.hero h1 {
  font-size: clamp(36px, 6.4vw, 72px);
  margin-bottom: 22px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-note { font-size: 13.5px; color: var(--text-tertiary); }

/* ==========================================================================
   Stats
   ========================================================================== */

.stats { padding: 20px 0 clamp(56px, 8vw, 96px); position: relative; z-index: 1; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}

.stat { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.stat-number { font-family: var(--font-display); font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
.stat-label { font-size: 13.5px; color: var(--text-tertiary); }

/* ==========================================================================
   Section shared
   ========================================================================== */

.section-head {
  max-width: 620px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}

.section-head h2 { font-size: clamp(28px, 4.5vw, 42px); margin-bottom: 16px; }
.section-sub { color: var(--text-secondary); font-size: clamp(15px, 1.6vw, 17px); }

.studios, .process { padding: clamp(60px, 9vw, 110px) 0; }

/* ==========================================================================
   Studios grid
   ========================================================================== */

.studio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.studio-grid-2 { grid-template-columns: repeat(2, 1fr); }
.studio-grid-5 { grid-template-columns: repeat(5, 1fr); }

.studio-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.studio-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--bg-elevated-2);
  box-shadow: var(--shadow-lg);
}

.studio-icon {
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.04);
}
.icon-blue    { color: var(--blue); }
.icon-violet  { color: var(--violet); }
.icon-magenta { color: var(--magenta); }
.icon-orange  { color: var(--orange); }

.studio-card h3 { font-size: 19px; margin-bottom: 8px; }
.studio-card p { color: var(--text-secondary); font-size: 14.5px; margin-bottom: 20px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li {
  font-size: 12.5px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  padding: 5px 11px;
  border-radius: 999px;
}

.studio-card-cta {
  background: var(--gradient-brand-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.studio-card-cta p { margin-bottom: 24px; }

/* ==========================================================================
   Process
   ========================================================================== */

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 26px 22px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
}

.step-index {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

.process-step h3 { font-size: 16.5px; margin-bottom: 8px; }
.process-step p { font-size: 13.5px; color: var(--text-secondary); }

/* ==========================================================================
   CTA
   ========================================================================== */

.cta { padding: 0 0 clamp(80px, 10vw, 120px); }

.cta-panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(48px, 8vw, 80px) 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  max-width: var(--container-w);
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: var(--gradient-brand-soft);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 14px; }
.cta-panel .section-sub { margin-bottom: 8px; }

/* ==========================================================================
   Static content pages (About, Contact, Careers, Legal)
   ========================================================================== */

.static-page { padding: clamp(60px, 9vw, 110px) 0 clamp(70px, 9vw, 110px); }
.static-page .container { max-width: 760px; }
.static-page h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 18px; }
.static-page .page-sub { color: var(--text-secondary); font-size: 17px; margin-bottom: 44px; }
.static-page h2 { font-size: 21px; margin: 40px 0 14px; }
.static-page h2:first-of-type { margin-top: 0; }
.static-page p { color: var(--text-secondary); margin-bottom: 16px; }
.static-page ul { margin: 0 0 20px 22px; color: var(--text-secondary); }
.static-page ul li { list-style: disc; margin-bottom: 8px; }
.static-page strong { color: var(--text-primary); }
.static-page .inline-link { color: var(--violet); text-decoration: underline; text-underline-offset: 2px; }
.static-page .updated-note { font-size: 13px; color: var(--text-tertiary); margin-bottom: 32px; }
.static-page .legal-disclaimer {
  margin-top: 40px;
  padding: 16px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: rgba(251, 146, 60, 0.06);
  font-size: 13.5px;
  color: var(--text-secondary);
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item { display: flex; gap: 14px; }
.contact-info-item svg { width: 20px; height: 20px; color: var(--violet); flex-shrink: 0; margin-top: 2px; }
.contact-info-item h3 { font-size: 15px; margin-bottom: 4px; }
.contact-info-item p { color: var(--text-secondary); font-size: 14px; margin-bottom: 0; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }

/* Reuse .field styles from app.css when loaded; standalone fallback below */
.static-page .field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 0; }
.static-page .field label { font-size: 13.5px; font-weight: 600; color: var(--text-secondary); }
.static-page .field input,
.static-page .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-size: 14.5px;
  font-family: var(--font-body);
}
.static-page .field input::placeholder,
.static-page .field textarea::placeholder { color: var(--text-tertiary); }
.static-page .field input:focus,
.static-page .field textarea:focus { outline: none; border-color: var(--violet); }

.error-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 14vw, 120px);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 20px;
}

@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border);
  padding-top: clamp(48px, 7vw, 72px);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand { max-width: 260px; }
.footer-brand .brand-lockup { margin-bottom: 14px; }
.footer-brand .brand-icon { height: 26px; }
.footer-brand .brand-wordmark { font-size: 16px; }
.footer-brand p { color: var(--text-tertiary); font-size: 14px; margin-bottom: 20px; }

.social-links { display: flex; gap: 14px; }
.social-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  padding: 8px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.social-links a:hover { color: var(--text-primary); border-color: var(--border-strong); }

.footer-nav {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; color: var(--text-secondary); transition: color 0.18s ease; }
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 22px;
  text-align: center;
}
.footer-bottom p { font-size: 13px; color: var(--text-tertiary); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-glow, .hero-orb { animation: none; }
}

/* ==========================================================================
   Mobile nav overlay
   ========================================================================== */

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(5, 5, 10, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 64px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 90;
  }
  .main-nav.is-open { transform: translateX(0); }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
  .main-nav a { font-size: 20px; }
  .nav-cta-mobile { display: list-item; }
  .nav-cta-mobile a.login-link,
  .nav-cta-mobile a:not(.btn) { font-size: 20px; font-weight: 500; color: var(--text-secondary); }

  .header-actions .login-link,
  .header-actions .btn-sm { display: none; }
}

/* ==========================================================================
   Responsive breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .studio-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-inner { flex-direction: column; }
  .footer-nav { gap: 36px; }
}

@media (max-width: 640px) {
  .studio-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .brand-icon { height: 25px; }
  .brand-wordmark { font-size: 15.5px; }
}

@media (max-width: 420px) {
  .container { padding-inline: 18px; }
  .footer-nav { gap: 28px 24px; }
}
