/* =========================================================================
   E3 Aviation — v3 Personality
   Aviation-vocabulary details, marquees, comms strip, runway stripes,
   real brand logo wiring, instrument-panel moments.
   ========================================================================= */

/* Brand lockup in nav — official full white logo */
.nav .brand-logo {
  height: 76px;
  width: auto;
  display: block;
  margin-left: 100px;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.35));
}
@media (max-width: 900px) {
  .nav .brand-logo { height: 60px; margin-left: 40px; }
}
@media (max-width: 640px) {
  .nav .brand-logo { height: 48px; margin-left: 0; }
}
.nav .brand-mark.real {
  width: 44px;
  height: 44px;
  background: transparent;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: visible;
}
.nav .brand-mark.real::after { display: none; }
.nav .brand-mark.real img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.25));
}
/* When nav is over dark hero, we need a tinted version of the logo */
.nav .brand-mark.real .light { display: block; }
.nav .brand-mark.real .dark { display: none; }
.nav.scrolled .brand-mark.real .light { display: block; }

/* Brand wordmark beside the circle */
.nav .brand-name strong { color: #fff; font-weight: 900; letter-spacing: 0.5px; }
.nav .brand-name .tag { color: var(--gold); font-size: 9.5px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; margin-top: 5px; display: block; }

/* =========================================================================
   COMMS STRIP — fake live aviation radio chatter
   Sits right below the hero, gives the site a "tuned in" feel
   ========================================================================= */
.comms-strip {
  background: #02060f;
  color: rgba(255,255,255,0.65);
  border-top: 1px solid rgba(253,185,19,0.18);
  border-bottom: 1px solid rgba(253,185,19,0.18);
  padding: 14px 0;
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.5px;
  overflow: hidden;
  position: relative;
}
.comms-strip::before, .comms-strip::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
  pointer-events: none;
}
.comms-strip::before { left: 0; background: linear-gradient(90deg, #02060f, transparent); }
.comms-strip::after  { right: 0; background: linear-gradient(-90deg, #02060f, transparent); }
.comms-strip .live {
  position: absolute;
  left: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: #02060f;
  padding-right: 16px;
}
.comms-strip .live .dot {
  width: 8px; height: 8px;
  background: #ff3838;
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(255,56,56,0.9);
  animation: pulseLive 1.4s ease-in-out infinite;
}
@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.85); }
}
.comms-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: commsScroll 60s linear infinite;
  padding-left: 200px;
}
.comms-track:hover { animation-play-state: paused; }
.comms-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.comms-item .code { color: var(--gold); font-weight: 700; }
.comms-item .arrow { color: rgba(255,255,255,0.4); }
.comms-item .dim { color: rgba(255,255,255,0.4); }
@keyframes commsScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================================================
   RUNWAY DIVIDER — between sections
   ========================================================================= */
.runway-divider {
  height: 8px;
  background:
    repeating-linear-gradient(90deg,
      var(--gold) 0 40px,
      transparent 40px 60px);
  position: relative;
}
.runway-divider.dark {
  background:
    repeating-linear-gradient(90deg,
      rgba(253,185,19,0.5) 0 40px,
      transparent 40px 60px);
}

/* =========================================================================
   DESTINATIONS MARQUEE — auto-scroll band of ICAO codes
   ========================================================================= */
.destinations-marquee {
  background: var(--gold);
  color: var(--navy);
  padding: 28px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(10,37,64,0.2);
  border-bottom: 1px solid rgba(10,37,64,0.2);
}
.destinations-marquee .track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: dest-scroll 80s linear infinite;
  align-items: center;
}
.destinations-marquee .track:hover { animation-play-state: paused; }
.destinations-marquee .item {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.destinations-marquee .item .icao {
  font-family: "JetBrains Mono", monospace;
  font-size: 16px;
  font-weight: 700;
  background: var(--navy);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 1.5px;
  vertical-align: middle;
}
.destinations-marquee .item .sep {
  font-size: 28px;
  color: rgba(10,37,64,0.4);
  font-style: italic;
  font-family: "Playfair Display", serif;
  font-weight: 400;
}
@keyframes dest-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================================================
   TOWER TRANSMISSION — pull quote as radio call
   ========================================================================= */
.transmission {
  background: var(--navy-deep);
  color: #fff;
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.transmission::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 80% at 0% 50%, rgba(253,185,19,0.10), transparent 60%),
    radial-gradient(ellipse 40% 80% at 100% 50%, rgba(0,115,230,0.10), transparent 60%);
}
.transmission .container { position: relative; max-width: 980px; }
.transmission .meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 1.5px;
}
.transmission .meta .freq {
  background: rgba(253,185,19,0.15);
  border: 1px solid rgba(253,185,19,0.4);
  padding: 6px 12px;
  border-radius: 3px;
  font-weight: 700;
}
.transmission .meta .barge {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.55);
  font-weight: 700;
}
.transmission .meta .barge::before {
  content: ""; width: 6px; height: 6px; background: #2ed85a; border-radius: 999px; box-shadow: 0 0 6px #2ed85a;
}
.transmission .quote {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  text-wrap: balance;
}
.transmission .quote em { color: var(--gold); font-style: italic; font-family: "Playfair Display", serif; font-weight: 400; }
.transmission .quote .strike { text-decoration: line-through; opacity: 0.55; text-decoration-thickness: 3px; }
.transmission .attribution {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,0.6);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 1px;
}
.transmission .attribution .line { width: 40px; height: 1px; background: var(--gold); }

/* Waveform/audio bar ornament */
.waveform {
  display: flex;
  align-items: end;
  gap: 3px;
  height: 32px;
  margin-bottom: 16px;
}
.waveform span {
  width: 4px;
  background: var(--gold);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}
.waveform span:nth-child(1)  { height: 30%; animation-delay: 0.0s; }
.waveform span:nth-child(2)  { height: 60%; animation-delay: 0.1s; }
.waveform span:nth-child(3)  { height: 90%; animation-delay: 0.2s; }
.waveform span:nth-child(4)  { height: 50%; animation-delay: 0.3s; }
.waveform span:nth-child(5)  { height: 80%; animation-delay: 0.4s; }
.waveform span:nth-child(6)  { height: 40%; animation-delay: 0.5s; }
.waveform span:nth-child(7)  { height: 70%; animation-delay: 0.6s; }
.waveform span:nth-child(8)  { height: 55%; animation-delay: 0.7s; }
.waveform span:nth-child(9)  { height: 35%; animation-delay: 0.8s; }
.waveform span:nth-child(10) { height: 65%; animation-delay: 0.9s; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.45); }
  50%      { transform: scaleY(1); }
}

/* =========================================================================
   PATCH STICKERS — aviation patch ornaments
   ========================================================================= */
.patch {
  position: absolute;
  width: 120px;
  height: 120px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 4px solid var(--gold);
  outline: 2px dashed rgba(10,37,64,0.4);
  outline-offset: -10px;
  transform: rotate(-8deg);
  z-index: 5;
}
.patch.blue {
  background: var(--e3-blue);
  color: #fff;
  border-color: var(--e3-blue);
  outline-color: rgba(255,255,255,0.5);
}
.patch span { display: block; }
.patch .big { font-size: 24px; line-height: 1; letter-spacing: -0.02em; margin: 4px 0; }

/* =========================================================================
   COMPASS ROSE ornament
   ========================================================================= */
.compass {
  position: absolute;
  width: 200px;
  height: 200px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.85;
}
.compass svg { width: 100%; height: 100%; animation: spinSlow 60s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* =========================================================================
   FIELD-NOTE BADGES on collage cells
   ========================================================================= */
.field-stamp {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  background: var(--gold);
  color: var(--navy);
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 3px;
  transform: rotate(-3deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.field-stamp.blue { background: var(--e3-blue); color: #fff; }
.field-stamp.outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  transform: rotate(3deg);
}

/* =========================================================================
   HERO additions — instrument-style heading indicator
   ========================================================================= */
.hero-heading-ind {
  position: absolute;
  top: 130px;
  left: var(--gutter);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
}
@media (max-width: 760px) { .hero-heading-ind { display: none; } }
.heading-ring {
  width: 56px; height: 56px;
  position: relative;
  border-radius: 999px;
  border: 1.5px solid rgba(253,185,19,0.5);
  display: grid; place-items: center;
  color: var(--gold);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
}
.heading-ring::before {
  content: "";
  position: absolute;
  top: -1.5px;
  left: 50%;
  width: 1.5px;
  height: 8px;
  background: var(--gold);
}
.heading-info {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1.5px;
  line-height: 1.5;
}
.heading-info strong { color: var(--gold); display: block; font-size: 11px; font-weight: 700; }

/* =========================================================================
   Footer brand lockup using real logo
   ========================================================================= */
.footer-logo {
  width: 240px;
  margin-bottom: 18px;
}
.footer-logo img { width: 100%; height: auto; display: block; }

/* =========================================================================
   FOR THE LOVE OF THE FLIGHT — section header ornament
   ========================================================================= */
.section-kicker {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  color: var(--gold-warm);
  margin-bottom: 8px;
}

.hero-art {
  /* HERO IMAGE & LAYOUT — LOCKED. User confirmed perfect.
     Image: hero6.png. Position: right center. Ribbon margin-top: -160px.
     Do NOT change the hero image, background-position, ribbon offset, or
     surrounding section order unless the user explicitly requests a change. */
  background-image:
    linear-gradient(95deg, rgba(10, 37, 64, 0.62) 0%, rgba(10, 37, 64, 0.28) 45%, rgba(10, 37, 64, 0.08) 100%),
    url('assets/hero6.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}
.hero-art > svg:not(.hero-aircraft) { display: none; }
/* Photo already contains an aircraft — hide the SVG silhouette */
.hero-aircraft { display: none; }
.hero-v2 .hero-art::after {
  background:
    radial-gradient(ellipse 130% 90% at 50% 50%, transparent 60%, rgba(2,6,15,0.40) 100%),
    linear-gradient(180deg, rgba(10,37,64,0.20) 0%, transparent 30%, transparent 70%, rgba(10,37,64,0.30) 100%);
}
.hero-art {
  animation: heroDriftPhoto 30s ease-in-out infinite alternate;
}
@keyframes heroDriftPhoto {
  0% { background-position: 50% 50%; }
  100% { background-position: 53% 47%; }
}

/* Small distant GA aircraft — flies across the upper sky */
.hero-aircraft {
  position: absolute;
  top: 18%;
  right: 12%;
  width: 120px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
  animation: aircraftFly 30s linear infinite;
}
@keyframes aircraftFly {
  0%   { transform: translate(20vw, -2vh); opacity: 0; }
  10%  { opacity: 0.85; }
  90%  { opacity: 0.85; }
  100% { transform: translate(-100vw, 5vh); opacity: 0; }
}
@media (max-width: 760px) {
  .hero-aircraft { top: 12%; width: 80px; }
}

/* When the feature tiles are present, let the hero-content span the full container */
.hero-content:has(.hero-features) { max-width: none; }
.hero-content:has(.hero-features) .hero-headline,
.hero-content:has(.hero-features) .hero-sub { max-width: 880px; }

/* =========================================================================
   HERO FEATURE TILES — full-width grid, 3 rows, last row fades into more
   ========================================================================= */
.hero-features {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 80px;
  margin-bottom: 56px;
  width: 100%;
  max-width: none;
  position: relative;
  z-index: 2;
}
@media (max-width: 1200px) {
  .hero-features { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .hero-features { grid-template-columns: repeat(2, 1fr); }
}

.hero-feature {
  background: rgba(10, 28, 50, 0.72);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 14px 14px 12px;
  border-radius: 4px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background .2s, border-color .2s, transform .2s;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}
.hero-feature:hover {
  background: rgba(253,185,19,0.18);
  border-color: rgba(253,185,19,0.5);
  transform: translateY(-2px);
}
.hero-feature .ico {
  color: var(--gold);
  width: 22px;
  height: 22px;
  margin-bottom: 4px;
}
.hero-feature .ico svg { width: 100%; height: 100%; }
.hero-feature .label {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-size: 11.5px;
  letter-spacing: 0.4px;
  line-height: 1.15;
  text-transform: uppercase;
  color: #fff;
}
.hero-feature .example {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.1px;
}

/* Row-by-row gradient fade — hint that there's so much more inside */
.hero-feature.r1 { opacity: 1; }
.hero-feature.r2 { opacity: 0.65; }
.hero-feature.r3 { opacity: 0.32; }
.hero-feature.r4 { opacity: 0.1; }
.hero-feature.r1:hover, .hero-feature.r2:hover, .hero-feature.r3:hover, .hero-feature.r4:hover {
  opacity: 1;
  border-color: rgba(253,185,19,0.5);
}

/* Legacy fade utilities kept for any stragglers */
.hero-feature.fade { opacity: 0.5; }
.hero-feature.fade:hover { opacity: 1; }
.hero-feature.fade-deep { opacity: 0.12; }
.hero-feature.fade-deep:hover { opacity: 1; border-color: rgba(253,185,19,0.5); }

/* Hero CTAs sit directly below "The hangar door's open." in the text column */
.hero-v2 .hero-ctas {
  position: relative;
  margin-top: 32px;
  margin-bottom: 48px;
  pointer-events: none;
  z-index: 5;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.hero-v2 .hero-ctas .btn {
  pointer-events: auto;
  box-shadow:
    0 30px 60px rgba(2,6,15,0.85),
    0 12px 24px rgba(2,6,15,0.65),
    0 0 0 1px rgba(2,6,15,0.5);
}
.hero-v2 .hero-ctas .btn-gold {
  box-shadow:
    0 30px 60px rgba(2,6,15,0.85),
    0 12px 24px rgba(253,185,19,0.30),
    0 0 0 1px rgba(2,6,15,0.5);
}
.hero-v2 .hero-ctas .btn-ghost-light {
  background: rgba(10, 28, 50, 0.85);
  border-color: rgba(255,255,255,0.32);
}
@media (max-width: 1100px) {
  .hero-v2 .hero-ctas {
    position: static;
    transform: none;
    margin-top: 36px;
    margin-bottom: 56px;
  }
}
@media (max-width: 640px) { .hero-v2 .hero-ctas { margin-top: 24px; margin-bottom: 24px; } }
.hero-ribbon { z-index: 4; }

/* Hero headline accent — animated underscore */
.hero-v2 h1 .accent::after {
  content: "";
  display: block;
  height: 4px;
  width: 100%;
  background: var(--gold);
  margin-top: 12px;
  border-radius: 2px;
  transform-origin: left;
  animation: drawLine 1.2s ease-out 0.4s both;
}
@keyframes drawLine {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* JetBrains Mono — load via Google Fonts in HTML */

/* =========================================================================
   "Built by pilots" trust ribbon
   ========================================================================= */
.trust-line {
  background: var(--navy);
  color: rgba(255,255,255,0.78);
  padding: 22px 0;
  text-align: center;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.trust-line strong { color: var(--gold); font-weight: 900; letter-spacing: 1px; text-transform: uppercase; font-size: 12px; margin-right: 8px; }
.trust-line em { color: #fff; font-style: normal; font-weight: 700; }

/* =========================================================================
   Hover lift utility
   ========================================================================= */
.lift { transition: transform .25s ease, box-shadow .25s ease; }
.lift:hover { transform: translateY(-4px); }
