:root {
  --navy: #001838;
  --navy-2: #062445;
  --navy-deep: #000c18;
  --ink: #122033;
  --muted: #3c4b5e;
  --gold: #f8a810;
  --gold-deep: #d8900a;
  --cream: #f3eee4;
  --paper: #fbf8f2;
  --white: #fffcf7;
  --line: rgba(0, 24, 56, 0.14);
  --danger: #8d1d22;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Source Sans 3", "Segoe UI", sans-serif;
  --header: 4.6rem;
  --wrap: 1120px;
  --shadow: 0 18px 50px rgba(0, 16, 36, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.6rem;
  z-index: 100;
  padding: 0.6rem 0.9rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.2rem));
  margin-inline: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.85rem;
  color: var(--navy);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.7rem;
  height: 2px;
  background: var(--gold);
  flex: none;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink);
}

.section {
  padding: 4.25rem 0;
}

.section-white {
  background: var(--white);
}

.section h2 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  margin-bottom: 1.1rem;
  max-width: 16ch;
}

.prose {
  display: grid;
  gap: 1rem;
  max-width: 62ch;
}

.prose p {
  color: var(--ink);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--navy);
  color: var(--white);
  border-top: 4px solid var(--gold);
  box-shadow: 0 1px 0 rgba(248, 168, 16, 0.35);
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: var(--header);
  width: min(1200px, calc(100% - 1.4rem));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  flex: none;
  margin-right: auto;
}

.logo img {
  height: 3.35rem;
  width: auto;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: white;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: white;
  position: relative;
  margin-inline: auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-panel {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.35rem 1.1rem 1.15rem;
  background: var(--navy);
  border-top: 1px solid rgba(248, 168, 16, 0.28);
}

.js .nav-panel {
  display: none;
}

.js .nav-panel.is-open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 50%;
  right: auto;
  width: 100vw;
  transform: translateX(-50%);
  z-index: 40;
  padding: 0.4rem 1.25rem 1rem;
  background: var(--navy);
  border-top: 1px solid rgba(248, 168, 16, 0.35);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

.nav-panel a {
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.15rem;
  padding: 0.7rem 0.15rem;
  color: rgba(255, 252, 247, 0.92);
}

.nav-panel a[aria-current="true"] {
  color: var(--gold);
}

a.header-cta {
  display: inline-flex;
  flex: none;
  white-space: nowrap;
  min-height: 2.55rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.75rem 1.2rem;
  border-radius: 2px;
  border: 2px solid transparent;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}

.btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-navy {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-2);
}

.btn-line {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-line:hover {
  background: var(--navy);
  color: white;
}

.btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}

/* Hero */

#top,
section[id] {
  scroll-margin-top: calc(var(--header) + 0.6rem);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header) - 4px);
  display: grid;
  align-items: end;
  color: white;
  background: var(--navy);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 42%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 10, 22, 0.94) 0%, rgba(0, 14, 30, 0.72) 38%, rgba(0, 16, 36, 0.28) 68%, rgba(0, 12, 28, 0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--wrap), calc(100% - 2.2rem));
  margin: 0 auto;
  padding: 6.5rem 0 2.5rem;
}

.hero .eyebrow {
  color: var(--gold);
  text-transform: none;
  letter-spacing: 0.08em;
}

.hero .eyebrow::before {
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(3.3rem, 12vw, 7.4rem);
  font-style: italic;
  font-weight: 700;
  max-width: 100%;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-sub {
  max-width: 38rem;
  margin-top: 1.1rem;
  font-size: 1.15rem;
  line-height: 1.5;
  color: rgba(255, 252, 247, 0.94);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.glance {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.glance ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.glance li {
  padding: 1.15rem 0.2rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.glance li:nth-child(odd) {
  padding-right: 0.8rem;
  border-right: 1px solid var(--line);
}

.glance li:nth-child(even) {
  padding-left: 0.9rem;
}

.glance span {
  display: block;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.glance strong {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--navy);
}

/* Show */

.show-layout,
.pilot-layout,
.plane-layout,
.book-layout {
  display: grid;
  gap: 2rem;
}

.show-photo img,
.pilot-wide img,
.plane-photos img {
  width: 100%;
  object-fit: cover;
}

.show-photo img {
  aspect-ratio: 4 / 5;
  object-position: center 30%;
}

.show-photo figcaption,
.pilot-wide figcaption,
.plane-photos figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.options,
.quals {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-top: 0.4rem;
}

.options li,
.quals li {
  position: relative;
  padding-left: 1.35rem;
}

.options li::before,
.quals li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
}

.subhead {
  margin: 1.6rem 0 0.7rem;
  font-size: 1.7rem;
}

/* Pilot */

.pilot-portrait {
  margin: 0;
}

.pilot-portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 18%;
}

.pilot-wide {
  margin-top: 2.2rem;
}

.pilot-wide img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
  object-position: center 45%;
}

/* Airplane */

.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.specs div {
  padding: 0.9rem 0.8rem 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.specs dt {
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.specs dd {
  margin: 0.15rem 0 0;
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.05;
  color: var(--navy);
  font-weight: 600;
}

.plane-photos {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.plane-photos figure {
  margin: 0;
}

.history {
  margin-top: 1.25rem;
  max-width: 62ch;
}

/* Media */

.media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1.75rem;
}

.reel {
  margin: 0 0 2rem;
}

.reel video {
  width: 100%;
  background: #000;
  aspect-ratio: 16 / 9;
}

.reel figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.gallery {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.gallery > li {
  min-width: 0;
}

.gallery-item {
  display: block;
  padding: 0;
  border: 0;
  background: var(--navy);
  cursor: zoom-in;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.2s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.035);
  opacity: 0.92;
}

/* Lightbox */

.lightbox {
  width: min(1080px, calc(100vw - 1.5rem));
  max-height: calc(100vh - 1.5rem);
  padding: 0;
  border: 0;
  background: transparent;
  color: white;
}

.lightbox::backdrop {
  background: rgba(0, 8, 18, 0.88);
}

.lightbox-frame {
  position: relative;
}

.lightbox figure {
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: min(78vh, 820px);
  object-fit: contain;
  background: #000;
  margin-inline: auto;
}

.lightbox figcaption {
  margin-top: 0.55rem;
  text-align: center;
  font-size: 0.98rem;
}

.lb-btn {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 16, 36, 0.7);
  color: white;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  z-index: 2;
}

.lb-close {
  top: 0.4rem;
  right: 0.4rem;
}

.lb-prev {
  left: 0.4rem;
  top: 42%;
}

.lb-next {
  right: 0.4rem;
  top: 42%;
}

/* Book */

.book {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(248, 168, 16, 0.16), transparent 55%),
    var(--navy);
  color: white;
}

.book .eyebrow {
  color: var(--gold);
}

.book h2 {
  max-width: 14ch;
}

.book-intro {
  max-width: 38rem;
  color: rgba(255, 252, 247, 0.9);
  margin-bottom: 1.75rem;
}

.book-intro a,
a[href^="tel:"] {
  white-space: nowrap;
}

.book-intro a {
  color: var(--gold);
  font-weight: 700;
  text-underline-offset: 0.16em;
}

.book-layout {
  align-items: start;
}

.form-card,
.contact-card {
  background: var(--paper);
  color: var(--ink);
  padding: 1.25rem 1.15rem 1.35rem;
  box-shadow: var(--shadow);
}

.form-card h3,
.contact-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.9rem;
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.field label {
  font-weight: 700;
  font-size: 0.95rem;
}

.optional {
  font-weight: 500;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(0, 24, 56, 0.28);
  border-radius: 2px;
  background: white;
  color: var(--ink);
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 3px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--navy);
}

.field-error {
  color: var(--danger);
  font-size: 0.9rem;
  min-height: 0;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.form-banner {
  margin: 0 0 0.9rem;
  padding: 0.75rem 0.8rem;
  background: #f8e6e4;
  color: var(--danger);
  border-left: 3px solid var(--danger);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1rem;
  margin-top: 0.3rem;
}

.form-actions p {
  color: var(--muted);
  font-size: 0.95rem;
}

.form-actions a {
  color: var(--navy);
  font-weight: 700;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success {
  background: var(--paper);
  color: var(--ink);
  padding: 1.6rem 1.2rem 1.5rem;
  box-shadow: var(--shadow);
}

.form-success h3 {
  font-size: 2.6rem;
  margin-bottom: 0.7rem;
}

.form-success p + p {
  margin-top: 0.75rem;
}

.form-success a {
  color: var(--navy);
  font-weight: 700;
}

.contact-card {
  display: grid;
  gap: 0.35rem;
}

.contact-card a {
  color: var(--navy);
  font-weight: 700;
  text-underline-offset: 0.15em;
}

.contact-block {
  margin-top: 1rem;
}

.contact-block h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.contact-card p {
  color: var(--ink);
}

.social-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.1rem;
  margin-top: 0.3rem;
}

/* Footer */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 252, 247, 0.88);
  padding: 2.5rem 0 1.6rem;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
}

.footer-brand img {
  height: 5.2rem;
  width: auto;
}

.footer-brand p,
.site-footer li,
.fine {
  color: rgba(255, 252, 247, 0.78);
  font-size: 0.98rem;
}

.footer-brand p {
  margin-top: 0.7rem;
  max-width: 32ch;
}

.site-footer h2 {
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 0.3rem;
}

.site-footer a {
  color: white;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold);
}

.fine {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.nav-toggle:focus-visible,
.btn:focus-visible,
.gallery-item:focus-visible,
.lb-btn:focus-visible {
  outline-offset: 3px;
}

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

  .gallery-item img,
  .btn {
    transition: none;
  }
}

@media (min-width: 720px) {
  .glance ul {
    grid-template-columns: repeat(4, 1fr);
  }

  .glance li,
  .glance li:nth-child(odd),
  .glance li:nth-child(even) {
    padding: 1.35rem 1rem;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .glance li:last-child {
    border-right: 0;
  }

  .plane-photos {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
  }

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

  .field-wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .nav-panel,
  .js .nav-panel,
  .js .nav-panel.is-open {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem 1.15rem;
    width: auto;
    transform: none;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-panel a {
    font-size: 1rem;
    padding: 0.35rem 0;
  }

  a.header-cta {
    margin-left: 0.6rem;
    min-height: 2.6rem;
    padding-inline: 0.9rem;
    font-size: 1.05rem;
  }

  .logo img {
    height: 3.7rem;
  }

  .section {
    padding: 6.25rem 0;
  }

  .hero {
    align-items: center;
    min-height: 92svh;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(0, 10, 22, 0.92) 0%, rgba(0, 14, 32, 0.78) 36%, rgba(0, 16, 36, 0.22) 64%, rgba(0, 12, 28, 0.38) 100%);
  }

  .hero-content {
    padding: 6rem 0;
  }

  .show-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: start;
  }

  .show-photo img {
    aspect-ratio: 4 / 5;
    max-height: none;
  }

  .pilot-layout {
    grid-template-columns: 0.78fr 1.22fr;
    gap: 3rem;
    align-items: center;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
  }

  .gallery > li:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery > li:first-child img {
    height: 100%;
    aspect-ratio: auto;
    min-height: 100%;
  }

  .book-layout {
    grid-template-columns: 1.35fr 0.8fr;
    gap: 1.5rem;
  }

  .form-card,
  .contact-card,
  .form-success {
    padding: 1.7rem 1.55rem 1.6rem;
  }
}

@media (max-width: 719px) {
  .specs div:nth-child(odd) {
    padding-right: 0.6rem;
  }
}
