/* ==========================================================================
   VOL Private Aviation — design tokens & base system
   Palette: near-black ink + beacon red, grounded in the VOL wordmark and
   flight-deck instrumentation (route strips, tabular data, manifest lists)
   rather than generic SaaS-card chrome.
   ========================================================================== */

:root {
  /* color */
  --ink: #0a0a0b;
  --charcoal: #17171a;
  --ash: #201f22;
  --mist: #38383d;
  --hair: #2b2b2f;
  --fog: #a8a8ae;
  --fog-dim: #77777d;
  --paper: #f5f3ef;
  --paper-dim: #e8e5df;
  --white: #ffffff;
  --red: #f01428;
  --red-dim: #b10e1e;
  --red-bright: #ff3b4d;
  --red-glow: rgba(240, 20, 40, 0.32);
  --focus: #ff8a93;

  /* type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  /* scale */
  --step--1: clamp(0.83rem, 0.8rem + 0.13vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.13rem + 0.35vw, 1.4rem);
  --step-2: clamp(1.44rem, 1.32rem + 0.6vw, 1.8rem);
  --step-3: clamp(1.9rem, 1.65rem + 1.2vw, 2.5rem);
  --step-4: clamp(2.4rem, 2rem + 2vw, 3.4rem);
  --step-5: clamp(3rem, 2.3rem + 3.4vw, 4.6rem);

  --content-max: 1180px;
  --radius-s: 3px;
  --radius-m: 6px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (min-width: 900px) {
  .wrap {
    padding-inline: 40px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--fog);
  letter-spacing: 0.02em;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--red);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-s);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step--1);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-bright);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--mist);
}

.btn-ghost:hover {
  border-color: var(--fog);
}

.btn-ghost.on-light {
  border-color: var(--paper-dim);
  color: var(--ink);
}

.btn-ghost.on-light:hover {
  border-color: var(--ink);
}

/* ---------- nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
}

.nav-logo img {
  height: 26px;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  text-decoration: none;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--fog);
  transition: color 0.15s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--white);
}

.nav-right {
  display: none;
  align-items: center;
  gap: 22px;
}

@media (min-width: 960px) {
  .nav-links,
  .nav-right {
    display: flex;
  }
}

.lang-switch {
  display: flex;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: var(--step--1);
}

.lang-switch a {
  text-decoration: none;
  color: var(--fog-dim);
  padding: 2px 3px;
}

.lang-switch a[aria-current="true"] {
  color: var(--white);
  border-bottom: 1px solid var(--red);
}

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: -20px;
  width: 340px;
  background: var(--charcoal);
  border: 1px solid var(--hair);
  border-radius: var(--radius-m);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease), visibility 0.16s;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  text-decoration: none;
}

.dropdown a:hover {
  background: var(--ash);
}

.dropdown .d-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step--1);
  color: var(--white);
}

.dropdown .d-desc {
  display: block;
  font-size: 0.83rem;
  color: var(--fog-dim);
  margin-top: 3px;
}

.dropdown .d-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--red);
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: inline-flex;
  background: none;
  border: 1px solid var(--mist);
  border-radius: var(--radius-s);
  padding: 8px 10px;
  color: var(--white);
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }
}

.mobile-panel {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding-block: 12px 20px;
  border-top: 1px solid var(--hair);
}

.mobile-panel.is-open {
  display: flex;
}

@media (min-width: 960px) {
  .mobile-panel {
    display: none !important;
  }
}

.mobile-panel a {
  padding: 12px 4px;
  text-decoration: none;
  color: var(--fog);
  border-bottom: 1px solid var(--hair);
  font-size: var(--step--1);
}

.mobile-panel .m-sub {
  padding-left: 16px;
  font-size: 0.85rem;
  color: var(--fog-dim);
}

.mobile-panel .m-lang {
  display: flex;
  gap: 16px;
  padding-top: 14px;
  font-family: var(--font-mono);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--hair);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(6,6,7,0.96) 4%, rgba(6,6,7,0.55) 42%, rgba(6,6,7,0.25) 100%),
    linear-gradient(100deg, rgba(6,6,7,0.85) 0%, rgba(6,6,7,0.15) 55%);
}

.hero-inner {
  position: relative;
  width: 100%;
  padding-block: 64px 56px;
}

.hero-route {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--fog);
  letter-spacing: 0.03em;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: rise 0.7s var(--ease) 0.1s forwards;
}

.hero-route b {
  color: var(--white);
  font-weight: 500;
}

.hero-route .sep {
  color: var(--red);
}

.hero h1 {
  font-size: var(--step-5);
  max-width: 15ch;
  color: var(--white);
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.22s forwards;
}

.hero-sub {
  margin-top: 24px;
  max-width: 46ch;
  color: var(--fog);
  font-size: var(--step-1);
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.34s forwards;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.46s forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* secondary page hero (product pages / contact) */

.subhero {
  position: relative;
  padding-block: 72px 60px;
  border-bottom: 1px solid var(--hair);
  background:
    radial-gradient(ellipse at 12% 0%, rgba(240,20,40,0.14), transparent 55%),
    var(--ink);
}

.subhero .eyebrow {
  margin-bottom: 20px;
}

.subhero h1 {
  font-size: var(--step-4);
  max-width: 18ch;
}

.subhero .lede {
  margin-top: 20px;
  max-width: 52ch;
  color: var(--fog);
  font-size: var(--step-1);
}

.status-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--red);
  border: 1px solid var(--red-dim);
  background: rgba(240,20,40,0.08);
  padding: 5px 10px;
  border-radius: 20px;
  margin-bottom: 18px;
}

/* ---------- sections ---------- */

section {
  padding-block: 84px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 48px;
  max-width: 62ch;
}

.section-head h2 {
  font-size: var(--step-3);
}

.section-head p {
  color: var(--fog);
  font-size: var(--step-0);
}

.divider {
  border: none;
  border-top: 1px solid var(--hair);
  margin: 0;
}

/* audience manifest list */

.manifest {
  border-top: 1px solid var(--hair);
}

.manifest-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding-block: 26px;
  border-bottom: 1px solid var(--hair);
  align-items: baseline;
}

@media (min-width: 700px) {
  .manifest-row {
    grid-template-columns: 140px 1fr 1.4fr;
  }
}

.manifest-code {
  font-family: var(--font-mono);
  color: var(--red);
  font-size: var(--step--1);
}

.manifest-row h3 {
  font-size: var(--step-1);
  font-weight: 700;
}

.manifest-row p {
  color: var(--fog);
  grid-column: 2 / -1;
}

@media (min-width: 700px) {
  .manifest-row p {
    grid-column: auto;
  }
}

/* product index board */

.board {
  border-top: 1px solid var(--hair);
}

.board-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 24px;
  padding-block: 30px;
  border-bottom: 1px solid var(--hair);
  text-decoration: none;
  color: var(--white);
  transition: background-color 0.16s var(--ease);
}

@media (min-width: 760px) {
  .board-row {
    grid-template-columns: 1.1fr 1.6fr auto;
    align-items: center;
  }
}

.board-row:hover {
  background: rgba(240,20,40,0.045);
}

.board-name {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-2);
}

.board-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--fog-dim);
  border: 1px solid var(--mist);
  border-radius: 20px;
  padding: 3px 9px;
  white-space: nowrap;
}

.board-tag.soon {
  color: var(--red);
  border-color: var(--red-dim);
}

.board-desc {
  color: var(--fog);
  max-width: 54ch;
}

.board-arrow {
  font-family: var(--font-mono);
  color: var(--fog-dim);
  justify-self: end;
}

/* feature rows w/ screenshots */

.feature-row {
  display: grid;
  gap: 40px;
  padding-block: 60px;
  border-bottom: 1px solid var(--hair);
  align-items: center;
}

.feature-row:first-of-type {
  border-top: 1px solid var(--hair);
}

@media (min-width: 860px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .feature-row.reverse .feature-copy {
    order: 2;
  }
}

.feature-index {
  font-family: var(--font-mono);
  color: var(--red);
  font-size: var(--step--1);
  display: block;
  margin-bottom: 14px;
}

.feature-copy h3 {
  font-size: var(--step-2);
  max-width: 16ch;
}

.feature-copy p {
  margin-top: 16px;
  color: var(--fog);
  max-width: 46ch;
}

.shot-frame {
  background: var(--paper);
  border-radius: var(--radius-m);
  padding: 14px;
  border: 1px solid var(--paper-dim);
}

.shot-frame-bar {
  display: flex;
  gap: 6px;
  padding: 0 4px 12px;
}

.shot-frame-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper-dim);
}

.shot-frame img {
  border-radius: 3px;
  border: 1px solid var(--paper-dim);
}

/* generic two column */

.split {
  display: grid;
  gap: 48px;
}

@media (min-width: 860px) {
  .split-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* CTA band */

.cta-band {
  background: var(--charcoal);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.cta-band .wrap {
  padding-block: 64px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: space-between;
}

@media (min-width: 760px) {
  .cta-band .wrap {
    flex-direction: row;
    align-items: center;
  }
}

.cta-band h2 {
  font-size: var(--step-3);
  max-width: 16ch;
}

/* contact */

.contact-grid {
  display: grid;
  gap: 56px;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
}

.contact-detail dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fog-dim);
  letter-spacing: 0.02em;
}

.contact-detail dd {
  margin: 4px 0 0;
  font-size: var(--step-1);
}

.contact-detail a {
  text-decoration: none;
}

.contact-detail a:hover {
  color: var(--red-bright);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.field label {
  font-size: 0.85rem;
  color: var(--fog);
}

.field input,
.field select,
.field textarea {
  background: var(--charcoal);
  border: 1px solid var(--mist);
  border-radius: var(--radius-s);
  padding: 13px 14px;
  color: var(--white);
  font: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--red);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--fog-dim);
  margin-top: 14px;
}

.form-success {
  display: none;
  border: 1px solid var(--red-dim);
  background: rgba(240,20,40,0.08);
  border-radius: var(--radius-m);
  padding: 20px;
}

.form-success.is-visible {
  display: block;
}

/* footer */

.site-footer {
  border-top: 1px solid var(--hair);
  padding-block: 56px 32px;
}

.footer-top {
  display: grid;
  gap: 40px;
  padding-bottom: 40px;
}

@media (min-width: 760px) {
  .footer-top {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

.footer-brand img {
  height: 24px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--fog-dim);
  font-size: 0.9rem;
  max-width: 34ch;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--fog-dim);
  letter-spacing: 0.02em;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 11px;
}

.footer-col a {
  text-decoration: none;
  color: var(--fog);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--fog-dim);
}

@media (min-width: 760px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* coming soon */

.soon-panel {
  border: 1px solid var(--hair);
  border-radius: var(--radius-m);
  padding: 40px;
  background: var(--charcoal);
  max-width: 60ch;
}

.soon-panel p {
  color: var(--fog);
  margin-top: 14px;
}

/* utility */

.mt-lg { margin-top: 56px; }
.text-fog { color: var(--fog); }
