/* AeroSky Partners — site styles. Palette from the logo; two moods: day (Aerodynamics) / dusk (Jesko). */
:root {
  --navy: #022540;
  --navy-700: #0a3456;
  --navy-900: #011627;
  --ink: #010f1c;
  --gold: #c8933a;
  --gold-soft: #d4a24c;
  --grey: #737373;
  --mist: #a8b0ba;
  --paper: #f7f6f2;
  --white: #ffffff;

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --gutter: clamp(16px, 2.8vw, 48px);
  --nav-h: 84px;
  --ease: cubic-bezier(.25, 1, .5, 1);
}
html[data-mode="day"] {
  --sheet: var(--paper);
  --fg: var(--navy);
  --fg-soft: #34475a;
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  --jet: linear-gradient(172deg, #2a5d8c 0%, #0d3c64 34%, #022540 66%, #011627 100%);
  --on-sky: rgba(2, 37, 64, .88);
  --halo: rgba(247, 246, 242, .75);
}
html[data-mode="dusk"] {
  --sheet: #0c0d0f;
  --fg: var(--white);
  --fg-soft: rgba(255, 255, 255, .72);
  --btn-bg: var(--white);
  --btn-fg: var(--ink);
  --jet: linear-gradient(172deg, #f3f1ec 0%, #c9c3b8 40%, #8d8577 72%, #5d574e 100%);
  --on-sky: rgba(255, 255, 255, .86);
  --halo: rgba(6, 7, 9, .6);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sheet);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .8s ease, color .8s ease;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow { margin: 0; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .08em; font-size: 11px; text-transform: uppercase; }
.line { will-change: filter, opacity; }

/* ---------- Sky (fixed, behind everything until the picture sections) ---------- */
.sky { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
main { position: relative; z-index: 1; }

/* ---------- Nav: follows whatever is behind it ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--gutter);
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  transition: color .45s ease;
}
.nav--dark { color: var(--white); }
.nav__links { display: flex; gap: clamp(14px, 1.8vw, 28px); }
.nav__links a, .nav__login { opacity: .8; transition: opacity .3s; }
.nav__links a:hover, .nav__login:hover, .nav__links a[aria-current] { opacity: 1; }
.nav__logo { display: grid; }
.nav__logo img { grid-area: 1 / 1; height: 52px; width: auto; transition: opacity .45s ease; }
.nav__logo .logo-on-dark { opacity: 0; }
.nav--dark .nav__logo .logo-on-light { opacity: 0; }
.nav--dark .nav__logo .logo-on-dark { opacity: 1; }
.nav__actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.nav__menu { display: none; font-size: 13px; }

.pill {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .3s;
}
.pill--gold { background: var(--gold); color: var(--ink); }
.pill--gold:hover { background: var(--gold-soft); }

/* Day / Dusk switch */
.mode {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 34px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mode::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: currentColor;
  transition: transform .5s var(--ease);
}
html[data-mode="dusk"] .mode::before { transform: translateX(100%); }
.mode span { position: relative; z-index: 1; display: grid; place-items: center; padding: 0 10px; transition: color .4s; }
html[data-mode="day"] .mode [data-opt="day"],
html[data-mode="dusk"] .mode [data-opt="dusk"] { color: var(--paper); }
.nav--dark .mode [data-opt] { color: inherit; }
html[data-mode="day"] .nav--dark .mode [data-opt="day"],
html[data-mode="dusk"] .nav--dark .mode [data-opt="dusk"] { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 56px;
  padding: 0 8px 0 26px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  transition: background-color .8s, color .8s;
}
.btn__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  transition: transform .5s var(--ease);
}
.btn:hover .btn__icon { transform: rotate(45deg); }
.btn__icon svg { width: 16px; height: 16px; }
.link-line { display: inline-flex; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--gold); font-size: 14px; font-weight: 500; }

/* ---------- Hero: MOTION cut out of the sheet ---------- */
.hero { position: relative; height: 340vh; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__mask { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero__sheet { fill: var(--sheet); transition: fill .8s ease; }
.hero__word {
  font-family: var(--sans);
  font-size: 1000px;
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  letter-spacing: -30px;
  text-rendering: geometricPrecision;          /* same glyph geometry at every zoom level */
}
.hero__pre {
  position: absolute;
  z-index: 2;
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(40px, 5.6vw, 110px);
  line-height: 1;
  color: var(--fg);
  transition: color .8s;
}
.hero__jet { position: absolute; z-index: 3; width: 58vw; right: 4vw; filter: drop-shadow(0 22px 26px rgba(1, 15, 28, .28)); will-change: transform; }
.hero__jet span {
  display: block;
  aspect-ratio: 3969 / 950;
  background: var(--jet);
  -webkit-mask: url("../img/jet-silhouette.webp") center / contain no-repeat;
  mask: url("../img/jet-silhouette.webp") center / contain no-repeat;
}
.hero__bottom {
  position: absolute;
  z-index: 4;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(28px, 6vh, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 24px;
}
.hero__desc { display: grid; gap: 10px; max-width: 320px; }
.hero__desc p:last-child { margin: 0; font-size: 16px; line-height: 1.45; color: var(--fg-soft); }
.hero__meta { justify-self: end; text-align: right; color: var(--fg-soft); }
.hero__meta b { display: block; color: var(--gold); font-weight: 500; }

/* ---------- Over the calm sky (Jesko-style: white type on a still, deep sky) ---------- */
.statement, .benefits, .band { color: var(--white); text-shadow: 0 0 40px rgba(1, 22, 45, .28); }
.statement { min-height: 100vh; display: grid; align-items: center; padding: 22vh var(--gutter) 16vh; }
.statement__text {
  margin: 0;
  max-width: 1500px;
  font-size: clamp(36px, 5.1vw, 98px);
  line-height: 1.04;
  font-weight: 500;
  font-variation-settings: "wdth" 112;
  letter-spacing: -.035em;
}
.statement__text .char { opacity: .22; }

.benefits {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 48px;
  padding: 12vh var(--gutter) 18vh;
}
.benefits__label { display: flex; align-items: flex-start; gap: 28px; }
.benefits__label img { width: 150px; height: auto; }
.benefits__label p { margin: 4px 0 0; font-weight: 600; letter-spacing: .04em; line-height: 1.35; }
.benefits__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 96px); row-gap: clamp(64px, 12vh, 140px); }
.benefit { display: grid; align-content: start; gap: 26px; }
.benefit h3 {
  margin: 0;
  font-size: clamp(28px, 2.3vw, 42px);
  line-height: 1.02;
  font-weight: 500;
  font-variation-settings: "wdth" 112;
  letter-spacing: -.025em;
}
.benefit__rule { display: block; width: 34px; height: 1px; background: currentColor; opacity: .8; }
.benefit p { margin: 0; max-width: 40ch; font-size: clamp(16px, 1.1vw, 18px); line-height: 1.5; font-weight: 500; color: rgba(255, 255, 255, .92); }

.band { padding: 14vh 0 22vh; overflow: hidden; }
.band .eyebrow { text-align: center; margin-bottom: 28px; }
.band__track { display: flex; width: max-content; animation: band 46s linear infinite; }
.band__track span {
  padding: 0 .55em;
  font-size: clamp(40px, 6.4vw, 110px);
  font-weight: 500;
  font-variation-settings: "wdth" 125;
  letter-spacing: -.02em;
  white-space: nowrap;
  color: var(--white);
}
.band__track span:nth-child(even) { color: var(--gold); padding: 0 .1em; }
@keyframes band { to { transform: translateX(-50%); } }

/* ---------- Picture sections (Aerodynamics-style) ---------- */
.journey { position: relative; background: var(--sheet); transition: background-color .8s; }
.journey__intro {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(120px, 20vh, 220px) var(--gutter) clamp(80px, 14vh, 160px);
}
.journey__intro .eyebrow { margin-bottom: 26px; font-size: 13px; letter-spacing: .04em; text-transform: none; font-weight: 600; }
.journey__intro h2 {
  margin: 0;
  max-width: 13ch;
  font-family: var(--serif);
  font-size: clamp(52px, 6.2vw, 112px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -.02em;
}
.journey__intro h2 em { font-style: italic; }
.journey__aside { display: grid; gap: 40px; max-width: 540px; margin: clamp(48px, 9vh, 96px) 0 0 auto; }
.journey__aside p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--fg-soft); }
.circle-link { display: inline-flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 600; }
.circle-link__dot {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: transform .5s var(--ease), background-color .8s, color .8s;
}
.circle-link:hover .circle-link__dot { transform: scale(1.08); }

.reveal { position: relative; height: 380vh; }
.reveal__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.reveal__frame { position: absolute; inset: 0; clip-path: inset(16% 24% 16% 24% round 10px); will-change: clip-path; }
.reveal__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; will-change: transform, opacity; }
.reveal__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(1, 15, 28, .78) 0%, rgba(1, 15, 28, .2) 42%, rgba(1, 15, 28, 0) 60%); }
.reveal__caption {
  position: absolute;
  left: calc(var(--gutter) + 34px);
  bottom: clamp(28px, 7vh, 72px);
  width: min(640px, calc(100% - 2 * var(--gutter) - 34px));
  color: var(--white);
}
.reveal__steps {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(30px, 7.4vh, 76px);
  display: grid;
  gap: 8px;
}
.reveal__steps button { width: 3px; height: 10px; padding: 0; border-radius: 2px; background: rgba(255, 255, 255, .4); transition: height .5s var(--ease), background-color .5s; }
.reveal__steps button[aria-selected="true"] { height: 34px; background: var(--white); }
.reveal__steps button::after { content: ""; display: block; margin: -8px -10px; height: calc(100% + 16px); }
.reveal__cap { position: absolute; left: 0; bottom: 0; width: 100%; display: grid; gap: 14px; }
.reveal__cap h3 { margin: 0; font-size: clamp(38px, 4.2vw, 72px); line-height: 1; font-weight: 500; font-variation-settings: "wdth" 125; letter-spacing: -.03em; }
.reveal__cap p { margin: 0; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; color: rgba(255, 255, 255, .88); }
.reveal__cap .link-line { justify-self: start; color: var(--white); }
.reveal__count { position: absolute; right: var(--gutter); bottom: clamp(28px, 7vh, 72px); color: rgba(255, 255, 255, .8); }

.credits { padding: 0 var(--gutter) 60px; font-size: 11px; color: var(--fg-soft); opacity: .7; }
.credits a { text-decoration: underline; }

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav { grid-template-columns: auto 1fr; }
  .nav__links, .nav__login { display: none; }
  .nav__logo img { height: 40px; }
  .nav__actions { gap: 10px; }
  .nav__actions .pill { height: 34px; padding: 0 12px; font-size: 12px; }
  .mode { height: 30px; font-size: 10px; }
  .mode span { padding: 0 7px; }
  .nav__menu { display: block; }

  .hero__jet { width: 78vw; right: 2vw; }
  .hero__bottom { grid-template-columns: 1fr; gap: 16px; bottom: 28px; }
  .hero__desc { max-width: none; }
  .hero__meta { display: none; }
  .benefits { grid-template-columns: 1fr; gap: 40px; }
  .benefits__grid { grid-template-columns: 1fr; row-gap: 56px; }
  .journey__aside { margin-left: 0; }
  .reveal__frame { clip-path: inset(18% 8% 18% 8% round 10px); }
}

@media (prefers-reduced-motion: reduce) {
  .band__track { animation: none; }
}

/* ---------- Phone menu (assets/js/menu.js) ---------- */
.menu {
  position: fixed; inset: 0; z-index: 45; display: grid; align-content: center; gap: 40px;
  padding: calc(var(--nav-h) + 20px) var(--gutter) 40px; background: var(--navy-900); color: var(--white);
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s cubic-bezier(.76, 0, .24, 1), visibility 0s .7s;
}
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .7s cubic-bezier(.76, 0, .24, 1); }
.menu__links { display: grid; gap: 6px; }
.menu__links a {
  font-size: clamp(36px, 10vw, 64px); font-weight: 500; font-variation-settings: "wdth" 115; letter-spacing: -.03em; line-height: 1.1;
  opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .7s var(--ease);
}
.menu.is-open .menu__links a { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * .05s); }
.menu__cta { justify-self: start; }
html.menu-open .nav { color: var(--white); }
html.menu-open .nav__logo .logo-on-light { opacity: 0; }
html.menu-open .nav__logo .logo-on-dark { opacity: 1; }
html.menu-open .nav__actions .mode, html.menu-open .nav__actions .pill { visibility: hidden; }
@media (min-width: 901px) { .menu { display: none; } }
