/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  background: #0a141d;
}
body {
  min-height: 100svh;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  color: #f4f6f8;
  background: transparent;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Background ---------- */
.bg {
  position: fixed; inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 30%, #1f3a55 0%, #0c1822 55%, #060c12 100%);
}
.bg picture { position: absolute; inset: 0; }
.bg__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  opacity: 0;
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.02);
  transition: opacity 1.6s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.bg__img.is-loaded { opacity: 1; animation: kenBurns 36s ease-in-out infinite alternate; }
@keyframes kenBurns {
  0%   { transform: scale(1.06) translate3d(0,0,0); }
  100% { transform: scale(1.16) translate3d(-1.5%, -1%, 0); }
}
.bg__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(8,14,22,0.55) 0%,
      rgba(8,14,22,0.30) 35%,
      rgba(8,14,22,0.55) 70%,
      rgba(8,14,22,0.85) 100%);
}
.bg__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 50%, transparent 55%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

/* ---------- Layout ---------- */
.page {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto auto auto auto auto;
  gap: clamp(28px, 5vw, 56px);
  padding:
    max(28px, env(safe-area-inset-top))
    clamp(20px, 5vw, 56px)
    max(28px, env(safe-area-inset-bottom));
  max-width: 1180px;
  margin: 0 auto;
}

/* ---------- Brand ---------- */
.brand { display: flex; align-items: center; }
.brand__logo {
  width: clamp(120px, 14vw, 180px);
  height: auto;
  filter:
    drop-shadow(0 6px 14px rgba(0,0,0,.45))
    drop-shadow(0 0 0 rgba(255,255,255,.0));
  background: rgba(255,255,255,0.92);
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* ---------- Brand (EGLD: eagle mark + text) ---------- */
.brand--egld {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 10px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  justify-self: start;
  width: max-content;
  max-width: 100%;
}
.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 56px;
  flex: 0 0 auto;
}
.brand__mark img {
  width: auto;
  height: 100%;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.35));
}
.brand__text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand__name {
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}
.brand__icao {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.65);
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 22px);
  max-width: 880px;
  padding-block: clamp(16px, 4vw, 40px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin: 0;
  padding: 8px 14px 8px 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.eyebrow__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #f25c5c;
  box-shadow: 0 0 0 0 rgba(242,92,92,.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(242,92,92,.55); }
  70%  { box-shadow: 0 0 0 14px rgba(242,92,92,0); }
  100% { box-shadow: 0 0 0 0 rgba(242,92,92,0); }
}
.title {
  margin: 0;
  font-size: clamp(38px, 7.2vw, 88px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.title__line {
  display: block;
  background-clip: text;
  -webkit-background-clip: text;
}
.title__line--accent {
  background-image: linear-gradient(90deg, #ffffff 0%, #cfe7ff 60%, #f1d2c2 100%);
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.lead {
  margin: 0;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  max-width: 60ch;
}

/* ---------- Contact ---------- */
.contact { width: 100%; }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 1.6vw, 18px);
}
@media (min-width: 720px) {
  .contact__grid { grid-template-columns: 1fr 1fr; }
}
.contact__card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 6px;
  padding: clamp(18px, 2vw, 22px);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  transition:
    transform .45s cubic-bezier(.2,.7,.2,1),
    border-color .3s ease,
    background .3s ease,
    box-shadow .3s ease;
  overflow: hidden;
  isolation: isolate;
}
.contact__card::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,0.4), rgba(255,255,255,0) 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: .7;
  pointer-events: none;
}
.contact__card:not(.contact__card--static):hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.28);
  background: linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.07) 100%);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.55);
}
.contact__card:focus-visible {
  outline: 2px solid #cfe7ff;
  outline-offset: 3px;
}
.contact__icon {
  display: inline-flex;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  margin-bottom: 4px;
}
.contact__icon svg { width: 20px; height: 20px; }
.contact__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.contact__value {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 600;
  color: #fff;
  overflow-wrap: anywhere;
  hyphens: none;
  -webkit-hyphens: none;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

/* ---------- For pilots: link cards ---------- */
.links { width: 100%; }
.links__heading {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.links__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 1.6vw, 18px);
}
@media (min-width: 720px) {
  .links__grid { grid-template-columns: 1fr 1fr; }
}

.link-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: clamp(18px, 2vw, 22px);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  transition:
    transform .45s cubic-bezier(.2,.7,.2,1),
    border-color .3s ease,
    background .3s ease,
    box-shadow .3s ease;
  overflow: hidden;
  isolation: isolate;
}
.link-card::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,0.4), rgba(255,255,255,0) 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: .7;
  pointer-events: none;
}
.link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.28);
  background: linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.07) 100%);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.55);
}
.link-card:hover .link-card__arrow { transform: translateX(4px); }
.link-card:focus-visible {
  outline: 2px solid #cfe7ff;
  outline-offset: 3px;
}
.link-card__icon {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
}
.link-card__icon svg { width: 22px; height: 22px; }

.link-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.link-card__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.link-card__title {
  font-size: clamp(15px, 1.4vw, 17.5px);
  font-weight: 700;
  letter-spacing: -0.005em;
  color: #fff;
}
.link-card__sub {
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.62);
}
.link-card__arrow {
  display: inline-flex;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background .3s ease;
  flex: 0 0 auto;
}
.link-card__arrow svg { width: 16px; height: 16px; }

.link-card--accent {
  background: linear-gradient(180deg, rgba(192,32,32,0.20) 0%, rgba(192,32,32,0.06) 100%);
  border-color: rgba(255,120,120,0.30);
}
.link-card--accent:hover {
  background: linear-gradient(180deg, rgba(192,32,32,0.28) 0%, rgba(192,32,32,0.10) 100%);
  border-color: rgba(255,140,140,0.45);
}
.link-card--accent .link-card__icon {
  background: rgba(255,80,80,0.18);
  border-color: rgba(255,140,140,0.30);
}

/* ---------- Footer ---------- */
.foot {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-align: left;
}

/* ---------- Subpages: briefing & PPR ---------- */
.bg__overlay--strong {
  background:
    linear-gradient(180deg,
      rgba(8,14,22,0.78) 0%,
      rgba(8,14,22,0.72) 40%,
      rgba(8,14,22,0.85) 100%);
}

.page--doc {
  grid-template-rows: auto auto auto auto;
  gap: clamp(20px, 3vw, 32px);
  max-width: 880px;
}

.back { margin: -8px 0 0; }
.back__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}
.back__link:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
  color: #fff;
  transform: translateX(-2px);
}

.doc {
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 40px);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}
.doc__head { margin-bottom: clamp(18px, 3vw, 28px); }
.doc__title {
  margin: 8px 0 14px;
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
}
.doc__intro {
  margin: 0;
  font-size: clamp(15.5px, 1.4vw, 17.5px);
  color: rgba(255,255,255,0.82);
  max-width: 65ch;
}
.doc__inline-link {
  color: #ffd0c8;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.doc__inline-link:hover { color: #fff; }

.doc__keyfacts {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 720px) {
  .doc__keyfacts { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
.doc__keyfacts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
}
.doc__keyfacts span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.doc__keyfacts strong {
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.005em;
}

.doc__figure {
  margin: clamp(20px, 3vw, 28px) 0;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}
.doc__figure img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}
.doc__figure figcaption {
  padding: 10px 14px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.doc__section { margin-top: clamp(20px, 3vw, 28px); }
.doc__section h2 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}
.doc__section h3 {
  margin: 18px 0 8px;
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 700;
  color: rgba(255,255,255,0.92);
}
.doc__section p {
  margin: 0 0 10px;
  font-size: clamp(15px, 1.4vw, 16.5px);
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
}
.doc__section ul {
  margin: 6px 0 14px;
  padding-left: 0;
  list-style: none;
}
.doc__section li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: clamp(15px, 1.4vw, 16.5px);
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.doc__section li:first-child { border-top: none; padding-top: 4px; }
.doc__section li::before {
  content: "";
  position: absolute;
  left: 8px; top: 17px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
}
.doc__section strong { color: #fff; }

.doc__callout {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(192,32,32,0.16);
  border: 1px solid rgba(255,140,140,0.30);
  border-radius: 14px;
  color: #fff;
  font-size: clamp(14.5px, 1.35vw, 16px);
  line-height: 1.55;
}

.doc__cta-row {
  margin-top: clamp(24px, 3vw, 32px);
  display: grid;
  gap: 12px;
}

/* ---------- PPR form embed ---------- */
.form-frame {
  margin-top: clamp(18px, 3vw, 24px);
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px -28px rgba(0,0,0,.55);
}
.form-frame iframe {
  display: block;
  width: 100%;
  min-height: 720px;
  border: 0;
  background: #fff;
}
.form-frame__fallback {
  margin: 14px 2px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  filter: blur(6px);
  transition:
    opacity .9s cubic-bezier(.2,.7,.2,1),
    transform .9s cubic-bezier(.2,.7,.2,1),
    filter .9s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .bg__img.is-loaded { animation: none; transform: none; }
  .eyebrow__dot { animation: none; }
  [data-reveal] { transition: opacity .3s linear; transform: none; filter: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Small screens ---------- */
@media (max-width: 540px) {
  .page { gap: 32px; }
  .brand__logo { width: 130px; }
  .title { letter-spacing: -0.02em; }
  .contact__grid { grid-template-columns: 1fr; }
  .foot { text-align: center; }
}
