:root {
  --midnight: #01313f;
  --pebble: #fbf1e6;
  --teal: #026d77;
  --gold: #d8b283;
  --sand: #ebd8c1;
  --ink-soft: rgba(1, 49, 63, 0.58);
  --white-soft: rgba(255, 255, 255, 0.82);
  --border-dark: rgba(1, 49, 63, 0.16);
  --shadow: 0 24px 70px rgba(1, 49, 63, 0.2);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--pebble);
  color: var(--midnight);
  font-family: "Inter", system-ui, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.hidden-field {
  display: none;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 92vh;
  padding: 28px clamp(18px, 4vw, 58px) 42px;
  background:
    linear-gradient(90deg, rgba(1, 49, 63, 0.9) 0%, rgba(1, 49, 63, 0.72) 39%, rgba(1, 49, 63, 0.12) 74%),
    linear-gradient(180deg, rgba(1, 49, 63, 0.62) 0%, rgba(1, 49, 63, 0.05) 48%, rgba(1, 49, 63, 0.78) 100%),
    url("assets/chauffair-hero-above-traffic.png") 63% 50% / cover;
  color: var(--pebble);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("assets/chauffair-pattern-blue.jpg") center / cover;
  opacity: 0.12;
  pointer-events: none;
}

.brand-bar,
.hero-grid,
.route-band,
.experience,
.signup-section {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.brand-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link img {
  width: clamp(150px, 18vw, 232px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(251, 241, 230, 0.82);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-links a {
  padding: 10px 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 1fr);
  align-items: center;
  min-height: calc(92vh - 128px);
  gap: clamp(28px, 6vw, 74px);
  padding-top: clamp(34px, 7vh, 72px);
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 640px;
  font-size: clamp(3.7rem, 7.1vw, 6.4rem);
  line-height: 1.04;
}

h1 span {
  display: block;
}

.hero-text {
  max-width: 590px;
  margin: 22px 0 0;
  color: rgba(251, 241, 230, 0.74);
  font-size: clamp(1.03rem, 1.5vw, 1.24rem);
  font-weight: 200;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  color: rgba(251, 241, 230, 0.76);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker span {
  border-left: 2px solid var(--gold);
  padding-left: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 22px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--gold);
  color: var(--midnight);
}

.button.secondary {
  border-color: rgba(251, 241, 230, 0.38);
  color: var(--pebble);
}

.aircraft-card {
  position: relative;
  min-height: 430px;
  margin: 0;
  border: 1px solid rgba(216, 178, 131, 0.42);
  border-radius: 8px;
  background: rgba(1, 49, 63, 0.46);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.aircraft-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(1, 49, 63, 0.7) 0%, rgba(1, 49, 63, 0.08) 45%),
    linear-gradient(180deg, rgba(1, 49, 63, 0.05) 48%, rgba(1, 49, 63, 0.56) 100%);
}

.aircraft-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: 56% 50%;
  transform: scale(1.02);
}

.aircraft-caption {
  position: absolute;
  z-index: 2;
  left: 30px;
  right: 30px;
  bottom: 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(251, 241, 230, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.route-band,
.experience,
.signup-section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 4vw, 44px);
}

.section-heading {
  max-width: 770px;
  margin-bottom: 38px;
}

.section-heading h2,
.signup-copy h2 {
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.96;
}

.route-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.route-map::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 27px;
  height: 2px;
  background: var(--gold);
}

.route-map article,
.feature-grid article {
  position: relative;
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.34);
}

.route-map article {
  min-height: 206px;
  padding: 62px 22px 24px;
}

.city-dot {
  position: absolute;
  left: 22px;
  top: 18px;
  width: 20px;
  height: 20px;
  border: 5px solid var(--pebble);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 1px var(--gold);
}

.route-map h3,
.feature-grid h3 {
  font-size: 1.7rem;
}

.route-map p,
.feature-grid p,
.signup-copy p,
.fleet-description {
  margin: 14px 0 0;
  color: var(--ink-soft);
  line-height: 1.68;
}

.experience {
  border-top: 1px solid rgba(1, 49, 63, 0.1);
}

.experience-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.72fr);
  align-items: end;
  gap: clamp(28px, 6vw, 74px);
  margin-bottom: 38px;
}

.experience-intro .section-heading {
  margin-bottom: 0;
}

.fleet-description {
  max-width: 640px;
  font-size: 1rem;
}

.experience-button {
  margin-top: 24px;
}

.fleet-photo {
  margin: 0;
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  background: var(--sand);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(1, 49, 63, 0.12);
}

.fleet-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.fleet-photo figcaption {
  padding: 14px 16px 16px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 16px;
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  background: rgba(1, 49, 63, 0.14);
  overflow: hidden;
}

.spec-grid div {
  min-height: 118px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.34);
}

.spec-grid dt {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.spec-grid dd {
  margin: 0;
  color: var(--midnight);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.05;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article {
  min-height: 246px;
  padding: 28px;
}

.feature-grid img {
  width: 54px;
  margin-bottom: 28px;
}

.signup-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
  margin-bottom: 40px;
  border-radius: 8px;
  background: var(--sand);
  box-shadow: var(--shadow);
}

.signup-copy img {
  width: 214px;
  margin-bottom: 36px;
}

.signup-copy p:not(.eyebrow) {
  max-width: 480px;
  font-size: 1rem;
}

.signup-form {
  display: grid;
  gap: 12px;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgba(1, 49, 63, 0.12);
  border-radius: 8px;
  background: var(--pebble);
}

.signup-form label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signup-form input,
.signup-form select {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(1, 49, 63, 0.22);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--midnight);
  font: inherit;
  outline: none;
  padding: 0 14px;
}

.signup-form input:focus,
.signup-form select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(2, 109, 119, 0.16);
}

.form-button {
  width: 100%;
  margin-top: 8px;
  border: 0;
  cursor: pointer;
}

.form-note {
  min-height: 24px;
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-note.success {
  color: var(--teal);
  font-weight: 700;
}

.form-note.error {
  color: #8f3f25;
  font-weight: 700;
}

.thank-you-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(24px, 5vw, 56px);
  background:
    linear-gradient(rgba(1, 49, 63, 0.84), rgba(1, 49, 63, 0.82)),
    url("assets/chauffair-pattern-blue.jpg") center / cover;
  color: var(--pebble);
}

.thank-you-panel {
  width: min(680px, 100%);
}

.thank-you-panel img {
  width: 230px;
  margin-bottom: 54px;
}

.thank-you-panel h1 {
  font-size: clamp(4rem, 10vw, 7.5rem);
}

.thank-you-panel p:not(.eyebrow) {
  max-width: 560px;
  margin: 24px 0 34px;
  color: rgba(251, 241, 230, 0.84);
  font-size: 1.1rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .brand-bar,
  .hero-grid,
  .signup-section {
    align-items: flex-start;
  }

  .brand-bar,
  .hero-grid,
  .signup-section {
    grid-template-columns: 1fr;
  }

  .brand-bar {
    display: grid;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .aircraft-card {
    min-height: 350px;
  }

  .aircraft-card img {
    min-height: 350px;
  }

  .experience-intro {
    grid-template-columns: 1fr;
  }

  .route-map,
  .feature-grid,
  .spec-grid {
    grid-template-columns: 1fr 1fr;
  }

  .route-map::before {
    display: none;
  }

  .texas-route-visual svg {
    min-height: 330px;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-bottom: 48px;
  }

  h1 {
    font-size: clamp(3.3rem, 17vw, 4.8rem);
  }

  .hero-actions,
  .aircraft-caption {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .aircraft-card {
    min-height: 330px;
  }

  .aircraft-card img {
    min-height: 330px;
    object-position: 58% 50%;
  }

  .route-map,
  .feature-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .route-map article,
  .feature-grid article {
    min-height: 0;
  }

  .texas-route-visual {
    margin-top: 20px;
  }

  .texas-route-visual svg {
    min-height: 300px;
  }

  .city text {
    font-size: 28px;
    letter-spacing: 0.02em;
  }

  .signup-section {
    border-radius: 0;
    margin-bottom: 0;
  }
}
