/* Level Wings Aviation — one-page brochure site
   Fonts are bundled locally (SIL Open Font License), trimmed to Latin
   characters, so the page renders without a third-party request. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/CormorantGaramond.woff") format("woff");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/CormorantGaramond-Italic.woff") format("woff");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Cinzel";
  src: url("fonts/Cinzel.woff") format("woff");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/IBMPlexSans.woff") format("woff");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0c1a2b;
  --navy-deep: #071019;
  --navy-mid: #163049;
  --gold: #c4a265;
  --gold-light: #e0c88a;
  --gold-text: #86672b; /* darker gold for small text on light backgrounds */
  --cream: #f4efe6;
  --ivory: #faf8f4;
  --ink: #1c242c;
  --body: #33404a;
  --muted: #5a6570;
  --line: rgba(196, 162, 101, 0.35);
  --shadow: 0 16px 40px rgba(7, 16, 25, 0.12);
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
}

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

a {
  color: var(--navy-mid);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy);
}

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

h1, h2, h3 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-variant-numeric: lining-nums;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--navy);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Keep section headings clear of the sticky header after a menu jump */
section[id] {
  scroll-margin-top: var(--header-h);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  background: var(--gold);
  color: var(--navy);
  padding: 0.5rem 0.8rem;
  z-index: 100;
}

.skip-link:focus {
  top: 0.75rem;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 26, 43, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--cream);
  min-width: 0;
}

.brand:hover {
  color: var(--gold-light);
}

.brand-logo {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: "Cinzel", "Times New Roman", serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-sub {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.15rem;
}

.site-nav {
  display: flex;
  gap: 1.6rem;
}

.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-light);
}

.nav-toggle {
  display: none;
  cursor: pointer;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  align-items: center;
  justify-content: center;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 1.25rem;
  height: 1.5px;
  background: var(--gold);
  position: relative;
}

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

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

/* Hero */

.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(196, 162, 101, 0.1), transparent 50%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
  padding: 6.5rem 0 7rem;
  overflow: hidden;
  text-align: center;
}

.hero-ornament {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, transparent 0, transparent 49.9%, rgba(196, 162, 101, 0.15) 50%, transparent 50.1%, transparent 100%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 119px,
      rgba(196, 162, 101, 0.05) 119px,
      rgba(196, 162, 101, 0.05) 120px
    );
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 80%);
}

.hero-inner {
  position: relative;
}

.eyebrow {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 1.1rem;
}

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

.hero h1 {
  color: var(--ivory);
  margin-bottom: 0.7rem;
}

.hero-motto {
  margin: 0.4rem 0 0.9rem;
  color: var(--gold-light);
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: clamp(1rem, 1.9vw, 1.3rem);
  letter-spacing: 0.12em;
}

.sm {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.42em;
  letter-spacing: 0.05em;
  margin-left: 0.2em;
  vertical-align: super;
  line-height: 0;
}

.hero-lede {
  font-family: "Cormorant Garamond", serif;
  font-variant-numeric: lining-nums;
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  color: rgba(244, 239, 230, 0.85);
  max-width: 28em;
  margin: 0 auto 1.6rem;
  text-wrap: balance;
}

.hero-rule {
  width: 4.5rem;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  color: var(--navy);
  background-color: var(--gold);
  border: 1px solid var(--gold);
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  background-color: var(--gold-light);
  color: var(--navy-deep);
}

/* Sections */

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--cream);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin-bottom: 0.5rem;
}

.section-note {
  color: var(--muted);
  font-size: 0.98rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.card {
  background: #fff;
  border: 1px solid rgba(12, 26, 43, 0.08);
  padding: 1.7rem 1.5rem 1.8rem;
  box-shadow: var(--shadow);
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
}

.card .card-index {
  font-family: "Cinzel", serif;
  color: var(--gold-text);
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
}

.disclosure {
  margin: 2.5rem 0 0;
  max-width: 52rem;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--gold);
  background: #fff;
  color: var(--body);
  font-size: 0.92rem;
  line-height: 1.6;
}

.disclosure strong {
  color: var(--navy);
  font-weight: 600;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.about-copy {
  color: var(--body);
  max-width: 38rem;
}

.facts {
  display: grid;
  gap: 1.1rem;
  margin: 2rem 0 0;
}

.facts dt {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
  font-weight: 500;
}

.facts dd {
  margin: 0.15rem 0 0;
  color: var(--navy);
}

.about-panel {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 22rem;
}

.about-logo {
  width: min(300px, 80%);
  height: auto;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-bottom: 2.4rem;
}

.contact-item {
  border-top: 1px solid var(--gold);
  padding: 1.3rem 0 0;
}

.contact-item h3 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-text);
}

.contact-item p {
  color: var(--navy);
}

.contact-item a {
  color: var(--navy);
  font-weight: 500;
}

.contact-cta {
  margin: 0;
}

/* Footer */

.site-footer {
  background: var(--navy-deep);
  color: rgba(244, 239, 230, 0.72);
  padding: 2rem 0;
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-disclosure {
  max-width: 52rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(244, 239, 230, 0.66);
}

/* Shared extras */

.site-nav a[aria-current="page"] {
  color: var(--gold-light);
}

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

.btn-outline:hover,
.btn-outline:focus-visible {
  background-color: var(--gold);
  color: var(--navy-deep);
}

.section-link {
  margin: 2rem 0 0;
}

/* Services page */

.page-hero {
  position: relative;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(196, 162, 101, 0.1), transparent 50%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
  padding: 4.5rem 0 4.75rem;
  overflow: hidden;
  text-align: center;
}

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

.page-hero h1 {
  color: var(--ivory);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  margin-bottom: 0.6rem;
}

.page-hero .hero-lede {
  max-width: 34em;
  margin-bottom: 0;
}

.service-list {
  display: grid;
  gap: 1.4rem;
}

.service {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  background: #fff;
  border: 1px solid rgba(12, 26, 43, 0.08);
  box-shadow: var(--shadow);
  padding: 1.8rem 1.75rem;
}

.service .card-index {
  font-family: "Cinzel", serif;
  color: var(--gold-text);
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  margin: 0.35rem 0 0;
}

.service p {
  color: var(--muted);
  max-width: 44rem;
}

.aircraft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.aircraft {
  border-top: 1px solid var(--gold);
  padding-top: 1.2rem;
}

.aircraft p {
  color: var(--body);
  font-size: 0.98rem;
}

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.steps li {
  counter-increment: step;
  border-top: 1px solid var(--gold);
  padding-top: 1.2rem;
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  font-family: "Cinzel", serif;
  color: var(--gold-text);
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

.steps p {
  color: var(--body);
  font-size: 0.98rem;
}

.page-jump {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.page-jump a {
  color: var(--cream);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 0.6rem 1.1rem;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.page-jump a:hover,
.page-jump a:focus-visible {
  border-color: var(--gold);
  color: var(--gold-light);
}

.consult-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.consult {
  background: #fff;
  border: 1px solid rgba(12, 26, 43, 0.08);
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow);
  padding: 1.8rem 1.75rem;
}

.consult p {
  color: var(--muted);
  font-size: 0.98rem;
}

.cta-band {
  background: var(--navy);
  color: var(--cream);
  padding: 4rem 0;
  text-align: center;
  border-top: 1px solid var(--line);
}

.cta-band h2 {
  color: var(--ivory);
  margin-bottom: 0.8rem;
}

.cta-band p {
  margin-bottom: 1.6rem;
}

.cta-band p a {
  color: var(--cream);
}

.cta-band p a:hover {
  color: var(--gold-light);
}

.cta-band p span {
  color: var(--gold);
  margin: 0 0.6rem;
}

/* Responsive */

@media (max-width: 840px) {
  .card-grid,
  .contact-grid,
  .about-grid,
  .aircraft-grid,
  .consult-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 3.5rem 0 3.75rem;
  }

  .about-panel {
    min-height: 0;
    padding: 2rem 1.25rem;
  }

  .hero {
    padding: 4.5rem 0 5rem;
  }

  .section {
    padding: 3.75rem 0;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    padding: 0.25rem 1.25rem 1rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0;
    border-top: 1px solid rgba(196, 162, 101, 0.18);
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(1120px, calc(100% - 1.6rem));
  }

  .brand-name {
    font-size: 0.82rem;
  }

  .service {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 1.5rem 1.25rem;
  }

  .cta-band p span {
    display: block;
    height: 0;
    overflow: hidden;
  }

  .cta-band p a {
    display: block;
    margin: 0.2rem 0;
  }

  .site-nav {
    padding-inline: 0.8rem;
  }
}

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