@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/libre-franklin-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
}

:root {
  --ink: #15222C;
  --button: #0A66CC;
  --link: #0A5AB5;
  --pale: #F1F5F7;
  --white: #FFFFFF;
  --rule: #D5DEE3;
  --rule-dark: rgba(255, 255, 255, 0.22);
  --gutter: clamp(16px, 4.5vw, 48px);
  --max: 1312px;
  --radius: 3px;
  --space-section: clamp(56px, 9vw, 120px);
  --heading: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", Verdana, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1.125rem, 1.02rem + 0.3vw, 1.25rem);
  line-height: 1.55;
  overflow-wrap: break-word;
}

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

h1, h2, h3 {
  font-family: var(--heading);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.25rem, 1.2rem + 4.2vw, 4.5rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
}
h2 {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  letter-spacing: -0.022em;
}
h3 {
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  letter-spacing: -0.01em;
}
p { margin: 0; }

a { color: var(--link); }

:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
  border-radius: 2px;
}
main:focus { outline: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 10;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }
.skip-link:focus-visible { outline-color: var(--button); }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "brand phone"
    "nav nav";
  align-items: center;
  column-gap: 24px;
  padding-block: 10px 6px;
}
.brand {
  grid-area: brand;
  display: block;
  width: clamp(92px, 22vw, 124px);
  border-radius: var(--radius);
}
.header-phone {
  grid-area: phone;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 4px;
  color: var(--link);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.site-nav { grid-area: nav; }
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  column-gap: 22px;
  row-gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 559px) {
  .site-nav ul {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: start;
    column-gap: 28px;
  }
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (min-width: 900px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand nav phone";
    column-gap: 40px;
    padding-block: 14px;
  }
  .site-nav ul { justify-content: flex-end; column-gap: 32px; }
  .header-phone { padding-left: 32px; border-left: 1px solid var(--rule); }
}

/* Logo crops: hide the built-in whitespace around the square logo files */
.logo-crop {
  position: relative;
  display: block;
  overflow: hidden;
}
.logo-crop img {
  position: absolute;
  max-width: none;
  height: auto;
}
.logo-crop--shop { aspect-ratio: 649 / 511; }
.logo-crop--shop img { width: 123.27%; left: -11.556%; top: -28.18%; }

/* Hero */
.hero { position: relative; }
.hero-text { padding-block: clamp(36px, 7vw, 64px) clamp(32px, 6vw, 52px); }
.hero-copy { max-width: 40rem; }
.hero-copy p {
  margin-top: 18px;
  max-width: 34rem;
  font-size: clamp(1.1875rem, 1.05rem + 0.45vw, 1.375rem);
}
.hero-photo {
  width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 28px;
  padding: 12px 24px;
  background: var(--button);
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius);
}
.button:hover { background: #0857AE; }
.button:focus-visible { outline-color: var(--ink); }

/* Text over the sky, only on wide screens where the sky is tall enough */
@media (min-width: 1200px) {
  .hero-text {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 1;
    padding-block: clamp(36px, 3.2vw, 72px) 0;
  }
  .hero-copy { max-width: 46rem; }
  h1 { font-size: clamp(3.25rem, 3.9vw, 5.25rem); }
  .hero-copy p { margin-top: 0.8vw; max-width: 36rem; font-size: clamp(1.25rem, 1.45vw, 1.625rem); }
  .hero .button { margin-top: 1.4vw; }
}

/* Two paths */
.paths {
  background: var(--pale);
  padding-block: var(--space-section);
}
.paths-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(56px, 8vw, 80px);
}
@media (min-width: 720px) {
  .paths-grid { grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); }
}
.photo {
  width: 100%;
  border-radius: var(--radius);
}
.path .photo { aspect-ratio: 4 / 5; }
.path h2 { margin-top: clamp(24px, 3vw, 36px); }
.path p { margin-top: 14px; max-width: 36rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--link);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}
.text-link:hover { text-decoration-thickness: 3px; }
p .text-link { display: inline; }
.path p:last-child { margin-top: 10px; }
.path p:last-child .text-link { display: inline-flex; }

/* Services */
.services { padding-block: var(--space-section); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.services-logo { width: min(260px, 70%); }
@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: 5fr 7fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
  }
  .services-logo { width: min(340px, 100%); }
}
.service-list {
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}
.service-list li {
  padding-block: 14px;
  border-bottom: 1px solid var(--rule);
}
.services-body p + p { margin-top: 12px; }

/* Airplanes */
.sky-band { position: relative; }
.sky-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: var(--ink);
}
.sky-photo { position: relative; z-index: 1; }

.fleet {
  background: var(--ink);
  color: var(--white);
  padding-block: clamp(44px, 6vw, 80px) var(--space-section);
}
.fleet-intro p { margin-top: 16px; max-width: 40rem; }
.fleet-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 960px) {
  .fleet-top { grid-template-columns: 5fr 7fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
}
.video-frame {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 560 / 314;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0E171E;
}
@media (min-width: 960px) {
  .video-frame { justify-self: end; }
}
.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.fleet-list {
  display: grid;
  grid-template-columns: 1fr;
  margin: clamp(36px, 5vw, 56px) 0 0;
  padding: 0;
  list-style: none;
}
.fleet-list li {
  padding-block: 22px;
  border-top: 1px solid var(--rule-dark);
}
.fleet-list p { margin-top: 8px; }
@media (min-width: 768px) {
  .fleet-list { grid-template-columns: repeat(3, 1fr); column-gap: clamp(24px, 4vw, 56px); }
  .fleet-list li { padding-block: 26px 0; }
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding-block: var(--space-section) 40px;
  border-top: 1px solid var(--rule-dark);
}
.site-footer h2 { font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem); }
.site-footer p { margin-top: 12px; }
.site-footer .text-link { color: var(--white); }
.site-footer :focus-visible { outline-color: var(--white); }
.site-footer .text-link:not(.footer-phone) { display: inline-block; padding-block: 4px; }
.footer-phone { font-size: 1.25em; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}
@media (min-width: 960px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
}
.footer-legal {
  margin-top: clamp(56px, 7vw, 88px) !important;
  padding-top: 24px;
  border-top: 1px solid var(--rule-dark);
  font-size: 1.125rem;
}
