/* Redbird Marketing — minimal / Tesla-style mockup */

:root {
  --red: #C8102E;
  --red-dark: #A00D25;
  --navy: #3C5A9A;
  --navy-deep: #2A4274;
  --black: #000000;
  --ink: #0A0A0A;
  --white: #FFFFFF;
  --mute: rgba(255, 255, 255, 0.62);
  --mute-strong: rgba(255, 255, 255, 0.82);
  --font: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (min-width: 800px) {
  html { scroll-snap-type: y mandatory; }
}
body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 44px;
  padding: 0 28px;
  border-radius: 4px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-compact {
  min-width: 0;
  height: 36px;
  padding: 0 18px;
  font-size: 12px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 640px;
  background: #000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  color: var(--white);
}
.hero-glow {
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(ellipse 55% 45% at 68% 58%, rgba(200, 16, 46, 0.32) 0%, transparent 62%),
    radial-gradient(ellipse 42% 38% at 28% 42%, rgba(60, 90, 154, 0.16) 0%, transparent 58%),
    radial-gradient(ellipse 40% 35% at 22% 78%, rgba(90, 6, 16, 0.4) 0%, transparent 58%),
    radial-gradient(ellipse 35% 28% at 48% 28%, rgba(200, 16, 46, 0.1) 0%, transparent 55%);
  animation: drift 32s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes drift {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to   { transform: translate3d(4%, 3%, 0) scale(1.1); }
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 45%, transparent 35%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 22%, transparent 70%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

.site-nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px 0;
  flex: 0 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  line-height: 0;
}
.logo img, .logo svg {
  height: 36px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a,
.nav-contact {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.78;
  padding: 8px 0;
}
.nav-links a:hover,
.nav-links a[aria-current="page"],
.nav-contact:hover { opacity: 1; }
html.no-snap { scroll-snap-type: none; }
.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--white); }

.hero-copy {
  position: relative;
  z-index: 4;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 11vh 32px 0;
}
.hero-copy h1 {
  font-weight: 300;
  font-size: clamp(52px, 8.4vw, 120px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--white);
}
.hero-copy p {
  margin-top: 22px;
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--mute-strong);
  max-width: 40em;
  line-height: 1.5;
}

.hero-cta {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 0 24px 11vh;
}

.vid-caption {
  position: absolute;
  left: 24px;
  bottom: 18px;
  z-index: 5;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

/* ===== CLIENTS ===== */
.clients {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}
.clients-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 48px 48px;
}
.clients-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 56px;
}
.client-group + .client-group { margin-top: 48px; }
.client-group h2 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 16px;
}
.names {
  max-width: 1240px;
  margin: 0 auto;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 2.2;
  color: var(--mute-strong);
}
.names button {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  line-height: inherit;
  white-space: nowrap;
  cursor: pointer;
}
.names button:hover,
.names button:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  outline: none;
}
.names button:not(:last-child)::after { content: "\00a0\00a0·\00a0\00a0"; }
.names button.eol::after { content: none; }
.r44 {
  margin-top: 64px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
}

.site-footer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
  padding: 22px 40px 28px;
  border-top: 1px solid rgba(60, 90, 154, 0.35);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.6;
}
.site-footer p { max-width: 62em; }

/* ===== RESPONSIVE ===== */
@media (max-width: 800px) {
  .site-nav { padding: 18px 20px 0; }
  .nav-links { gap: 20px; }
  .nav-links a, .nav-contact { font-size: 12px; }
  .logo img, .logo svg { height: 28px; }
  .hero { min-height: 100dvh; }
  .hero-copy { padding: 12vh 22px 0; }
  .hero-copy h1 { font-size: clamp(44px, 13vw, 72px); }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: min(320px, calc(100% - 48px));
    margin-inline: auto;
    padding-bottom: 12vh;
  }
  .hero-cta .btn { width: 100%; min-width: 0; }
  .vid-caption { left: 16px; bottom: 14px; font-size: 8px; }
  .clients-body { padding: 80px 24px 40px; }
  .clients-label { margin-bottom: 40px; }
  .desk-break { display: none; }
  .names {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55em;
    font-size: 10px;
    letter-spacing: 0.08em;
    line-height: 1.4;
  }
  .names button:not(:last-child)::after { content: none; }
  .names button { padding: 4px 0; }
  .r44 { margin-top: 48px; }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 16px;
  }
}

/* ===== CLIENT MODAL ===== */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}
.modal-card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  background: #0A0A0A;
  border: 1px solid rgba(60, 90, 154, 0.45);
  box-shadow: 0 0 0 1px rgba(200, 16, 46, 0.12), 0 24px 64px rgba(0,0,0,0.5);
  padding: 36px 32px 32px;
  color: var(--white);
  text-align: center;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover,
.modal-close:focus-visible { color: var(--white); outline: none; }
.modal-card h3 {
  font-family: var(--font);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.06em;
  line-height: 1.35;
  color: var(--white);
  margin: 0 0 24px;
}
.modal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.modal-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(60, 90, 154, 0.7);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
}
.modal-link:hover,
.modal-link:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  outline: none;
}
.modal-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.modal-soon {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
body.modal-open { overflow: hidden; }

@media (max-width: 800px) {
  .modal { padding: 16px; align-items: flex-end; }
  .modal-card { width: 100%; padding: 32px 20px 28px; }
}
