/* ============================================
   MICROBRANDED — shared styles for preview
   Mirrors src/styles/global.css + per-page styles,
   minus Tailwind / Astro-specific bits.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;700;800&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,700&family=Public+Sans:ital,wght@0,400;0,500;0,700;0,800;1,400;1,700;1,800&display=swap');

:root {
  /* Core palette */
  --color-brand-orange: #f97204;
  --color-deep-space: #023047;
  --color-teal: #219ebc;

  --color-orange-50: #fef0e1;
  --color-orange-100: #fdd6ad;
  --color-orange-200: #fbad5a;
  --color-orange-500: #f97204;
  --color-orange-600: #c45b03;
  --color-orange-800: #7d3a02;
  --color-orange-900: #4a2201;

  --color-teal-50: #e4f3f7;
  --color-teal-100: #b2dde9;
  --color-teal-200: #62bdd4;
  --color-teal-500: #219ebc;
  --color-teal-600: #1a7e96;
  --color-teal-800: #115567;
  --color-teal-900: #093540;

  --color-deep-50: #e3edf2;
  --color-deep-100: #aabfcd;
  --color-deep-200: #5a839b;
  --color-deep-500: #023047;
  --color-deep-600: #022538;
  --color-deep-800: #011826;
  --color-deep-900: #010e18;

  --color-ink-50: #f7f7f7;
  --color-ink-100: #ebebeb;
  --color-ink-200: #d4d4d4;
  --color-ink-300: #a3a3a3;
  --color-ink-400: #737373;
  --color-ink-500: #525252;
  --color-ink-600: #333333;
  --color-ink-800: #1a1a1a;
  --color-ink-900: #000000;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;

  --text-mega: clamp(3rem, 7vw + 1rem, 6.5rem);
  --text-display: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  --text-h1: clamp(2rem, 3vw + 1rem, 3rem);
  --text-h2: clamp(1.5rem, 2vw + 0.75rem, 2.25rem);
  --text-h3: clamp(1.125rem, 1vw + 0.5rem, 1.5rem);
  --text-body: 1.0625rem;
  --text-small: 0.875rem;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--color-ink-900);
  color: #fff;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: clip;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }

a {
  color: var(--color-teal-500);
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover, a:focus-visible { color: var(--color-teal-200); text-decoration: underline; }

img, svg, video { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 2px solid var(--color-orange-500);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: var(--color-orange-500); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============ CONTAINERS ============ */
.container-page {
  width: min(1240px, 100% - 2rem);
  margin-inline: auto;
  position: relative;
}
.container-narrow {
  width: min(760px, 100% - 2rem);
  margin-inline: auto;
  position: relative;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 0;
  position: relative;
  isolation: isolate;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-orange-500) 0%, var(--color-orange-200) 100%);
  color: #fff;
  box-shadow:
    0 4px 24px rgba(249, 114, 4, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-primary:hover, .btn-primary:focus-visible {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow:
    0 8px 32px rgba(249, 114, 4, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(249, 114, 4, 0.5);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* ============ GLASS ============ */
.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.glass-strong {
  background: rgba(2, 48, 71, 0.4);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.glass-card {
  padding: 1.75rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 114, 4, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(249, 114, 4, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* ============ GRADIENT TEXT ============ */
.grad-orange {
  background: linear-gradient(135deg, var(--color-orange-500) 0%, var(--color-orange-200) 60%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.grad-teal {
  background: linear-gradient(135deg, var(--color-teal-500) 0%, var(--color-teal-200) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.grad-mix {
  background: linear-gradient(120deg, #fff 0%, var(--color-orange-500) 50%, var(--color-teal-200) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.em-italic { font-style: italic; font-weight: 600; }

/* ============ EYEBROW ============ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-orange-500);
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-orange-500);
  box-shadow: 0 0 12px var(--color-orange-500);
}
.eyebrow-bare {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-orange-500);
}

/* ============ ORBS ============ */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  animation: orb-drift 22s ease-in-out infinite;
}
.orb-orange { background: radial-gradient(circle, rgba(249, 114, 4, 0.85) 0%, rgba(249, 114, 4, 0) 70%); }
.orb-teal {
  background: radial-gradient(circle, rgba(33, 158, 188, 0.7) 0%, rgba(33, 158, 188, 0) 70%);
  animation-delay: -7s;
  animation-duration: 28s;
}
.orb-deep {
  background: radial-gradient(circle, rgba(2, 48, 71, 0.9) 0%, rgba(2, 48, 71, 0) 70%);
  animation-delay: -14s;
}
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.1); }
  66% { transform: translate(-40px, 50px) scale(0.95); }
}

/* ============ GRID BG ============ */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at center, black 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* ============ LOGO ORB (hero) ============ */
.logo-orb {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.logo-orb::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(249, 114, 4, 0.55) 0%, rgba(249, 114, 4, 0) 60%);
  filter: blur(40px);
  animation: pulse-glow 4s ease-in-out infinite;
  z-index: -1;
  border-radius: 50%;
}
.logo-orb::after {
  content: '';
  position: absolute;
  inset: -25%;
  background: radial-gradient(circle, rgba(33, 158, 188, 0.35) 0%, rgba(33, 158, 188, 0) 70%);
  filter: blur(30px);
  animation: pulse-glow 4s ease-in-out infinite 2s;
  z-index: -1;
  border-radius: 50%;
}
.logo-orb img {
  position: relative;
  z-index: 1;
  animation: float-y 6s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.12); }
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ============ STAT CARD ============ */
.stat-card {
  background: rgba(2, 48, 71, 0.55);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.stat-card .stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.375rem;
}
.stat-card .stat-label {
  font-size: 0.8125rem;
  color: var(--color-ink-200);
  line-height: 1.35;
  margin: 0;
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============ SECTION ============ */
.section {
  position: relative;
  padding-block: 6rem;
  overflow: hidden;
}
.section-tight { padding-block: 4rem; }
.section-deep { background: linear-gradient(180deg, var(--color-ink-900) 0%, var(--color-deep-900) 100%); }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header[data-scrolled='true'] {
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1rem;
  transition: padding-block 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-header[data-past-hero='true'] .header-inner {
  padding-block: 0.5rem;
}
.site-header[data-past-hero='true'] {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}
.site-header[data-past-hero='true'] .brand-mark { width: 36px; height: 36px; }
.site-header[data-past-hero='true'] .brand-name { font-size: 0.95rem; }
.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: #fff;
  text-decoration: none;
}
.brand:hover { opacity: 0.85; text-decoration: none; color: #fff; }
.brand-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.brand-mark::before {
  content: '';
  position: absolute;
  inset: -8px;
  background: radial-gradient(circle, rgba(249, 114, 4, 0.4) 0%, transparent 70%);
  filter: blur(8px);
  z-index: -1;
  opacity: 0.6;
}
.brand-mark img { width: 100%; height: 100%; border-radius: 50%; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  transition: font-size 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-desktop { justify-self: center; }
.nav-desktop ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0.375rem;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  align-items: center;
}
.nav-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  color: var(--color-ink-200);
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav-link:hover { color: #fff; text-decoration: none; background: rgba(255, 255, 255, 0.05); }
.nav-link.is-active { color: #fff; background: rgba(249, 114, 4, 0.15); }

/* ============ CTA INSIDE NAV (slides in past hero) ============ */
.nav-cta-item {
  display: flex;
  align-items: center;
  max-width: 0;
  margin-left: 0;
  opacity: 0;
  transform: translateY(14px);
  overflow: hidden;
  pointer-events: none;
  /* DEFAULT STATE — used when scrolling BACK UP (exit). Fade out fast,
     collapse width AFTER fade completes so the OTHER nav items don't
     "slide" while the button is still visible. */
  transition:
    max-width 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s,
    margin-left 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s,
    opacity 0.35s cubic-bezier(0.4, 0, 0.4, 1),
    transform 0.4s cubic-bezier(0.4, 0, 0.4, 1);
}
.site-header[data-past-hero='true'] .nav-cta-item {
  max-width: 220px;
  margin-left: 0.25rem;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  /* PAST-HERO STATE — used when scrolling DOWN (entry). Width expands
     first, then button fades up into the slot. */
  transition:
    max-width 1s cubic-bezier(0.22, 1, 0.36, 1),
    margin-left 1s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.45s,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.45s;
}
.nav-link-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.125rem;
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-200));
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.nav-link-cta:hover, .nav-link-cta:focus-visible {
  text-decoration: none;
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-cta {
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
  opacity: 1;
  transform: translateY(0);
  /* DEFAULT STATE — used when scrolling BACK UP (entry). Delay so the
     in-pill CTA can finish fading out first, then this fades up from below. */
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.5s,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s,
    padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-header[data-past-hero='true'] .header-cta {
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  /* PAST-HERO STATE — used when scrolling DOWN (exit). Fade out
     immediately so the pill CTA can take over. */
  transition:
    opacity 0.4s cubic-bezier(0.4, 0, 0.4, 1),
    transform 0.45s cubic-bezier(0.4, 0, 0.4, 1),
    padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Inside the pill: nav-link sizing tweaks past-hero (subtle, like Mobbin) */
.site-header[data-past-hero='true'] .nav-desktop ul { padding: 0.25rem; }
.site-header[data-past-hero='true'] .nav-link {
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
}
.nav-desktop ul { transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.nav-link {
  transition:
    padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    font-size 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.18s ease,
    background 0.18s ease;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--color-ink-900);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 6rem;
  padding-block: 4rem 2rem;
  position: relative;
  z-index: 2;
}
.footer-top {
  display: grid;
  gap: 4rem;
  grid-template-columns: 1.2fr 2.8fr;
  padding-bottom: 3rem;
}
.footer-newsletter h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.625rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.875rem;
  color: #fff;
}
.footer-newsletter p {
  color: var(--color-ink-200);
  max-width: 34ch;
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0 0 1.5rem;
}
.footer-news-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 360px;
}
.footer-news-form input[type='email'] {
  padding: 0.95rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.footer-news-form input[type='email']:focus {
  outline: none;
  border-color: var(--color-orange-500);
  background: rgba(0, 0, 0, 0.4);
}
.footer-news-form button {
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.footer-news-form button:hover {
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-200));
  transform: translateY(-1px);
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.footer-nav h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 1.25rem;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.footer-nav a {
  color: var(--color-ink-200);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer-nav a:hover {
  color: var(--color-orange-500);
  text-decoration: none;
}
.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
}
.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--color-ink-300);
  font-size: 0.875rem;
}
.footer-brand-pill {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.footer-brand-pill:hover { opacity: 0.85; text-decoration: none; }
.footer-brand-pill img {
  height: 48px;
  width: auto;
  display: block;
}
.footer-socials {
  display: flex;
  gap: 0.625rem;
  align-items: center;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--color-ink-100);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.footer-socials a:hover {
  background: rgba(249, 114, 4, 0.15);
  border-color: rgba(249, 114, 4, 0.4);
  color: var(--color-orange-500);
  transform: translateY(-2px);
  text-decoration: none;
}
.footer-socials a svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 3rem; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
}
@media (max-width: 480px) {
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============ HERO (shared across pages) ============ */
.page-hero {
  position: relative;
  padding: 7rem 0 4rem;
  overflow: hidden;
  background: linear-gradient(180deg, #000 0%, var(--color-deep-900) 100%);
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.page-hero-inner .eyebrow {
  justify-content: center;
  margin-bottom: 1.25rem;
}
.page-hero-inner h1 {
  font-size: var(--text-display);
  margin: 0 auto 1.5rem;
  line-height: 1.05;
}
.page-hero-inner .hero-sub {
  font-size: 1.2rem;
  color: var(--color-ink-100);
  line-height: 1.55;
  max-width: 56ch;
  margin: 0 auto;
}

@media (max-width: 980px) {
  .header-inner { grid-template-columns: auto 1fr !important; }
  .nav-desktop { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: flex !important; }
}

/* ============ MOBILE MENU ============ */
.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
  position: relative;
  z-index: 60;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
  transform-origin: center;
}
/* Hamburger → X when open */
.menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Full-screen slide-in-from-right overlay */
.nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 100vw);
  z-index: 55;
  background: linear-gradient(180deg, rgba(1, 14, 24, 0.98), rgba(0, 0, 0, 0.99));
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.6);
  padding: 5.5rem 1.75rem 2rem;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  display: block !important;
  visibility: hidden;
  overflow-y: auto;
}
.nav-mobile[data-open='true'] {
  transform: translateX(0);
  visibility: visible;
}
/* Backdrop dim when menu open */
.nav-mobile::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: -1;
}
.nav-mobile[data-open='true']::before {
  opacity: 1;
  pointer-events: auto;
  /* clicking the backdrop closes via JS keydown/click handler */
}
.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.nav-mobile li {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-mobile[data-open='true'] li { opacity: 1; transform: translateX(0); }
.nav-mobile[data-open='true'] li:nth-child(1) { transition-delay: 0.12s; }
.nav-mobile[data-open='true'] li:nth-child(2) { transition-delay: 0.18s; }
.nav-mobile[data-open='true'] li:nth-child(3) { transition-delay: 0.24s; }
.nav-mobile[data-open='true'] li:nth-child(4) { transition-delay: 0.30s; }
.nav-mobile[data-open='true'] li:nth-child(5) { transition-delay: 0.40s; }
.nav-mobile a {
  display: block;
  padding: 1.1rem 1rem;
  color: var(--color-ink-100);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: var(--radius-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.18s ease, background 0.18s ease, padding-left 0.25s ease;
}
.nav-mobile a:hover,
.nav-mobile a:focus-visible,
.nav-mobile a.is-active {
  color: var(--color-orange-500);
  background: rgba(249, 114, 4, 0.06);
  text-decoration: none;
  padding-left: 1.5rem;
}
.mobile-cta {
  justify-content: center;
  margin-top: 1.25rem;
  color: #fff !important;
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-200)) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  padding: 0.95rem 1.5rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  text-align: center !important;
}
.mobile-cta:hover, .mobile-cta:focus-visible {
  padding-left: 1.5rem !important;
}
/* Prevent body scroll when menu is open */
body.nav-mobile-open { overflow: hidden; }

/* ============ PREVIEW BANNER ============ */
.preview-banner {
  background: linear-gradient(90deg, rgba(249, 114, 4, 0.1), rgba(33, 158, 188, 0.1));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--color-ink-200);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}
.preview-banner strong {
  color: var(--color-orange-500);
  margin-right: 0.5rem;
}
