/* Jet — the departures board, set flat.
 * Three colours and nothing else: Jet blue, white, black. No gradients, no
 * shadows, no decorative boxes. White paper for reading, one black band for
 * the departures board, blue for the tiles and accents. Split-flap cells (a
 * CSS port of Jhey Tompkins' flip-board, driven by site.js) live only on the
 * board. Two faces, both Google Fonts self-hosted under /fonts/ so the CSP
 * stays at 'self': Share Tech Mono for everything the board prints and Barlow
 * (200) for reading. No PNG or JPEG reaches _site/. */

@font-face {
  font-family: "Share Tech Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/share-tech-mono-400.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("/fonts/barlow-200.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/barlow-400.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/barlow-500.woff2") format("woff2");
}

:root {
  --ink: #000000;
  --paper: #ffffff;
  --blue: #0a3ad6;
  --blue-dark: #06258f;
  --tile: #161616;
  --line: #e5e5e5;
  --muted: #6b6b6b;
  --body: #333333;
  --dim: rgb(255 255 255 / 60%);
  --rule: rgb(255 255 255 / 22%);
  --font: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-weight: 200;
  --font-board: "Share Tech Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1296px;
}

* {
  box-sizing: border-box;
}

/* The builder emits one block per drink and hides all but the selected one
 * with the `hidden` attribute. A class that sets `display` outranks the UA
 * rule for [hidden], so without this every drink renders at once. */
[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: var(--font-weight);
  font-size: 19px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-board);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}

h2 {
  font-size: clamp(34px, 4vw, 48px);
}

h3 {
  font-size: 24px;
  letter-spacing: 0.02em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--blue);
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 72px;
  min-width: 0;
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Board lettering: small caps, wide tracking. */
.l13,
.l11,
nav a,
.btn,
form button,
form label,
.builder-shell label,
.builder-shell select,
.addon-picker legend,
.total,
.addon-row .price,
.menu-page .code,
.status,
.num,
.fare-text,
.film-clock {
  font-family: var(--font-board);
}

.l13 {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.l11 {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.kicker {
  color: var(--muted);
}

.lede,
.sub {
  font-weight: var(--font-weight);
  font-size: 22px;
  line-height: 1.3;
  color: var(--body);
  max-width: 46ch;
  text-wrap: pretty;
}

.sub {
  font-size: 24px;
  line-height: 1.25;
}

.display {
  display: flex;
  flex-direction: column;
  font-size: clamp(56px, 8.5vw, 132px);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.display .accent {
  color: var(--blue);
}

.display-2 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
}

.num {
  font-size: 22px;
  color: var(--blue);
  letter-spacing: 0.1em;
}

.chip {
  color: var(--blue);
}

/* Split-flap cells ----------------------------------------------------- */

.cells {
  position: relative;
  display: inline-flex;
}

.tiles {
  display: inline-flex;
  gap: 2px;
}

.cell {
  position: relative;
  display: inline-block;
  flex: none;
  color: var(--paper);
  font-family: var(--font-board);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  perspective: 2.6em;
  transform-style: preserve-3d;
  --tile-bg: var(--tile);
}

.cell.blue {
  --tile-bg: var(--blue);
}

.cell.dim {
  color: rgb(255 255 255 / 50%);
}

.cell::before,
.cell::after {
  content: "";
  position: absolute;
  width: calc(10% - 0.04em);
  height: calc(20% - 0.04em);
  background: var(--ink);
  top: 50%;
  translate: 0 -50%;
  z-index: 5;
}

.cell::before {
  left: 0;
}

.cell::after {
  right: 0;
}

.fl {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  background: var(--tile-bg);
}

.ut,
.ft {
  clip-path: polygon(
    0 0,
    100% 0,
    100% 40%,
    calc(90% + 0.02em) 40%,
    calc(90% + 0.02em) 48%,
    calc(10% - 0.02em) 48%,
    calc(10% - 0.02em) 40%,
    0 40%
  );
}

.ub,
.fb {
  clip-path: polygon(
    0 60%,
    calc(10% - 0.02em) 60%,
    calc(10% - 0.02em) 52%,
    calc(90% + 0.02em) 52%,
    calc(90% + 0.02em) 60%,
    100% 60%,
    100% 100%,
    0 100%
  );
}

/* site.js adds .ft/.fb (the outgoing character) when it turns a cell into
 * a drum and drives the four layers' transforms and brightness itself. */
.ub {
  z-index: 2;
}

.ft {
  z-index: 3;
}

.c2s {
  width: 48px;
  height: 80px;
  font-size: 66px;
}

.c1 {
  width: 24px;
  height: 48px;
  font-size: 34px;
}

.fare .dot {
  position: absolute;
  bottom: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--paper);
}

/* The point sits after the units digit; whole amounts have none. */
.fare.point-0 .dot {
  display: none;
}

.fare.point-1 .dot {
  left: 21px;
}

.fare.point-2 .dot {
  left: 47px;
}

.fare.point-3 .dot {
  left: 73px;
}

/* Header --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
  padding-top: 20px;
  padding-bottom: 20px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.markets {
  display: flex;
  gap: 12px;
}

.markets a {
  padding: 8px 0;
  color: var(--muted);
}

.markets a[aria-current="true"] {
  color: var(--blue);
}

.brand {
  display: flex;
  align-items: center;
}

/* The wordmark is a supplied brand asset, not a hand-authored SVG mark, so it
 * ships through <picture> like every other raster. */
.brand picture,
.brand img {
  display: block;
  width: auto;
  height: 28px;
}

.site-footer .brand picture,
.site-footer .brand img {
  height: 24px;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  display: inline-block;
  padding: 8px 0;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Buttons: flat squares, board lettering. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 26px;
  background: var(--blue);
  color: var(--paper);
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--blue);
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--paper);
}

.btn.small {
  height: 44px;
  padding: 0 20px;
  font-size: 13px;
  letter-spacing: 0.2em;
}

.btn.ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.app-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.app-buttons a {
  display: block;
}

.app-buttons img {
  display: block;
  width: auto;
  height: 44px;
}

/* Sections: white paper, one hairline rule at the top of each. */
section {
  padding: 72px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  flex-wrap: wrap;
  border-top: 1px solid var(--ink);
  padding-top: 24px;
  margin-bottom: 40px;
}

.section-head > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-head .lede {
  font-size: 19px;
  max-width: 40ch;
}

/* Hero ----------------------------------------------------------------- */

.hero {
  padding: 56px 0 72px;
}

.hero-in {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.hero-media {
  min-width: 0;
  display: flex;
  justify-content: center;
}

.hero-media picture,
.hero-media img {
  display: block;
  width: min(100%, 520px);
  height: auto;
}

/* Departures board: the one black band ---------------------------------- */

.board-section {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 64px;
}

.board-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.board-top .kicker {
  color: var(--dim);
}

.board-top .kicker a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.board {
  display: flex;
  flex-direction: column;
  overflow-x: auto;
}

.board .row {
  display: grid;
  grid-template-columns: 544px 76px 50px 84px 312px;
  gap: 16px;
  align-items: center;
  height: 56px;
  min-width: max-content;
}

.board .row.head {
  height: auto;
  padding: 0 0 10px;
  margin-bottom: 8px;
  color: var(--dim);
  border-bottom: 1px solid var(--rule);
}

.board .row.is-sold {
  opacity: 0.7;
}

.board a.row:hover .cell {
  --tile-bg: #262626;
}

.board a.row:hover .cell.blue {
  --tile-bg: var(--blue-dark);
}

.terminal {
  display: flex;
  gap: 24px;
  padding: 26px 0 10px;
  color: var(--dim);
  min-width: max-content;
}

/* Builder (boarding pass) ---------------------------------------------- */

.builder-shell {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.builder-shell label {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.builder-shell select {
  font: inherit;
  font-family: var(--font-board);
  font-size: 17px;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  margin-left: 12px;
  max-width: 100%;
}

.builder {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
}

.cup-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  overflow: hidden;
}

.cup-stage picture {
  position: absolute;
  inset: 0;
  width: 100%;
  display: block;
}

.cup-stage img {
  width: 100%;
  height: auto;
  display: block;
}

.pod-layer {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.pod-layer.on {
  opacity: 1;
}

.builder-pass {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.pass-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--muted);
}

.pass-row b {
  color: var(--ink);
  font-weight: 400;
  margin-left: 4px;
}

.addon-picker {
  border: 0;
  border-top: 1px solid var(--ink);
  margin: 0;
  min-width: 0;
  padding: 0;
}

.addon-picker legend {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0 8px 0 0;
}

.addon-picker ul {
  list-style: none;
  margin: 0;
  padding: 16px 0;
  display: grid;
  gap: 10px;
}

.addon-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 21px;
}

.addon-row input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--blue);
  flex: none;
}

.addon-row .price {
  color: var(--muted);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.addon-row.is-disabled {
  color: var(--muted);
}

.addon-row .why {
  font-size: 16px;
  color: var(--muted);
}

.notice {
  color: var(--ink);
  font-weight: 400;
  min-height: 1.5em;
}

.total {
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.allergens {
  color: var(--body);
}

/* Flight cards: the reference component the owner supplied, one per drink,
 * squared off to match the rest of the site: no radius, no shadow; the
 * image gradient stays so the text reads on the photo. ------------------- */

.flight-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15em, 1fr));
  gap: 1.5em 2em;
}

.flight-card {
  --card-white: #ffffff;
  --card-gray100: hsl(223 10% 90%);
  --card-gray150: hsl(223 10% 85%);
  position: relative;
  aspect-ratio: 16 / 28;
  background: var(--card-white);
  border: 1px solid var(--line);
  font-size: 16px;
  font-family: var(--font);
  font-weight: 400;
  color: var(--card-white);
  overflow: hidden;
}

.flight-card.is-sold {
  opacity: 0.7;
}

.flight-card__image-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.flight-card__image-container picture,
.flight-card__image {
  display: block;
  width: 100%;
  height: 100%;
}

.flight-card__image {
  object-fit: cover;
}

.flight-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(0 0% 0% / 90%), hsl(0 0% 0% / 30%) 50%, transparent);
  pointer-events: none;
}

.flight-card__favorite-btn {
  position: absolute;
  top: 1.25em;
  inset-inline-end: 1.25em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5em;
  height: 2.5em;
  border: 0;
  background: transparent;
  color: var(--card-white);
  cursor: pointer;
  padding: 0;
  font: inherit;
}

.flight-card__favorite-btn:hover {
  color: hsl(0 85% 60%);
}

.flight-card__favorite-btn[aria-pressed="true"] {
  color: hsl(0 85% 60%);
}

.flight-card__favorite-btn[aria-pressed="true"] svg {
  fill: currentColor;
}

.flight-card__favorite-btn svg {
  display: block;
}

.flight-card__content {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 1.125em 1.125em;
}

.flight-card__title {
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.625em;
  letter-spacing: -0.025em;
  line-height: 1;
  text-transform: none;
  color: var(--card-white);
  margin: 0 0 0.25em;
}

.flight-card__class,
.flight-card__details {
  font-size: 0.875em;
  margin-bottom: 1.5rem;
}

.flight-card__class {
  color: var(--card-gray150);
  font-weight: 200;
}

.flight-card__details {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--card-gray100);
}

.flight-card__detail-item {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 200;
}

.flight-card__detail-item svg {
  display: block;
  color: var(--card-gray150);
}

.flight-card__detail-item strong {
  font-weight: 500;
}

.flight-card__actions {
  display: flex;
  align-items: center;
  gap: 0.75em;
}

.flight-card__search-btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--card-white);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.75em;
  line-height: 1.3333;
  text-align: center;
}

.flight-card__search-btn:hover {
  background: var(--card-gray100);
  color: var(--ink);
}

/* Add-ons -------------------------------------------------------------- */

.addons {
  padding-top: 0;
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.addon-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 0 22px;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.addon-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.addon-card h3 {
  font-family: var(--font);
  font-weight: 400;
  font-size: 24px;
  text-transform: none;
  letter-spacing: 0;
}

.addon-card .fits {
  color: var(--blue);
}

.fare-text {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.addon-card.note {
  justify-content: flex-end;
  gap: 10px;
}

.addon-card.note p {
  color: var(--body);
}

/* Gates ---------------------------------------------------------------- */

.gates {
  padding-top: 0;
}

.gates-in {
  display: flex;
  flex-direction: column;
  gap: 48px;
  border-top: 1px solid var(--ink);
  padding-top: 32px;
}

.gates-copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.locs {
  border: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.loc {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.loc input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  accent-color: var(--blue);
}

.loc label {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.loc-name {
  font-family: var(--font-board);
  font-size: 22px;
  text-transform: uppercase;
}

.loc-address {
  font-size: 16px;
  color: var(--muted);
}

.status.open,
.status.soon {
  color: var(--blue);
}

/* Boarding pass: the ticket the owner supplied, recoloured to Jet blue, set
 * in the site's faces and carrying the wordmark; its box-shadow
 * perforations and bars stay. It is 600x250 by design; site.js scales the
 * wrapper to fit. */

.pass-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  height: calc(250px * var(--ticket-scale, 1));
}

.ticket {
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 250px;
  background: var(--blue);
  border-radius: 3px;
  box-shadow: 0 0 100px #aaa;
  border-top: 1px solid var(--blue-dark);
  border-bottom: 1px solid var(--blue-dark);
  transform: scale(var(--ticket-scale, 1));
  transform-origin: top left;
  font-family: var(--font-board);
  text-transform: uppercase;
}

.ticket .left {
  margin: 0;
  padding: 0;
  list-style: none;
  position: absolute;
  top: 0px;
  left: -5px;
}

.ticket .left li,
.ticket .right li {
  width: 0px;
  height: 0px;
}

.ticket .left li:nth-child(-n + 2) {
  margin-top: 8px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 5px solid var(--blue);
}

.ticket .left li:nth-child(3),
.ticket .left li:nth-child(6) {
  margin-top: 8px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 5px solid #eeeeee;
}

.ticket .left li:nth-child(4) {
  margin-top: 8px;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 5px solid #eeeeee;
}

.ticket .left li:nth-child(5) {
  margin-top: 8px;
  margin-left: -1px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 6px solid #eeeeee;
}

.ticket .left li:nth-child(7),
.ticket .left li:nth-child(9),
.ticket .left li:nth-child(11),
.ticket .left li:nth-child(12) {
  margin-top: 7px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 5px solid #e5e5e5;
}

.ticket .left li:nth-child(8) {
  margin-top: 7px;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 5px solid #e5e5e5;
}

.ticket .left li:nth-child(10) {
  margin-top: 7px;
  margin-left: 1px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 5px solid #e5e5e5;
}

.ticket .left li:nth-child(13) {
  margin-top: 7px;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 5px solid var(--blue);
}

.ticket .left li:nth-child(14) {
  margin-top: 7px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 5px solid var(--blue);
}

.ticket .right {
  margin: 0;
  padding: 0;
  list-style: none;
  position: absolute;
  top: 0px;
  right: -5px;
}

.ticket .right li:nth-child(-n + 2) {
  margin-top: 8px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid var(--blue);
}

.ticket .right li:nth-child(3),
.ticket .right li:nth-child(4),
.ticket .right li:nth-child(6) {
  margin-top: 8px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #eeeeee;
}

.ticket .right li:nth-child(5) {
  margin-top: 8px;
  margin-left: -2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #eeeeee;
}

.ticket .right li:nth-child(8),
.ticket .right li:nth-child(9),
.ticket .right li:nth-child(11) {
  margin-top: 7px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #e5e5e5;
}

.ticket .right li:nth-child(7) {
  margin-top: 7px;
  margin-left: -3px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #e5e5e5;
}

.ticket .right li:nth-child(10) {
  margin-top: 7px;
  margin-left: -2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #e5e5e5;
}

.ticket .right li:nth-child(12) {
  margin-top: 7px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #e5e5e5;
}

.ticket .right li:nth-child(13),
.ticket .right li:nth-child(14) {
  margin-top: 7px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid var(--blue);
}

.ticket:after {
  content: "";
  position: absolute;
  right: 200px;
  top: 0px;
  width: 2px;
  height: 250px;
  box-shadow:
    inset 0 0 0 var(--blue),
    inset 0 -10px 0 var(--blue-dark),
    inset 0 -20px 0 var(--blue),
    inset 0 -30px 0 var(--blue-dark),
    inset 0 -40px 0 var(--blue),
    inset 0 -50px 0 var(--muted) 999,
    inset 0 -60px 0 #e5e5e5,
    inset 0 -70px 0 var(--muted) 999,
    inset 0 -80px 0 #e5e5e5,
    inset 0 -90px 0 var(--muted) 999,
    inset 0 -100px 0 #e5e5e5,
    inset 0 -110px 0 var(--muted) 999,
    inset 0 -120px 0 #e5e5e5,
    inset 0 -130px 0 var(--muted) 999,
    inset 0 -140px 0 #e5e5e5,
    inset 0 -150px 0 #b0b0b0,
    inset 0 -160px 0 #eeeeee,
    inset 0 -170px 0 #b0b0b0,
    inset 0 -180px 0 #eeeeee,
    inset 0 -190px 0 #b0b0b0,
    inset 0 -200px 0 #eeeeee,
    inset 0 -210px 0 #b0b0b0,
    inset 0 -220px 0 var(--blue),
    inset 0 -230px 0 var(--blue-dark),
    inset 0 -240px 0 var(--blue),
    inset 0 -250px 0 var(--blue-dark);
}

.ticket:before {
  content: "";
  position: absolute;
  z-index: 5;
  right: 199px;
  top: 0px;
  width: 1px;
  height: 250px;
  box-shadow:
    inset 0 0 0 var(--blue),
    inset 0 -10px 0 #7c9bff,
    inset 0 -20px 0 var(--blue),
    inset 0 -30px 0 #7c9bff,
    inset 0 -40px 0 var(--blue),
    inset 0 -50px 0 #ffffff,
    inset 0 -60px 0 #e5e5e5,
    inset 0 -70px 0 #ffffff,
    inset 0 -80px 0 #e5e5e5,
    inset 0 -90px 0 #ffffff,
    inset 0 -100px 0 #e5e5e5,
    inset 0 -110px 0 #ffffff,
    inset 0 -120px 0 #e5e5e5,
    inset 0 -130px 0 #ffffff,
    inset 0 -140px 0 #e5e5e5,
    inset 0 -150px 0 #ffffff,
    inset 0 -160px 0 #eeeeee,
    inset 0 -170px 0 #ffffff,
    inset 0 -180px 0 #eeeeee,
    inset 0 -190px 0 #ffffff,
    inset 0 -200px 0 #eeeeee,
    inset 0 -210px 0 #ffffff,
    inset 0 -220px 0 var(--blue),
    inset 0 -230px 0 #7c9bff,
    inset 0 -240px 0 var(--blue),
    inset 0 -250px 0 #7c9bff;
}

.ticket .content {
  position: absolute;
  top: 40px;
  width: 100%;
  height: 170px;
  background: #eee;
}

.ticket .airline {
  position: absolute;
  top: 10px;
  left: 10px;
}

/* The wordmark is blue; on the blue head it prints white. */
.ticket .airline picture,
.ticket .airline img {
  display: block;
  width: auto;
  height: 20px;
  filter: brightness(0) invert(1);
}

.ticket .boarding {
  position: absolute;
  top: 10px;
  right: 220px;
  font-family: var(--font-board);
  font-size: 13px;
  letter-spacing: 0.2em;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.ticket .jfk {
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: var(--font-board);
  font-size: 38px;
  color: var(--ink);
}

.ticket .sfo {
  position: absolute;
  top: 10px;
  left: 180px;
  font-family: var(--font-board);
  font-size: 38px;
  color: var(--ink);
}

.ticket .plane {
  position: absolute;
  left: 105px;
  top: 0px;
  width: 60px;
  height: 60px;
  color: var(--ink);
}

.ticket .plane svg {
  width: 100%;
  height: 100%;
}

.ticket .sub-content {
  background: #e5e5e5;
  width: 100%;
  height: 100px;
  position: absolute;
  top: 70px;
}

.ticket .watermark {
  position: absolute;
  left: 5px;
  top: -10px;
  font-family: var(--font-board);
  font-size: 110px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.2);
}

.ticket .name {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-board);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.ticket .name span {
  color: var(--body);
  font-size: 17px;
  letter-spacing: 0;
  display: block;
  margin-top: 2px;
}

.ticket .flight {
  position: absolute;
  top: 10px;
  left: 180px;
  font-family: var(--font-board);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.ticket .flight span {
  color: var(--body);
  font-size: 17px;
  letter-spacing: 0;
  display: block;
  margin-top: 2px;
}

.ticket .gate {
  position: absolute;
  top: 10px;
  left: 280px;
  font-family: var(--font-board);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.ticket .gate span {
  color: var(--body);
  font-size: 17px;
  letter-spacing: 0;
  display: block;
  margin-top: 2px;
}

.ticket .seat {
  position: absolute;
  top: 10px;
  left: 350px;
  font-family: var(--font-board);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.ticket .seat span {
  color: var(--body);
  font-size: 17px;
  letter-spacing: 0;
  display: block;
  margin-top: 2px;
}

.ticket .boardingtime {
  position: absolute;
  top: 60px;
  left: 10px;
  font-family: var(--font-board);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.ticket .boardingtime span {
  color: var(--body);
  font-size: 17px;
  letter-spacing: 0;
  display: block;
  margin-top: 2px;
}

/* The barcodes print on the blue foot band, below the grey fields. */
.ticket .barcode {
  position: absolute;
  left: 8px;
  bottom: 5px;
  height: 30px;
  width: 90px;
  background: var(--ink);
  box-shadow:
    inset 0 1px 0 var(--blue),
    inset -2px 0 0 var(--blue),
    inset -4px 0 0 var(--ink),
    inset -5px 0 0 var(--blue),
    inset -6px 0 0 var(--ink),
    inset -9px 0 0 var(--blue),
    inset -12px 0 0 var(--ink),
    inset -13px 0 0 var(--blue),
    inset -14px 0 0 var(--ink),
    inset -15px 0 0 var(--blue),
    inset -16px 0 0 var(--ink),
    inset -17px 0 0 var(--blue),
    inset -19px 0 0 var(--ink),
    inset -20px 0 0 var(--blue),
    inset -23px 0 0 var(--ink),
    inset -25px 0 0 var(--blue),
    inset -26px 0 0 var(--ink),
    inset -26px 0 0 var(--blue),
    inset -27px 0 0 var(--ink),
    inset -30px 0 0 var(--blue),
    inset -31px 0 0 var(--ink),
    inset -33px 0 0 var(--blue),
    inset -35px 0 0 var(--ink),
    inset -37px 0 0 var(--blue),
    inset -40px 0 0 var(--ink),
    inset -43px 0 0 var(--blue),
    inset -44px 0 0 var(--ink),
    inset -45px 0 0 var(--blue),
    inset -46px 0 0 var(--ink),
    inset -48px 0 0 var(--blue),
    inset -49px 0 0 var(--ink),
    inset -50px 0 0 var(--blue),
    inset -52px 0 0 var(--ink),
    inset -54px 0 0 var(--blue),
    inset -55px 0 0 var(--ink),
    inset -57px 0 0 var(--blue),
    inset -59px 0 0 var(--ink),
    inset -61px 0 0 var(--blue),
    inset -64px 0 0 var(--ink),
    inset -66px 0 0 var(--blue),
    inset -67px 0 0 var(--ink),
    inset -68px 0 0 var(--blue),
    inset -69px 0 0 var(--ink),
    inset -71px 0 0 var(--blue),
    inset -72px 0 0 var(--ink),
    inset -73px 0 0 var(--blue),
    inset -75px 0 0 var(--ink),
    inset -77px 0 0 var(--blue),
    inset -80px 0 0 var(--ink),
    inset -82px 0 0 var(--blue),
    inset -83px 0 0 var(--ink),
    inset -84px 0 0 var(--blue),
    inset -86px 0 0 var(--ink),
    inset -88px 0 0 var(--blue),
    inset -89px 0 0 var(--ink),
    inset -90px 0 0 var(--blue);
}

.ticket .slip {
  left: 455px;
}

.ticket .nameslip {
  top: 60px;
  left: 410px;
}

.ticket .flightslip {
  left: 410px;
}

.ticket .seatslip {
  left: 540px;
}

.ticket .jfkslip {
  font-size: 30px;
  top: 20px;
  left: 410px;
}

.ticket .sfoslip {
  font-size: 30px;
  top: 20px;
  left: 530px;
}

.ticket .planeslip {
  top: 10px;
  left: 475px;
  width: 45px;
  height: 45px;
}

.ticket .airlineslip {
  left: 455px;
}

/* Waitlist ------------------------------------------------------------- */

.waitlist {
  padding-top: 0;
}

.waitlist-in {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: center;
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}

.waitlist-in > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

form label {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

form input[type="email"] {
  font: inherit;
  height: 56px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  max-width: 100%;
  min-width: 0;
  flex: 1 1 240px;
}

form input[type="email"]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

form button {
  font: inherit;
  font-family: var(--font-board);
  height: 56px;
  padding: 0 26px;
  background: var(--blue);
  color: var(--paper);
  border: 0;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

form button:hover {
  background: var(--blue-dark);
}

/* FAQ ------------------------------------------------------------------ */

.faq {
  padding-top: 0;
}

.faq-in {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 64px;
  align-items: start;
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}

.faq-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-copy .lede {
  font-size: 19px;
}

/* Questions are native accordions: no script, a plus that turns to a minus. */
.faq-row {
  border-bottom: 1px solid var(--line);
}

.faq-row summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
}

.faq-row summary::-webkit-details-marker {
  display: none;
}

.faq-row summary::after {
  content: "+";
  font-family: var(--font-board);
  font-size: 26px;
  line-height: 1;
  color: var(--blue);
  flex: none;
}

.faq-row[open] summary::after {
  content: "−";
}

.faq-row h3 {
  font-family: var(--font);
  font-weight: 400;
  font-size: 22px;
  text-transform: none;
  letter-spacing: 0;
}

.faq-row p {
  color: var(--body);
  padding: 0 0 22px;
  max-width: 60ch;
}

/* Footer --------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--ink);
  padding: 32px 0 28px;
}

.footer-in {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 28px;
}

.socials {
  display: flex;
  gap: 16px;
}

.social {
  display: block;
  color: var(--ink);
}

.social:hover {
  color: var(--blue);
}

.social svg {
  display: block;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

/* Drink page ----------------------------------------------------------- */

.crumbs {
  padding-top: 24px;
  color: var(--muted);
}

.drink-hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 0 40px;
}

.drink-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
}

.drink-row .status {
  color: var(--blue);
}

.drink-row .status.dim {
  color: var(--muted);
}

.drink-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
}

.drink-hero .meta {
  color: var(--muted);
}

.sold-note {
  color: var(--ink);
}

main.wrap > .builder {
  margin-bottom: 88px;
}

/* Documents (terms, privacy) ------------------------------------------ */

.document {
  padding-top: 40px;
  padding-bottom: 88px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
  margin-left: 0;
}

.document h1 {
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 8px;
}

.document p {
  color: var(--body);
  max-width: 65ch;
}

/* Printable menu ------------------------------------------------------- */

.menu-page {
  padding-top: 32px;
  padding-bottom: 88px;
}

.menu-page h1 {
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 8px;
}

.menu-page h2 {
  margin: 40px 0 12px;
}

.menu-page ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}

.menu-page li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.menu-page h3 {
  font-family: var(--font);
  font-weight: 400;
  font-size: 22px;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 6px;
}

.menu-page .code {
  color: var(--blue);
  margin-right: 8px;
}

.menu-page li p {
  color: var(--body);
}

/* Operator page (/own/) ------------------------------------------------ */

.op-hero {
  padding: 56px 0 64px;
}

.op-hero-in {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 880px;
}

.op-hero .sub {
  max-width: 520px;
}

/* The film. At rest (no JS, or reduced motion) this is a video with controls
 * and the four stops listed under it. site.js adds .is-scrub, which makes the
 * section tall and the stage sticky, so scrolling the section seeks the
 * video. The height assumes the three-clip film: 120vh of scroll per clip
 * plus one viewport so the last frame holds before the page moves on. */
.film {
  padding: 0;
}

.film-stage {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 24px 72px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-top: 1px solid var(--ink);
}

.film-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.film-kicker,
.film-hint {
  color: var(--muted);
}

.film-hint {
  display: none;
}

.film-stage video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 960 / 550;
}

.film-stops {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.film-stops li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  min-width: 0;
  transition: opacity 0.25s ease;
}

.film-clock {
  font-size: 22px;
  color: var(--blue);
  letter-spacing: 0.1em;
}

.film-stops h3 {
  font-size: 22px;
  margin-top: 4px;
}

.film-stops p {
  font-size: 16px;
  color: var(--body);
}

.film.is-scrub {
  height: 460vh;
}

.film.is-scrub .film-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  padding-top: 92px;
  padding-bottom: 24px;
  justify-content: center;
  border-top: 0;
}

.film.is-scrub video {
  width: min(100%, calc((100vh - 320px) * 960 / 550));
  margin: 0 auto;
}

.film.is-scrub .film-stops li {
  opacity: 0.35;
}

.film.is-scrub .film-stops li[aria-current] {
  opacity: 1;
  border-top-color: var(--ink);
}

.film.is-scrub .film-hint {
  display: block;
}

.op-rows {
  margin: 0;
  border-top: 1px solid var(--ink);
}

.op-rows div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.op-rows dt {
  font-family: var(--font-board);
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.op-rows dd {
  margin: 0;
}

.checkin-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 48px;
  border-top: 1px solid var(--ink);
  padding-top: 32px;
}

.checkin-in h2 {
  max-width: 18ch;
}

/* Responsive ----------------------------------------------------------- */

@media (max-width: 1100px) {
  .wrap,
  .film-stage {
    padding-left: 40px;
    padding-right: 40px;
  }

  .addons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Narrower board: smaller cells, same columns. */
  .board .c1 {
    width: 18px;
    height: 36px;
    font-size: 26px;
  }

  .board .row {
    grid-template-columns: 418px 58px 38px 64px 238px;
    gap: 12px;
    height: 44px;
  }

  .board .fare .dot {
    bottom: 6px;
    width: 4px;
    height: 4px;
  }

  .board .fare.point-1 .dot {
    left: 16px;
  }

  .board .fare.point-2 .dot {
    left: 36px;
  }

  .board .fare.point-3 .dot {
    left: 56px;
  }
}

@media (max-width: 900px) {
  .hero-in,
  .waitlist-in,
  .faq-in,
  .checkin-in {
    grid-template-columns: 1fr;
  }

  .hero-media picture,
  .hero-media img {
    width: min(100%, 360px);
  }

  .builder {
    grid-template-columns: 1fr;
  }

  .film-stops {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .op-rows div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-in {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wrap,
  .film-stage {
    padding-left: 20px;
    padding-right: 20px;
  }

  body {
    font-size: 18px;
  }

  .header-in {
    flex-wrap: wrap;
    gap: 12px;
  }

  .header-right {
    gap: 16px;
    flex-wrap: wrap;
  }

  nav ul {
    gap: 0 16px;
  }

  .c2s {
    width: 36px;
    height: 60px;
    font-size: 50px;
  }

  /* Phone board: the departure on its own line, the rest wrapped under it,
   * on 14 px cells so twenty-one letters fit a 335 px column. */
  .board .row.head {
    display: none;
  }

  .board .row,
  .terminal {
    min-width: 0;
  }

  .board .row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    height: auto;
    padding: 10px 0;
    border-bottom: 1px solid var(--rule);
  }

  .board .row .cells:first-child {
    flex-basis: 100%;
  }

  .board .tiles {
    gap: 1px;
  }

  .board .c1 {
    width: 14px;
    height: 28px;
    font-size: 20px;
  }

  .board .fare .dot {
    bottom: 5px;
    width: 3px;
    height: 3px;
  }

  .board .fare.point-1 .dot {
    left: 12px;
  }

  .board .fare.point-2 .dot {
    left: 27px;
  }

  .board .fare.point-3 .dot {
    left: 42px;
  }

  .addons-grid,
  .film-stops {
    grid-template-columns: 1fr;
  }

  .film.is-scrub .film-stops li:not([aria-current]) {
    display: none;
  }

  /* The wrapped phone header is ~240px tall and sticky, so the sticky stage
   * starts below it instead of centring under it. */
  .film.is-scrub .film-stage {
    padding-top: 250px;
    justify-content: flex-start;
  }

  .sub,
  .lede {
    font-size: 20px;
  }
}

/* Motion --------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .pod-layer,
  .film-stops li {
    transition: none;
  }
}
