/* =========================
   BASE
========================= */

:root {
  --background: #ffffff;
  --surface: #f5f5f7;
  --surface-2: #ececf0;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --border: rgba(0, 0, 0, 0.08);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --dark: #050505;
  --dark-card: #141414;
  --dark-text: #f5f5f7;
  --radius-large: 34px;
  --radius-medium: 24px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.section {
  position: relative;
}

.section-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--blue);
}

.eyebrow.muted {
  color: rgba(255, 255, 255, 0.58);
}

.page-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--blue);
}


/* =========================
   NAV
========================= */

.nav-wrap {
  position: fixed;
  z-index: 80;
  top: 16px;
  left: 50%;
  width: min(calc(100% - 28px), 1120px);
  transform: translateX(-50%);
  transition: 0.35s ease;
}

.nav {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 8px 10px 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.brand {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.nav-links {
  justify-self: center;
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: #4b4b50;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  gap: 8px;
}

.nav-button {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  transition: 0.2s ease;
}

.nav-button:hover {
  background: rgba(0, 0, 0, 0.05);
}

.nav-button.primary {
  background: var(--text);
  color: white;
}

.nav-button.primary:hover {
  background: #000;
}


/* =========================
   HERO
========================= */

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 150px 7vw 80px;
  background:
    radial-gradient(circle at 65% 20%, rgba(0, 113, 227, 0.10), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f7f7f9 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.hero h1 {
  margin: 0;
  max-width: 1000px;
  font-size: clamp(72px, 11.4vw, 168px);
  line-height: 0.88;
  letter-spacing: -0.075em;
  font-weight: 750;
}

.hero h1 span {
  display: block;
  color: #8e8e93;
}

.hero-copy {
  max-width: 680px;
  margin: 42px 0 0;
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.32;
  letter-spacing: -0.03em;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s ease;
}

.primary-button {
  background: var(--blue);
  color: white;
}

.primary-button:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}

.secondary-button {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}

.secondary-button:hover {
  background: rgba(0, 0, 0, 0.09);
}

.hero-stat {
  position: absolute;
  right: 7vw;
  bottom: 12vh;
  text-align: right;
}

.hero-stat-label,
.hero-stat-sub {
  margin: 0;
  color: var(--muted);
}

.hero-stat-label {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
}

.hero-stat-number {
  font-size: clamp(46px, 7vw, 92px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.065em;
}

.hero-stat-sub {
  margin-top: 8px;
  font-size: 13px;
}

.scroll-cue {
  position: absolute;
  left: 7vw;
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.scroll-line {
  display: block;
  width: 40px;
  height: 1px;
  background: #a0a0a5;
  animation: pulseLine 1.8s ease-in-out infinite;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.hero-glow-one {
  width: 500px;
  height: 500px;
  right: -120px;
  top: 80px;
  background: radial-gradient(circle, rgba(76, 172, 255, 0.13), rgba(76, 172, 255, 0));
}

.hero-glow-two {
  width: 380px;
  height: 380px;
  left: 20%;
  bottom: -160px;
  background: radial-gradient(circle, rgba(178, 113, 255, 0.10), rgba(178, 113, 255, 0));
}


/* =========================
   SECTION HEADINGS
========================= */

.section-heading {
  max-width: 820px;
  margin-bottom: 64px;
}

.section-heading h2,
.feature-copy h2,
.philosophy-title h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-heading > p:last-child,
.feature-copy > p:last-child,
.contact-copy > p:last-child {
  max-width: 660px;
  margin-top: 26px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
}


/* =========================
   STATS
========================= */

.stats-section {
  padding: 140px 0 150px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-radius: var(--radius-medium);
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.stat-kicker,
.stat-caption {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.stat-value {
  font-size: clamp(54px, 6vw, 78px);
  font-weight: 700;
  letter-spacing: -0.065em;
}

.credential-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.credential-row span {
  padding: 13px 16px;
  border-radius: 999px;
  background: #f7f7f9;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
}


/* =========================
   DARK FEATURE
========================= */

.dark-section {
  background: var(--dark);
  color: var(--dark-text);
}

.feature-section {
  padding: 160px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: start;
}

.feature-copy {
  position: sticky;
  top: 150px;
}

.feature-copy > p:last-child {
  color: #96969d;
}

.feature-cards {
  display: grid;
  gap: 16px;
}

.feature-card {
  min-height: 300px;
  padding: 32px;
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 90% 0%, rgba(255,255,255,0.08), transparent 30%),
    var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.feature-number {
  display: inline-block;
  margin-bottom: 90px;
  color: #7f7f86;
  font-size: 12px;
  font-weight: 700;
}

.feature-card h3 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.035em;
}

.feature-card p {
  margin: 12px 0 0;
  max-width: 390px;
  color: #a7a7ad;
  font-size: 17px;
  line-height: 1.5;
}


/* =========================
   AIRCRAFT
========================= */

.aircraft-section {
  padding: 150px 0;
  background: #ffffff;
}

.aircraft-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.aircraft-card {
  overflow: hidden;
  border-radius: 30px;
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.aircraft-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.08);
}

.aircraft-visual {
  position: relative;
  min-height: 350px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.aircraft-visual::before,
.aircraft-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.aircraft-visual::before {
  width: 320px;
  height: 320px;
  background: rgba(255,255,255,0.35);
  filter: blur(6px);
}

.aircraft-visual::after {
  width: 220px;
  height: 2px;
  background: rgba(0,0,0,0.16);
  box-shadow:
    -42px -5px 0 -1px rgba(0,0,0,0.10),
    45px 5px 0 -1px rgba(0,0,0,0.10);
  transform: rotate(-4deg);
}

.aircraft-visual span {
  position: relative;
  z-index: 2;
  font-size: clamp(60px, 9vw, 112px);
  font-weight: 800;
  letter-spacing: -0.08em;
  color: rgba(0,0,0,0.68);
  transform: skewX(-8deg);
}

.aircraft-c172 {
  background: linear-gradient(135deg, #dff2ff, #f8fbfd 55%, #dce7ef);
}

.aircraft-pa28 {
  background: linear-gradient(135deg, #f2f2f4, #e7edf3);
}

.aircraft-sr20 {
  background: linear-gradient(135deg, #dce5ff, #f4f5fb);
}

.aircraft-pa44 {
  background: linear-gradient(135deg, #ececec, #dce3e7);
}

.aircraft-info {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  padding: 30px;
}

.aircraft-type {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.aircraft-info h3 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.aircraft-info > p {
  max-width: 220px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: right;
}


/* =========================
   TIMELINE
========================= */

.timeline-section {
  padding: 150px 0;
  background: var(--surface);
}

.timeline {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
  padding-left: 92px;
}

.timeline-line {
  position: absolute;
  left: 29px;
  top: 12px;
  bottom: 16px;
  width: 2px;
  background: #d1d1d6;
  overflow: hidden;
}

.timeline-fill {
  width: 100%;
  height: 0;
  background: var(--blue);
}

.timeline-item {
  position: relative;
  min-height: 220px;
  padding: 0 0 72px;
}

.timeline-dot {
  position: absolute;
  left: -71px;
  top: 8px;
  width: 20px;
  height: 20px;
  border: 5px solid var(--surface);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}

.timeline-year {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.timeline-item h3 {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 54px);
  letter-spacing: -0.045em;
}

.timeline-item > p:last-child {
  max-width: 590px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.future-item .timeline-dot {
  background: #a1a1a7;
}


/* =========================
   PHILOSOPHY
========================= */

.philosophy-section {
  padding: 160px 0;
}

.philosophy-title {
  max-width: 900px;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 72px;
}

.philosophy-card {
  min-height: 320px;
  padding: 30px;
  border-radius: var(--radius-large);
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.philosophy-card span {
  display: block;
  color: #77777e;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 120px;
}

.philosophy-card h3 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.philosophy-card p {
  margin: 10px 0 0;
  color: #9d9da3;
  font-size: 16px;
  line-height: 1.5;
}


/* =========================
   CONTACT
========================= */

.contact-section {
  padding: 150px 0 120px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: end;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}


/* =========================
   FOOTER
========================= */

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 26px 0 38px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}


/* =========================
   MODAL
========================= */

.modal-backdrop {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,0.38);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.recruiter-modal {
  position: relative;
  width: min(680px, 100%);
  padding: 36px;
  border-radius: 34px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 30px 80px rgba(0,0,0,0.20);
  transform: translateY(16px) scale(0.98);
  transition: 0.25s ease;
}

.modal-backdrop.open .recruiter-modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #ececef;
  font-size: 26px;
  line-height: 1;
  color: #444;
  cursor: pointer;
}

.recruiter-modal h2 {
  margin: 0;
  font-size: clamp(42px, 7vw, 66px);
  letter-spacing: -0.06em;
}

.modal-subtitle {
  margin: 8px 0 30px;
  color: var(--muted);
  font-size: 16px;
}

.modal-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.modal-stats > div {
  padding: 18px;
  border-radius: 18px;
  background: var(--surface);
}

.modal-stats span {
  display: block;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.05em;
}

.modal-stats p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.modal-details {
  margin-top: 24px;
}

.modal-details p {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.modal-details strong {
  font-weight: 600;
}

.modal-details span {
  color: var(--muted);
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}


/* =========================
   REVEAL ANIMATIONS
========================= */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.8s cubic-bezier(.2,.7,.2,1),
    transform 0.8s cubic-bezier(.2,.7,.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

@keyframes pulseLine {
  0%, 100% { transform: scaleX(1); opacity: 0.45; }
  50% { transform: scaleX(1.28); opacity: 1; }
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .nav {
    grid-template-columns: auto 1fr;
  }

  .nav-actions {
    justify-self: end;
  }

  .hero {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-stat {
    position: static;
    margin-top: 70px;
    text-align: left;
  }

  .scroll-cue {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .feature-copy {
    position: static;
  }

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

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .section-shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .nav-wrap {
    top: 10px;
    width: calc(100% - 18px);
  }

  .nav {
    min-height: 54px;
    padding-left: 15px;
  }

  .nav-button:not(.primary) {
    display: none;
  }

  .hero {
    min-height: 100svh;
    padding: 120px 18px 60px;
    align-items: start;
  }

  .hero-content {
    padding-top: 7vh;
  }

  .hero h1 {
    font-size: clamp(62px, 20vw, 92px);
  }

  .hero-copy {
    margin-top: 30px;
    font-size: 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stat {
    margin-top: 58px;
  }

  .stats-section,
  .aircraft-section,
  .timeline-section,
  .philosophy-section,
  .feature-section,
  .contact-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .section-heading {
    margin-bottom: 44px;
  }

  .section-heading h2,
  .feature-copy h2,
  .philosophy-title h2,
  .contact-copy h2 {
    font-size: 48px;
  }

  .section-heading > p:last-child,
  .feature-copy > p:last-child,
  .contact-copy > p:last-child {
    font-size: 17px;
  }

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

  .stat-card {
    min-height: 230px;
  }

  .feature-card,
  .philosophy-card {
    min-height: 250px;
  }

  .feature-number,
  .philosophy-card span {
    margin-bottom: 76px;
  }

  .aircraft-visual {
    min-height: 270px;
  }

  .aircraft-info {
    align-items: start;
    flex-direction: column;
  }

  .aircraft-info > p {
    text-align: left;
  }

  .timeline {
    padding-left: 60px;
  }

  .timeline-line {
    left: 15px;
  }

  .timeline-dot {
    left: -54px;
  }

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

  footer {
    width: calc(100% - 28px);
    flex-direction: column;
  }

  .recruiter-modal {
    padding: 28px 20px 22px;
    border-radius: 26px;
  }

  .modal-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-details p {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .modal-actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
