/* ===================================================================
   MedAir — Modern Aviation Design System
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --navy:        #0a0d10;   /* near-black (footer)        */
  --navy-2:      #161b21;   /* dark ink (text & dark bg)  */
  --blue:        #ed3833;   /* primary red                */
  --sky:         #ff5b54;   /* lighter red                */
  --cyan:        #ff8a85;   /* light red highlight        */
  --ice:         #fdecec;   /* soft red tint (chips)      */
  --white:       #ffffff;
  --grey:        #5b6570;
  --grey-light:  #8a93a0;
  --line:        rgba(255,255,255,0.10);
  --danger:      #ed3833;

  --grad-hero:   linear-gradient(135deg, #0c1014 0%, #161b21 48%, #2a1416 100%);
  --grad-blue:   linear-gradient(120deg, #ff5b54 0%, #ed3833 58%, #c41e1a 100%);
  --grad-text:   linear-gradient(100deg, #ff6b64 0%, #ff9a95 100%);

  --shadow-sm:   0 4px 16px rgba(10,13,16,0.08);
  --shadow-md:   0 12px 40px rgba(10,13,16,0.12);
  --shadow-lg:   0 24px 70px rgba(10,13,16,0.20);
  --shadow-blue: 0 16px 50px rgba(237,56,51,0.35);

  --radius:      18px;
  --radius-lg:   28px;
  --maxw:        1180px;

  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--navy-2);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; line-height: 1.1; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }

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

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

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 1rem;
  padding: 15px 30px; border-radius: 100px;
  cursor: pointer; border: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad-blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 60px rgba(237,56,51,0.5); }
.btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); transform: translateY(-3px); }
.btn-dark { background: var(--navy-2); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 rgba(6,27,52,0.06);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.6rem;
  letter-spacing: -0.04em; position: relative; display: inline-flex; align-items: flex-start;
  line-height: 1; padding-top: 5px;
}
.brand .med { color: var(--blue); }
.brand .air { color: #fff; transition: color 0.4s ease; }
.nav.scrolled .brand .air { color: var(--navy-2); }
.brand .flourish {
  position: absolute; top: -8px; right: -3px; width: 76px; height: 22px;
  color: rgba(255,255,255,0.55); transition: color 0.4s ease; pointer-events: none;
}
.nav.scrolled .brand .flourish { color: var(--navy-2); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-weight: 600; font-size: 0.95rem; color: rgba(255,255,255,0.85);
  padding: 9px 16px; border-radius: 100px; transition: all 0.25s ease;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.12); }
.nav-links a.active { color: #fff; background: rgba(255,255,255,0.16); }
.nav.scrolled .nav-links a { color: var(--grey); }
.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a.active { color: var(--navy-2); background: var(--ice); }
.nav-cta { margin-left: 8px; }
.nav-links .btn { padding: 10px 22px; font-size: 0.92rem; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: 0.3s; }
.nav.scrolled .nav-toggle span { background: var(--navy-2); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--grad-hero); color: #fff; overflow: hidden;
  padding: 140px 0 80px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,91,84,0.22), transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(237,56,51,0.30), transparent 45%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.4;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 16px; border-radius: 100px; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.02em; margin-bottom: 26px; backdrop-filter: blur(8px);
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--sky);
  box-shadow: 0 0 0 0 rgba(255,91,84,0.7); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,91,84,0.6); }
  70%  { box-shadow: 0 0 0 12px rgba(255,91,84,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,91,84,0); }
}
.hero h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); font-weight: 700; margin-bottom: 22px; }
.hero h1 em { font-style: normal; }
.hero p.lead { font-size: clamp(1.1rem, 2vw, 1.4rem); color: rgba(255,255,255,0.82); max-width: 520px; margin-bottom: 36px; }
.hero p.lead strong { color: #fff; font-style: italic; font-weight: 700; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 520px;
}
/* Soft red radial glow behind the subject */
.hero-visual::before {
  content: ''; position: absolute; z-index: 0;
  width: 78%; height: 78%; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(237,56,51,0.42) 0%, rgba(237,56,51,0.15) 45%, transparent 72%);
  filter: blur(6px); pointer-events: none;
}
/* Thin animated orbit ring for a modern feel */
.hero-visual::after {
  content: ''; position: absolute; z-index: 0;
  width: 66%; aspect-ratio: 1/1; left: 50%; top: 50%; transform: translate(-50%, -50%);
  border: 1px dashed rgba(255,255,255,0.14); border-radius: 50%;
  animation: spin 40s linear infinite; pointer-events: none;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hero-visual img {
  position: relative; z-index: 1;
  width: auto; height: auto;
  max-height: 620px; max-width: 100%;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55)) drop-shadow(0 0 30px rgba(237,56,51,0.28));
}
.hero-float {
  position: absolute; background: rgba(255,255,255,0.95); color: var(--navy-2);
  border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 14px; backdrop-filter: blur(10px);
}
.hero-float .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--ice); display: grid; place-items: center; color: var(--blue); }
.hero-float .big { font-family: 'Space Grotesk'; font-weight: 700; font-size: 1.3rem; line-height: 1; }
.hero-float .sm { font-size: 0.78rem; color: var(--grey); }
.hero-float.f1 { top: 8%; left: -6%; animation: float 6s ease-in-out infinite; }
.hero-float.f2 { bottom: 10%; right: -5%; animation: float 6s ease-in-out infinite 1.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 3; font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-cue .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,0.4); border-radius: 14px; position: relative; }
.scroll-cue .mouse::after { content:''; position:absolute; top:7px; left:50%; transform:translateX(-50%); width:4px; height:7px; background:#fff; border-radius:2px; animation: wheel 1.8s infinite; }
@keyframes wheel { 0%{opacity:1; top:7px;} 70%{opacity:0; top:18px;} 100%{opacity:0;} }

/* ---------- Page header (interior pages) ---------- */
.page-head {
  background: var(--grad-hero); color: #fff; position: relative; overflow: hidden;
  padding: 170px 0 90px; text-align: center;
}
.page-head::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(circle at 70% 30%, rgba(255,91,84,0.20), transparent 50%),
              radial-gradient(circle at 20% 90%, rgba(237,56,51,0.28), transparent 50%);
}
.page-head .wrap { position: relative; z-index: 2; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; margin-bottom: 18px; }
.page-head p { color: rgba(255,255,255,0.8); font-size: 1.2rem; max-width: 640px; margin: 0 auto; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 100px 0; }
.section-eyebrow {
  display: inline-block; font-family: 'Space Grotesk'; font-weight: 600;
  font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 20px; color: var(--navy-2); }
.section-intro { font-size: 1.15rem; color: var(--grey); max-width: 680px; }
.center { text-align: center; }
.center .section-intro { margin: 0 auto; }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
.card {
  background: #fff; border: 1px solid #eef2f7; border-radius: var(--radius);
  padding: 36px 30px; box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: #d9e6f5; }
.card .ic {
  width: 58px; height: 58px; border-radius: 15px; background: var(--ice);
  display: grid; place-items: center; color: var(--blue); margin-bottom: 22px;
}
.card:hover .ic { background: var(--grad-blue); color: #fff; }
.card .ic svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.35rem; margin-bottom: 12px; color: var(--navy-2); }
.card p { color: var(--grey); font-size: 1rem; }

/* ---------- Split / alternating ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.split-media { position: relative; }
.split-media .badge {
  position: absolute; bottom: -22px; left: 24px;
  background: var(--grad-blue); color: #fff; padding: 16px 22px; border-radius: 16px;
  box-shadow: var(--shadow-blue); font-family: 'Space Grotesk'; font-weight: 700;
}
.split ul { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 18px; }
.split ul li { display: flex; gap: 14px; align-items: flex-start; }
.split ul li .check {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: var(--ice);
  color: var(--blue); display: grid; place-items: center; margin-top: 3px;
}
.split ul li strong { color: var(--navy-2); }
.split ul li span { color: var(--grey); }

/* ---------- Stats band ---------- */
.stats {
  background: var(--grad-hero); color: #fff; position: relative; overflow: hidden;
  padding: 90px 0;
}
.stats::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(circle at 50% 0%, rgba(255,91,84,0.16), transparent 55%);
}
.stats .wrap { position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 50px; }
.stat { text-align: center; }
.stat .num {
  font-family: 'Space Grotesk'; font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1; margin-bottom: 10px;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat .label { color: rgba(255,255,255,0.78); font-size: 0.98rem; }
.stats-lead { text-align: center; max-width: 720px; margin: 0 auto; }
.stats-lead h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; margin-bottom: 14px; }
.stats-lead p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }

/* ---------- Video section ---------- */
.video-section {
  position: relative; overflow: hidden; color: #fff;
  background: var(--grad-hero); padding: 100px 0;
}
.video-section::before {
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,91,84,0.18), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(237,56,51,0.20), transparent 50%);
}
.video-section .wrap { position: relative; z-index: 2; }
.video-section .section-title { color: #fff; }
.video-section .section-intro { color: rgba(255,255,255,0.78); }
.video-section .section-eyebrow { color: var(--sky); }
.video-frame {
  position: relative; margin: 56px auto 0; max-width: 960px;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: #000;
  border: 1px solid rgba(255,255,255,0.10);
}
.video-frame video { display: block; width: 100%; height: auto; }

/* ---------- Impact cards (About > Why It Matters) ---------- */
.impact-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  margin-top: 56px; align-items: stretch;
}
.impact-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px; padding: 32px 26px; backdrop-filter: blur(12px);
  display: flex; flex-direction: column; gap: 14px; text-align: left;
  transition: transform 0.4s var(--ease), background 0.4s ease, border-color 0.4s ease;
}
.impact-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.10); border-color: rgba(255,91,84,0.4); }
.impact-card .ic {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(237,56,51,0.16); color: var(--sky);
  display: grid; place-items: center;
}
.impact-card .num {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.impact-card .label {
  color: rgba(255,255,255,0.88); font-size: 1rem; line-height: 1.45;
  font-weight: 500; min-height: 3em;
}
.impact-card .src {
  margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.10);
  font-size: 0.78rem; color: rgba(255,255,255,0.5); letter-spacing: 0.02em;
}
.impact-source {
  text-align: center; margin-top: 34px; font-size: 0.85rem;
  color: rgba(255,255,255,0.55); font-style: italic;
}
@media (max-width: 980px) { .impact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .impact-grid { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta-band {
  background: var(--grad-blue); border-radius: var(--radius-lg); color: #fff;
  padding: 64px 56px; text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow-blue);
}
.cta-band::before { content:''; position:absolute; inset:0; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.18), transparent 50%); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 16px; }
.cta-band p { font-size: 1.2rem; opacity: 0.92; max-width: 560px; margin: 0 auto 32px; }
.cta-band .btn-white { background: #fff; color: var(--blue); box-shadow: 0 12px 40px rgba(0,0,0,0.18); }
.cta-band .btn-white:hover { transform: translateY(-3px); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 20px; }
.member {
  background: #fff; border: 1px solid #eef2f7; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex; flex-direction: column;
}
.member:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.member .photo {
  position: relative; width: 100%; padding-bottom: 100%; /* forces perfect square */
  overflow: hidden; background: var(--ice);
}
.member .photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
  transition: transform 0.6s var(--ease);
}
/* Scale-down modifier for photos whose subject fills the frame more tightly */
.member.tight .photo { background: transparent; }
.member.tight .photo img {
  object-fit: contain; object-position: center bottom;
  transform: scale(0.92); transform-origin: center bottom;
}
.member.tight:hover .photo img { transform: scale(0.96); }
.member:hover .photo img { transform: scale(1.05); }
.member .body { padding: 26px 26px 30px; }
.member h3 { font-size: 1.4rem; margin-bottom: 4px; color: var(--navy-2); }
.member .role { color: var(--blue); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.member .bio { color: var(--grey); font-size: 0.96rem; }
.member .bio p { margin-bottom: 12px; }
.member .bio p:last-child { margin-bottom: 0; }
.member .creds { margin-top: 18px; padding-top: 16px; border-top: 1px solid #eef2f7; font-size: 0.86rem; color: var(--grey-light); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; gap: 18px; align-items: center; background: #fff;
  border: 1px solid #eef2f7; border-radius: var(--radius); padding: 22px 24px;
  box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.contact-card .ic { width: 52px; height: 52px; flex-shrink: 0; border-radius: 13px; background: var(--ice); color: var(--blue); display: grid; place-items: center; }
.contact-card .lbl { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--grey-light); font-weight: 600; }
.contact-card .val { font-family: 'Space Grotesk'; font-weight: 600; font-size: 1.05rem; color: var(--navy-2); }
.contact-card.always { background: var(--grad-hero); color: #fff; border: none; }
.contact-card.always .ic { background: rgba(255,255,255,0.12); color: var(--cyan); }
.contact-card.always .lbl { color: rgba(255,255,255,0.6); }
.contact-card.always .val { color: #fff; }

.form-wrap { background: #fff; border: 1px solid #eef2f7; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }
.form-wrap h3 { font-size: 1.6rem; margin-bottom: 8px; color: var(--navy-2); }
.form-wrap > p { color: var(--grey); margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 7px; color: var(--navy-2); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1.5px solid #e3eaf2; border-radius: 12px;
  font-family: inherit; font-size: 1rem; color: var(--navy-2); background: #fbfcfe;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(237,56,51,0.12); background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-wrap .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 0.82rem; color: var(--grey-light); margin-top: 14px; text-align: center; }
.form-success {
  display: none; background: var(--ice); border: 1px solid #f6caca; color: var(--navy-2);
  border-radius: 12px; padding: 16px; margin-top: 16px; font-weight: 600; text-align: center;
}
.form-success.show { display: block; animation: fadeUp 0.5s var(--ease); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 70px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer .brand { margin-bottom: 16px; }
.footer .brand .air { color: #fff; }
.footer .brand .flourish { color: rgba(255,255,255,0.5); }
.footer-about { max-width: 320px; font-size: 0.96rem; }
.footer h4 { color: #fff; font-family: 'Space Grotesk'; font-size: 1.05rem; margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,0.7); margin-bottom: 10px; font-size: 0.96rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 0.88rem; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 12px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 480px; }
  .hero-float.f1 { left: 0; } .hero-float.f2 { right: 0; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: 78%; max-width: 320px;
    background: var(--navy-2); flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 100px 28px 40px; gap: 8px; transform: translateX(100%); transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,0.3);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: #fff !important; background: rgba(255,255,255,0.06) !important; padding: 14px 18px; }
  .nav-links .nav-cta { margin: 8px 0 0; }
  .nav-links .btn { width: 100%; justify-content: center; }
  .nav-toggle { display: flex; z-index: 110; }
  .cards { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 28px; }
  .section { padding: 70px 0; }
}
