/* Updated Piranha helicopter brand imagery */
.site-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(10,10,12,.1);
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
}

.site-header nav a { color: #18181b; }
.site-header .nav-cta { border-color: #18181b; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.brand img { width: auto; object-fit: contain; }
.brand .brand-heli { height: 74px; }
.brand .brand-wordmark { height: 47px; }

.hero {
  background-image: url("assets/hero-helicopter.webp");
  background-position: center 46%;
}

.brand-film {
  min-height: 620px;
  position: relative;
  overflow: hidden;
  background: #07070a;
  color: #fff;
  display: flex;
  align-items: flex-end;
}

.brand-film video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-film-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(8,8,10,.94),rgba(8,8,10,.38) 65%,rgba(8,8,10,.2)),linear-gradient(0deg,rgba(8,8,10,.82),transparent 55%);
}

.brand-film-copy {
  position: relative;
  z-index: 1;
  padding: clamp(4rem,8vw,8rem);
  max-width: 950px;
}

.brand-film-copy h2 { margin-bottom: 1.25rem; }
.brand-film-copy > p:last-child {
  max-width: 650px;
  color: rgba(255,255,255,.78);
  font-size: 1.1rem;
}

.network-hero {
  min-height: 570px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #07070a;
}

.network-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.network-heading {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: clamp(4rem,7vw,7rem);
}

.network-heading h2 { max-width: 950px; }
.network-heading > p:last-child {
  max-width: 680px;
  margin: 1.3rem 0 0;
  color: rgba(255,255,255,.76);
  font-size: 1.08rem;
}

.company-card.featured {
  background-image: url("assets/helicopter-flight.webp");
  background-size: auto 135%;
  background-position: center 58%;
}
.company-card.training {
  background-image: linear-gradient(135deg,transparent,rgba(143,0,27,.35)),url("assets/helicopter-fleet.webp");
  background-size: auto 135%;
  background-position: center 60%;
}
.company-card.mac {
  background-image: linear-gradient(135deg,rgba(10,10,12,.08),rgba(143,0,27,.34)),url("assets/mac-engineering-inspection.webp");
  background-position: center 48%;
}
.company-card.shop {
  background: #151519;
}

.shop-collage {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  grid-template-rows: repeat(2,minmax(0,1fr));
  gap: 2px;
  background: #17171a;
}

.shop-collage img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  filter: saturate(.88) contrast(1.04);
}

.shop-collage > img:first-child { object-fit: contain; background: #f4f4f2; }
.shop-collage > img:nth-child(2) { object-position: center 46%; }
.shop-collage .collage-tool {
  display: block;
  background-image: url("assets/not-for-flight-products.webp");
  background-repeat: no-repeat;
  background-size: 200% 200%;
  filter: saturate(.88) contrast(1.04);
}
.shop-collage .collage-tool-left { background-position: left bottom; }
.shop-collage .collage-tool-right { background-position: right bottom; }

.company-card.shop::before {
  z-index: 1;
  background:
    linear-gradient(0deg,rgba(8,8,10,.97) 0%,rgba(8,8,10,.8) 42%,rgba(8,8,10,.28) 78%,rgba(8,8,10,.12) 100%),
    linear-gradient(90deg,rgba(143,0,27,.16),transparent 55%);
}

.company-card.shop .card-content { z-index: 2; }

.card-link {
  display: inline-block;
  margin-top: .6rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: 600 1rem/1.6 Inter,Arial,sans-serif;
  text-decoration: underline;
  text-underline-offset: .35rem;
  cursor: pointer;
}

.info-dialog {
  width: min(920px,calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 0;
  border: 0;
  background: #fff;
  color: #17171a;
  box-shadow: 0 28px 90px rgba(0,0,0,.45);
}

.info-dialog::backdrop { background: rgba(5,5,8,.78); backdrop-filter: blur(5px); }
.dialog-shell { position: relative; padding: clamp(2rem,5vw,4.5rem); }
.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 1px solid #d4d4d6;
  background: #fff;
  color: #17171a;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.info-dialog h2 { margin-bottom: 1rem; font-size: clamp(2.7rem,6vw,5rem); }
.dialog-intro { max-width: 690px; color: #57575c; font-size: 1.05rem; }
.dialog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,4rem); margin-top: 2.25rem; padding-top: 2rem; border-top: 1px solid #d9d9dc; }
.dialog-grid h3 { margin-bottom: .65rem; color: #8f001b; font-size: 1.55rem; text-transform: uppercase; }
.dialog-grid p,.dialog-grid li { color: #505057; }
.dialog-grid ul { margin-bottom: 0; padding-left: 1.2rem; }
.portal-capabilities { width: min(100%,560px); margin: 2.75rem auto 0; padding-top: 2.25rem; border-top: 1px solid #d9d9dc; }
.portal-capabilities h3 { margin-bottom: 1.25rem; color: #8f001b; font-size: 1.55rem; text-align: center; text-transform: uppercase; }
.portal-capabilities ul { margin-bottom: 0; padding-left: 1.2rem; }
.portal-capabilities li { padding: 0; border: 0; color: #505057; font-size: 1rem; line-height: 1.6; }
.portal-capabilities li::marker { color: #505057; }
.dialog-actions { display: flex; align-items: center; gap: 1.25rem; margin-top: 2.5rem; }
.dialog-cancel { border: 0; background: transparent; color: #333; font: 600 1rem Inter,Arial,sans-serif; text-decoration: underline; text-underline-offset: .3rem; cursor: pointer; }
body:has(.info-dialog[open]) { overflow: hidden; }

.pathway-integrated {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: clamp(2rem,5vw,5rem);
  padding: clamp(3rem,6vw,6rem);
}

.compact-advantage {
  display: block;
  min-height: auto;
  padding-top: clamp(4rem,6vw,6rem);
  padding-bottom: clamp(4rem,6vw,6rem);
  color: #fff;
  background:
    linear-gradient(100deg,rgba(12,12,15,.97),rgba(45,5,14,.91)),
    url("assets/helicopter-dusk.webp") center/cover no-repeat;
  border-top: 1px solid rgba(255,255,255,.16);
}

.advantage-intro {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem,6vw,7rem);
  align-items: end;
}

.advantage-intro h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.8rem,5vw,4.8rem);
}

.advantage-intro > p {
  margin-bottom: .35rem;
  color: rgba(255,255,255,.76);
  font-size: 1.02rem;
}

.compact-principles {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  margin-top: clamp(2rem,4vw,3.5rem);
  border-top: 1px solid rgba(255,255,255,.24);
  border-bottom: 1px solid rgba(255,255,255,.24);
}

.compact-principles > div {
  display: block;
  padding: 1.25rem clamp(1rem,2vw,2rem);
  border-bottom: 0;
  border-right: 1px solid rgba(255,255,255,.18);
}

.compact-principles > div:first-child { padding-left: 0; }
.compact-principles > div:last-child { border-right: 0; }
.compact-principles span { display: block; margin-bottom: .45rem; color: #ff617b; }
.compact-principles h3 { margin-bottom: .35rem; color: #fff; }
.compact-principles p { color: rgba(255,255,255,.68); line-height: 1.45; }

.compact-pathway {
  display: grid;
  grid-template-columns: .75fr 2.25fr;
  gap: clamp(2rem,5vw,5rem);
  align-items: center;
  padding-top: clamp(2rem,4vw,3.5rem);
}

.pathway-heading .eyebrow { margin-bottom: .45rem; color: #ff617b; }
.pathway-heading h3 { margin: 0; font-size: clamp(1.8rem,3vw,2.8rem); line-height: 1; text-transform: uppercase; }
.compact-pathway .pathway-track { margin-top: 0; }
.compact-pathway .pathway-track > div { padding-top: 1.4rem; padding-bottom: .25rem; }
.compact-pathway .pathway-track strong { font-size: 1.35rem; }

.combined-intro {
  display: grid;
  grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
  background: #fff;
}

.combined-intro-primary,
.combined-intro-advantage {
  padding: clamp(4rem,7vw,7rem) clamp(1.5rem,6vw,6rem);
}

.combined-intro-primary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f4f4f2;
}

.combined-intro-primary h2 {
  max-width: 700px;
  margin-bottom: 2rem;
  font-size: clamp(3rem,5.4vw,6rem);
}

.combined-intro-primary p {
  max-width: 650px;
  margin: 0;
  color: #505057;
  font-size: 1.08rem;
}

.combined-intro-advantage {
  color: #fff;
  background:
    linear-gradient(110deg,rgba(12,12,15,.98),rgba(65,3,17,.9)),
    url("assets/helicopter-dusk.webp") center/cover no-repeat;
}

.combined-intro-advantage > .eyebrow,
.combined-pathway .eyebrow { color: #ff617b; }

.combined-intro-advantage h2 {
  max-width: 820px;
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem,4.7vw,5.3rem);
}

.advantage-summary {
  max-width: 780px;
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
}

.combined-pathway {
  margin-top: clamp(2.5rem,5vw,4.5rem);
  padding-top: clamp(2rem,4vw,3rem);
  border-top: 1px solid rgba(255,255,255,.28);
}

.combined-pathway .pathway-heading {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.75rem;
}

.combined-pathway .pathway-heading .eyebrow { margin: 0 0 .2rem; }
.combined-pathway .pathway-heading h3 { margin: 0; font-size: clamp(1.8rem,3vw,3rem); }

.combined-pathway-track {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  border-top: 1px solid rgba(255,255,255,.22);
}

.combined-pathway-track > div {
  min-height: 132px;
  padding: 1.4rem 1.5rem 1.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,.22);
}

.combined-pathway-track > div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.22); }
.combined-pathway-track > div:nth-child(even) { padding-left: 1.5rem; }
.combined-pathway-track strong,
.combined-pathway-track span { display: block; }
.combined-pathway-track strong { margin-bottom: .4rem; font: 700 1.4rem/1.05 "Barlow Condensed",Arial,sans-serif; text-transform: uppercase; }
.combined-pathway-track span { color: rgba(255,255,255,.72); line-height: 1.45; }

.mission {
  padding-top: clamp(3rem,5vw,5rem);
  padding-bottom: clamp(3rem,5vw,5rem);
  background: #f4f4f2;
}

.mission > .eyebrow {
  margin-bottom: 1.25rem;
}

.mission-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr);
  gap: clamp(2rem,7vw,7rem);
  align-items: end;
}

.mission-grid h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem,5.2vw,5.7rem);
}

.mission-grid p {
  max-width: 650px;
  margin: 0 0 .35rem;
  color: #505057;
  font-size: 1.08rem;
}

@media (max-width: 900px) {
  .brand .brand-heli { height: 62px; }
  .brand .brand-wordmark { height: 39px; }
  .menu-toggle { border-color: #18181b; color: #18181b; }
  .site-header nav { background: #fff; box-shadow: 0 12px 24px rgba(0,0,0,.12); }
  .advantage-intro,.compact-pathway { grid-template-columns: 1fr; }
  .compact-principles { grid-template-columns: 1fr; }
  .compact-principles > div { padding: 1.2rem 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .compact-principles > div:last-child { border-bottom: 0; }
  .combined-intro { grid-template-columns: 1fr; }
  .combined-intro-primary h2 { max-width: 820px; }
  .mission-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .mission-grid p { max-width: 760px; }
}

@media (max-width: 520px) {
  .brand { gap: .35rem; }
  .brand .brand-heli { height: 54px; }
  .brand .brand-wordmark { height: 34px; }
  .dialog-grid { grid-template-columns: 1fr; }
  .dialog-shell { padding-top: 4rem; }
  .combined-intro-primary,.combined-intro-advantage { padding: 4rem 1.25rem; }
  .combined-pathway .pathway-heading,.combined-pathway-track { grid-template-columns: 1fr; }
  .combined-pathway-track > div:nth-child(odd) { border-right: 0; }
  .combined-pathway-track > div:nth-child(even) { padding-left: 0; }
  .combined-pathway-track > div { min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-film video { display: none; }
  .brand-film { background: url("assets/helicopter-night.webp") center/cover no-repeat; }
  .network-hero video { display: none; }
  .network-hero { background: url("assets/helicopter-night.webp") center/cover no-repeat; }
}
