/* ============================================================
   AIRTIFAE GROUP — Design tokens
   Palette drawn from the new brand mark (navy + brass).
   Display: Fraunces (editorial/diplomatic gravitas)
   Body:    Public Sans (USWDS-family — a nod to the DC base)
   ============================================================ */

:root {
  --navy-950: #0a0a0a;
  --navy-900: #121212;
  --navy-800: #1b1b1b;
  --navy-700: #262626;
  --brass: #c6a15b;
  --brass-light: #e4c989;
  --brass-dim: #9c7f47;
  --parchment: #f6f1e7;
  --parchment-dim: #eee6d4;
  --ink: #1a1a1a;
  --slate: #5c5c5c;
  --slate-light: #a3a3a3;
  --white: #ffffff;

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;

  --max-width: 1180px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--parchment);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy-950);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--slate); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-dim);
  display: inline-block;
  margin-bottom: 0.9em;
}

.eyebrow.on-dark { color: var(--brass-light); }

.sub-logo {
  height: 100px;
  width: auto;
  border-radius: 0;
  display: block;
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--brass);
  color: var(--navy-950);
}
.btn-primary:hover { background: var(--brass-light); }

.btn-outline {
  background: transparent;
  color: var(--parchment);
  border-color: rgba(246, 241, 231, 0.35);
}
.btn-outline:hover { border-color: var(--brass); color: var(--brass-light); }

.btn-outline-dark {
  background: transparent;
  color: var(--navy-950);
  border-color: var(--navy-950);
}
.btn-outline-dark:hover { background: var(--navy-950); color: var(--parchment); }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(198, 161, 91, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-logo img { height: 100px; width: auto; border-radius: 0; }
.nav-logo-text {
  font-family: var(--font-display);
  color: var(--parchment);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.nav-logo-text span { display: block; font-size: 0.62rem; letter-spacing: 0.18em; color: var(--brass-light); font-family: var(--font-body); font-weight: 600; margin-top: 2px; }

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: rgba(246, 241, 231, 0.82);
  font-size: 0.87rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--brass-light);
  border-bottom-color: var(--brass);
}

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy-950);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid rgba(198,161,91,0.25);
  }
  .nav-links.open { max-height: 400px; }
  .nav-links a { display: block; padding: 16px 32px; border-bottom: 1px solid rgba(198,161,91,0.1); }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--parchment);
    font-size: 1.6rem;
    cursor: pointer;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--parchment);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero h1 { color: var(--parchment); }
.hero-sub { color: var(--slate-light); font-size: 1.08rem; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.hero-locations {
  display: flex;
  gap: 28px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(198, 161, 91, 0.25);
}
.hero-location .loc-label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-light); font-weight: 700; margin-bottom: 4px; }
.hero-location .loc-name { font-family: var(--font-display); font-size: 1.15rem; color: var(--parchment); }

.arc-graphic { width: 100%; height: auto; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-locations { flex-direction: column; gap: 16px; }
}

/* ---------- Meridian divider (signature motif) ---------- */
.meridian {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 0;
}
.meridian::before, .meridian::after {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 220px;
  background: linear-gradient(90deg, transparent, var(--brass-dim));
}
.meridian::after { background: linear-gradient(90deg, var(--brass-dim), transparent); }
.meridian-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-dark { background: var(--navy-950); color: var(--parchment); }
.section-dark h2, .section-dark h3 { color: var(--parchment); }
.section-dark p { color: var(--slate-light); }
.section-tint { background: var(--parchment-dim); }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Two-pillar mission cards ---------- */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(198, 161, 91, 0.25);
  border: 1px solid rgba(198, 161, 91, 0.25);
}
.pillar {
  background: var(--navy-950);
  padding: 44px 40px;
}
.pillar p.mission { font-family: var(--font-display); font-size: 1.2rem; font-style: italic; color: var(--parchment); line-height: 1.5; margin-bottom: 28px; }
.pillar-tags { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.pillar-tag { font-size: 0.87rem; color: var(--brass-light); padding-left: 18px; position: relative; }
.pillar-tag::before { content: "—"; position: absolute; left: 0; color: var(--brass-dim); }

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

/* ---------- Vision quote band ---------- */
.vision-band {
  background: var(--navy-900);
  color: var(--parchment);
  padding: 90px 0;
  text-align: center;
  position: relative;
}
.vision-band .quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--brass-dim);
  line-height: 1;
  margin-bottom: -10px;
}
.vision-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 400;
  font-style: italic;
  max-width: 780px;
  margin: 0 auto;
  color: var(--parchment);
  line-height: 1.4;
}

/* ---------- Cards / grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid rgba(22, 35, 58, 0.08);
  padding: 30px 26px;
}
.card .num { font-family: var(--font-display); font-size: 0.85rem; color: var(--brass-dim); font-weight: 600; margin-bottom: 10px; display: block; }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; font-size: 0.93rem; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-950);
  color: var(--slate-light);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(198, 161, 91, 0.18);
}
.footer-col h4 { color: var(--parchment); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: var(--slate-light); font-size: 0.9rem; margin-bottom: 10px; }
.footer-col a:hover { color: var(--brass-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.8rem;
  color: var(--slate-light);
  flex-wrap: wrap;
  gap: 12px;
}
.social-row { display: flex; gap: 14px; }
.social-row a {
  width: 34px; height: 34px;
  border: 1px solid rgba(198, 161, 91, 0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: var(--brass-light);
}
.social-row a:hover { background: var(--brass); color: var(--navy-950); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--navy-950);
  color: var(--parchment);
  padding: 64px 0 48px;
}
.page-hero h1 { color: var(--parchment); margin-bottom: 10px; }
.page-hero p { color: var(--slate-light); max-width: 560px; font-size: 1.02rem; }

/* ---------- Team ---------- */
.team-group-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-dim);
  margin: 56px 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(22,35,58,0.1);
}
.team-group-label:first-of-type { margin-top: 0; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

.team-card { background: var(--white); border: 1px solid rgba(22,35,58,0.08); }
.team-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--parchment-dim); }
.team-info { padding: 16px 18px 20px; }
.team-info h3 { font-size: 1.02rem; margin-bottom: 3px; }
.team-info .role { font-size: 0.8rem; color: var(--brass-dim); font-weight: 600; }

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--white);
  border-left: 3px solid var(--brass);
  padding: 40px 44px;
  max-width: 820px;
}
.testimonial p { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--ink); line-height: 1.65; }
.testimonial .attribution { font-family: var(--font-body); font-style: normal; font-size: 0.85rem; color: var(--slate); margin-top: 18px; font-weight: 600; }

/* ---------- Partner logos ---------- */
.partner-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.partner-strip img { max-height: 56px; width: auto; filter: grayscale(1) opacity(0.75); transition: filter 0.2s ease; }
.partner-strip img:hover { filter: grayscale(0) opacity(1); }

/* ---------- Contact form ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--navy-950);
  color: var(--parchment);
  padding: 40px 34px;
}
.contact-info-card h3 { color: var(--parchment); }
.contact-info-card .field { margin-bottom: 24px; }
.contact-info-card .field .label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-light); font-weight: 700; margin-bottom: 6px; }
.contact-info-card .field .val { font-size: 0.98rem; color: var(--parchment); }

form.contact-form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.field-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-bottom: 7px;
}
.field-group input, .field-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid rgba(22,35,58,0.2);
  background: var(--white);
  border-radius: var(--radius);
}
.field-group input:focus, .field-group textarea:focus {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
  border-color: var(--brass);
}
.field-group textarea { resize: vertical; min-height: 130px; }

.form-note { font-size: 0.82rem; color: var(--slate-light); margin-top: 4px; }

/* ---------- Story page ---------- */
.story-lead { font-family: var(--font-display); font-size: 1.3rem; font-style: italic; color: var(--navy-950); max-width: 680px; margin-bottom: 30px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

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

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}
