/* Aviation Services & Media — "Night Flight" design system (race-opus) */

@font-face { font-family: 'Archivo'; src: url('fonts/archivo-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('fonts/archivo-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('fonts/barlow-condensed-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --night: #07121f;
  --night-2: #0c1d31;
  --night-3: #14314f;
  --blue: #00418c;          /* logo blue */
  --blue-2: #1f5fae;
  --blue-soft: #83a5c8;     /* logo light blue */
  --sky: #e3ecf5;
  --paper: #f4f2ec;
  --sheet: #fffdf8;
  --ink: #0c1a29;
  --ink-2: #435162;
  --rule: #d8d3c6;
  --amber: #ffb000;         /* taxiway-sign yellow */
  --amber-deep: #8a5c00;
  --red: #d8432f;
  --flap: #15191f;
  --flap-2: #1d232b;
  --flap-text: #f4efe0;

  --f-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: ui-monospace, 'SFMono-Regular', 'Cascadia Mono', 'Consolas', monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.62 var(--f-body);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-2); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--amber); color: var(--night); }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 700; line-height: .95; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--night); padding: 10px 16px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.mono { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); display: inline-flex; align-items: center; gap: .6em; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.on-dark .eyebrow, .eyebrow.light { color: var(--amber); }

/* ---------- plane icon ---------- */
.plane { width: 1em; height: 1em; fill: currentColor; transform: rotate(90deg); flex: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--sheet) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { height: 24px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 12px; text-decoration: none; color: var(--ink);
  font-weight: 700; font-size: .95rem;
}
.nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); }
.nav a[aria-current='page'] { color: var(--blue); }
.lang {
  margin-left: 12px; display: inline-flex; border: 1px solid var(--ink); border-radius: 3px; overflow: hidden;
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em;
}
.lang a, .lang span { padding: 6px 9px; text-decoration: none; color: var(--ink); }
.lang span { background: var(--ink); color: var(--sheet); }
.lang a:hover { background: var(--sky); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--ink); border-radius: 3px; padding: 8px 12px; font: 700 .8rem var(--f-mono); letter-spacing: .1em; color: var(--ink); cursor: pointer; }

/* scroll progress: a dotted flight path with a plane, echoing the logo */
.flightpath { position: relative; height: 10px; margin-top: -5px; pointer-events: none; }
.flightpath::before {
  content: ''; position: absolute; left: 0; right: 0; top: 4px; height: 2px;
  background: radial-gradient(circle, var(--blue-soft) 1px, transparent 1.4px) 0 0 / 7px 2px repeat-x;
}
.flightpath i {
  position: absolute; top: 4px; left: 0; height: 2px; width: var(--progress, 0%);
  background: radial-gradient(circle, var(--blue) 1.1px, transparent 1.5px) 0 0 / 7px 2px repeat-x;
}
.flightpath svg { position: absolute; top: -3px; left: calc(var(--progress, 0%) - 8px); width: 16px; height: 16px; color: var(--blue); }

@media (max-width: 920px) {
  .menu-btn { display: inline-block; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--sheet); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1.1rem; }
  .nav a::after { display: none; }
  .lang { margin: 16px 0 0; align-self: flex-start; }
  .brand img { height: 19px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em; padding: 14px 22px;
  font: 700 .95rem var(--f-body); text-decoration: none; border-radius: 3px;
  background: var(--amber); color: var(--night); border: 2px solid var(--amber);
  transition: transform .2s var(--ease), background .2s;
}
.btn:hover { color: var(--night); background: #ffc23d; transform: translateY(-2px); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: rgba(255,255,255,.08); color: inherit; }
.btn.blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.blue:hover { background: var(--blue-2); color: #fff; }
.arrow-link { font-weight: 700; text-decoration: none; display: inline-flex; gap: .5em; align-items: center; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.arrow-link .plane { font-size: .85em; transition: transform .25s var(--ease); }
.arrow-link:hover .plane { transform: rotate(90deg) translateY(-4px); }

/* ---------- dark sections ---------- */
.on-dark { background: var(--night); color: #dce6f1; }
.on-dark a:not(.btn) { color: #fff; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, var(--night-3) 0%, var(--night) 60%); }
.hero-sky { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; pointer-events: none; }
.hero-grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px);
  align-items: center; padding-top: clamp(48px, 8vw, 110px); padding-bottom: clamp(56px, 8vw, 110px);
}
.hero h1 { font-size: clamp(3.4rem, 9vw, 8.2rem); text-transform: uppercase; line-height: .86; margin: 22px 0 28px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; animation: rise .9s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; color: var(--amber); }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(105%); } }
.hero .lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 38em; color: #c3d2e2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-photo { position: relative; justify-self: end; width: min(100%, 470px); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.hero-photo::before { /* cockpit window frame hint */
  content: ''; position: absolute; inset: -14px; border: 1px solid rgba(131,165,200,.35); border-radius: 10px; pointer-events: none;
}
.tag-strip {
  position: absolute; left: -38px; bottom: 34px; background: var(--sheet); color: var(--ink);
  display: grid; grid-template-columns: auto auto; gap: 2px 18px; padding: 14px 18px 14px 22px;
  border-radius: 4px; box-shadow: 0 18px 40px rgba(0,0,0,.35); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  border-left: 6px solid var(--amber);
}
.tag-strip dt { color: var(--ink-2); }
.tag-strip dd { margin: 0; font-weight: 700; color: var(--ink); }
.coords { position: absolute; right: var(--gutter); bottom: 18px; color: rgba(131,165,200,.7); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { justify-self: start; width: min(100%, 380px); margin-left: 24px; }
  .tag-strip { left: -24px; }
  .coords { display: none; }
}

/* ---------- departure board (split flap) ---------- */
.board-section { background: var(--night); padding: 0 0 clamp(64px, 8vw, 120px); }
.board {
  background: linear-gradient(#0e1217, #0a0d11); border-radius: 8px; padding: clamp(18px, 3vw, 34px);
  box-shadow: inset 0 0 0 1px #232a33, 0 30px 60px rgba(0,0,0,.4);
}
.board-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; color: var(--amber); }
.board-head h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--amber); text-transform: uppercase; letter-spacing: .04em; display: flex; align-items: center; gap: .4em; }
.board-head .clock { font-family: var(--f-mono); color: var(--flap-text); font-size: .9rem; letter-spacing: .1em; }
.board table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.board th { text-align: left; font: 400 .7rem var(--f-mono); letter-spacing: .14em; color: #7f8a96; padding: 0 10px 2px 0; text-transform: uppercase; }
.board td { padding: 0 14px 0 0; vertical-align: top; }
.flap { display: inline-flex; gap: 3px; flex-wrap: nowrap; row-gap: 4px; font: 700 clamp(14px, 1.45vw, 20px)/1 var(--f-mono); }
.flap .w { display: inline-flex; gap: 3px; }
.board td { white-space: nowrap; }
.board td.dest { white-space: normal; width: 100%; }
.board td.dest .flap { flex-wrap: wrap; }
.board .role { display: block; margin-top: 8px; color: #9aa6b2; font-size: .7rem; }
.flap b {
  position: relative; display: inline-grid; place-items: center; width: 1.05em; height: 1.45em; font-weight: 700;
  background: linear-gradient(var(--flap-2) 0 49%, #07090c 49% 51%, var(--flap) 51%); color: var(--flap-text); border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.flap b.sp { background: linear-gradient(#12161b 0 49%, #07090c 49% 51%, #101318 51%); }
.flap.amber b { color: var(--amber); }
.flap.green b { color: #7fe3a4; }
.status-live { animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .35; } }
@media (max-width: 760px) {
  .board thead { display: none; }
  .board tr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 12px 0; border-bottom: 1px solid #232a33; }
  .board td { padding: 0; }
  .board td.dest { flex-basis: 100%; order: 3; }
  .board td.status { margin-left: auto; }
  .flap { font-size: 13px; gap: 2px; }
  .flap .w { gap: 2px; }
}

/* ---------- section shells ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section.tight { padding: clamp(48px, 7vw, 90px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); text-transform: uppercase; margin-top: 14px; }
.section-head p { color: var(--ink-2); max-width: 36em; margin: 0; }
.on-dark .section-head p { color: #b3c3d4; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- stats / flight data ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.stat { padding: 26px 24px 8px 0; border-right: 1px solid var(--rule); }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font: 700 clamp(3rem, 6vw, 5.2rem)/.9 var(--f-display); color: var(--blue); letter-spacing: -.02em; }
.stat > span { display: block; margin-top: 10px; color: var(--ink-2); font-size: .95rem; max-width: 16em; }
.stat .mono { color: var(--ink); margin-bottom: 14px; display: block; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 22px 16px 18px 0 !important; border-right: 0; border-bottom: 1px solid var(--rule); }
  .stat:nth-child(even) { padding-left: 16px !important; border-left: 1px solid var(--rule); }
}

/* ---------- vita ---------- */
.vita { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.vita-photo { position: relative; }
.vita-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.vita-photo figcaption { margin-top: 12px; color: var(--ink-2); }
.vita blockquote { margin: 0 0 28px; font: 700 clamp(2.2rem, 4.4vw, 3.8rem)/1 var(--f-display); text-transform: uppercase; color: var(--blue); }
.vita blockquote::before { content: '„'; color: var(--amber); }
.vita blockquote::after { content: '“'; color: var(--amber); }
.vita p { max-width: 38em; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; list-style: none; }
.facts li { border: 1px solid var(--rule); background: var(--sheet); padding: 6px 12px; border-radius: 3px; font-size: .9rem; }
@media (max-width: 860px) { .vita { grid-template-columns: 1fr; } .vita-photo { max-width: 460px; } }

/* ---------- publishers marquee ---------- */
.outlets { border-block: 1px solid var(--rule); background: var(--sheet); overflow: hidden; padding: 22px 0; }
.outlets-track { display: flex; gap: 48px; width: max-content; animation: marquee 60s linear infinite; }
.outlets:hover .outlets-track { animation-play-state: paused; }
.outlets-track span { font: 700 clamp(1.6rem, 2.6vw, 2.2rem)/1 var(--f-display); text-transform: uppercase; color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.outlets-track span::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- publication cards (boarding passes) ---------- */
.pub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: clamp(18px, 2vw, 28px); list-style: none; }
.pub {
  position: relative; display: flex; flex-direction: column; background: var(--sheet); border-radius: 6px;
  box-shadow: 0 1px 0 var(--rule), 0 0 0 1px rgba(12,26,41,.06); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pub:hover { transform: translateY(-4px); box-shadow: 0 22px 40px rgba(12,26,41,.14), 0 0 0 1px rgba(12,26,41,.08); }
.pub-cover { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 6px 6px 0 0; background: var(--night-2); }
.pub-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pub:hover .pub-cover img { transform: scale(1.04); }
.pub-type {
  position: absolute; left: 12px; top: 12px; background: var(--night); color: #fff; padding: 4px 8px; border-radius: 2px;
  font: 700 .66rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase;
}
.pub-type.online { background: var(--blue); }
.pub-type.video { background: var(--red); }
.on-air { display: grid; place-items: center; height: 100%; color: #fff; text-align: center; background: radial-gradient(circle at 50% 60%, #3a1d1a, var(--night) 70%); }
.on-air b { font: 700 2.6rem/1 var(--f-display); letter-spacing: .08em; border: 3px solid var(--red); color: var(--red); padding: 6px 16px; border-radius: 4px; }
.pub-body { padding: 18px 20px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pub-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.pub-meta .src { color: var(--blue); font-weight: 700; }
.pub h3 { font-size: 1.65rem; line-height: 1; color: var(--ink); text-transform: none; letter-spacing: 0; }
.pub h3 a { color: inherit; text-decoration: none; }
.pub h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 6px; } /* whole card clickable */
.pub .sub { color: var(--ink-2); font-size: .94rem; line-height: 1.45; margin: 0; }
.pub .en { font-size: .9rem; color: var(--ink); margin: 0; padding-left: 10px; border-left: 2px solid var(--amber); }
.pub-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; list-style: none; }
.pub-tags li { font: .66rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); background: var(--paper); padding: 3px 7px; border-radius: 2px; }
.pub-stub {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 13px 20px; border-top: 2px dashed var(--rule); font: 700 .74rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue);
}
.pub-stub::before, .pub-stub::after { /* perforation notches */
  content: ''; position: absolute; top: -9px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper);
}
.pub-stub::before { left: -8px; } .pub-stub::after { right: -8px; }
.pub-stub .barcode { width: 64px; height: 18px; opacity: .55; background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 3px, var(--ink) 3px 5px, transparent 5px 6px, var(--ink) 6px 7px, transparent 7px 10px); }
.pub[hidden] { display: none; }

/* ---------- archive controls ---------- */
.archive-tools { position: sticky; top: var(--header-h); z-index: 20; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); padding: 18px 0 14px; margin-bottom: 32px; }
.search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: stretch; }
.search { position: relative; }
.search input {
  width: 100%; height: 54px; border: 2px solid var(--ink); border-radius: 4px; background: var(--sheet);
  padding: 0 46px 0 52px; font: 400 1.05rem var(--f-body); color: var(--ink);
}
.search input::placeholder { color: #7b8794; }
.search svg { position: absolute; left: 16px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%) rotate(90deg); fill: var(--blue); }
.search button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; font-size: 1.4rem; line-height: 1; padding: 6px 10px; cursor: pointer; color: var(--ink-2); }
.select { position: relative; }
.select select {
  height: 54px; border: 1px solid var(--ink); border-radius: 4px; background: var(--sheet); padding: 0 40px 0 14px;
  font: 700 .9rem var(--f-body); color: var(--ink); appearance: none; -webkit-appearance: none; min-width: 150px; cursor: pointer;
}
.select::after { content: '▾'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.filter-row { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 14px; }
.seg { display: inline-flex; border: 1px solid var(--ink); border-radius: 4px; overflow: hidden; flex: none; }
.seg button { border: 0; background: var(--sheet); padding: 9px 14px; font: 700 .8rem var(--f-body); cursor: pointer; color: var(--ink); }
.seg button + button { border-left: 1px solid var(--ink); }
.seg button[aria-pressed='true'] { background: var(--ink); color: var(--sheet); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; } /* all topics visible: wrap instead of scrolling sideways */
.chip {
  flex: none; border: 1px solid var(--rule); background: var(--sheet); border-radius: 999px; padding: 7px 13px; cursor: pointer;
  font: .78rem var(--f-body); color: var(--ink); white-space: nowrap;
}
.chip small { color: var(--ink-2); font-family: var(--f-mono); margin-left: 4px; }
.chip[aria-pressed='true'] { background: var(--amber); border-color: var(--amber); font-weight: 700; }
.chip:hover { border-color: var(--ink); }
.result-line { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 10px; color: var(--ink-2); min-height: 28px; }
.result-line button { border: 0; background: none; color: var(--blue); font: 700 .85rem var(--f-body); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.empty { text-align: center; padding: 72px 16px; border: 2px dashed var(--rule); border-radius: 8px; }
.empty strong { display: block; font: 700 2.2rem/1 var(--f-display); text-transform: uppercase; margin-bottom: 10px; }
@media (max-width: 860px) {
  .archive-tools { position: static; }
  .search-row { grid-template-columns: 1fr 1fr; }
  .search { grid-column: 1 / -1; }
  .select select { width: 100%; min-width: 0; }
  .filter-row { flex-direction: column; align-items: stretch; }
  .seg { overflow-x: auto; }
  .seg button { flex: 1; white-space: nowrap; }
}

/* ---------- page hero (subpages) with luggage tag ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 7vw, 90px); background: radial-gradient(100% 120% at 100% 0%, var(--night-3), var(--night) 65%); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.page-hero h1 { font-size: clamp(3.2rem, 8vw, 7rem); text-transform: uppercase; margin: 18px 0 22px; line-height: .88; }
.page-hero .lead { font-size: clamp(1.05rem, 1.35vw, 1.22rem); max-width: 40em; color: #c3d2e2; margin: 0; }
.bagtag {
  position: relative; width: 210px; background: var(--sheet); color: var(--ink); border-radius: 6px 6px 6px 6px; padding: 34px 20px 18px;
  transform: rotate(4deg); box-shadow: 0 24px 48px rgba(0,0,0,.4); font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
}
.bagtag::before { content: ''; position: absolute; top: 12px; left: 50%; width: 22px; height: 10px; margin-left: -11px; border-radius: 6px; background: var(--night); }
.bagtag strong { display: block; font: 700 4.6rem/0.9 var(--f-display); letter-spacing: 0; color: var(--blue); margin: 6px 0 8px; }
.bagtag .bars { height: 34px; margin-top: 14px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); }
.bagtag .stripe { position: absolute; left: 0; right: 0; bottom: 64px; height: 6px; background: var(--amber); }
@media (max-width: 760px) { .page-hero-grid { grid-template-columns: 1fr; } .bagtag { display: none; } }

/* ---------- services (checklist) ---------- */
.checklist { list-style: none; counter-reset: item; border-top: 2px solid var(--ink); }
.check-item { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px 48px; padding: clamp(32px, 4vw, 56px) 0; border-bottom: 1px solid var(--rule); }
.check-num { font: 700 4.4rem/0.8 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px var(--blue); }
.check-item h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.check-item p { color: var(--ink-2); }
.check-item .proof { margin-top: 18px; display: inline-flex; gap: 8px; align-items: center; font-size: .92rem; }
.check-list { list-style: none; display: grid; gap: 0; align-self: start; }
.check-list li { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px dotted var(--rule); }
.check-list li::before { content: '✓'; font-weight: 700; color: var(--amber-deep); }
.check-list li::after { content: 'CHECK'; font: .64rem var(--f-mono); letter-spacing: .12em; color: #8d98a4; }
@media (max-width: 900px) { .check-item { grid-template-columns: 1fr; } .check-num { font-size: 3rem; } }

.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; }
.mode { border: 1px solid rgba(131,165,200,.3); border-radius: 6px; padding: 28px 26px; background: rgba(255,255,255,.03); }
.mode .mono { color: var(--amber); }
.mode h3 { font-size: 2.1rem; text-transform: uppercase; margin: 14px 0 10px; }
.mode p { color: #b3c3d4; margin: 0; }
@media (max-width: 860px) { .modes { grid-template-columns: 1fr; } }

/* ---------- references (route) ---------- */
.route { position: relative; list-style: none; }
.route::before { content: ''; position: absolute; left: 190px; top: 0; bottom: 0; width: 2px; background: radial-gradient(circle, var(--blue-soft) 1.2px, transparent 1.6px) 0 0 / 2px 8px repeat-y; }
.route-plane { position: sticky; top: 50vh; height: 0; z-index: 2; }
.route-plane svg { position: absolute; left: 180px; top: -11px; width: 22px; height: 22px; color: var(--blue); transform: rotate(180deg); background: var(--paper); border-radius: 50%; }
.leg { position: relative; display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 60px; padding: 34px 0; }
.leg::before { content: ''; position: absolute; left: 184px; top: 46px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--blue); }
.leg.current::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 6px rgba(255,176,0,.25); }
.leg-time { text-align: right; padding-top: 6px; }
.leg-time .yrs { display: block; font: 700 2rem/1 var(--f-display); color: var(--ink); }
.leg-time .mono { color: var(--ink-2); display: block; margin-top: 6px; }
.leg-card { background: var(--sheet); border-radius: 6px; padding: 26px 28px; box-shadow: 0 0 0 1px rgba(12,26,41,.07); }
.leg-card h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); text-transform: uppercase; color: var(--ink); }
.leg-card .role { display: inline-block; margin: 10px 0 12px; font: 700 .76rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); background: var(--sky); padding: 5px 9px; border-radius: 2px; }
.leg.current .role { background: var(--amber); color: var(--night); }
.leg-card p { color: var(--ink-2); margin: 0; }
.leg-card details { margin-top: 16px; border-top: 1px solid var(--rule); padding-top: 12px; }
.leg-card summary { cursor: pointer; font-weight: 700; color: var(--blue); list-style: none; display: inline-flex; align-items: center; gap: .5em; }
.leg-card summary::-webkit-details-marker { display: none; }
/* plus/minus drawn from two bars, so it is centred exactly regardless of the font */
.leg-card summary::before {
  content: ''; flex: none; width: 22px; height: 22px; border: 1.5px solid currentColor; border-radius: 50%; box-sizing: border-box;
  background: linear-gradient(currentColor, currentColor) center / 10px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 10px no-repeat;
  transition: background-size .2s var(--ease);
}
.leg-card details[open] summary::before { background-size: 10px 2px, 2px 0; }
.leg-card details ul { margin: 12px 0 0 0; padding-left: 1.1em; color: var(--ink); }
.leg-card details li { margin: 6px 0; }
.leg-card details ul ul { margin: 6px 0 0 0; padding-left: 1.6em; list-style: none; }
.leg-card details ul ul li { position: relative; }
.leg-card details ul ul li::before { content: "–"; position: absolute; left: -1.1em; }
.route-group { font: 700 .76rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding: 30px 0 4px 220px; }
@media (max-width: 760px) {
  .route::before { left: 9px; }
  .route-plane svg { left: -1px; }
  .leg { grid-template-columns: 1fr; gap: 10px; padding: 22px 0 22px 36px; }
  .leg::before { left: 3px; top: 28px; }
  .leg-time { text-align: left; padding: 0; display: flex; gap: 12px; align-items: baseline; }
  .leg-time .mono { margin: 0; }
  .route-group { padding-left: 36px; }
  .leg-card { padding: 20px; }
}

.current-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; }
.current-strip li { border-top: 3px solid var(--amber); padding-top: 18px; }
.current-strip h3 { font-size: 2rem; text-transform: uppercase; }
.current-strip .mono { color: var(--amber); display: block; margin: 8px 0; }
.current-strip p { color: #b3c3d4; margin: 0; font-size: .95rem; }
@media (max-width: 860px) { .current-strip { grid-template-columns: 1fr; } }

/* ---------- contact boarding pass ---------- */
.pass {
  display: grid; grid-template-columns: minmax(0, 1fr) 260px; background: var(--sheet); color: var(--ink); border-radius: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,.35); max-width: 980px; overflow: hidden; position: relative;
}
.pass-main { padding: clamp(24px, 4vw, 44px); }
.pass-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); margin-bottom: 26px; }
.pass-top img { height: 20px; width: auto; }
.pass-top .mono { color: var(--ink-2); }
.pass-route { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.pass-route strong { font: 700 clamp(3.4rem, 8vw, 5.6rem)/.8 var(--f-display); color: var(--blue); }
.pass-route small { display: block; font: .7rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-top: 6px; }
.pass-route .path { flex: 1; height: 2px; background: radial-gradient(circle, var(--ink-2) 1px, transparent 1.4px) 0 0 / 8px 2px repeat-x; position: relative; min-width: 40px; }
.pass-route .path svg { position: absolute; left: 50%; top: -11px; width: 24px; height: 24px; margin-left: -12px; color: var(--blue); background: var(--sheet); }
.pass-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
.pass-fields dt { font: .7rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.pass-fields dd { margin: 0; font: 700 clamp(1.25rem, 2.2vw, 1.7rem)/1.15 var(--f-body); word-break: break-word; }
.on-dark .pass-fields dd a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--amber); }
.on-dark .pass-fields dd a:hover { color: var(--blue); }
.pass-section { padding-top: 0; }
.pass-fields .wide { grid-column: 1 / -1; }
.pass-stub { position: relative; background: var(--paper); border-left: 2px dashed var(--rule); padding: clamp(24px, 4vw, 44px) 26px; display: flex; flex-direction: column; gap: 14px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.pass-stub::before, .pass-stub::after { content: ''; position: absolute; left: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--night); }
.pass-stub::before { top: -14px; } .pass-stub::after { bottom: -14px; }
.pass-stub b { display: block; font: 700 1.5rem/1 var(--f-display); letter-spacing: 0; text-transform: none; color: var(--ink); margin-top: 3px; }
.pass-stub .bars { margin-top: auto; height: 56px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 16px); }
@media (max-width: 760px) {
  .pass { grid-template-columns: 1fr; }
  .pass-fields { grid-template-columns: 1fr; }
  .pass-stub { border-left: 0; border-top: 2px dashed var(--rule); }
  .pass-stub::before, .pass-stub::after { top: -15px; left: auto; bottom: auto; }
  .pass-stub::before { left: -14px; } .pass-stub::after { right: -14px; }
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cta-band .wrap { position: relative; }
.cta-inner { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(2.6rem, 6vw, 5.2rem); text-transform: uppercase; max-width: 12em; }

/* ---------- legal ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; }
.legal nav { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; display: grid; gap: 4px; }
.legal nav a { text-decoration: none; color: var(--ink-2); padding: 6px 0 6px 14px; border-left: 2px solid var(--rule); font-size: .92rem; }
.legal nav a:hover { color: var(--blue); border-color: var(--blue); }
.legal article { max-width: 46em; }
.legal h2 { font-size: 2.1rem; text-transform: uppercase; margin: 48px 0 14px; color: var(--ink); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-family: var(--f-body); font-size: 1.05rem; margin: 26px 0 8px; letter-spacing: 0; line-height: 1.3; }
.legal address { font-style: normal; }
.legal .note { background: var(--sheet); border-left: 4px solid var(--amber); padding: 14px 18px; border-radius: 0 4px 4px 0; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; gap: 24px; } .legal nav { position: static; } }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: #9fb0c3; padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer img { height: 22px; width: auto; margin-bottom: 18px; }
.site-footer h2 { font: 700 .74rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #dce6f1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-base { margin-top: 56px; padding-top: 22px; border-top: 1px solid #1c2c40; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .archive-tools, .hero-sky { display: none; }
  .on-dark, .hero, .page-hero { background: #fff !important; color: #000; }
}
