/* Built With Grok — SpaceXAI / x.ai visual system */

:root {
  --bg: #000000;
  --bg-elevated: #0a0a0a;
  --bg-card: #0f0f0f;
  --bg-card-hover: #141414;
  --border: #1f1f1f;
  --border-strong: #2a2a2a;
  --text: #ffffff;
  --text-muted: #8a8a8a;
  --text-dim: #5c5c5c;
  --accent: #ffffff;
  --accent-ink: #000000;
  --accent-soft: rgba(255, 255, 255, 0.06);
  --focus: rgba(255, 255, 255, 0.35);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --max: 1120px;
  --max-wide: 1280px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SF Mono", "Cascadia Code", ui-monospace, Consolas, monospace;
  --header-h: 64px;
}

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

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 16px;
  letter-spacing: -0.01em;
}

main {
  flex: 1;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.15s ease, color 0.15s ease;
}

a:hover {
  opacity: 0.75;
}

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

/* Layout */
.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.wrap-wide {
  width: min(100% - 2.5rem, var(--max-wide));
  margin-inline: auto;
}

/* Top strapline — Powered by SpaceXAI (Eve / Rive animation) */
.announce {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 0.65rem 1rem;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tagline-spacexai {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  line-height: 1;
  color: #fff;
}

.tagline-spacexai-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-inline: auto;
}

.tagline-spacexai-text {
  font-family: Inter, system-ui, Arial, sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.spacexai-logo-shell {
  display: inline-block;
  width: 10.8125rem;
  height: 2rem;
  flex: 0 0 auto;
  transform: scale(0.9);
  transform-origin: center center;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.spacexai-logo-shell--finished {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1875rem;
  transform: scale(1);
  transform-origin: center center;
}

.spacexai-logo-shell--finished .spacexai-logo-canvas-wrap {
  display: none;
}

.spacexai-logo-shell--finished .spacexai-logo-fallback--mark {
  display: block;
  width: 3.1875rem;
  height: auto;
}

.spacexai-logo-shell--fallback-wordmark,
.spacexai-logo-shell--fallback-mark {
  width: auto;
  height: 2rem;
  transform: scale(1);
}

.spacexai-logo-canvas-wrap {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 300ms ease;
}

.spacexai-logo-canvas-wrap--visible {
  opacity: 1;
}

.spacexai-logo-canvas {
  display: block;
  width: 100%;
  height: 100%;
  vertical-align: top;
}

.spacexai-logo-fallback {
  display: none;
}

.spacexai-logo-shell--fallback-wordmark .spacexai-logo-canvas-wrap {
  display: none;
}

.spacexai-logo-shell--fallback-wordmark .spacexai-logo-fallback--wordmark {
  display: block;
  width: 12.8125rem;
  height: auto;
}

.spacexai-logo-shell--fallback-mark .spacexai-logo-canvas-wrap {
  display: none;
}

.spacexai-logo-shell--fallback-mark .spacexai-logo-fallback--mark {
  display: block;
  width: 3.1875rem;
  height: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  background: rgba(0, 0, 0, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
  opacity: 1;
}

.logo:hover {
  opacity: 0.88;
}

.logo-mark-img {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
}

.logo-lockup-img {
  height: 28px;
  width: auto;
  display: block;
}

.logo-text {
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* Footer brand lockup slightly smaller */
.footer-brand .logo-mark-img {
  width: 28px;
  height: 28px;
}

.footer-brand .logo-text {
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.75rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 1;
}

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

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  padding: 0.45rem 0.95rem !important;
  border-radius: var(--radius-pill);
  background: var(--text) !important;
  color: var(--accent-ink) !important;
  font-weight: 600 !important;
  font-size: 0.8125rem !important;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.nav-cta:hover,
.nav-cta.active {
  opacity: 0.88 !important;
  color: var(--accent-ink) !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.65rem;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease, color 0.15s ease;
  text-decoration: none;
  font-family: inherit;
  opacity: 1;
}

.btn:hover {
  opacity: 0.9;
  text-decoration: none;
}

.btn-primary {
  background: var(--text);
  color: var(--accent-ink);
  border-color: var(--text);
}

.btn-primary:hover {
  background: #e8e8e8;
  border-color: #e8e8e8;
  opacity: 1;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: #444;
  background: var(--accent-soft);
  opacity: 1;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Hero — large display type + full-bleed video header (Grok / SpaceX-style) */
.hero {
  padding: 5.5rem 0 4rem;
  position: relative;
}

.hero:not(.hero--video)::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(255, 255, 255, 0.06), transparent 55%);
  pointer-events: none;
}

.hero > .wrap,
.hero > .wrap-wide {
  position: relative;
}

/* Full-bleed cinematic video header */
.hero--video {
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-video-desktop {
  display: block;
}

.hero-video-mobile {
  display: none;
}

.hero-media-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 40%, rgba(0, 0, 0, 0.72) 100%),
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(0, 0, 0, 0.35), transparent 55%);
  pointer-events: none;
}

.hero-grid--video {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.hero--video .hero-lead {
  color: rgba(255, 255, 255, 0.78);
}

.hero--video .hero-card {
  background: rgba(10, 10, 10, 0.55);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero--video .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.25);
}

.hero--video .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.28rem 0.7rem 0.28rem 0.45rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 1.75rem;
}

.eyebrow .pill-new {
  background: var(--text);
  color: var(--accent-ink);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-pill);
}

.hero h1,
.hero-title {
  font-size: clamp(2.75rem, 7.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 600;
  max-width: 14ch;
}

.hero h1 .line,
.hero-title .line {
  display: block;
}

.hero h1 em,
.hero-title em {
  font-style: normal;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-lead {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 34rem;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem 1.4rem;
}

.hero-card h3 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 1.1rem;
  font-weight: 600;
}

.stat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.stat-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.stat-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-list li:first-child {
  padding-top: 0;
}

.stat-list strong {
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* Stats band */
.stats-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.75rem 0;
}

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

.stat-item .num {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-item .label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 0.85rem;
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 36rem;
}

.section-head h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.section-head h2 .muted {
  color: var(--text-muted);
  font-weight: 500;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.6rem 1.45rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  margin-bottom: 1.15rem;
  color: var(--text);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.card p {
  color: var(--text-muted);
  font-size: 0.925rem;
  flex: 1;
  line-height: 1.55;
}

.card .meta {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--mono);
  letter-spacing: -0.02em;
}

.card .meta span {
  color: var(--text-muted);
}

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

.pillar {
  padding: 1.4rem 1.45rem;
  border-radius: calc(var(--radius) + 2px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease;
}

.pillar:hover {
  border-color: var(--border-strong);
}

.pillar h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.pillar p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.55;
}

/* CTA band */
.cta-band {
  margin: 1rem 0 5rem;
  padding: 3.25rem 2rem;
  border-radius: calc(var(--radius) + 6px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(255, 255, 255, 0.04), transparent 60%);
  pointer-events: none;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.035em;
  font-weight: 600;
  margin-bottom: 0.65rem;
  position: relative;
}

.cta-band p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 30rem;
  margin-inline: auto;
  position: relative;
  font-size: 1.05rem;
}

.cta-band .btn {
  position: relative;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 30% 0%, rgba(255, 255, 255, 0.04), transparent 55%);
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
}

.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.04em;
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 0.85rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 38rem;
  font-size: 1.1rem;
  line-height: 1.55;
}

/* Service detail */
.service-detail {
  display: grid;
  gap: 1.25rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-of-type {
  border-bottom: none;
}

.service-detail h2 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  letter-spacing: -0.03em;
  font-weight: 600;
}

.service-detail .lede {
  color: var(--text-muted);
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.55;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}

.panel h3 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 0.9rem;
  font-weight: 600;
}

.panel ul {
  margin-left: 1.05rem;
  color: var(--text-muted);
  font-size: 0.925rem;
}

.panel ul li {
  margin-bottom: 0.45rem;
  line-height: 1.45;
}

.panel ul li strong {
  color: var(--text);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag {
  font-size: 0.75rem;
  font-family: var(--mono);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  color: var(--text-muted);
  letter-spacing: -0.02em;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.prose p {
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  font-size: 1.02rem;
  line-height: 1.65;
}

.prose p strong {
  color: var(--text);
  font-weight: 600;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.checklist li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.95rem 1.05rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.checklist li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text);
  margin-top: 0.45rem;
  flex-shrink: 0;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
  padding: 3rem 0 4.5rem;
}

.contact-info h2 {
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

.contact-info dl {
  display: grid;
  gap: 1rem;
}

.contact-info dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info dd {
  font-size: 0.975rem;
  color: var(--text-muted);
}

.contact-info dd a {
  color: var(--text);
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
}

.form-card label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.form-card .field {
  margin-bottom: 1.1rem;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-card input::placeholder,
.form-card textarea::placeholder {
  color: var(--text-dim);
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: #555;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-card select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%238a8a8a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.25rem;
}

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

.form-card textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  margin-top: 0.95rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.45;
}

.form-note a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-success,
.form-error {
  display: none;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.form-success {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-muted);
}

.form-success strong {
  color: var(--text);
}

.form-success.show,
.form-success:not([hidden]) {
  display: block;
}

.form-error {
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid rgba(255, 100, 100, 0.35);
  color: #ffb4b4;
}

.form-error:not([hidden]) {
  display: block;
}

/* Honeypot — hide from humans, bots may fill it */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2.75rem;
  margin-top: auto;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-brand .logo {
  font-size: 0.9rem;
}

.footer-inner p,
.footer-copy {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 1;
}

.footer-links a:hover {
  color: var(--text);
  opacity: 1;
}

/* Utility */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 1.5rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

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

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

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

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .hero--video {
    min-height: min(88vh, 720px);
    padding: 3.25rem 0 3rem;
  }

  .hero-video-desktop {
    display: none;
  }

  .hero-video-mobile {
    display: block;
  }

  .hero h1,
  .hero-title {
    max-width: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(0, 0, 0, 0.96);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.35rem;
    gap: 0.15rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 0.25rem;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 0.5rem;
  }

  .site-header .nav {
    position: relative;
  }

  .cta-band {
    padding: 2.5rem 1.35rem;
  }
}

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

  .wrap {
    width: min(100% - 1.5rem, var(--max));
  }
}
