/* Altavia Jets · graphite / platinum / steel blue · Prata + Work Sans */

:root {
  --surface: #141618;
  --surface-2: #1b1e21;
  --surface-3: #202429;
  --ink: #e9eaec;
  --muted: #9ba1a8;
  --accent: #7a93a8;
  --accent-ink: #0f1214;
  --line: rgba(233, 234, 236, 0.10);
  --line-strong: rgba(233, 234, 236, 0.18);
  --display: "Prata", serif;
  --body: "Work Sans", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

.preloader{ position:fixed; inset:0; z-index:9999; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:22px; background:var(--surface); transition:opacity .5s var(--ease), visibility .5s var(--ease); }
.preloader.is-hidden{ opacity:0; visibility:hidden; pointer-events:none; }
.preloader-mark{ color:var(--accent); opacity:0; animation:preloaderIn .6s var(--ease) forwards; }
.preloader-bar{ width:120px; height:2px; background:var(--line); overflow:hidden; border-radius:2px; }
.preloader-bar-fill{ display:block; height:100%; width:0%; background:var(--accent); transition:width .25s var(--ease); }
@keyframes preloaderIn{ to{ opacity:1; } }
body.is-preloading{ overflow:hidden; }
@media (prefers-reduced-motion:reduce){ .preloader-mark{ animation:none; opacity:1; } }

body {
  background: var(--surface);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, canvas { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

.mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0.005em;
  max-width: 18ch;
}

.section-sub {
  color: var(--muted);
  max-width: 56ch;
  margin-top: 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease);
  cursor: pointer;
}
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { background: #8ea7bc; transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(20, 22, 24, 0.35); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* Reveal */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(20, 22, 24, 0.92);
  border-bottom-color: var(--line);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 22px; height: 22px; color: var(--accent); flex: none; }
.brand-word {
  font-family: var(--display);
  font-size: 1.12rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand-word em { font-style: normal; color: var(--accent); }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 11px 22px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim { position: absolute; inset: 0; background: rgba(15, 17, 19, 0.62); }
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 160px clamp(20px, 4vw, 48px) 90px;
}
.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  max-width: 14ch;
}
.hero-sub {
  margin-top: 28px;
  max-width: 52ch;
  font-size: 1.1rem;
  color: rgba(233, 234, 236, 0.82);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-ticker {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(233, 234, 236, 0.14);
  background: rgba(15, 17, 19, 0.55);
  overflow: hidden;
}
.ticker-row {
  display: flex;
  gap: 64px;
  padding: 15px clamp(20px, 4vw, 48px);
  white-space: nowrap;
  width: max-content;
}
.js .ticker-row { animation: ticker 46s linear infinite; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ CREDIBILITY ============ */
.cred { border-bottom: 1px solid var(--line); background: var(--surface); }
.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 48px);
  padding-top: 56px;
  padding-bottom: 56px;
}
.cred-item { display: flex; flex-direction: column; gap: 8px; }
.cred-k {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.cred-v { font-size: 0.92rem; color: var(--muted); line-height: 1.5; }

/* ============ FRAME SEQUENCE ============ */
.seq { position: relative; }
.js .seq { height: 380vh; }
.seq-sticky { position: relative; height: 100vh; overflow: hidden; }
.js .seq-sticky { position: sticky; top: 0; }
.seq-poster, .seq-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.seq-canvas { opacity: 0; }
.js .seq.frames-ready .seq-canvas { opacity: 1; }
.js .seq.frames-ready .seq-poster { visibility: hidden; }
.seq-shade { position: absolute; inset: 0; background: rgba(15, 17, 19, 0.44); }
.seq-beats { position: absolute; inset: 0; z-index: 3; }
.seq-beat {
  position: absolute;
  left: clamp(20px, 7vw, 110px);
  bottom: clamp(80px, 14vh, 150px);
  max-width: 560px;
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  pointer-events: none;
}
.seq-beat.is-on { opacity: 1; transform: none; }
.seq-beat h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.05;
}
.seq-beat p {
  margin-top: 16px;
  color: rgba(233, 234, 236, 0.85);
  max-width: 46ch;
}
.seq-progress {
  position: absolute;
  right: clamp(20px, 5vw, 64px);
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 140px;
  background: rgba(233, 234, 236, 0.18);
  z-index: 3;
  display: none;
}
.js .seq-progress { display: block; }
.seq-progress-bar {
  display: block;
  width: 100%;
  height: 0%;
  background: var(--accent);
}

/* ============ PROCESS ============ */
.process { padding: clamp(90px, 12vw, 160px) 0 0; background: var(--surface); }
.process-stage { margin-top: clamp(48px, 6vw, 80px); }
.process-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 2fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  padding-bottom: clamp(90px, 12vw, 160px);
}
.process-nums { position: relative; min-height: 200px; }
.pnum {
  font-family: var(--display);
  font-size: clamp(6rem, 12vw, 11rem);
  line-height: 1;
  color: var(--surface-3);
  -webkit-text-stroke: 1px rgba(122, 147, 168, 0.55);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.pnum.is-on { opacity: 1; }
.process-steps { position: relative; }
.pstep { padding: 8px 0 40px; border-top: 1px solid var(--line); }
.pstep h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin: 22px 0 14px;
}
.pstep p { color: var(--muted); max-width: 52ch; }
.pstep-tag { display: block; margin-top: 20px; color: var(--accent); }

/* pinned mode (JS + GSAP) */
.process.pinned .process-nums { min-height: 0; }
.process.pinned .pstep {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  border-top: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.process.pinned .pstep.is-on { opacity: 1; transform: none; pointer-events: auto; }
.process.pinned .pstep h3 { margin-top: 6px; }
.process.pinned .process-steps { min-height: 300px; }
.process.pinned .process-grid { align-items: center; padding-bottom: 0; }
.process.pinned .process-stage {
  height: 100vh;
  display: flex;
  align-items: center;
}

/* ============ FLEET ============ */
.fleet {
  padding: clamp(90px, 12vw, 160px) 0;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fleet-cards { display: grid; gap: clamp(24px, 3vw, 40px); margin-top: clamp(48px, 6vw, 72px); }
.fcard {
  display: grid;
  grid-template-columns: minmax(280px, 5fr) 7fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.fcard:hover {
  transform: translateY(-6px);
  border-color: rgba(122, 147, 168, 0.45);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25), 0 18px 44px rgba(0, 0, 0, 0.38);
}
.fcard-media { position: relative; min-height: 260px; }
.fcard-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.fcard:hover .fcard-media img { transform: scale(1.045); }
.fcard-body { padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 16px; }
.fcard-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.fcard-head h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}
.fcard-type {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.fcard-body > p { color: var(--muted); max-width: 56ch; }
.fcard-data {
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(20px, 3vw, 44px);
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.fcard-data b { color: var(--ink); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.04em; }

/* ============ STATS ============ */
.stats { background: var(--surface); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding-top: clamp(80px, 10vw, 130px);
  padding-bottom: clamp(80px, 10vw, 130px);
}
.stat { display: flex; flex-direction: column; gap: 12px; }
.stat-num {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1;
}
.stat-label { color: var(--muted); font-size: 0.92rem; max-width: 22ch; }

/* ============ VOICES ============ */
.voices { border-top: 1px solid var(--line); background: var(--surface); }
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding-top: clamp(80px, 10vw, 120px);
  padding-bottom: clamp(80px, 10vw, 120px);
}
.voice blockquote {
  font-family: var(--display);
  font-size: 1.18rem;
  line-height: 1.5;
  color: var(--ink);
}
.voice figcaption { margin-top: 22px; font-size: 0.85rem; color: var(--muted); }
.voice figcaption span { display: block; color: var(--accent); font-weight: 500; margin-bottom: 2px; }

/* ============ QUOTE / BRIEFING ============ */
.quote {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
}
.quote-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  padding-top: clamp(90px, 12vw, 160px);
  padding-bottom: clamp(90px, 12vw, 160px);
  align-items: start;
}
.quote-points { list-style: none; margin-top: 30px; display: grid; gap: 14px; }
.quote-points li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 0.98rem;
}
.quote-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 1px;
  background: var(--accent);
}
.tel { color: var(--accent); border-bottom: 1px solid rgba(122, 147, 168, 0.4); transition: border-color 0.2s var(--ease); }
.tel:hover { border-bottom-color: var(--accent); }

.briefing {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22), 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.briefing-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 26px;
  border-bottom: 1px solid var(--line-strong);
  background: var(--surface-3);
  color: var(--accent);
}
.briefing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
}
.bfield {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.bfield:nth-child(2n) { border-right: 0; }
.bfield-wide { grid-column: 1 / -1; border-right: 0; }
.bfield input {
  background: transparent;
  border: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.05rem;
  font-weight: 400;
  padding: 2px 0;
}
.bfield input::placeholder { color: rgba(155, 161, 168, 0.55); }
.bfield input:focus { outline: none; }
.bfield:focus-within span { color: var(--accent); }
.briefing-send {
  width: calc(100% - 52px);
  margin: 26px;
  padding: 17px;
}
.briefing-note {
  text-align: center;
  padding: 0 26px 24px;
  color: var(--muted);
}

/* ============ FOOTER ============ */
.footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  padding-top: clamp(64px, 8vw, 100px);
  padding-bottom: clamp(48px, 6vw, 72px);
}
.footer-brand p { color: var(--muted); font-size: 0.95rem; margin-top: 20px; max-width: 34ch; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
  margin-bottom: 6px;
}
.footer-col a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--ink); }
.footer-addr { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 26px;
  padding-bottom: 34px;
  border-top: 1px solid var(--line);
}

/* ============ DEMO PILL ============ */
.demo-pill {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 70;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  background: rgba(20, 22, 24, 0.88);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 8px 14px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.demo-pill:hover { color: var(--ink); border-color: var(--accent); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .voices-grid { grid-template-columns: 1fr; max-width: 640px; }
  .quote-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .fcard { grid-template-columns: 1fr; }
  .fcard-media { min-height: 220px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-nums { display: none; }
  .process.pinned .process-steps { min-height: 380px; }
}

@media (max-width: 480px) {
  .hero-inner { padding-top: 130px; padding-bottom: 64px; }
  .hero-actions .btn { width: 100%; }
  .cred-grid { grid-template-columns: 1fr; gap: 22px; }
  .stats-grid { grid-template-columns: 1fr; }
  .briefing-grid { grid-template-columns: 1fr; }
  .bfield { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .seq-beat { bottom: 100px; right: 20px; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .seq { height: auto; }
  .js .seq-sticky { position: relative; }
  .seq-canvas { display: none; }
  .js .seq.frames-ready .seq-poster { visibility: visible; }
  .seq-beat { opacity: 1; transform: none; position: static; margin: 0 0 30px; }
  .seq-beats {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0 clamp(20px, 7vw, 110px);
  }
  .seq-beat:not(.is-on) { display: none; }
  .js .ticker-row { animation: none !important; }
}
