/* Gliding Safari – site styles */

@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --paper: #F5F7F8;
  --paper-2: #E9EEF2;
  --ink: #0E2233;
  --muted: #4C5B68;
  --line: #C9D3DB;
  --accent: #F26A1B;        /* fills, lines */
  --accent-text: #B84508;   /* small text on light ground */
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.55; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }

/* Hero */
.hero { position: relative; min-height: min(100svh, 860px); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; color: #fff; background: #2B6799; overflow: hidden; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(14,34,51,0.55), rgba(14,34,51,0.12) 38%, rgba(14,34,51,0.7)); }
.hero > .wrap { position: relative; z-index: 1; }
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding-top: 20px; padding-bottom: 20px; }
/* The logo file is black on transparent; the filter turns it white on dark grounds */
.brand { display: block; margin-left: -12px; }
.brand img, .foot-logo { width: auto; filter: brightness(0) invert(1); }
.brand img { height: 88px; }
.foot-logo { height: 68px; }
.nav { display: flex; flex-wrap: wrap; gap: 0 28px; }
.nav a { text-decoration: none; padding: 12px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a:focus-visible { border-bottom-color: var(--accent); }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; padding-bottom: 56px; }
h1 { margin: 0 0 12px; font-family: var(--display); font-weight: 700; font-size: clamp(64px, 12vw, 168px); line-height: 0.86; letter-spacing: -0.01em; text-transform: uppercase; }
.hero p { margin: 0; font-size: 21px; max-width: 28em; }
.btn { display: inline-block; padding: 18px 30px; background: var(--accent); color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; transition: background 0.15s; }
.btn:hover, .btn:focus-visible { background: #FF8A45; }

/* At a glance strip */
.strip { border-bottom: 1px solid var(--line); }
.strip dl { margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); font-size: 14px; letter-spacing: 0.06em; }
.strip div { display: flex; gap: 16px; padding: 22px 0; }
.strip dt { color: var(--muted); }
.strip dd { margin: 0; font-weight: 500; }

/* Fleet */
.fleet { display: flex; flex-direction: column; gap: 88px; padding-top: 96px; padding-bottom: 64px; }
.glider { display: flex; flex-direction: column; gap: 28px; }
.glider img { width: 100%; height: auto; background: var(--paper-2); }
.glider-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 24px 64px; align-items: start; }
.tag { color: var(--accent-text); }
h2 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 0.92; text-transform: uppercase; font-size: clamp(44px, 6vw, 80px); }
.glider h2 { margin-top: 8px; font-size: clamp(56px, 8vw, 112px); }
.glider p { margin: 0 0 20px; font-size: 20px; }
.specs { margin: 0; font-family: var(--mono); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 24px; padding: 12px 0; border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; text-align: right; }

/* Barogram divider */
.trace svg { display: block; width: 100%; height: 120px; }
.trace path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.trace-labels { display: flex; justify-content: space-between; gap: 16px; margin-top: 6px; font-size: 12px; color: var(--muted); }

/* How it works */
.how { padding-top: 96px; padding-bottom: 104px; }
.steps { margin: 48px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 40px 48px; }
.steps li { border-top: 3px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.steps h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 32px; line-height: 1.05; text-transform: uppercase; }
.steps p { margin: 0; color: var(--muted); }

/* Contact + footer */
.contact { background: var(--ink); color: #fff; }
.contact-main { padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.contact .mono { color: #C4D0DA; }
.email { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 7.5vw, 104px); line-height: 1.1; overflow-wrap: anywhere; text-decoration-color: var(--accent); text-decoration-thickness: 4px; text-underline-offset: 10px; }
.email:hover, .email:focus-visible { color: #FFD9C2; }
.foot { border-top: 1px solid #34495B; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 24px; padding-bottom: 24px; font-size: 12px; letter-spacing: 0.08em; }

.legal { margin: 0; padding-bottom: 28px; max-width: 78ch; font-size: 14px; line-height: 1.5; color: #C4D0DA; }

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

@media (max-width: 600px) {
  .brand img { height: 68px !important; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .fleet { gap: 64px; padding-top: 64px; }
  .how, .contact-main { padding-top: 72px; padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero video { display: none; }
  .hero { background: #2B6799 url("hero-poster.jpg") center / cover no-repeat; }
}
