/* David Inflight: light navy, white and gold. One committed theme. */
:root {
  --navy-900: #0E2139;
  --navy-800: #152E4F;
  --navy-700: #1F3F6B;   /* light navy: primary */
  --navy-500: #3A5E8F;
  --sky-50:   #F4F7FB;
  --sky-100:  #E6EDF6;
  --white:    #FFFFFF;
  --gold:     #C9A35A;
  --gold-lt:  #E6CF9C;
  --gold-dk:  #9C7A36;
  --ink:      #0B1422;
  --ink-soft: #4A5A70;
  --line-lt:  rgba(255, 255, 255, .16);
  --line-dk:  rgba(14, 33, 57, .12);

  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-body: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 5vw, 64px);
  --max: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
/* Safety net: the page can never be wider than the screen, so phones and tablets
   can't zoom out past it. "clip" (not "hidden") keeps the sticky top bar working. */
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.label {
  margin: 0;
  font: 500 12px/1.4 var(--f-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.label--navy { color: var(--gold-dk); }

/* ───────── NAV ───────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 14px;
  background: rgba(14, 33, 57, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-lt);
  color: var(--white);
}
.nav__brand {
  font: 500 20px/1 var(--f-display);
  text-decoration: none;
  letter-spacing: .01em;
}
.nav__brand em { color: var(--gold); }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); }
.nav__links a {
  font: 500 12px/1 var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, .78);
  transition: color .2s;
}
.nav__links a:hover { color: var(--white); }
.nav__links .nav__cta {
  color: var(--navy-900);
  background: var(--gold);
  padding: 10px 16px;
  border-radius: 999px;
}
.nav__links .nav__cta:hover { background: var(--gold-lt); color: var(--navy-900); }
@media (max-width: 560px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ───────── BUTTONS ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font: 500 15px/1 var(--f-body);
  letter-spacing: .04em;
  text-decoration: none;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 10px 30px -10px rgba(201, 163, 90, .7); }
.btn--gold:hover { background: var(--gold-lt); }
.btn--navy { background: var(--navy-700); color: var(--white); }
.btn--navy:hover { background: var(--navy-800); }

.email-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line-lt);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font: 400 clamp(13px, 3.8vw, 15px)/1.2 var(--f-body);
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  max-width: 100%;
  text-align: left;
}
.email-chip [data-email-text] { user-select: all; }
.email-chip:hover { border-color: var(--gold); }
.email-chip__hint {
  flex: none;
  user-select: none;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}
.email-chip--dark { color: var(--navy-800); border-color: var(--line-dk); }
.email-chip--dark .email-chip__hint { color: var(--gold-dk); }

/* ───────── SOCIALS ───────── */
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line-lt);
  color: var(--white);
  font: 500 13px/1 var(--f-body);
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.socials a:hover { background: rgba(201, 163, 90, .16); border-color: var(--gold); }
.socials svg { width: 18px; height: 18px; color: var(--gold); }

/* ───────── HERO ───────── */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% 10%, rgba(255, 255, 255, .09), transparent 60%),
    var(--navy-700);
  color: var(--white);
  padding-block: clamp(48px, 8vw, 104px);
  padding-inline: var(--gutter);
}
.hero__route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__route path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-dasharray: 2 9;
  stroke-linecap: round;
  opacity: .45;
  vector-effect: non-scaling-stroke;
}
.hero__plane {
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px; /* centre the icon on its point */
  fill: var(--gold);
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .3));
}
.hero__origin { /* departure marker where the route starts */
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(201, 163, 90, .22), 0 0 0 6px rgba(201, 163, 90, .45);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 20px; }
.hero__name {
  font: 400 clamp(52px, 8.4vw, 112px)/.92 var(--f-display);
  letter-spacing: -.02em;
  margin-top: 4px;
}
.hero__name em { color: var(--gold); }
.hero__brand { /* real name, quietly under the brand name */
  margin: 10px 0 4px; /* clears the descender of the "g" in Inflight */
  font: 400 clamp(20px, 2.2vw, 28px)/1 var(--f-display);
  color: rgba(255, 255, 255, .78);
}
.hero__badge {
  align-self: flex-start; /* hug the text instead of stretching full width */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px 8px 10px;
  border: 1px solid rgba(201, 163, 90, .6);
  border-radius: 999px;
  background: rgba(201, 163, 90, .1);
  font: 500 12px/1 var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-lt);
}
.hero__badge svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.hero__what {
  margin: 0;
  max-width: 34ch;
  font: 400 clamp(20px, 2vw, 24px)/1.4 var(--f-body);
}
.hero__who {
  margin: 0;
  max-width: 58ch;
  font-size: 16px;
  color: rgba(255, 255, 255, .78);
}
.hero__who strong { color: var(--white); font-weight: 500; }

.hero__log {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 4px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-lt);
  border-bottom: 1px solid var(--line-lt);
}
.hero__log li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 24px 14px 0;
  margin-right: 24px;
  border-right: 1px solid var(--line-lt);
}
.hero__log li:last-child { border-right: 0; margin-right: 0; }
.log__num { font: 400 40px/1 var(--f-display); color: var(--gold); font-variant-numeric: lining-nums; }
.log__num--sm { font-size: 26px; font-style: italic; }
.log__lbl { font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 4px; }

.hero__window { margin: 0; display: grid; justify-items: center; }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__window { order: -1; }
  /* ".hero" raises specificity so this beats the base .window--hero size below */
  .hero .window--hero { width: min(400px, 88vw); }
}
/* Phones: travel log as three even columns, number above label */
@media (max-width: 560px) {
  .hero__log { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__log li {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-right: 0;
    padding: 14px 10px 14px 0;
  }
  .hero__log li + li { padding-left: 12px; }
  .log__num { font-size: 34px; }
  .log__num--sm { font-size: 24px; line-height: 34px; }
  .log__lbl { font-size: 10px; letter-spacing: .12em; }
}

/* ───────── AIRPLANE WINDOW ───────── */
.window {
  position: relative;
  --bezel: 14px;
  aspect-ratio: 3 / 4.2;
  width: 100%;
  max-width: 100%;
  border-radius: 46% / 34%;
  background: linear-gradient(160deg, #FFFFFF, #DCE4EE 70%, #C8D3E1);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, .9),
    inset 0 -6px 14px rgba(14, 33, 57, .18),
    0 24px 50px -24px rgba(14, 33, 57, .55);
}
.window--hero { --bezel: clamp(8px, 1.3vw, 15px); width: min(540px, 100%); }
.window__glass {
  /* pinned inside the frame, so it can never grow past it */
  position: absolute;
  inset: var(--bezel);
  overflow: hidden;
  isolation: isolate;
  border-radius: 44% / 32%;
  box-shadow: inset 0 0 0 3px rgba(14, 33, 57, .25), inset 0 8px 24px rgba(0, 0, 0, .35);
  background: var(--navy-800);
}
.window__glass img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.window__glass::after { /* glare */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, .28) 0%, transparent 32%, transparent 70%, rgba(255, 255, 255, .08));
  pointer-events: none;
  z-index: 2;
}

/* Sky placeholder (shows until the photo loads, or if it's missing) */
.sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #6F9AD0 0%, #A9C6E8 45%, #F1D9AC 100%);
}
.sky span {
  position: absolute;
  height: 18%;
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  filter: blur(6px);
  animation: drift 26s linear infinite;
}
.sky span:nth-child(1) { width: 70%; top: 58%; left: -20%; }
.sky span:nth-child(2) { width: 50%; top: 70%; left: 40%; animation-duration: 34s; opacity: .7; }
.sky span:nth-child(3) { width: 40%; top: 30%; left: 10%; animation-duration: 42s; opacity: .5; height: 10%; }
@keyframes drift { from { transform: translateX(-30%); } to { transform: translateX(80%); } }

/* ───────── SECTION HEADS ───────── */
.section-head {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 12px;
  padding-inline: var(--gutter);
}
.section-head h2 {
  font: 400 clamp(36px, 5vw, 60px)/1.05 var(--f-display);
  letter-spacing: -.01em;
  color: var(--navy-800);
}
.section-head__sub { margin: 0; max-width: 60ch; color: var(--ink-soft); }
.section-head--light h2 { color: var(--white); }
.section-head--light .section-head__sub { color: rgba(255, 255, 255, .7); }
.section-head--photos { margin-top: clamp(72px, 10vw, 120px); }

/* ───────── WORK ───────── */
.work { background: var(--white); padding-block: clamp(72px, 10vw, 128px); }

/* iPhone frames */
.phones-scroll {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: clamp(36px, 5vw, 56px) auto 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-block: 24px 40px;
}
.phones-scroll::-webkit-scrollbar { display: none; }
.phones {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 28px);
  align-items: center;
  padding-inline: var(--gutter);
}
.phones > * { scroll-snap-align: center; }

/* Tablets: about 2½ phones in view, swipe for the rest */
@media (max-width: 860px) {
  .phones {
    grid-template-columns: repeat(5, 38vw);
    width: max-content;
  }
}
/* Phones: one phone in view with the next peeking in */
@media (max-width: 560px) {
  .phones { grid-template-columns: repeat(5, 62vw); }
}
/* Touch screens: bigger control buttons for fingers */
@media (pointer: coarse) {
  .phone__bar button { width: 36px; height: 36px; }
  .phone__bar svg { width: 19px; height: 19px; }
}

.phone-item { display: grid; gap: 14px; justify-items: center; }
.phone {
  position: relative;
  width: 100%;
  max-width: 100%;
  --bezel: clamp(6px, .75vw, 10px);
  aspect-ratio: 9 / 19.5;
  border-radius: 15% / 7%;
  background: linear-gradient(145deg, #2A2F38, #0A0C10 55%, #23272E);
  box-shadow:
    inset 0 0 0 1.5px #4A505B,
    inset 0 0 0 3px #0A0C10,
    0 30px 60px -28px rgba(14, 33, 57, .6);
}
.phone::before, .phone::after { /* side buttons */
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #2A2F38;
}
.phone::before { left: -2px; top: 18%; height: 7%; box-shadow: 0 calc(100% + 40px) 0 #2A2F38; }
.phone::after { right: -2px; top: 24%; height: 11%; }
.phone__screen {
  /* pinned inside the frame, so it can never grow past it */
  position: absolute;
  inset: var(--bezel);
  overflow: hidden;
  isolation: isolate;
  border-radius: 12% / 5.6%;
  background: linear-gradient(180deg, var(--navy-700), var(--navy-900));
}
.phone__island {
  position: absolute;
  top: 2.4%;
  left: 50%;
  translate: -50% 0;
  width: 32%;
  height: 3.6%;
  border-radius: 999px;
  background: #000;
  z-index: 3;
}
.phone video, .phone__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone video { opacity: 0; }            /* hidden until the video actually loads */
.phone.is-loaded video { opacity: 1; }
.phone__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 16px;
  text-align: center;
  color: rgba(255, 255, 255, .8);
}
.phone__placeholder b { font: 400 22px/1.1 var(--f-display); color: var(--white); }
.phone__placeholder small { font: 500 10px/1.3 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.phone.has-video .phone__placeholder { display: none; }

.phone.has-video video { cursor: pointer; }

/* Full screen: show the whole vertical video, black bars at the sides, no cropping.
   (separate rules: a browser that doesn't know one prefix would drop a combined rule) */
.phone video:fullscreen { object-fit: contain; background: #000; opacity: 1; cursor: auto; }
.phone video:-webkit-full-screen { object-fit: contain; background: #000; opacity: 1; cursor: auto; }

/* Big gold play button: shown until the video is playing */
.phone__bigplay {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: 3;
  width: clamp(48px, 30%, 64px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background: rgba(14, 33, 57, .45);
  color: var(--gold-lt);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  transition: transform .2s, background .2s;
}
.phone__bigplay svg { width: 44%; height: 44%; margin-left: 8%; }
.phone__bigplay:hover { transform: scale(1.08); background: rgba(201, 163, 90, .35); }
.phone.is-playing .phone__bigplay,
.phone:not(.has-video) .phone__bigplay { display: none; }

/* Control bar: timeline on top, buttons below */
.phone__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: grid;
  gap: 6px;
  padding: 28px 10px 12px;
  background: linear-gradient(180deg, transparent, rgba(8, 18, 32, .78));
  transition: opacity .25s;
}
.phone:not(.has-video) .phone__controls { display: none; }
/* while playing, tuck the controls away until hovered (always visible on touch screens) */
@media (hover: hover) {
  .phone.is-playing .phone__controls { opacity: 0; }
  .phone.is-playing:hover .phone__controls,
  .phone.is-playing .phone__controls:focus-within { opacity: 1; }
}
.phone__bar { display: flex; align-items: center; gap: 4px; }
.phone__bar button {
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.phone__bar button:hover { color: var(--gold-lt); background: rgba(255, 255, 255, .1); }
.phone__bar svg { width: 17px; height: 17px; }
.phone__time {
  flex: 1;
  font: 500 11px/1 var(--f-mono);
  color: rgba(255, 255, 255, .85);
  font-variant-numeric: tabular-nums;
}

.phone__seek {
  --p: 0%;
  width: 100%;
  height: 16px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.phone__seek::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold) var(--p), rgba(255, 255, 255, .3) var(--p));
}
.phone__seek::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); }
.phone__seek::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--gold); }
.phone__seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -4.5px;
  border: 0;
  border-radius: 50%;
  background: var(--gold-lt);
}
.phone__seek::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--gold-lt); }

.phone-item__meta { text-align: center; display: grid; gap: 2px; }
.phone-item__title { font: 500 15px/1.3 var(--f-body); color: var(--navy-800); }
.phone-item__place { font: 500 11px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dk); }

/* views · likes · shares · saves: one row, icon over number */
.phone-item__stats {
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  margin: 8px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--line-dk);
}
.phone-item__stats li {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  font: 500 12px/1 var(--f-mono);
  color: var(--navy-700);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.phone-item__stats svg { width: 15px; height: 15px; color: var(--gold-dk); }
.phone-item__stats li { position: relative; } /* anchor the hidden labels inside their stat */
.sr { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Fuselage of windows */
.fuselage-scroll {
  margin-top: clamp(36px, 5vw, 56px);
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.fuselage-scroll::-webkit-scrollbar { display: none; }
.fuselage {
  position: relative;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(36px, 5vw, 56px) var(--gutter);
  background:
    linear-gradient(180deg, transparent 0 calc(100% - 22px), var(--navy-700) calc(100% - 22px) calc(100% - 14px), transparent calc(100% - 14px)),
    linear-gradient(180deg, var(--sky-50), var(--sky-100));
  border-block: 1px solid var(--line-dk);
}
.fuselage > * { scroll-snap-align: center; }
/* stagger: windows rise and fall like a cabin row seen at an angle */
.fuselage > :nth-child(even) { margin-top: 36px; }
@media (max-width: 860px) {
  .fuselage { grid-template-columns: repeat(5, 34vw); width: max-content; }
  .fuselage > :nth-child(even) { margin-top: 0; }
}
@media (max-width: 560px) {
  .fuselage { grid-template-columns: repeat(5, 54vw); }
}

.pwindow {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.pwindow .window { transition: transform .35s ease; }
.pwindow:hover .window { transform: translateY(-6px); }
.shade { /* window blind: rests low, lifts on hover */
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 22%;
  z-index: 1;
  background: repeating-linear-gradient(180deg, #F6F7F9 0 6px, #E4E8EE 6px 7px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .25);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.shade::after { /* pull tab */
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  translate: -50% 0;
  width: 22%;
  height: 5px;
  border-radius: 3px;
  background: var(--gold);
}
.pwindow:hover .shade, .pwindow:focus-visible .shade { transform: translateY(-100%); }
.pwindow__cap { font: 500 11px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); text-align: center; }
.pwindow__seat { color: var(--gold-dk); margin-right: 6px; }

/* ───────── RESULTS ───────── */
.results {
  background:
    radial-gradient(900px 480px at 10% 0%, rgba(255, 255, 255, .06), transparent 60%),
    var(--navy-800);
  color: var(--white);
  padding-block: clamp(72px, 10vw, 128px);
}
/* One combined panel: big views figure left, four supporting stats right */
.proof {
  max-width: var(--max);
  margin: clamp(36px, 5vw, 56px) auto 0;
  margin-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  border: 1px solid rgba(201, 163, 90, .45);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  overflow: hidden;
}
.proof__hero {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(28px, 5vw, 56px);
  border-right: 1px solid var(--line-lt);
}
.proof__big {
  font: 400 clamp(72px, 12vw, 152px)/.9 var(--f-display);
  letter-spacing: -.03em;
  color: var(--gold);
  font-variant-numeric: lining-nums;
}
.proof__big-lbl { font: 500 13px/1.3 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--white); }
.proof__platforms { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; padding: 0; }
.proof__platforms li { display: inline-flex; align-items: center; gap: 7px; font: 400 13px/1 var(--f-body); color: rgba(255, 255, 255, .72); }
.proof__platforms svg { width: 16px; height: 16px; color: var(--gold); }

.proof__grid { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proof__grid div {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: clamp(20px, 3vw, 36px);
  border-bottom: 1px solid var(--line-lt);
}
.proof__grid div:nth-child(odd) { border-right: 1px solid var(--line-lt); }
.proof__grid div:nth-child(n+3) { border-bottom: 0; }
.proof__grid dt { font: 500 11px/1.3 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .64); }
.proof__grid dd { margin: 0; font: 400 clamp(32px, 4vw, 48px)/1 var(--f-display); color: var(--white); font-variant-numeric: lining-nums tabular-nums; }

.proof__note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 20px clamp(28px, 5vw, 56px);
  border-top: 1px solid var(--line-lt);
  background: rgba(201, 163, 90, .1);
  font-size: 15px;
  color: rgba(255, 255, 255, .82);
}

/* Credential line under the stats panel */
.partner {
  max-width: var(--max);
  margin: 20px auto 0;
  margin-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 18px clamp(20px, 3vw, 28px);
  border: 1px solid var(--line-lt);
  border-radius: 14px;
}
.partner__label {
  font: 500 11px/1 var(--f-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.partner__name { font: 400 clamp(22px, 2.4vw, 28px)/1.1 var(--f-display); color: var(--white); }

@media (max-width: 760px) {
  .proof { grid-template-columns: 1fr; }
  .proof__hero { border-right: 0; border-bottom: 1px solid var(--line-lt); }
}

/* ───────── CONTACT: boarding pass ───────── */
.contact {
  background: var(--sky-50);
  padding-block: clamp(72px, 10vw, 128px);
}
.pass {
  max-width: 960px;
  margin: clamp(36px, 5vw, 56px) auto 0;
  margin-inline: max(var(--gutter), calc((100% - 960px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 40px 80px -40px rgba(14, 33, 57, .45);
  overflow: hidden;
}
.pass__main {
  padding: clamp(24px, 4vw, 40px);
  background: var(--navy-700);
  color: var(--white);
  display: grid;
  gap: 28px;
}
.pass__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pass__airline { font: 400 24px/1 var(--f-display); }
.pass__airline em { color: var(--gold); }
.pass__type { font: 500 11px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-lt); }
.pass__route { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pass__route > div { display: grid; gap: 6px; }
.pass__to { text-align: right; }
.pass__code { font: 400 clamp(44px, 7vw, 72px)/.9 var(--f-display); letter-spacing: .02em; }
.pass__city { font: 500 11px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.pass__plane { width: 36px; height: 36px; flex: none; fill: var(--gold); rotate: 90deg; }
.pass__grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 16px 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--line-lt);
}
.pass__grid div { display: grid; gap: 4px; }
.pass__grid dt { font: 500 10px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.pass__grid dd { margin: 0; font: 500 15px/1.3 var(--f-body); }

.pass__stub {
  position: relative;
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  align-content: center;
  gap: 16px;
  justify-items: start;
  border-left: 2px dashed var(--line-dk);
}
.pass__stub::before, .pass__stub::after { /* punched notches */
  content: "";
  position: absolute;
  left: -14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sky-50);
}
.pass__stub::before { top: -13px; }
.pass__stub::after { bottom: -13px; }
.pass__stub-label { margin: 0; font: 400 26px/1.1 var(--f-display); color: var(--navy-800); }
.pass__barcode {
  width: 100%;
  height: 44px;
  margin-top: 8px;
  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);
  opacity: .85;
}

@media (max-width: 900px) {
  .pass { grid-template-columns: 1fr; }
  .pass__grid { grid-template-columns: repeat(2, auto); }
  .pass__stub { border-left: 0; border-top: 2px dashed var(--line-dk); }
  .pass__stub::before, .pass__stub::after { top: -14px; bottom: auto; }
  .pass__stub::before { left: -13px; }
  .pass__stub::after { left: auto; right: -13px; }
}

/* ───────── FOOTER ───────── */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
  background: var(--navy-900);
  color: rgba(255, 255, 255, .7);
  font: 400 13px/1.4 var(--f-mono);
}
.footer__legal { display: grid; gap: 6px; }
.footer__powered { font-size: 11px; letter-spacing: .08em; color: rgba(255, 255, 255, .5); }

/* ───────── LIGHTBOX ───────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 16px calc(16px + env(safe-area-inset-bottom, 0px));
  background: rgba(8, 18, 32, .94);
  color: var(--white);
}
.lightbox__figure { margin: 0; display: grid; gap: 12px; justify-items: center; }
.lightbox__figure img { max-height: 80vh; width: auto; border-radius: 12px; }
.lightbox__figure figcaption { font: 500 12px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-lt); }
.lightbox button {
  border: 1px solid var(--line-lt);
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font: 300 28px/1 var(--f-body);
  cursor: pointer;
}
.lightbox button:hover { border-color: var(--gold); }
.lightbox__close { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; }

/* ───────── MOTION ───────── */
@media (prefers-reduced-motion: no-preference) {
  .hero__route path { animation: dash 60s linear infinite; }
  @keyframes dash { to { stroke-dashoffset: -600; } }
  .hero__copy > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
  .hero__copy > :nth-child(2) { animation-delay: .06s; }
  .hero__copy > :nth-child(3) { animation-delay: .12s; }
  .hero__copy > :nth-child(4) { animation-delay: .18s; }
  .hero__copy > :nth-child(5) { animation-delay: .24s; }
  .hero__copy > :nth-child(n+6) { animation-delay: .3s; }
  @keyframes rise { from { transform: translateY(14px); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sky span { animation: none; }
  .shade { transition: none; }
}
