/* =============================================
   BLACKBIRD MANAGEMENT — style.css
   ============================================= */

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #1a1a1a;
  --accent: #3d6f6b;
  --accent-dim: #91d3d1;
  --text: #f0ece4;
  --text-muted: #888880;
  --border: #3e3e3e;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  padding-top: 110px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 3rem;
  background: rgb(10, 10, 10);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 0.02em;
  color: var(--text);
}

.nav-logo span { color: var(--accent); }

.nav-logo-img {
  height: 80px;
  width: auto;
  transition: height 0.6s ease;
  mix-blend-mode: screen;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent) !important;
  color: #0a0a0a !important;
  padding: 0.5rem 1.2rem;
  border-radius: 2px;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--accent-dim) !important; }

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #0a0a0a;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--accent-dim); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: 2px solid var(--text);
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover { border-color: var(--text-muted); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--accent);
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover { background: var(--accent); color: #0a0a0a; }

.full-width { width: 100%; text-align: center; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: calc(100vh - 110px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.2) 40%, transparent 70%);
  z-index: 1;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: blur(2px);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1s ease;
}

.hero-content--visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-text {
  max-width: 520px;
  text-align: left;
}

.hero-text .sr71-lead {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.9);
}

.hero-text .hero-sub {
  margin: 0 0 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.8;
  text-shadow: 0 1px 8px rgba(0,0,0,0.9);
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-title span { color: var(--accent); }

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 0 2.5rem 0;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* =============================================
   HERO INTRO
   ============================================= */
.hero-intro {
  background: linear-gradient(to bottom, transparent 0%, var(--bg-2) 35%);
  border-bottom: 1px solid var(--border);
  padding: 5rem 4rem;
  text-align: center;
  margin-top: -6rem;
  position: relative;
  z-index: 1;
}

.hero-intro-inner {
  max-width: 680px;
  margin: 0 auto;
}

.hero-intro .sr71-lead {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  color: var(--text);
  text-shadow: none;
}

.hero-intro .hero-sub {
  margin: 0 auto 2rem;
  font-size: 1.2rem;
  text-shadow: none;
  text-align: center;
  max-width: 100%;
}

.hero-intro .hero-actions {
  justify-content: center;
}

/* =============================================
   INTRO STRIP
   ============================================= */
.intro-strip {
  background: var(--accent);
  padding: 1.8rem 4rem;
  text-align: center;
}

.intro-strip p {
  color: #0a0a0a;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  max-width: 700px;
  margin: 0 auto;
}

/* =============================================
   SR-71 STORY SECTION
   ============================================= */
.sr71-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 4rem;
}

.sr71-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  align-items: start;
}

.sr71-label {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 0.4rem;
}

.sr71-lead {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.03em;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.sr71-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.85;
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding: 6rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header { margin-bottom: 3.5rem; }

.section-tag {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  letter-spacing: 0.03em;
  color: var(--text);
  line-height: 1;
}

/* =============================================
   CARDS
   ============================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}

.card {
  background: var(--bg-2);
  padding: 2.5rem;
  transition: background 0.2s;
}

.card:hover { background: var(--bg-3); }

.card-icon {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 1.2rem;
  line-height: 1;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.center-link { text-align: center; }

/* =============================================
   CTA BAND
   ============================================= */
.cta-band {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.04em;
  color: var(--text);
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  padding: 10rem 4rem 4rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 9vw, 8rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
  color: var(--text);
  margin-top: 0.5rem;
}

.page-hero h1 span { color: var(--accent); }

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.value-block {
  border: 1px solid var(--border);
  padding: 1.8rem;
  margin-bottom: 1.5px;
  background: var(--bg-2);
}

.value-block h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.value-block p,
.value-block li {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.value-block ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.value-block li::before {
  content: "— ";
  color: var(--accent);
}

/* =============================================
   SERVICES PAGE
   ============================================= */
.services-full {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
}

.service-item {
  display: flex;
  gap: 3rem;
  padding: 2.5rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.service-item:last-child { border-bottom: none; }
.service-item:hover { background: var(--bg-2); }

.service-num {
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: 0.04em;
  color: var(--border);
  line-height: 1;
  min-width: 60px;
  transition: color 0.2s;
}

.service-item:hover .service-num { color: var(--accent); }

.service-content h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.service-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================
   TEAM PAGE
   ============================================= */
.team-intro {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 3rem;
  font-style: italic;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}

.team-card {
  background: var(--bg-2);
  padding: 2rem;
  transition: background 0.2s;
}

.team-card:hover { background: var(--bg-3); }

.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.team-title {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.member-photo-wrap {
  position: relative;
  width: 75%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin: 0 auto 1.8rem;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-section { max-width: 1100px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.contact-info > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.detail-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 2.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.8rem 1rem;
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: #444; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 2.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.footer-logo span { color: var(--accent); }

.footer-logo-img {
    mix-blend-mode: screen;
  height: 250px;
  max-height: 260px;
  width: auto;

  padding: 0.5rem 1rem;
  border-radius: 2px;
}

.footer-left p:last-child {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow  { animation: fadeUp 0.6s ease both; animation-delay: 0.1s; }
.hero-title    { animation: fadeUp 0.7s ease both; animation-delay: 0.2s; }
.hero-stat-bar { animation: fadeUp 0.7s ease both; animation-delay: 0.65s; }
/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.2rem; }
  .hero { height: auto; aspect-ratio: 16 / 9; padding: 0; }
  .section { padding: 4rem 1.5rem; }
  .cards { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .stat-divider { margin: 0 1rem; }
  .cta-band { padding: 3rem 1.5rem; }
  .footer { flex-direction: column; gap: 1.5rem; align-items: flex-start; padding: 2rem 1.5rem; }
  .page-hero { padding: 8rem 1.5rem 3rem; }
  .sr71-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .sr71-section { padding: 3rem 1.5rem; }
  .hero-content { flex-direction: column; }
  .hero-text .sr71-lead { font-size: 1.6rem; }
  .hero-text .hero-sub { font-size: 0.9rem; }
  .hero-actions { flex-direction: column; gap: 0.8rem; }
  .hero-actions a { text-align: center; }
  .contact-page { padding: 10rem 1.5rem 4rem; }
  .nav-logo { font-size: 1.1rem; }
  .nav-logo-img { height: 60px; }
  .sr71-mobile { display: inline-block; }
  .sr71-float { display: none; }
}

@media (max-width: 600px) {
  .hero-stat-bar { flex-direction: column; gap: 1.5rem; }
  .stat-divider { display: none; }
  .team-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-text .sr71-lead { font-size: 1.3rem; }
  .cta-band h2 { font-size: 1.8rem; }
  .nav-logo { font-size: 1rem; }
  .nav-logo-img { height: 45px; }
  .contact-page { padding: 8rem 1.5rem 4rem; }
  .contact-logo-display { height: 150px; }
  .services-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
  }
  .hero-actions a {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
  .btn-primary, .btn-ghost {
    max-width: 300px;
  }
}
/* =============================================
   VIDEO BACKGROUND
   ============================================= */
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 0;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-logo-display {
  display: block;
  height: 280px;
  width: auto;
  margin: 3rem auto;
  mix-blend-mode: screen;
}

.contact-form-clean {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: left;
  border: 3px solid var(--border);
  padding: 2.5rem;
  background: var(--bg-2);
}

.contact-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 16rem 4rem 6rem;
}

/* =============================================
   NAV SCROLL ANIMATION
   ============================================= */
.nav {
  transition: padding 0.6s ease, background 0.6s ease;
}

.nav-scrolled {
  padding: 0.6rem 4rem;
  background: rgba(10,10,10,0.99);
}

.nav-scrolled .nav-logo-img {
  height: 50px;
}

.nav-scrolled .nav-logo {
  font-size: 1.1rem;
}

.nav-logo-img {
  transition: height 0.5s ease;
}

.nav-logo {
  transition: font-size 0.5s ease;
}
/* =============================================
   HAMBURGER MENU
   ============================================= */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-close-item {
  display: none;
}

@media (max-width: 600px) {
  .hamburger { display: block; }
  .nav-close-item {
    display: flex;
    justify-content: flex-end;
    width: 100%;
  }
  .nav-close {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    line-height: 1;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 77px;
    left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    padding: 1rem 2rem 2rem;
    align-items: flex-start;
    gap: 1.5rem;
    z-index: 99;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.3rem; }
}
/* =============================================
   SR-71 FLOATING BUTTON
   ============================================= */
.sr71-mobile {
  display: none;
}

.sr71-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.8rem 1.5rem;
  border-radius: 2px;
  z-index: 200;
  transition: background 0.2s, color 0.2s, opacity 0.3s, transform 0.3s;
}

.sr71-float.sr71-hidden {
  opacity: 0;
  transform: scale(0.7);
  pointer-events: none;
}

.sr71-float:hover {
  background: var(--accent);
  color: #0a0a0a;
}