@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #101719;
  --panel: #172023;
  --line: #2c3638;
  --text: #eef0e9;
  --muted: #a7b2b1;
  --amber: #e5b574;
  --heading: 'DM Sans', Arial, sans-serif;
  --body: 'DM Sans', Arial, sans-serif
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.7 var(--body)
}

a {
  color: inherit;
  text-decoration: none
}

a:hover {
  color: var(--amber)
}

a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 6px
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover
}

h1,
h2,
h3,
p {
  margin: 0
}

h1,
h2,
h3 {
  line-height: 1.08
}

h2 {
  font: 500 clamp(2.3rem, 4vw, 3.3rem)/1.1 var(--heading)
}

.accent {
  color: var(--amber)
}

.eyebrow {
  font-size: .75rem;
  letter-spacing: .16em;
  font-weight: 600;
  color: var(--amber);
  text-transform: uppercase
}

.site-header {
  min-height: 98px;
  max-width: 1440px;
  padding: 24px 6%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.1;
  position: relative;
  padding-left: 49px
}

.brand-mark {
  position: absolute;
  left: 0;
  top: 3px;
  font-size: 30px;
  color: var(--amber);
  transform: rotate(-30deg)
}

.brand-line {
  display: block;
  font-size: .6rem;
  letter-spacing: .25em;
  color: var(--muted);
  margin-top: 9px
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: .875rem
}

.sim-label {
  font-size: .65rem;
  letter-spacing: .14em;
  border-left: 1px solid var(--line);
  padding-left: 30px;
  color: var(--muted)
}

.small-line {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--amber);
  margin: 0 12px 4px 0
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 49px;
  padding: 11px 25px;
  font-size: .875rem;
  font-weight: 600;
  border: 1px solid #788080;
  transition: background .2s, color .2s
}

.primary {
  background: var(--amber);
  border-color: var(--amber);
  color: #172023
}

.primary:hover {
  background: #f3cc98;
  color: #101719
}

.secondary {
  background: #10171938
}

.secondary:hover {
  background: #172023
}

.hero-bottom {
  position: absolute;
  bottom: 27px;
  left: 8%;
  right: 8%;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: .65rem;
  letter-spacing: .16em;
  color: #c0c7c5
}

.hero-bottom span:nth-child(2) {
  color: var(--amber)
}

.journey-strip {
  padding: 24px 8%;
  display: flex;
  gap: 45px;
  align-items: center;
  border-block: 1px solid var(--line);
  font-size: .68rem;
  letter-spacing: .13em
}

.journey-strip strong {
  font: 500 1.9rem var(--heading);
  margin-right: 12px;
  color: var(--amber)
}

.strip-motto {
  margin-left: auto;
  color: var(--muted);
  letter-spacing: 0;
  font-size: .85rem
}

.section-wrap {
  max-width: 1210px;
  padding: 0 38px;
  margin: auto
}

.latest {
  padding-top: 76px;
  padding-bottom: 75px
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 30px
}

.section-heading h2 {
  margin-top: 11px
}

.tag {
  border: 1px solid var(--line);
  padding: 7px 12px;
  text-transform: uppercase;
  font-size: .65rem;
  letter-spacing: .1em;
  color: var(--muted)
}

.latest-card {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  border: 1px solid var(--line);
  background: var(--panel)
}

.latest-image {
  position: relative;
  min-height: 300px;
  overflow: hidden
}

.latest-image img {
  filter: brightness(.65) saturate(.65);
  transition: transform .5s
}

.latest-image:hover img {
  transform: scale(1.035)
}

.image-label {
  position: absolute;
  left: 25px;
  right: 25px;
  bottom: 24px;
  font: 500 2rem var(--heading)
}

.image-label span {
  float: right;
  padding-top: 14px;
  font: .65rem var(--body);
  letter-spacing: .13em
}

.latest-copy {
  padding: 36px 39px;
  display: flex;
  flex-direction: column
}

.latest-copy h3 {
  font: 500 2.7rem var(--heading);
  margin: 16px 0
}

.latest-copy>p:not(.eyebrow) {
  font-size: .9rem;
  line-height: 1.8;
  color: var(--muted)
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  margin-top: 25px;
  padding-top: 20px;
  font-size: .8rem
}

.card-bottom>span {
  color: var(--muted)
}

.text-link {
  color: var(--amber);
  border-bottom: 1px solid #e5b57470
}

.journey {
  padding-bottom: 20px
}

.section-aside {
  color: var(--muted);
  font-size: .85rem
}

.route-banner {
  border: 1px solid var(--line);
  padding: 28px 32px;
  background: linear-gradient(110deg, #1c282b, #141d20)
}

.route-stops {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 15px 0;
  font: 500 1.35rem var(--heading)
}

.route-stops>span {
  color: var(--amber)
}

.route-banner>p {
  font-size: .8rem;
  color: var(--muted)
}

.timeline {
  list-style: none;
  margin: 22px 0 0;
  padding: 0
}

.timeline-item>a {
  display: grid;
  grid-template-columns: 75px 24px 1fr 190px 70px;
  align-items: center;
  gap: 18px;
  min-height: 112px;
  padding: 20px 15px;
  border-bottom: 1px solid var(--line)
}

.timeline-id {
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: .08em
}

.timeline-dot {
  height: 9px;
  width: 9px;
  border: 1px solid #6e7e80;
  border-radius: 50%;
  position: relative
}

.timeline-dot:after {
  content: '';
  position: absolute;
  top: 14px;
  bottom: -96px;
  left: 3px;
  width: 1px;
  background: var(--line)
}

.timeline-item:last-child .timeline-dot:after {
  display: none
}

.timeline-item.current .timeline-dot {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 0 5px #e5b57415
}

.timeline-item .eyebrow {
  font-size: .6rem;
  color: var(--muted)
}

.timeline-item.current .eyebrow {
  color: var(--amber)
}

.timeline-item h3 {
  font: 500 1.65rem var(--heading);
  margin: 5px 0
}

.timeline-item p {
  font-size: .8rem;
  color: var(--muted)
}

.timeline-meta,
.open-label {
  font-size: .75rem;
  color: var(--muted)
}

.open-label {
  color: var(--amber)
}

.timeline-item>a:hover {
  background: #ffffff03
}

.side-trip {}

.side-trip .eyebrow {
  color: var(--amber)
}

footer {
  border-top: 1px solid var(--line);
  padding: 34px 8%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: .75rem;
  color: var(--muted)
}

.footer-brand {
  font-size: .85rem;
  letter-spacing: .15em;
  color: var(--text);
  font-weight: 600
}

.skip {
  position: absolute;
  top: -100px;
  z-index: 10;
  background: var(--amber);
  color: var(--bg);
  padding: 12px
}

.skip:focus {
  top: 0
}

.flight-main {
  padding-top: 30px;
  padding-bottom: 70px
}

.back-link {
  font-size: .8rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line)
}

.flight-heading {
  margin: 40px 0 33px
}

.flight-heading h1 {
  font: 500 clamp(3rem, 6vw, 5rem) var(--heading);
  margin: 10px 0
}

.divider {
  color: var(--muted);
  padding: 0 12px
}

.flight-route {
  font-size: 1.1rem;
  color: var(--muted)
}

.video-empty,
.video-player {
  aspect-ratio: 16/9;
  width: 100%;
  background: radial-gradient(ellipse at 50% 35%, #233438, #121c20);
  border: 1px solid var(--line);
  position: relative
}

.video-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 25px;
  text-align: center
}

.play-outline {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 1px solid #e5b57465;
  border-radius: 50%;
  font-size: 32px;
  color: var(--amber);
  margin-bottom: 24px
}

.video-empty h3 {
  font: 500 2rem var(--heading)
}

.video-empty p {
  font-size: .9rem;
  color: var(--muted);
  margin-top: 10px
}

.video-player iframe {
  border: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0
}

.flight-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
  margin: 0
}

.flight-facts dt {
  font-size: .65rem;
  letter-spacing: .15em;
  color: var(--amber)
}

.flight-facts dd {
  margin: 7px 0 0;
  font-size: 1rem
}

.flight-facts small {
  display: block;
  color: var(--muted);
  font-size: .75rem
}

.airport-code {
  font-size: .7rem;
  border: 1px solid var(--line);
  padding: 3px 6px;
  margin-left: 5px
}

.story {
  padding: 55px 0
}

.story h2 {
  margin: 10px 0 23px
}

.story>p:not(.eyebrow) {
  margin-top: 18px;
  color: #c1c9c6
}

.story .note {
  font-size: .85rem;
  border-left: 2px solid var(--amber);
  padding-left: 18px;
  color: var(--muted)
}

.flight-nav {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding-top: 30px;
  font-size: .875rem
}

.nav-flight {
  padding: 20px;
  border: 1px solid var(--line)
}

.next {
  text-align: right
}

.nav-boundary {
  padding: 20px;
  color: var(--muted)
}

.highlights h2 {
  margin: 12px 0 25px
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 40px
}

.highlights h3 {
  margin-bottom: 15px
}

.missing {
  min-height: 60vh;
  padding-block: 80px
}

.missing h1 {
  font: 500 3.5rem var(--heading);
  margin: 20px 0 30px
}

@media(min-width:1600px) {}

@media(max-width:800px) {
  .sim-label {
    display: none
  }

  .hero-bottom {
    left: 6%;
    right: 6%
  }

  .hero-bottom span:nth-child(2) {
    display: none
  }

  .journey-strip {
    padding-inline: 6%;
    gap: 25px
  }

  .strip-motto {
    display: none
  }

  .latest-card {
    grid-template-columns: 1fr
  }

  .latest-image {
    height: 260px;
    min-height: 0
  }

  .section-wrap {
    padding-inline: 6%
  }

  .section-aside {
    display: none
  }

  .timeline-item>a {
    grid-template-columns: 60px 16px 1fr;
    gap: 12px
  }

  .timeline-meta,
  .open-label {
    display: none
  }

  .timeline-dot:after {
    bottom: -103px
  }

  footer {
    flex-wrap: wrap
  }

  .latest-copy {
    padding: 30px
  }
}

@media(max-width:480px) {
  .site-header {
    min-height: 90px;
    gap: 15px;
    padding-inline: 6%
  }

  .brand {
    font-size: .85rem;
    padding-left: 32px;
    letter-spacing: .1em
  }

  .brand-mark {
    font-size: 24px
  }

  .brand-line {
    font-size: .5rem;
    letter-spacing: .12em
  }

  .site-header nav {
    gap: 14px;
    font-size: .75rem
  }

  .hero-actions .button {
    min-width: 205px
  }

  .hero-bottom {
    font-size: .55rem;
    letter-spacing: .1em
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 15px
  }

  .latest {
    padding-block: 48px
  }

  .latest-copy h3 {
    font-size: 2.4rem
  }

  .route-banner {
    padding: 22px
  }

  .timeline-item>a {
    padding-inline: 0
  }

  .timeline-item h3 {
    font-size: 1.4rem
  }

  .flight-facts {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .flight-nav,
  .highlights-grid {
    grid-template-columns: 1fr
  }

  .next {
    text-align: left
  }

  .video-empty h3 {
    font-size: 1.6rem
  }

  .video-empty p {
    font-size: .8rem
  }

  .play-outline {
    width: 42px;
    height: 42px;
    font-size: 23px;
    margin-bottom: 10px
  }

  .flight-heading h1 {
    font-size: 3rem
  }

  footer {
    flex-direction: column;
    gap: 8px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  * {
    transition: none !important
  }
}

/* Global journey identity; route details belong in the logbook. */
.about-journey {
  padding-bottom: 85px;
  border-top: 1px solid var(--line);
  padding-top: 50px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 45px
}

.about-journey h2 {
  font-size: 2.3rem
}

.about-journey p {
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 720px
}

.about-journey p:last-child {
  color: var(--amber);
  margin-bottom: 0
}

@media(max-width:800px) {
  .about-journey {
    grid-template-columns: 1fr;
    gap: 25px
  }
}

@media(max-width:480px) {}



/* Hero: open typography, a readable left column, and room for the photograph. */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(760px, 85svh);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero-image {
  position: absolute;
  inset: 0;
  object-position: 65% 48%;
  filter: saturate(.78) brightness(.94);
  z-index: -2;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(9, 18, 23, .91) 0%, rgba(9, 18, 23, .72) 40%, rgba(9, 18, 23, .12) 100%), linear-gradient(0deg, #101719 0%, transparent 32%);
}

.hero-content {
  width: 100%;
  max-width: 1210px;
  margin: auto;
  padding: 92px 38px 108px;
}

.hero h1 {
  max-width: 100%;
  margin: 0 0 28px;
  font: 500 clamp(3.5rem, 5.4vw, 5.25rem)/1.08 var(--body);
  letter-spacing: -.025em;
  text-wrap: balance;
  color: #f8f8f3;
}

.hero-description {
  max-width: 720px;
  font-size: clamp(1.0625rem, 1.15vw, 1.25rem);
  line-height: 1.8;
  color: #d5dcdc;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  margin-top: 34px;
}

.hero .button {
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 4px;
  background: #eed0a1;
  border-color: #eed0a1;
  font-weight: 600;
  box-shadow: 0 4px 24px #0002;
}

.hero .button:hover {
  background: #ffe1b2;
  border-color: #ffe1b2;
}

@media (max-width: 800px) {
  .hero {
    min-height: 650px;
  }

  .hero-content {
    padding: 80px 6% 96px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(3rem, 7vw, 3.8rem);
  }

  .hero-description {
    max-width: 620px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 610px;
  }

  .hero-content {
    padding: 72px 6% 88px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 12vw, 3.6rem);
    letter-spacing: -.025em;
    margin-bottom: 25px;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.8;
  }

  .hero-image {
    object-position: 60% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, #091217d9, #09121773), linear-gradient(0deg, #101719, transparent 65%);
  }

  .hero-actions {
    margin-top: 30px;
  }
}

/* Keep the single-line wordmark aligned with its icon and the page content. */
.site-header {
  max-width: 1210px;
  padding: 24px 38px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-left: 0;
  line-height: 1.3;
  white-space: nowrap;
}

.brand-mark {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  line-height: 1;
}

@media (max-width: 800px) {
  .site-header {
    padding-inline: 6%;
  }
}

@media (max-width: 480px) {
  .brand {
    gap: 10px;
    padding-left: 0;
  }

  .brand-mark {
    flex-basis: 24px;
  }
}

/* Approved aircraft wordmark. Preserve the SVG proportions at every breakpoint. */
.brand {
  display: inline-flex;
  flex-shrink: 0;
  gap: 0;
  padding: 0;
}

.brand-logo {
  display: block;
  width: 266px;
  height: auto;
  object-fit: contain;
}

.site-header {
  padding-block: 15px;
}

@media (max-width: 480px) {
  .brand-logo {
    width: 176px;
  }

  .site-header {
    gap: 12px;
  }

  .site-header nav {
    gap: 12px;
  }
}

@media (max-width: 360px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  .site-header nav {
    justify-content: center;
    width: 100%;
  }
}

/* One readable type family throughout, with simulator context in About. */
h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -.025em;
}

.latest-copy h3 {
  font-size: clamp(1.65rem, 2.7vw, 2.2rem);
  line-height: 1.2;
}

.timeline-item h3 {
  font-size: 1.25rem;
  line-height: 1.4;
}

.flight-heading h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.about-journey h2 {
  font-size: 2rem;
  line-height: 1.25;
}

.about-journey .sim-context {
  margin: 14px 0 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: normal;
}

@media (max-width: 480px) {
  .timeline-item h3 {
    font-size: 1.1rem;
  }
}

/* About and footer share the same gutters as the flight logbook. */
.about-journey {
  display: block;
  position: relative;
  border-top: 0;
  padding-top: 44px;
  padding-bottom: 48px;
}


.about-journey>div:first-child {
  margin-bottom: 24px;
}

.about-journey>div:last-child {
  max-width: 820px;
}

.about-journey p {
  max-width: none;
  margin-bottom: 16px;
}

.about-journey .sim-context {
  color: var(--muted);
  margin-top: 10px;
}

.site-footer {
  display: block;
  padding: 0;
}

.footer-inner {
  max-width: 1210px;
  margin: auto;
  padding: 26px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: .875rem;
}

.footer-brand {
  font-size: 1rem;
  letter-spacing: normal;
}

@media (max-width: 800px) {
  .about-journey::before {
    left: 6%;
    right: 6%;
  }

  .footer-inner {
    padding-inline: 6%;
  }
}

@media (max-width: 480px) {
  .about-journey {
    padding-block: 32px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-block: 22px;
  }
}

.footer-identity {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.copyright {
  font-size: .8125rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Cookie / GDPR Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 420px;
  background: rgba(23, 32, 35, 0.96);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-light);
  border-radius: 8px;
  padding: 18px 22px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: slideUp 0.3s ease;
}

.cookie-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #c9d5d8;
  margin: 0;
}

.cookie-text a {
  color: var(--amber);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-btn {
  background: var(--amber);
  color: #101719;
  border: none;
  border-radius: 4px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-btn:hover {
  background: #f0c58c;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 480px) {
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}