/* =================================================================
   GRAND TOUR AVIATION — Site Styles
   Brand: Premium pre-owned Cirrus brokerage, Canada
   Palette: Deep Navy #041C2C · Erie Black #212120 · Seasalt #F8F7F7
            Cream #F2EFE5 · Black #000 · White #FFF
   Type:   Montserrat (300/400/500/600/700/800)
   ================================================================= */

:root {
  /* Brand palette */
  --navy: #041C2C;
  --navy-80: rgba(4, 28, 44, 0.8);
  --navy-60: rgba(4, 28, 44, 0.6);
  --navy-10: rgba(4, 28, 44, 0.08);
  --erie: #212120;
  --erie-70: rgba(33, 33, 32, 0.7);
  --erie-50: rgba(33, 33, 32, 0.5);
  --seasalt: #F8F7F7;
  --cream: #F2EFE5;
  --white: #FFFFFF;
  --black: #000000;

  /* Functional */
  --bg: var(--seasalt);
  --bg-alt: var(--cream);
  --bg-dark: var(--navy);
  --text: var(--erie);
  --text-dim: var(--erie-70);
  --text-muted: var(--erie-50);
  --heading: var(--navy);
  --border: rgba(4, 28, 44, 0.12);
  --border-strong: rgba(4, 28, 44, 0.25);

  /* Layout */
  --max-w: 1320px;
  --gutter: 40px;
  --nav-h: 84px;

  /* Type */
  --ff: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--ff);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* =============== CONTAINER =============== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (max-width: 720px) {
  :root { --gutter: 24px; }
}

/* =============== TYPOGRAPHY =============== */
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-block;
}
.eyebrow-line::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--navy);
  vertical-align: middle;
  margin-right: 16px;
}

.display-1 {
  font-family: var(--ff);
  font-weight: 300;
  font-size: clamp(44px, 6.5vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--heading);
}
.display-1 strong { font-weight: 600; }
.display-1 em { font-style: normal; color: var(--erie); font-weight: 300; }

.display-2 {
  font-weight: 300;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--heading);
}
.display-2 strong { font-weight: 600; }

h3.section-h {
  font-weight: 600;
  font-size: clamp(22px, 2vw, 26px);
  letter-spacing: -0.01em;
  color: var(--heading);
}

p.lede {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  color: var(--text);
  font-weight: 400;
  max-width: 60ch;
}

/* =============== BUTTONS =============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--seasalt);
}
.btn-primary:hover {
  background: var(--erie);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--seasalt);
}
.btn-arrow::after {
  content: '→';
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  transition: transform 0.3s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--navy);
}
.link-arrow::after { content: '→'; transition: transform 0.3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* =============== NAV =============== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 247, 247, 0.85);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s var(--ease);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav-logo {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--navy);
  text-transform: uppercase;
  line-height: 1.15;
}
.nav-logo small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.45em;
  font-weight: 400;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 44px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text);
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--navy);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--navy); }
.nav-cta { padding: 12px 22px; font-size: 12px; }

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

@media (max-width: 960px) {
  .nav-links, .nav .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile.open + .nav-links { display: flex; }
}
.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0;
  background: var(--seasalt);
  padding: 40px var(--gutter);
  z-index: 99;
  flex-direction: column;
  gap: 24px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--navy);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

/* =============== HERO =============== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--seasalt);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(248,247,247,0.15) 0%,
    rgba(248,247,247,0.25) 50%,
    rgba(248,247,247,0.55) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
  max-width: 980px;
}
.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 56px;
  flex-wrap: wrap;
  align-items: center;
}

/* For interior page hero variant */
.subhero {
  position: relative;
  padding: calc(var(--nav-h) + 120px) 0 80px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.subhero .container { max-width: 1100px; }
.subhero h1 { margin-top: 24px; }
.subhero .lede { margin-top: 28px; }

/* =============== PAGE FEATURE STRIP =============== */
.page-feature {
  width: 100%;
  height: clamp(360px, 50vw, 640px);
  overflow: hidden;
  background: var(--cream);
  position: relative;
}
.page-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* =============== SECTION SHELL =============== */
section { position: relative; }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section-light { background: var(--seasalt); }
.section-cream { background: var(--cream); }
.section-dark { background: var(--navy); color: var(--seasalt); }
.section-dark .display-2,
.section-dark .display-1,
.section-dark h3.section-h { color: var(--seasalt); }
.section-dark .eyebrow { color: var(--seasalt); opacity: 0.8; }
.section-dark .eyebrow-line::before { background: var(--seasalt); opacity: 0.6; }
.section-dark p,
.section-dark .split-text p,
.section-dark .lede { color: rgba(248, 247, 247, 0.82); }
.section-dark .stat-num { color: var(--seasalt); }
.section-dark .stat-label { color: rgba(248, 247, 247, 0.65); }
.section-dark .stats { border-top-color: rgba(248, 247, 247, 0.18); }

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 80px;
  max-width: 880px;
}
.section-head.split {
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 100%;
  align-items: end;
}
@media (max-width: 900px) {
  .section-head.split { grid-template-columns: 1fr; gap: 24px; }
}

/* =============== HOME: FEATURED AIRCRAFT =============== */
.aircraft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 40px;
}
.aircraft-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.3s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.aircraft-card:hover {
  transform: translateY(-6px);
  border-color: var(--navy);
  box-shadow: 0 30px 60px -30px rgba(4, 28, 44, 0.25);
}
.aircraft-card .img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream);
  position: relative;
}
.aircraft-card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.aircraft-card:hover .img img { transform: scale(1.05); }
.aircraft-card .status {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 6px 14px;
  background: var(--seasalt);
  border: 1px solid var(--border);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
}
.aircraft-card .status.sold { color: var(--erie-50); }
.aircraft-card .status.pending { color: #b8945a; }
.aircraft-card .status.coming { color: var(--navy); background: var(--cream); border-color: var(--navy); }
.aircraft-card .body { padding: 32px; flex: 1; display: flex; flex-direction: column; }
.aircraft-card .year {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.aircraft-card h3 {
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin-bottom: 24px;
}
.aircraft-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.spec-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 500;
}
.spec-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--erie);
}
.aircraft-card .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.aircraft-card .price {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}

/* =============== HOME: SERVICES PREVIEW =============== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.svc {
  background: var(--seasalt);
  padding: 56px 40px;
  transition: background 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.svc:hover { background: var(--cream); }
.svc-num {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 32px;
}
.svc h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.svc p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 32px;
  flex: 1;
}

/* =============== HOME: SPLIT CONTENT =============== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.split.flip { direction: rtl; }
.split.flip > * { direction: ltr; }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
}
.split-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream);
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-text .display-2 { margin-bottom: 32px; }
.split-text p { font-size: 16px; color: var(--text); margin-bottom: 20px; }
.split-text .stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-size: 48px;
  font-weight: 300;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
}

/* =============== PRESS STRIP =============== */
.press {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--seasalt);
}
.press-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 36px;
}
.press-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 80px;
  opacity: 0.55;
}
.press-logos span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  font-family: var(--ff);
}

/* =============== EVENTS LIST =============== */
.event {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.event:first-child { border-top: 1px solid var(--border); }
@media (max-width: 800px) {
  .event { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
}
.event .when {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
}
.event h3 {
  font-size: 26px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.event p { font-size: 15px; color: var(--text-dim); }
.event .where { text-align: right; font-size: 13px; color: var(--text-muted); letter-spacing: 0.05em; }
@media (max-width: 800px) {
  .event .where { text-align: left; }
}

/* =============== SERVICES PAGE (DETAIL) =============== */
.svc-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.svc-detail:last-of-type { border-bottom: none; }
@media (max-width: 900px) {
  .svc-detail { grid-template-columns: 1fr; gap: 24px; }
}
.svc-detail .label .num {
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 8px;
}
.svc-detail .label h3 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1.1;
}
.svc-detail .body p {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 18px;
}
.svc-detail .body ul {
  list-style: none;
  margin-top: 28px;
}
.svc-detail .body li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 16px;
}
.svc-detail .body li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--navy);
  border-radius: 50%;
  flex-shrink: 0;
}

/* =============== CONTACT =============== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 100px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 56px; } }
.contact-info h3 {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
  margin: 40px 0 10px;
}
.contact-info h3:first-child { margin-top: 0; }
.contact-info p, .contact-info a {
  font-size: 17px;
  color: var(--text);
  line-height: 1.6;
}
.contact-info a:hover { color: var(--navy); }

.form { display: flex; flex-direction: column; gap: 24px; }
.form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.form input,
.form textarea,
.form select {
  font-family: var(--ff);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  padding: 12px 0;
  font-size: 16px;
  color: var(--erie);
  transition: border-color 0.25s var(--ease);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-bottom-color: var(--navy);
}
.form textarea { min-height: 120px; resize: vertical; }
.form .btn { align-self: flex-start; margin-top: 16px; }

/* =============== FOOTER =============== */
.footer {
  background: var(--navy);
  color: var(--seasalt);
  padding: 100px 0 40px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(248,247,247,0.15);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}
.footer-brand {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.32em;
  line-height: 1.2;
  color: var(--seasalt);
  text-transform: uppercase;
}
.footer-brand small {
  display: block;
  font-size: 12px;
  letter-spacing: 0.45em;
  font-weight: 400;
  margin-top: 4px;
}
.footer-tag {
  font-size: 14px;
  color: rgba(248,247,247,0.65);
  margin-top: 28px;
  max-width: 320px;
  line-height: 1.6;
}
.footer h4 {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--seasalt);
  opacity: 0.7;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 12px; }
.footer ul a {
  font-size: 14px;
  color: rgba(248,247,247,0.85);
  transition: color 0.25s var(--ease);
}
.footer ul a:hover { color: var(--seasalt); }
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(248,247,247,0.55);
  letter-spacing: 0.04em;
}
.footer-bottom a { color: rgba(248,247,247,0.7); }
.footer-bottom a:hover { color: var(--seasalt); }

/* =============== SPLASH INTRO =============== */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.9s var(--ease);
}
.splash video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 100vw;
  max-height: 100vh;
}
.splash-skip {
  position: absolute;
  top: 32px;
  right: 32px;
  padding: 12px 20px;
  font-family: var(--ff);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  background: transparent;
  border: 1px solid rgba(4, 28, 44, 0.25);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  z-index: 2;
}
.splash-skip:hover {
  background: var(--navy);
  color: var(--seasalt);
  border-color: var(--navy);
}
.splash.fade {
  opacity: 0;
  pointer-events: none;
}
.splash.hidden { display: none; }
/* Prevent scroll while splash is showing */
body.splash-active { overflow: hidden; }

/* =============== ANIMATIONS =============== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.fade-up.in { opacity: 1; transform: translateY(0); }

/* =============== UTILITIES =============== */
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mt-8 { margin-top: 64px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.mb-6 { margin-bottom: 48px; }
