:root {
  --ink: #17202a;
  --muted: #65717c;
  --paper: #f4f1eb;
  --white: #ffffff;
  --cloud: #eef4f7;
  --sky: #8ec6dc;
  --ocean: #235a7d;
  --navy: #16324f;
  --maple: #b71721;
  --sunset: #d6a15b;
  --line: rgba(23, 32, 42, 0.14);
  --shadow: 0 24px 70px rgba(22, 50, 79, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(18, 23, 30, 0.78), rgba(18, 23, 30, 0));
}

.brand, nav { display: flex; align-items: center; gap: 14px; }
.brand { font-weight: 900; }
.brand-mark {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.72);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.brand-mark img { width: 58px; height: 58px; object-fit: contain; }
nav { gap: 22px; font-size: 0.95rem; font-weight: 800; }

.hero { position: relative; min-height: 88vh; display: grid; align-items: end; overflow: hidden; color: var(--white); }
.hero-media {
  --hero-image: url("assets/coastal-cruise.png");
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 23, 30, 0.82) 0%, rgba(18, 23, 30, 0.54) 40%, rgba(18, 23, 30, 0.08) 100%),
    var(--hero-image) center / cover no-repeat,
    linear-gradient(135deg, var(--navy), var(--sky));
  transition: background-image 900ms ease;
}
.hero-content { position: relative; width: min(1120px, calc(100% - 36px)); margin: 0 auto; padding: 130px 0 92px; }
.eyebrow { margin: 0 0 12px; color: var(--sunset); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
h1, h2, h3, p, figure { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(3rem, 7vw, 7rem); line-height: 0.92; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.05; }
h3 { margin-bottom: 8px; font-size: 1.22rem; }
.hero-copy { max-width: 660px; color: rgba(255, 255, 255, 0.88); font-size: 1.14rem; }
.hero-actions, .application-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border-radius: 8px; padding: 12px 18px; border: 1px solid transparent; font-weight: 900; }
.primary { color: var(--white); background: var(--maple); }
.secondary { color: var(--white); border-color: rgba(255, 255, 255, 0.42); background: rgba(255, 255, 255, 0.12); }
.dark { color: var(--white); background: var(--navy); }
.light { color: var(--navy); border-color: var(--line); background: var(--white); }

.stats { display: grid; width: min(1120px, calc(100% - 36px)); grid-template-columns: repeat(4, 1fr); gap: 1px; margin: -42px auto 0; position: relative; z-index: 2; overflow: hidden; border-radius: 8px; background: var(--line); box-shadow: var(--shadow); }
.stats div { min-height: 118px; padding: 24px; background: rgba(255, 255, 255, 0.94); }
.stats strong, .stats span { display: block; }
.stats strong { color: var(--maple); font-size: 1.75rem; line-height: 1; }
.stats span { margin-top: 8px; color: var(--muted); font-weight: 800; }

.section, .map-section, .fleet-section, .gallery-section { width: min(1120px, calc(100% - 36px)); margin: 0 auto; padding: 92px 0; }
.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 46px; align-items: start; }
.section-copy p, .feature-list p, .apply-band p { color: var(--muted); }
.feature-list { display: grid; gap: 14px; }
.feature-list article { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.feature-list article:first-child { border-top: 5px solid var(--maple); }
.feature-list article:nth-child(2) { border-top: 5px solid var(--ocean); }
.feature-list article:nth-child(3) { border-top: 5px solid var(--sunset); }
.section-heading { max-width: 720px; }

.base-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; align-items: stretch; }
.base-map, .base-cards article, .route-dialog-panel { border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: 0 18px 42px rgba(22, 50, 79, 0.12); }
.base-map { min-height: 430px; overflow: hidden; background: var(--cloud); }
.leaflet-map { width: 100%; min-height: 430px; height: 100%; border-radius: 8px; background: var(--cloud); }
.route-leaflet-map { min-height: 640px; }
.airport-marker { border: 3px solid var(--white); border-radius: 999px; background: var(--maple); box-shadow: 0 0 0 2px rgba(23, 32, 42, 0.28), 0 10px 20px rgba(23, 32, 42, 0.25); }
.airport-marker.hub { width: 20px; height: 20px; background: var(--maple); }
.airport-marker.base { background: var(--maple); }
.airport-marker.satellite, .airport-marker.destination { background: var(--ocean); }
.airport-tooltip { border: 1px solid rgba(23, 32, 42, 0.14); border-radius: 6px; color: var(--navy); background: rgba(255, 255, 255, 0.94); box-shadow: 0 8px 18px rgba(23, 32, 42, 0.14); font-size: 0.78rem; font-weight: 900; }
.hub-label { color: var(--maple); }
.base-cards { display: grid; gap: 14px; }
.base-cards article { padding: 22px; }
.base-cards span { display: block; margin-bottom: 8px; color: var(--maple); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.base-cards p { color: var(--muted); }
.route-button { width: 100%; cursor: pointer; }

.route-dialog { width: min(1080px, calc(100% - 28px)); padding: 0; border: 0; background: transparent; }
.route-dialog::backdrop { background: rgba(8, 13, 20, 0.72); }
.route-dialog-panel { position: relative; padding: clamp(20px, 4vw, 34px); }
.dialog-close { position: absolute; top: 18px; right: 18px; min-height: 38px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; color: var(--navy); background: var(--cloud); font-weight: 900; cursor: pointer; }
.route-map-wrap { overflow: auto; }

.fleet-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; }
.fleet-card { min-height: 300px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: 0 18px 42px rgba(22, 50, 79, 0.12); }
.fleet-card.cargo { border-top: 6px solid var(--maple); }
.fleet-card.passenger { border-top: 6px solid var(--ocean); }
.fleet-photo { aspect-ratio: 16 / 9; margin-top: 18px; border-radius: 8px; object-fit: cover; }
.fleet-kicker { display: block; margin-bottom: 14px; color: var(--maple); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.fleet-card ul { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.fleet-card li { padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); background: var(--cloud); font-weight: 900; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
figure { position: relative; aspect-ratio: 16 / 9; min-height: 0; overflow: hidden; border-radius: 8px; background: var(--navy); box-shadow: 0 18px 42px rgba(22, 50, 79, 0.15); }
figure.wide { grid-column: span 2; }
figure img { height: 100%; min-height: 0; object-fit: contain; background: var(--navy); }
figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 10px; border-radius: 8px; color: var(--white); background: rgba(18, 23, 30, 0.72); font-size: 0.86rem; font-weight: 900; }
.image-only figcaption { display: none; }

.apply-band { display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center; padding: 76px clamp(18px, 6vw, 88px); background: linear-gradient(135deg, rgba(244, 241, 235, 0.96), rgba(238, 244, 247, 0.96)), url("assets/ramp-sunset.png") center / cover no-repeat; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.apply-band div:first-child { max-width: 700px; }
.application-actions { justify-content: flex-end; }
footer { display: flex; justify-content: space-between; gap: 18px; padding: 30px clamp(18px, 4vw, 56px); color: var(--muted); background: var(--white); font-size: 0.92rem; }

@media (max-width: 860px) {
  .site-header { position: absolute; align-items: flex-start; }
  nav { display: none; }
  .hero { min-height: 760px; }
  .hero-media { background: linear-gradient(180deg, rgba(18, 23, 30, 0.26) 0%, rgba(18, 23, 30, 0.88) 70%), var(--hero-image) center / cover no-repeat, linear-gradient(135deg, var(--navy), var(--sky)); }
  .stats, .split, .base-layout, .fleet-grid, .gallery-grid, .apply-band { grid-template-columns: 1fr; }
  .stats { width: 100%; margin-top: 0; border-radius: 0; }
  figure, figure.wide { grid-column: auto; }
  .section, .map-section, .fleet-section, .gallery-section { padding: 64px 0; }
  .base-map, .leaflet-map { min-height: 330px; }
  .route-leaflet-map { min-height: 520px; }
  .application-actions { justify-content: flex-start; }
  footer { flex-direction: column; }
}
