/* Premium homepage — wing dividers, instrument dials, sliders */

.btn-amber {
  background: var(--amber, #c9a227);
  color: var(--navy-deep);
  border-color: var(--amber, #c9a227);
}
.btn-amber:hover {
  filter: brightness(1.08);
  color: var(--navy-deep);
}

.wing-edge {
  display: none;
}

/* Hero upgrades */
.hero {
  isolation: isolate;
  min-height: min(92vh, 880px);
}

.hero-media img {
  animation: heroDrift 36s var(--ease) infinite alternate;
}

.hero-scrub {
  background:
    linear-gradient(105deg, rgba(14, 16, 40, 0.72) 0%, rgba(14, 16, 40, 0.35) 48%, rgba(14, 16, 40, 0.55) 100%),
    linear-gradient(180deg, rgba(14, 16, 40, 0.25) 0%, rgba(14, 16, 40, 0.15) 50%, rgba(14, 16, 40, 0.75) 100%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.1rem;
  opacity: 0;
  animation: riseIn 0.9s var(--ease) 0.05s forwards;
}

.hero-badge::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--amber, #c9a227);
}

.hero-brand {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}

.hero h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.25rem);
  max-width: 12ch;
  line-height: 1.05;
}

/* ——— Instrument panel / dials ——— */
.panel {
  position: relative;
  background: #0e1228;
  color: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(5.5rem, 11vw, 8rem);
}

.panel-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transform: scale(1.06);
  filter: saturate(0.9) contrast(1.05);
}

.panel-scrub {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(61, 110, 168, 0.32), transparent 70%),
    linear-gradient(180deg, rgba(8, 10, 28, 0.5), rgba(8, 10, 28, 0.9));
}

.panel .wrap {
  position: relative;
  z-index: 2;
}

.panel .section-label { color: var(--amber, #c9a227); }
.panel h2 {
  color: var(--white);
  max-width: 16ch;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.panel-lead {
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2.5rem;
}

.dial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3.5vw, 2.25rem) clamp(1rem, 2.5vw, 1.75rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.dial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  text-align: center;
}

.dial-card:hover,
.dial-card:focus-visible {
  color: inherit;
  text-decoration: none;
}

/* Photorealistic cockpit gauge */
.gauge {
  position: relative;
  width: min(100%, 158px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  transition: transform 0.45s var(--ease);
}

.dial-card:hover .gauge,
.dial-card:focus-visible .gauge,
.dial-card.is-hot .gauge,
.dial-card.is-featured .gauge {
  transform: translateY(-6px) scale(1.04);
}

.gauge-glow {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.35) 0%, transparent 68%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.dial-card:hover .gauge-glow,
.dial-card:focus-visible .gauge-glow,
.dial-card.is-hot .gauge-glow,
.dial-card.is-featured .gauge-glow {
  opacity: 1;
}

.gauge-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

.dial-card[data-dial="att"] .gauge {
  overflow: hidden;
  border-radius: 50%;
  isolation: isolate;
}

.dial-card[data-dial="att"] .gauge-svg {
  overflow: hidden;
  clip-path: circle(50% at 50% 50%);
}

.dial-label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.95);
}

.dial-sub {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: -0.45rem;
  max-width: 16ch;
  line-height: 1.35;
}

/* ——— Circular fleet / milestones slider ——— */
.fleet-band {
  position: relative;
  background: var(--cloud, #f4f6f9);
  padding: clamp(4rem, 8vw, 6rem) 0;
  overflow: hidden;
  border-top: 1px solid var(--line, #e6e9f0);
}

.fleet-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.fleet-head .section-title {
  max-width: none;
  margin-inline: auto;
}

.fleet-head .section-lead {
  margin-inline: auto;
}

.slider {
  position: relative;
}

.slider-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0 1.25rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.slider-track::-webkit-scrollbar { display: none; }

.fleet-slide {
  flex: 0 0 min(220px, 70vw);
  scroll-snap-align: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.fleet-slide:hover { color: inherit; text-decoration: none; }

.fleet-orb {
  width: 180px;
  height: 180px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--line);
  box-shadow: 0 12px 32px rgba(14, 16, 40, 0.1);
  transition: transform 0.45s var(--ease), border-color 0.3s ease, box-shadow 0.45s ease;
}

.fleet-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.fleet-slide:hover .fleet-orb {
  transform: translateY(-6px);
  border-color: var(--sky);
  box-shadow: 0 18px 40px rgba(42, 46, 110, 0.18);
}

.fleet-slide:hover .fleet-orb img {
  transform: scale(1.08);
}

.fleet-slide h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.fleet-slide p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.25s ease;
}

.slider-btn:hover {
  background: var(--navy);
  color: var(--white);
  transform: scale(1.05);
}

.slider-btn svg {
  width: 18px;
  height: 18px;
}

/* ——— Advantage split ——— */
.advantage {
  position: relative;
  background: var(--cloud);
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  overflow: hidden;
}

.advantage-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

.advantage-copy {
  background: var(--white);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  z-index: 2;
}

.advantage-photo {
  position: relative;
  z-index: 1;
}

.advantage-photo img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50% 50% 4px 4px / 42% 42% 4px 4px;
  box-shadow: 0 28px 64px rgba(14, 16, 40, 0.22);
  background: transparent;
}

.advantage-photo::before {
  content: "";
  position: absolute;
  inset: auto -8% -8% -8%;
  height: 40%;
  background: radial-gradient(ellipse at center, rgba(61, 110, 168, 0.2), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* Intro band — sits below cockpit gauges (below the fold) */
.intro-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(5rem, 12vw, 8.5rem) 0;
  text-align: center;
  color: #fff;
  background: #0e1228;
}

.intro-band-bg {
  position: absolute;
  inset: -18% 0;
  z-index: 0;
  background:
    url("../assets/page-hero-sky.jpeg") center 40% / cover no-repeat;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  pointer-events: none;
}

.intro-band-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 14, 36, 0.55) 0%, rgba(10, 14, 36, 0.72) 48%, rgba(10, 14, 36, 0.82) 100%),
    radial-gradient(ellipse 70% 60% at 50% 45%, transparent 20%, rgba(8, 10, 24, 0.45) 100%);
}

.intro-band-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin-inline: auto;
}

.intro-brand {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber, #c9a227);
  margin: 0 0 0.65rem;
}

.intro-band h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 0.85rem;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.intro-lead {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
  margin: 0 auto 1.75rem;
  max-width: 36ch;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.intro-band .btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.intro-band .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.intro-meta {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .intro-band-bg {
    inset: 0;
    transform: none !important;
    will-change: auto;
  }
}

/* ——— Meet the team circles ——— */
.team-band {
  position: relative;
  background:
    linear-gradient(180deg, rgba(14, 16, 40, 0.55), rgba(14, 16, 40, 0.78)),
    url("../assets/hq/team.jpg") center 45% / cover no-repeat;
  color: rgba(255, 255, 255, 0.9);
  padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(5.5rem, 10vw, 8rem);
  overflow: hidden;
  text-align: center;
}

.team-band .wrap {
  position: relative;
  z-index: 2;
}

.team-band .section-label { color: var(--amber, #c9a227); }
.team-band h2 { color: var(--white); max-width: 16ch; margin-inline: auto; }
.team-band .section-lead {
  color: rgba(255, 255, 255, 0.75);
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.team-circles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.5rem);
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
  align-items: start;
}

.team-circles > li {
  min-width: 0;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 130px;
  margin-inline: auto;
  text-decoration: none;
  color: inherit;
  text-align: center;
}

.team-card:hover { color: inherit; text-decoration: none; }

.team-orb {
  width: 100%;
  max-width: 112px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.65rem;
  background: #1a1e2c;
  transition: transform 0.45s var(--ease), border-color 0.3s ease;
}

.team-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.8s var(--ease);
}

.team-card:first-child .team-orb img {
  /* team.jpg — keep hangar + aircraft in frame */
  object-position: center 58%;
}

.team-card:hover .team-orb {
  transform: translateY(-6px);
  border-color: var(--amber, #c9a227);
}

.team-card:hover .team-orb img {
  transform: scale(1.06);
}

.team-card h3 {
  font-size: 0.82rem;
  margin: 0 0 0.15rem;
  color: #fff;
}

.team-card p {
  margin: 0;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.35;
}

/* ——— Quote slider ——— */
.quotes {
  position: relative;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.88);
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  overflow: hidden;
  text-align: center;
}

.quotes .section-label { color: var(--amber, #c9a227); }
.quotes h2 { color: var(--white); max-width: 14ch; margin-inline: auto; }

.quote-faces {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0 0.5rem;
}

.quote-face {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.35);
  opacity: 0.55;
  transform: scale(0.92);
  transition: opacity 0.35s ease, transform 0.35s var(--ease), border-color 0.35s ease;
}

.quote-face.is-active {
  width: 96px;
  height: 96px;
  opacity: 1;
  transform: scale(1);
  border-color: var(--amber, #c9a227);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.25);
}

.quote-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-slider {
  position: relative;
  max-width: 720px;
  margin: 2.5rem auto 0;
  min-height: 180px;
}

.quote-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s var(--ease);
  pointer-events: none;
}

.quote-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.quote-slide blockquote {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}

.quote-slide cite {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky-bright);
}

.quote-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.quote-dots {
  display: flex;
  gap: 0.45rem;
}

.quote-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.quote-dot.is-active {
  background: var(--amber, #c9a227);
  transform: scale(1.25);
}

/* Ground school polish */
.ground-schools {
  position: relative;
}

.ground-card img {
  transition: transform 0.8s var(--ease);
}

.ground-card:hover img {
  transform: scale(1.04);
}

/* Sim section photo side */
.simulator .wrap {
  gap: clamp(2rem, 5vw, 3.5rem);
}

.sim-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sim-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Welcome photo — circular aviation framing */
.welcome-photo {
  position: relative;
}

.welcome-photo img {
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: 0 24px 60px rgba(14, 16, 40, 0.16);
}

.welcome-photo::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid var(--line);
  pointer-events: none;
  z-index: -1;
}

/* Contact / find us */
.find-us {
  position: relative;
  background:
    linear-gradient(180deg, rgba(14, 16, 40, 0.78), rgba(14, 16, 40, 0.88)),
    url("../assets/hq/bg-airfield.jpg") center 40% / cover no-repeat;
  color: rgba(255, 255, 255, 0.9);
  padding: clamp(4rem, 8vw, 6rem) 0;
  overflow: hidden;
}

.find-us-panel {
  background: rgba(18, 22, 46, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.find-us h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.find-us p,
.find-us li {
  color: rgba(255, 255, 255, 0.75);
}

.find-us a {
  color: #fff;
}

.find-us-map {
  border: 0;
  width: 100%;
  min-height: 260px;
  border-radius: var(--radius);
  filter: grayscale(0.25) contrast(1.05);
}

@media (max-width: 980px) {
  .dial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .advantage-photo {
    order: -1;
  }

  .advantage-photo img {
    max-height: 360px;
    border-radius: 50% 50% 4px 4px / 36% 36% 4px 4px;
  }

  .find-us-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .dial-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem 0.75rem;
  }

  .dial {
    width: min(100%, 110px);
  }

  .gauge {
    width: min(100%, 124px);
  }

  .team-circles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 280px;
  }

  .quote-face {
    width: 56px;
    height: 56px;
  }

  .quote-face.is-active {
    width: 76px;
    height: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img {
    transition: none;
    animation: none;
  }
}
