/* ==================================================================
   FMG · The Business of Family
   Palette: emerald livery, gold pinstripe, ivory leather, walnut burl.
   ================================================================== */

/* Self-hosted type (SIL Open Font License, see assets/fonts) */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 300 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../assets/fonts/jost.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --emerald-950: #06170f;
  --emerald-900: #0b241b;
  --emerald-800: #103126;
  --emerald-700: #164233;
  --emerald-600: #1f5641;
  --olive: #5e6b45;
  --gold: #c9a65e;
  --gold-hi: #ead39b;
  --gold-lo: #94723a;
  --ivory: #f7f1e4;
  --ivory-2: #ede3cd;
  --walnut: #3a2516;
  --ink: #10231b;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --ease-lux: cubic-bezier(.22, .61, .12, 1);
  --gutter: clamp(16px, 4.2vw, 72px);

  /* Chrome colour flips between the bright sky and the darker cabin */
  --chrome-ink: var(--emerald-900);
  --chrome-line: rgba(11, 36, 27, .35);
}

body[data-scene="cabin"] {
  --chrome-ink: var(--ivory);
  --chrome-line: rgba(234, 211, 155, .35);
}

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

html, body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background: var(--emerald-950);
}

body {
  font-variant-numeric: lining-nums;
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, video { display: block; }
a { color: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

/* ------------------------------------------------------------------
   Reveal choreography (hero text + chrome after the intro)
   ------------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 1.6s var(--ease-lux), transform 1.6s var(--ease-lux);
  transition-delay: calc(var(--d, 0) * 160ms);
}
[data-reveal="1"] { --d: 1; }
[data-reveal="2"] { --d: 2; }
[data-reveal="3"] { --d: 3; }
[data-reveal="4"] { --d: 4; }
body.is-revealed .reveal { opacity: 1; transform: none; }

/* ------------------------------------------------------------------
   Pre-boarding loader
   ------------------------------------------------------------------ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 22px;
  background:
    radial-gradient(120% 90% at 50% 38%, var(--emerald-800) 0%, var(--emerald-900) 45%, var(--emerald-950) 100%);
  transition: opacity 1.4s var(--ease-lux), visibility 0s linear 1.4s;
}
body:not(.is-loading) .loader { opacity: 0; visibility: hidden; }

.crest { width: 132px; height: 132px; overflow: visible; }
.crest__ring {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.1;
  stroke-dasharray: 580;
  stroke-dashoffset: 580;
  animation: crest-draw 2.4s var(--ease-lux) forwards;
}
.crest__ring--thin { stroke-width: .5; opacity: .7; animation-delay: .25s; }
.crest__letters {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 50px;
  letter-spacing: 7px;
  fill: var(--gold-hi);
  opacity: 0;
  animation: fade-in 1.6s var(--ease-lux) .7s forwards;
}
.crest__rule {
  stroke: var(--gold);
  stroke-width: .7;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: crest-draw 1.6s var(--ease-lux) 1.1s forwards;
}
@keyframes crest-draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }

.loader__kicker {
  font: 400 11px/1 var(--sans);
  letter-spacing: .44em;
  padding-left: .44em;
  text-transform: uppercase;
  color: var(--gold-hi);
}
.loader__bar {
  width: 168px;
  height: 1px;
  background: rgba(201, 166, 94, .18);
  overflow: hidden;
}
.loader__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform .5s linear;
}
.loader__status {
  font: italic 400 17px/1.2 var(--serif);
  color: rgba(247, 241, 228, .7);
}

/* ------------------------------------------------------------------
   The sky (exterior)
   ------------------------------------------------------------------ */
.sky {
  position: fixed;
  inset: 0;
  z-index: 10;
  overflow: hidden;
  background: linear-gradient(180deg, #c9d6de 0%, #f1dcc0 55%, #f6e9d6 100%);
}
.sky__media {
  position: absolute;
  inset: 0;
  transform-origin: 55% 52%;
  will-change: transform;
}
.sky__still,
.sky__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sky__still { opacity: 0; transition: opacity 1s ease; }
.sky__still.is-on { opacity: 1; }
.sky__video { opacity: 0; transition: opacity 1.2s ease; }
.sky__video.is-on { opacity: 1; }

.sky__drift { position: absolute; inset: 0; }

/* Slow breathing drift once the jet is cruising */
body.is-cruising .sky__drift { animation: drift 28s ease-in-out infinite alternate; }
@keyframes drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.035) translate3d(-.6%, -.4%, 0); }
}

.sky__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(247, 241, 228, .38) 0%, rgba(247, 241, 228, 0) 20%),
    linear-gradient(0deg, rgba(247, 241, 228, .42) 0%, rgba(247, 241, 228, 0) 26%);
  opacity: 0;
  transition: opacity 2s var(--ease-lux);
}
body.is-revealed .sky__shade { opacity: 1; }

/* Hero typography sits in the sunlit band of cloud beneath the jet, on the
   bright left of the frame; the boarding call is a solid pill on the right
   (the right of the frame falls into cloud shadow). */
.hero {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 0 var(--gutter) clamp(40px, 8vh, 92px);
  pointer-events: none;
  color: var(--emerald-900);
  will-change: opacity, transform;
}
.hero button { pointer-events: auto; }
.hero__left { display: grid; justify-items: start; }
.hero__right { display: grid; justify-items: end; padding-bottom: 6px; }

.hero__kicker {
  font: 500 11px/1 var(--sans);
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--emerald-800);
  margin-bottom: 4px;
}
.hero__mark {
  margin-left: -.05em;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(100px, 13.5vw, 250px);
  line-height: .86;
  letter-spacing: .015em;
  color: var(--emerald-900);
  text-shadow: 0 2px 50px rgba(247, 241, 228, .6);
}
.hero__tagline {
  margin-top: 10px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 2.7vw, 50px);
  line-height: 1.05;
  letter-spacing: -.005em;
  color: var(--emerald-900);
  text-shadow: 0 2px 30px rgba(247, 241, 228, .65);
}
.hero__tagline em { font-style: italic; font-weight: 400; }
.hero__lede {
  margin-top: 10px;
  max-width: 300px;
  font: italic 400 16px/1.5 var(--serif);
  color: var(--emerald-800);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px 15px 30px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font: 400 12px/1 var(--sans);
  letter-spacing: .26em;
  text-transform: uppercase;
  transition: background .5s var(--ease-lux), color .5s var(--ease-lux), border-color .5s var(--ease-lux);
}
.pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.2; transition: transform .5s var(--ease-lux); }
.pill:hover svg { transform: translateX(4px); }

.hero__cta {
  color: var(--gold-hi);
  background: var(--emerald-900);
  border-color: rgba(234, 211, 155, .55);
  box-shadow: 0 18px 40px -18px rgba(6, 23, 15, .7);
}
.hero__cta:hover { background: var(--emerald-700); border-color: var(--gold); }

.skip {
  position: absolute;
  left: 50%;
  bottom: 30px;
  translate: -50% 0;
  z-index: 3;
  font: 400 11px/1 var(--sans);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(16, 35, 27, .75);
  padding: 12px 18px;
  opacity: 0;
  transition: opacity .8s ease;
}
body.is-intro .skip { opacity: 1; }
body:not(.is-intro) .skip { pointer-events: none; }

/* ------------------------------------------------------------------
   Cloud pass: the threshold between sky and cabin
   ------------------------------------------------------------------ */
.clouds {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background: radial-gradient(80% 70% at 50% 50%, #fffaf1 0%, #f8eedd 60%, #efdcc0 100%);
  overflow: hidden;
}
.clouds__layer {
  position: absolute;
  inset: -25%;
  background-size: cover;
  will-change: transform;
}
.clouds__layer--a {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='600'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0045' numOctaves='5' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .99 0 0 0 0 .96 2.4 0 0 0 -.95'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}
.clouds__layer--b {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='600'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008' numOctaves='4' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .97 0 0 0 0 .92 2.6 0 0 0 -1.15'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  opacity: .9;
}

/* ------------------------------------------------------------------
   The cabin (interior), a horizontal track of zones
   ------------------------------------------------------------------ */
.cabin {
  position: fixed;
  inset: 0;
  z-index: 15;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  background: var(--emerald-950);
  will-change: opacity, transform;
}
.cabin__track {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.zone {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100vw;
  overflow: hidden;
  contain: layout paint;
}

/* The scene drifts more slowly than its zone (parallax). It needs no extra
   width for that: the drift is always smaller than the zone's own movement,
   so any uncovered strip is off-screen. */
.zone__scene {
  position: absolute;
  inset: 0;
  container-type: size;
  will-change: transform;
}
.zone__frame {
  --ar: 2.333;
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100cqw, 100cqh * var(--ar));
  height: max(100cqh, 100cqw / var(--ar));
  transform: translate(-50%, -50%);
}
.zone__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.zone__img.is-loaded { opacity: 1; }

/* A rich stand-in for scenes that have not been generated yet */
.zone__frame--empty {
  background:
    radial-gradient(60% 40% at 50% 38%, rgba(234, 211, 155, .18), transparent 70%),
    repeating-linear-gradient(90deg, rgba(234, 211, 155, .05) 0 1px, transparent 1px 14vw),
    linear-gradient(180deg, #2a1c12 0%, #3a2516 46%, var(--emerald-800) 47%, var(--emerald-950) 100%);
}

.zone__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 23, 15, .9) 0%, rgba(6, 23, 15, .78) 26%, rgba(6, 23, 15, .3) 52%, rgba(6, 23, 15, 0) 70%),
    linear-gradient(0deg, rgba(6, 23, 15, .7) 0%, rgba(6, 23, 15, 0) 26%),
    linear-gradient(180deg, rgba(6, 23, 15, .55) 0%, rgba(6, 23, 15, 0) 20%);
}

/* Bulkhead seams between cabin zones */
.zone::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 120px;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(234, 211, 155, .45) calc(100% - 1px)),
    linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .45));
}
.zone:last-child::after { display: none; }

.zone__content {
  position: absolute;
  left: var(--gutter);
  top: 50%;
  width: min(540px, 42vw);
  max-height: calc(100% - 230px);
  translate: 0 -46%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  touch-action: pan-y;
  will-change: transform, opacity;
  padding-right: 6px;
}
.zone__content::-webkit-scrollbar { display: none; }
.zone__content.is-overflowing { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 56px), transparent); padding-bottom: 40px; }
.zone__content.is-overflowing.is-at-end { -webkit-mask-image: none; mask-image: none; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font: 400 11px/1 var(--sans);
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--gold-hi);
}
.eyebrow::after {
  content: "";
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.zone__title {
  margin: 20px 0 20px;
  font: 300 clamp(44px, 5.2vw, 92px)/.95 var(--serif);
  letter-spacing: -.01em;
  color: var(--ivory);
}
.zone__intro {
  max-width: 32em;
  text-wrap: pretty;
  font: 400 clamp(17px, 1.3vw, 21px)/1.5 var(--serif);
  color: rgba(247, 241, 228, .82);
}

/* — Letter — */
.letter { margin-top: 6px; }
.letter__salutation { font: italic 400 clamp(22px, 1.8vw, 28px)/1.3 var(--serif); color: var(--gold-hi); margin-bottom: 14px; }
.letter p:not([class]) { font: 400 clamp(16px, 1.22vw, 20px)/1.6 var(--serif); color: rgba(247, 241, 228, .86); margin-bottom: 14px; text-wrap: pretty; }
.letter__signoff { margin-top: 20px; font: italic 400 18px/1.3 var(--serif); color: rgba(247, 241, 228, .7); }
.letter__signature { font: italic 500 clamp(26px, 2.2vw, 36px)/1.1 var(--serif); color: var(--gold-hi); }

/* — Founders: gold-edged place cards — */
.placecards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.placecard {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 14px;
  align-items: center;
  text-align: left;
  padding: 16px 16px 16px 14px;
  background: linear-gradient(160deg, #fbf6ea, #efe5cf);
  color: var(--ink);
  border-radius: 2px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(148, 114, 58, .55), inset 0 0 0 4px #f7f0df, inset 0 0 0 5px rgba(148, 114, 58, .35);
  transition: transform .6s var(--ease-lux), box-shadow .6s var(--ease-lux);
}
.placecard:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(148, 114, 58, .8), inset 0 0 0 4px #f7f0df, inset 0 0 0 5px rgba(148, 114, 58, .5); }
.placecard__portrait {
  grid-row: span 3;
  width: 56px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 35%, var(--emerald-600), var(--emerald-900));
  box-shadow: 0 0 0 1px var(--gold), 0 0 0 3px #f7f0df, 0 0 0 4px rgba(148, 114, 58, .6);
  font: italic 500 22px/1 var(--serif);
  color: var(--gold-hi);
}
.placecard__portrait img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.15) contrast(1.02); }
.silhouette { width: 64%; height: auto; margin-top: 18%; fill: none; stroke: var(--gold-hi); stroke-width: 1.4; opacity: .85; }
.placecard__seat { font: 500 9.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-lo); }
.placecard__name { font: 500 19px/1.1 var(--serif); color: var(--ink); }
.placecard__rel { font: italic 400 14px/1.2 var(--serif); color: rgba(16, 35, 27, .7); }
.placecard__reserved {
  position: absolute;
  top: 10px;
  right: 12px;
  font: 500 8.5px/1 var(--sans);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--emerald-700);
  opacity: .75;
}

.seatpin:hover span, .seatpin:focus-visible span { opacity: 1; }

.zone__toggle { display: none; }

/* "Seated in this cabin": passengers of zones other than the club suite */
.aboard { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(234, 211, 155, .25); }
.aboard__label { font: 400 10.5px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.aboard__list { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.aboard__item { display: flex; align-items: center; gap: 10px; color: var(--ivory); }
.aboard__portrait {
  width: 40px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 35%, var(--emerald-600), var(--emerald-900));
  box-shadow: 0 0 0 1px var(--gold), 0 0 0 3px rgba(6, 23, 15, .6), 0 0 0 4px rgba(201, 166, 94, .5);
}
.aboard__portrait img { width: 100%; height: 100%; object-fit: cover; }
.aboard__portrait .silhouette { width: 70%; margin-top: 20%; }
.aboard__name { font: italic 400 20px/1 var(--serif); transition: color .4s ease; }
.aboard__item:hover .aboard__name { color: var(--gold-hi); }

/* Optional pins placed directly over seats in the scene */
.seatpin {
  position: absolute;
  translate: -50% -50%;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  pointer-events: auto;
}
.seatpin::before, .seatpin::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.seatpin::before { width: 10px; height: 10px; background: var(--gold-hi); box-shadow: 0 0 18px rgba(234, 211, 155, .9); }
.seatpin::after { inset: 0; border: 1px solid rgba(234, 211, 155, .8); animation: pin-pulse 2.6s var(--ease-lux) infinite; }
@keyframes pin-pulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.seatpin span {
  opacity: 0;
  transition: opacity .4s ease;
  position: absolute;
  left: 50%;
  top: calc(100% + 6px);
  translate: -50% 0;
  white-space: nowrap;
  font: italic 500 15px/1 var(--serif);
  color: var(--ivory);
  text-shadow: 0 1px 10px rgba(0, 0, 0, .8);
}

/* — Agenda — */
.agenda { margin-top: 26px; display: grid; gap: 22px; }
.agenda__day { padding-top: 18px; border-top: 1px solid rgba(234, 211, 155, .25); }
.agenda__label { font: 400 10.5px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.agenda__title { margin: 8px 0 10px; font: 400 clamp(22px, 1.8vw, 28px)/1.1 var(--serif); color: var(--ivory); }
.agenda__items { list-style: none; display: grid; gap: 7px; }
.agenda__items li { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: baseline; }
.agenda__time { font: 400 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); }
.agenda__what { font: 400 17px/1.35 var(--serif); color: rgba(247, 241, 228, .86); }

@media (min-width: 1180px) and (min-height: 700px) {
  .zone--agenda .zone__content { width: min(820px, 58vw); }
  .zone--agenda .agenda { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .zone--agenda .agenda__items li { grid-template-columns: 1fr; gap: 3px; }
  .zone--agenda .zone__veil {
    background:
      linear-gradient(90deg, rgba(6, 23, 15, .92) 0%, rgba(6, 23, 15, .82) 40%, rgba(6, 23, 15, .45) 64%, rgba(6, 23, 15, 0) 82%),
      linear-gradient(0deg, rgba(6, 23, 15, .7) 0%, rgba(6, 23, 15, 0) 26%),
      linear-gradient(180deg, rgba(6, 23, 15, .55) 0%, rgba(6, 23, 15, 0) 20%);
  }
}

/* — Details — */
.details {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
}
.details div { padding-top: 14px; border-top: 1px solid rgba(234, 211, 155, .25); }
.details dt { font: 400 10.5px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin-bottom: 9px; }
.details dd { font: 400 clamp(17px, 1.4vw, 22px)/1.25 var(--serif); color: var(--ivory); }

/* — Archive: gilded frames — */
.frames {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.frame {
  aspect-ratio: 4 / 5;
  padding: 7px;
  background: linear-gradient(135deg, #e9cf8f, #9a7637 45%, #e7c983 70%, #8b6a31);
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .7);
  text-align: left;
}
.frame__mat {
  width: 100%;
  height: 100%;
  padding: 8px;
  background: #f4ecd9;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 6px;
}
.frame__photo {
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, #e9dfc8, #d7c8a8);
  font: italic 400 13px/1.2 var(--serif);
  color: rgba(16, 35, 27, .55);
  text-align: center;
  padding: 6px;
}
.frame__photo img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.2); }
.frame__caption { font: italic 400 12.5px/1.2 var(--serif); color: rgba(16, 35, 27, .75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* — RSVP: a boarding pass — */
.pass {
  margin-top: 24px;
  position: relative;
  background: linear-gradient(160deg, #fbf6ea, #efe5cf);
  color: var(--ink);
  padding: 22px 24px 20px;
  border-radius: 4px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(148, 114, 58, .5);
}
.pass__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.pass__brand { font: 500 20px/1 var(--serif); letter-spacing: .14em; color: var(--emerald-800); }
.pass__tag { font: 500 9.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-lo); }
.pass__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.pass__grid .wide { grid-column: 1 / -1; }
.field { display: grid; gap: 5px; }
.field span { font: 500 9.5px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-lo); }
.field input, .field select, .field textarea {
  font: 400 18px/1.2 var(--serif);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(16, 35, 27, .25);
  padding: 4px 0 6px;
  border-radius: 0;
  outline: none;
  width: 100%;
  resize: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--gold-lo); }
.pass__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 26px -24px 0; padding: 18px 24px 0; border-top: 1px dashed rgba(148, 114, 58, .55); }
.pass__deadline { font: italic 400 14px/1.2 var(--serif); color: rgba(16, 35, 27, .65); }
.pass__submit {
  color: var(--gold-hi);
  background: var(--emerald-900);
  border-color: var(--emerald-900);
  padding: 13px 20px 13px 24px;
}
.pass__submit:hover { background: var(--emerald-700); }
.pass__note { margin-top: 12px; font: italic 400 15px/1.35 var(--serif); color: var(--emerald-700); min-height: 1em; }
.pass__note:empty { display: none; }

/* — Sign up for updates — */
.pass--signup .pass__grid { gap: 14px 18px; }
.field span em { font-style: normal; letter-spacing: .12em; text-transform: none; font: italic 400 13px/1 var(--serif); color: rgba(16, 35, 27, .55); }
.field select { cursor: pointer; }
.check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 4px;
  cursor: pointer;
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid rgba(148, 114, 58, .8);
  border-radius: 2px;
  background: #fbf6ea;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.check input::after { content: ""; width: 9px; height: 5px; border: solid var(--ivory); border-width: 0 0 1.6px 1.6px; rotate: -45deg; translate: 0 -1px; opacity: 0; }
.check input:checked { background: var(--emerald-800); border-color: var(--emerald-800); }
.check input:checked::after { opacity: 1; }
.check input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.check span { font: italic 400 14.5px/1.35 var(--serif); color: rgba(16, 35, 27, .78); }
.pass__submit:disabled { opacity: .6; cursor: progress; }

/* — Reunion atlas: a gilded chart in an engraved frame — */
.atlas {
  position: relative;
  margin-top: 22px;
  padding: 16px 18px 14px;
  background:
    radial-gradient(110% 90% at 18% 0%, rgba(31, 86, 65, .42), transparent 62%),
    linear-gradient(160deg, rgba(11, 36, 27, .9), rgba(6, 23, 15, .94));
  border: 1px solid rgba(234, 211, 155, .5);
  box-shadow: inset 0 0 0 5px rgba(6, 23, 15, .6), inset 0 0 0 6px rgba(234, 211, 155, .18), 0 30px 70px -30px rgba(0, 0, 0, .85);
}
/* gilt corner brackets */
.atlas::before {
  content: "";
  position: absolute;
  inset: 9px;
  pointer-events: none;
  --c: rgba(234, 211, 155, .75);
  background:
    linear-gradient(var(--c), var(--c)) left top / 16px 1px,
    linear-gradient(var(--c), var(--c)) left top / 1px 16px,
    linear-gradient(var(--c), var(--c)) right top / 16px 1px,
    linear-gradient(var(--c), var(--c)) right top / 1px 16px,
    linear-gradient(var(--c), var(--c)) left bottom / 16px 1px,
    linear-gradient(var(--c), var(--c)) left bottom / 1px 16px,
    linear-gradient(var(--c), var(--c)) right bottom / 16px 1px,
    linear-gradient(var(--c), var(--c)) right bottom / 1px 16px;
  background-repeat: no-repeat;
}
.atlas__plot { position: relative; }
.atlas__map { display: block; width: 100%; height: auto; overflow: visible; }
.atlas__land { stroke: rgba(234, 211, 155, .72); stroke-width: 1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.atlas__borders { fill: none; stroke: rgba(234, 211, 155, .2); stroke-width: .7; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.atlas__route { fill: none; stroke: var(--gold-hi); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1 9; opacity: .9; }
/* the routes draw themselves in, one leg after another, on the first visit */
.atlas__draw {
  fill: none;
  stroke: #fff;
  stroke-width: 14;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s var(--ease-lux);
  transition-delay: calc(.7s + var(--k) * .6s);
}
.zone.is-here .atlas__draw { stroke-dashoffset: 0; }

.atlas__pin {
  position: absolute;
  z-index: 1;
  width: 18px;
  height: 18px;
  translate: -50% -50%;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.atlas__pin::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-hi);
  box-shadow: 0 0 0 2px rgba(6, 23, 15, .9), 0 0 14px rgba(234, 211, 155, .7);
  transition: transform .45s var(--ease-lux), box-shadow .45s ease;
}
.atlas__pin.is-open::before { width: 8px; height: 8px; background: var(--emerald-900); box-shadow: inset 0 0 0 1.5px var(--gold-hi), 0 0 0 2px rgba(6, 23, 15, .9); }
.atlas__pin:hover::before, .atlas__pin:focus-visible::before, .atlas__pin.is-active::before { transform: scale(1.5); }
.atlas__pin.is-active { z-index: 2; }
.atlas__pin:focus-visible { outline: 1px solid var(--gold-hi); outline-offset: 1px; }
.atlas__pin.is-latest::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid rgba(234, 211, 155, .8);
  animation: pin-pulse 2.6s var(--ease-lux) infinite;
}

/* the luggage tag that names a pin */
.atlas__tip {
  --dx: -50%;
  --dy: calc(-100% - 15px);
  position: absolute;
  z-index: 3;
  pointer-events: none;
  translate: var(--dx) var(--dy);
  padding: 9px 15px 10px;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(160deg, #fbf6ea, #efe5cf);
  color: var(--ink);
  border-radius: 2px;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(148, 114, 58, .55), inset 0 0 0 3px #f7f0df, inset 0 0 0 4px rgba(148, 114, 58, .3);
  opacity: 0;
  transition: opacity .35s ease;
}
.atlas__tip.is-on { opacity: 1; }
.atlas__tip::after {
  content: "";
  position: absolute;
  left: var(--ax, 50%);
  top: 100%;
  width: 9px;
  height: 9px;
  translate: -50% -50%;
  rotate: 45deg;
  background: #f0e6d1;
  box-shadow: 1px 1px 0 rgba(148, 114, 58, .55);
}
.atlas__tip[data-align="start"] { --dx: -20px; --ax: 20px; }
.atlas__tip[data-align="end"] { --dx: calc(-100% + 20px); --ax: calc(100% - 20px); }
.atlas__tip[data-side="below"] { --dy: 15px; }
.atlas__tip[data-side="below"]::after { top: 0; box-shadow: -1px -1px 0 rgba(148, 114, 58, .55); }
.atlas__tip-year { display: block; font: 500 26px/1 var(--serif); color: var(--emerald-800); }
.atlas__tip-year.is-quiet { font: italic 500 16px/1.2 var(--serif); color: var(--gold-lo); }
.atlas__tip-place { display: block; margin-top: 6px; font: 500 9.5px/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-lo); }

.atlas__rose { position: absolute; right: 1.5%; bottom: 3%; width: 6.5%; min-width: 22px; overflow: visible; fill: none; stroke: rgba(234, 211, 155, .6); stroke-width: .8; }
.atlas__rose path { fill: rgba(234, 211, 155, .55); stroke: none; }
.atlas__rose .atlas__rose-minor { fill: rgba(234, 211, 155, .28); }
.atlas__rose text { fill: var(--gold-hi); stroke: none; font: 500 9px/1 var(--serif); text-anchor: middle; }

/* key: tucked into the open water off California and Mexico */
.atlas__key {
  position: absolute;
  left: 1%;
  bottom: 2%;
  display: grid;
  gap: 6px;
  font: italic 400 13px/1 var(--serif);
  color: rgba(247, 241, 228, .72);
}
.atlas__key span { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.atlas__key i { flex: none; width: 14px; height: 9px; display: grid; place-items: center; }
.atlas__key-dot::before, .atlas__key-ring::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 8px rgba(234, 211, 155, .6); }
.atlas__key-ring::before { background: transparent; box-shadow: inset 0 0 0 1.3px var(--gold-hi); }
.atlas__key-route { background: radial-gradient(circle, var(--gold-hi) 1px, transparent 1.4px) 0 50% / 4.5px 4px repeat-x; }

/* the years, set like a ledger */
.ledger {
  list-style: none;
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 14px 12px;
}
.ledger__entry {
  display: grid;
  gap: 5px;
  width: 100%;
  padding-top: 11px;
  border-top: 1px solid rgba(234, 211, 155, .25);
  text-align: left;
  color: inherit;
  transition: border-color .4s ease;
}
.ledger__year { font: 400 24px/1 var(--serif); color: var(--gold-hi); }
.ledger__place { font: italic 400 15px/1.2 var(--serif); color: rgba(247, 241, 228, .8); transition: color .4s ease; }
button.ledger__entry:hover, .ledger__entry.is-active { border-top-color: var(--gold); }
button.ledger__entry:hover .ledger__place, .ledger__entry.is-active .ledger__place { color: var(--ivory); }
.ledger__entry.is-quiet .ledger__year { color: rgba(234, 211, 155, .62); }
.ledger__entry.is-quiet .ledger__place { color: rgba(247, 241, 228, .58); }
.ledger__also {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  row-gap: 6px;
  font: italic 400 16px/1.3 var(--serif);
  color: rgba(247, 241, 228, .8);
}
.ledger__label {
  width: 100%;
  margin-bottom: 6px;
  font: normal 400 10.5px/1 var(--sans);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
}
.ledger__also button { color: inherit; font: inherit; transition: color .4s ease; }
.ledger__also button + button::before { content: "·"; display: inline-block; margin: 0 10px; color: var(--gold); }
.ledger__also button:hover, .ledger__also button.is-active { color: var(--gold-hi); }

@media (min-width: 861px) {
  /* the map zone's text panel needs a little more of the screen */
  .zone--map .zone__content { width: min(560px, 42vw); }
}
/* Shorter laptop screens: the chart scales with the height so the whole panel
   fits without scrolling. The undated cities stay on the map as open pins. */
@media (min-width: 861px) and (max-height: 880px) {
  .zone--map .zone__intro { display: none; }
}
@media (min-width: 861px) and (max-height: 800px) {
  .zone--map .zone__title { margin: 14px 0 10px; font-size: clamp(40px, 4.2vw, 60px); }
  .zone--map .atlas { max-width: calc((100vh - 460px) * 1.6 + 36px); }
  .zone--map .ledger__also { display: none; }
}

/* ------------------------------------------------------------------
   Top bar
   ------------------------------------------------------------------ */
.topbar {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(18px, env(safe-area-inset-top)) var(--gutter) 18px;
  pointer-events: none;
  color: var(--chrome-ink);
  transition-property: opacity, transform, color;
}
.topbar > * { pointer-events: auto; }
/* Crest + the three family names, a heritage lockup */
.topbar__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  color: var(--chrome-ink);
  transition: color .8s ease;
}
.topbar__crest { width: 48px; height: 48px; flex: none; border-radius: 50%; }
.topbar__names {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-left: 14px;
  border-left: 1px solid var(--chrome-line);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  letter-spacing: .07em;
  font-variant-caps: small-caps; /* keeps the capital C in McClary */
  white-space: nowrap;
  transition: border-color .8s ease;
}
.topbar__names i {
  width: 4px;
  height: 4px;
  flex: none;
  background: var(--gold);
  transform: rotate(45deg);
}
.topbar__brand:hover .topbar__names span { color: var(--gold-hi); }
.topbar__names span { transition: color .4s ease; }

/* Medium screens: stack the names so the cabin nav keeps its room */
@media (min-width: 861px) and (max-width: 1240px) {
  .topbar__names { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 13.5px; line-height: 1.05; }
  .topbar__names i { display: none; }
}

.topbar__nav { display: flex; gap: clamp(16px, 2.4vw, 42px); }
.topbar__nav button {
  position: relative;
  padding: 8px 0;
  font: 400 11.5px/1 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--chrome-ink);
  opacity: .72;
  transition: opacity .4s ease, color .8s ease;
}
.topbar__nav button::after {
  content: "";
  position: absolute;
  left: 0;
  right: .24em;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease-lux);
}
.topbar__nav button:hover { opacity: 1; }
.topbar__nav button.is-active { opacity: 1; }
.topbar__nav button.is-active::after { transform: scaleX(1); }

.topbar__menu {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--chrome-line);
  display: grid;
  place-content: center;
  gap: 6px;
  color: var(--chrome-ink);
  transition: border-color .8s ease, color .8s ease, background .4s ease;
}
.topbar__menu:hover { background: rgba(201, 166, 94, .14); }
.topbar__menu span { display: block; width: 16px; height: 1px; background: currentColor; transition: transform .5s var(--ease-lux); }
.topbar__menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.topbar__menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ------------------------------------------------------------------
   Flight path progress
   ------------------------------------------------------------------ */
.flightpath {
  position: fixed;
  z-index: 45;
  left: var(--gutter);
  right: var(--gutter);
  bottom: max(22px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(180px, 26%) 1fr;
  grid-template-rows: auto auto;
  column-gap: 32px;
  row-gap: 8px;
  align-items: center;
  color: var(--chrome-ink);
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.4s var(--ease-lux), transform 1.4s var(--ease-lux), color .8s ease;
}
body.is-revealed[data-scene="cabin"] .flightpath { opacity: 1; transform: none; }
.flightpath__label { grid-row: 1 / span 2; display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.flightpath__num { font: 400 11px/1 var(--sans); letter-spacing: .3em; color: var(--gold); }
body[data-scene="sky"] .flightpath__num { color: var(--gold-lo); }
.flightpath__name { font: italic 400 19px/1 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flightpath__line { position: relative; height: 14px; }
.flightpath__line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px dashed var(--chrome-line);
}
.flightpath__fill {
  position: absolute;
  left: 0;
  top: 50%;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--gold-lo), var(--gold));
  transform-origin: left center;
  transform: scaleX(0);
}
.flightpath__ticks { position: absolute; inset: 0; }
.flightpath__ticks i {
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--chrome-ink);
  opacity: .45;
  transition: opacity .5s ease, background .5s ease;
}
.flightpath__ticks i.is-past { background: var(--gold); opacity: 1; }
.flightpath__jet {
  position: absolute;
  top: 50%;
  left: 0;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  color: var(--gold);
  will-change: transform;
}
.flightpath__jet svg { width: 100%; height: 100%; fill: currentColor; transform: rotate(90deg); }
.flightpath__ends {
  display: flex;
  justify-content: space-between;
  font: 400 9.5px/1 var(--sans);
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: .6;
}

/* ------------------------------------------------------------------
   Swipe hint
   ------------------------------------------------------------------ */
.hint {
  position: fixed;
  z-index: 44;
  left: 50%;
  bottom: clamp(84px, 12vh, 120px);
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--chrome-ink);
  font: 400 10.5px/1 var(--sans);
  letter-spacing: .3em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s var(--ease-lux), color .8s ease;
}
body.show-hint .hint { opacity: .85; }
.hint__pad {
  position: relative;
  width: 34px;
  height: 24px;
  border: 1px solid currentColor;
  border-radius: 5px;
  opacity: .8;
}
.hint__pad i, .hint__pad i::after {
  position: absolute;
  top: 7px;
  width: 4px;
  height: 8px;
  border-radius: 3px;
  background: currentColor;
}
.hint__pad i { left: 16px; animation: swipe 2.2s var(--ease-lux) infinite; }
.hint__pad i::after { content: ""; left: 6px; top: 0; }
@keyframes swipe {
  0%   { transform: translateX(6px); opacity: 0; }
  20%  { opacity: 1; }
  70%  { transform: translateX(-10px); opacity: 1; }
  100% { transform: translateX(-10px); opacity: 0; }
}

/* ------------------------------------------------------------------
   Flight menu
   ------------------------------------------------------------------ */
.menu {
  position: fixed;
  inset: 0;
  z-index: 48;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 100% at 30% 30%, rgba(16, 49, 38, .97), rgba(6, 23, 15, .985));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fade-in .6s var(--ease-lux) both;
  opacity: 0;
}
.menu__inner { width: min(760px, 86vw); }
.menu__kicker { font: 400 11px/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; color: var(--gold); margin-bottom: 26px; }
.menu__list { list-style: none; counter-reset: zone; }
.menu__list li { border-top: 1px solid rgba(234, 211, 155, .18); }
.menu__list li:last-child { border-bottom: 1px solid rgba(234, 211, 155, .18); }
.menu__list button {
  width: 100%;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 16px 4px;
  text-align: left;
  color: var(--ivory);
  transition: color .4s ease, padding .6s var(--ease-lux);
}
.menu__list button:hover { color: var(--gold-hi); padding-left: 14px; }
.menu__num { font: 400 12px/1 var(--sans); letter-spacing: .3em; color: var(--gold); }
.menu__name { font: 300 clamp(30px, 4.4vw, 54px)/1 var(--serif); }
.menu__cabin { font: italic 400 16px/1 var(--serif); color: rgba(247, 241, 228, .6); }

/* ------------------------------------------------------------------
   Passenger card
   ------------------------------------------------------------------ */
.card-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 23, 15, .62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fade-in .5s var(--ease-lux) both;
  opacity: 0;
}
.pcard {
  position: relative;
  width: min(420px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 38px 34px 34px;
  text-align: center;
  color: var(--ink);
  background: linear-gradient(165deg, #fdf9ef, #efe5cf);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(148, 114, 58, .6), inset 0 0 0 7px #f8f1e1, inset 0 0 0 8px rgba(148, 114, 58, .4);
  animation: card-in .7s var(--ease-lux) both;
  touch-action: pan-y;
}
@keyframes card-in { from { transform: translateY(18px) scale(.98); } to { transform: none; } }
.pcard__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  font: 300 26px/1 var(--serif);
  color: var(--gold-lo);
}
.pcard__portrait {
  width: 150px;
  height: 188px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 35%, var(--emerald-600), var(--emerald-900));
  box-shadow: 0 0 0 1px var(--gold), 0 0 0 5px #f8f1e1, 0 0 0 6px rgba(148, 114, 58, .6), 0 18px 40px -14px rgba(0, 0, 0, .5);
  font: italic 500 54px/1 var(--serif);
  color: var(--gold-hi);
}
.pcard__portrait img { width: 100%; height: 100%; object-fit: cover; }
.pcard__portrait .silhouette { stroke-width: 1; }
.pcard__seat { font: 500 10px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--gold-lo); }
.pcard__name { margin: 10px 0 6px; font: 500 30px/1.05 var(--serif); }
.pcard__relation { font: italic 400 17px/1.3 var(--serif); color: rgba(16, 35, 27, .75); }
.pcard__years { margin-top: 4px; font: 400 11px/1 var(--sans); letter-spacing: .24em; color: var(--gold-lo); }
.pcard__story { margin-top: 18px; font: 400 17px/1.55 var(--serif); color: rgba(16, 35, 27, .85); }
.pcard__relation:empty, .pcard__years:empty, .pcard__story:empty { display: none; }
.pcard__note { margin-top: 16px; font: italic 400 12.5px/1.3 var(--serif); color: var(--gold-lo); }

/* ------------------------------------------------------------------
   Film grain
   ------------------------------------------------------------------ */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.noscript {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--emerald-900);
  color: var(--ivory);
  font: italic 400 22px/1.4 var(--serif);
}

/* ------------------------------------------------------------------
   Small screens
   ------------------------------------------------------------------ */
@media (max-width: 860px) {
  .topbar__nav { display: none; }
  .topbar__crest { width: 42px; height: 42px; }
  .topbar__brand { gap: 10px; }
  .topbar__names { gap: 8px; padding-left: 10px; font-size: 15px; letter-spacing: .05em; }
  .topbar__names i { width: 3px; height: 3px; }
  .topbar__menu { width: 42px; height: 42px; }

  .sky__still, .sky__video { object-position: 80% 50%; } /* favour the FMG tail on tall screens */
  /* that side of the frame is in cloud shadow, so lift the lower half with a cream haze */
  .sky__shade {
    background:
      linear-gradient(180deg, rgba(247, 241, 228, .38) 0%, rgba(247, 241, 228, 0) 16%),
      linear-gradient(0deg, rgba(247, 241, 228, .86) 0%, rgba(247, 241, 228, .66) 30%, rgba(247, 241, 228, 0) 54%);
  }
  .hero { flex-direction: column; align-items: center; justify-content: flex-end; gap: 22px; padding-bottom: max(34px, env(safe-area-inset-bottom)); text-align: center; }
  .hero__left { justify-items: center; }
  .hero__right { justify-items: center; padding-bottom: 0; }
  .hero__mark { margin-left: 0; font-size: clamp(92px, 28vw, 180px); }
  .hero__tagline { font-size: clamp(26px, 7.4vw, 40px); }
  .hero__lede { display: none; }
  .hero__cta { white-space: nowrap; }

  .zone__veil {
    background:
      linear-gradient(0deg, rgba(6, 23, 15, .94) 0%, rgba(6, 23, 15, .82) 42%, rgba(6, 23, 15, .2) 70%, rgba(6, 23, 15, 0) 85%),
      linear-gradient(180deg, rgba(6, 23, 15, .6) 0%, rgba(6, 23, 15, 0) 18%);
  }
  .zone__content {
    left: var(--gutter);
    right: var(--gutter);
    width: auto;
    top: auto;
    bottom: 98px;
    translate: 0 0;
    max-height: 60vh;
  }
  .zone__title { margin: 14px 0 12px; font-size: clamp(38px, 11vw, 56px); }

  /* Zones with family seated in them open collapsed on phones */
  .zone.is-collapsible:not(.is-open) .zone__content > :not(.eyebrow):not(.zone__title):not(.zone__intro):not(.zone__toggle) { display: none; }
  .zone.is-collapsible:not(.is-open) .zone__veil {
    background:
      linear-gradient(0deg, rgba(6, 23, 15, .94) 0%, rgba(6, 23, 15, .78) 24%, rgba(6, 23, 15, 0) 46%),
      linear-gradient(180deg, rgba(6, 23, 15, .55) 0%, rgba(6, 23, 15, 0) 16%);
  }
  .zone.is-collapsible.is-open .zone__veil {
    background: linear-gradient(0deg, rgba(6, 23, 15, .96) 0%, rgba(6, 23, 15, .86) 55%, rgba(6, 23, 15, .6) 100%);
  }
  .zone.is-collapsible .zone__intro { font-size: 16px; }
  .zone__toggle {
    display: inline-flex;
    align-items: center;
    margin-top: 14px;
    padding: 11px 20px;
    border-radius: 999px;
    border: 1px solid rgba(234, 211, 155, .6);
    background: rgba(6, 23, 15, .55);
    font: 400 11px/1 var(--sans);
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--gold-hi);
  }
  .zone.is-open .zone__toggle { margin-top: 22px; }
  .placecards { gap: 10px; margin-top: 18px; }
  .placecard { grid-template-columns: 42px 1fr; padding: 12px 10px; gap: 2px 10px; }
  .placecard__portrait { width: 42px; height: 54px; font-size: 18px; }
  .placecard__name { font-size: 16px; }
  .placecard__rel { font-size: 12.5px; }
  .placecard__reserved { display: none; }
  .details { grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 18px; }
  .frames { gap: 8px; margin-top: 18px; }
  .frame { padding: 4px; }
  .frame__mat { padding: 5px; }
  .frame__caption { display: none; }
  .pass__grid { grid-template-columns: 1fr; }

  /* The map opens as a sheet over the lower part of the screen, so the family
     seated in the lounge stays in view above it. */
  .zone--map.is-open .zone__content { max-height: calc(100% - 98px - 37vh); }
  .zone--map.is-open .eyebrow, .zone--map.is-open .zone__intro { display: none; }
  .zone--map.is-open .zone__title { margin: 0 0 4px; font-size: 30px; }
  .zone--map.is-collapsible.is-open .zone__veil {
    background:
      linear-gradient(0deg, rgba(6, 23, 15, .97) 0%, rgba(6, 23, 15, .94) calc(100% - 37vh - 6px), rgba(6, 23, 15, 0) calc(100% - 37vh + 26px)),
      linear-gradient(180deg, rgba(6, 23, 15, .55) 0%, rgba(6, 23, 15, 0) 16%);
  }
  /* no one is seated in the stateroom, so its panel can sit on a deeper veil */
  .zone--signup .zone__veil {
    background:
      linear-gradient(0deg, rgba(6, 23, 15, .96) 0%, rgba(6, 23, 15, .9) 58%, rgba(6, 23, 15, .55) 78%, rgba(6, 23, 15, .25) 92%),
      linear-gradient(180deg, rgba(6, 23, 15, .6) 0%, rgba(6, 23, 15, 0) 18%);
  }
  .zone--signup .zone__content { max-height: calc(100% - 98px - 110px); }
  .pass--signup { padding: 18px 18px 16px; }
  .pass--signup .pass__grid { grid-template-columns: 1fr 1fr; gap: 12px 14px; }
  .pass--signup .pass__deadline { display: none; }
  .pass--signup .pass__foot { margin: 18px -18px 0; padding: 14px 18px 0; justify-content: flex-end; }
  .atlas { margin-top: 14px; padding: 10px 10px 8px; }
  .atlas::before { inset: 6px; }
  .atlas__key { position: static; display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 12.5px; }
  .atlas__tip { padding: 7px 11px 8px; }
  .atlas__tip-year { font-size: 21px; }
  .ledger { gap: 12px 10px; margin-top: 14px; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); }
  .ledger__year { font-size: 21px; }
  .ledger__place { font-size: 14.5px; }
  .ledger__also { font-size: 15px; }
  .agenda__items li { grid-template-columns: 70px 1fr; gap: 10px; }

  .flightpath { grid-template-columns: 1fr; row-gap: 10px; }
  .flightpath__label { grid-row: auto; }
  .flightpath__ends { display: none; }
  .hint { top: calc(max(18px, env(safe-area-inset-top)) + 70px); bottom: auto; }
}

/* Shorter phones: the welcome letter keeps clear of the founders' faces */
@media (max-width: 860px) and (max-height: 720px) {
  .zone--letter .eyebrow { display: none; }
  .zone--letter .zone__title { margin: 0 0 8px; font-size: 36px; }
  .letter__salutation { margin-bottom: 8px; font-size: 20px; }
  .letter p:not([class]) { font-size: 15px; margin-bottom: 8px; }
  .letter__signoff { margin-top: 10px; }
}

@media (max-width: 380px) {
  .topbar__brand { gap: 8px; }
  .topbar__names { gap: 6px; padding-left: 8px; font-size: 13px; letter-spacing: .03em; }
}
@media (max-width: 340px) {
  .pass--signup .pass__grid { grid-template-columns: 1fr; }
  .topbar__names { gap: 5px; font-size: 12px; letter-spacing: .02em; }
}

@media (max-height: 640px) and (min-width: 861px) {
  .zone__content { max-height: calc(100% - 170px); }
  .zone__title { margin: 12px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .flightpath { transition-duration: .01ms; transition-delay: 0s; }
  body.is-cruising .sky__drift { animation: none; }
  .hint__pad i, .seatpin::after, .atlas__pin.is-latest::after { animation: none; }
  .atlas__draw { transition: none; }
}
