/* ============================================================================
   William Cain | Photographs

   The sister site to williamcain.net: same sky, same type, same orange.
   Where the portfolio is a day at the airfield, this one is the view through
   the camera: a viewfinder, a departures board, a takeoff you scroll through,
   boarding passes for each day out, and then every single frame.

   Type: Mona Sans (variable width + weight), Source Serif italic, Gochi Hand
   for notes in the margins, and B612 Mono (Airbus's cockpit typeface) for
   anything a camera or an airport would print.
   ========================================================================== */

@font-face { font-family: "Mona Sans"; src: url("../assets/fonts/mona-sans.woff2") format("woff2"); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../assets/fonts/source-serif-4-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Gochi Hand"; src: url("../assets/fonts/gochi-hand.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "B612 Mono"; src: url("../assets/fonts/b612-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "B612 Mono"; src: url("../assets/fonts/b612-mono-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #15202b;
  --ink-2: #3c4753;
  --ink-3: #4b5560;
  --paper: #fffdf8;
  --line: rgb(21 32 43 / .14);
  --night: #0f161e;

  --orange: #ff5a1f;
  --orange-deep: #9a2c06;
  --blue: #1f4fc4;
  --green-ink: #13703a;
  --yellow: #ffc928;
  --lcd: #8ef0b4;            /* the green readout in a Canon viewfinder */

  --c1: #c8f0da; --c2: #e4dbff; --c3: #ffd9bf; --c4: #ffd0d1; --c5: #cfe5ff; --c6: #fff0a6; --c7: #efe3cd;

  --mona: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --hand: "Gochi Hand", "Bradley Hand", "Segoe Print", cursive;
  --mono: "B612 Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --maxw: 1280px;
  --gutter: clamp(16px, 4.5vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pop: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: #f7c3b6;
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-behavior: smooth; scroll-padding-top: 84px;
}
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--mona);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  /* morning sky → golden hour, over the length of the page */
  background: linear-gradient(180deg, #cde5fb 0, #e3effa 900px, #faf6ee 2600px, #fdf0dc 55%, #fde3c9 76%, #fbd2bf 92%, #f7c3b6 100%);
}
img { max-width: 100%; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--yellow); color: var(--ink); }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hand { font-family: var(--hand); font-weight: 400; line-height: 1.15; }
.skip { position: absolute; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 12px; background: var(--yellow); font-weight: 700; text-decoration: none; transform: translateY(-200%); }
.skip:focus { transform: none; }
.arr { flex: none; width: 1.45em; height: .9em; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; rotate: var(--a, 0deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  border: 2px solid var(--ink); border-radius: 14px;
  font: 750 1rem/1 var(--mona); font-stretch: 105%;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: none; box-shadow: none; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-line { background: var(--paper); color: var(--ink); }
.btn-fuel { background: var(--orange); color: var(--ink); }
.btn-sm { padding: 9px 14px; font-size: .875rem; border-radius: 10px; }
.btn-big { padding: 18px 28px; font-size: 1.125rem; border-radius: 18px; }

/* ---------- top bar ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgb(255 253 248 / .72);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo { display: block; width: 44px; height: 44px; transition: rotate .2s var(--pop), scale .2s var(--pop); }
.brand:hover .logo { rotate: -8deg; scale: 1.08; }
.brand-name { font: 780 1.0625rem/1 var(--mona); font-stretch: 112%; letter-spacing: -.01em; }
.brand-sub { margin-left: 2px; font: 1.2rem/1 var(--hand); font-stretch: 100%; letter-spacing: 0; color: var(--orange-deep); }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { padding: 9px 13px; border-radius: 999px; font: 650 .9375rem/1 var(--mona); text-decoration: none; transition: background-color .15s, color .15s; }
.nav-links a:hover { background: rgb(21 32 43 / .07); }
.nav-links a[aria-current] { background: var(--ink); color: var(--paper); }
.nav-home { padding: 11px 16px; font-size: .875rem; border-radius: 12px; }

/* ---------- the little plane on the right ---------- */
.flight { display: none; }
@media (min-width: 1360px) {
  .flight { display: block; position: fixed; z-index: 20; top: 100px; bottom: 40px; right: clamp(14px, 2vw, 34px); width: 24px; pointer-events: none; }
}
.flight-line { position: absolute; top: 0; bottom: 0; left: 11px; border-left: 2px dashed rgb(21 32 43 / .22); }
.flight-stops { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.flight-stops li { position: absolute; right: 7px; display: flex; align-items: center; gap: 8px; transform: translateY(-50%); font: 700 .5625rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: transparent; white-space: nowrap; }
@media (min-width: 1760px) { .flight-stops li { color: rgb(21 32 43 / .45); } }
.flight-stops li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 2px solid rgb(21 32 43 / .35); }
.flight-stops li.passed::after { background: var(--orange); border-color: var(--orange); }
.flight-plane { position: absolute; left: 0; top: 0; width: 24px; height: 24px; fill: var(--orange); rotate: 180deg; translate: 0 var(--y, 0px); filter: drop-shadow(0 2px 0 rgb(21 32 43 / .25)); }

/* ======================================================================
   HERO
   ====================================================================== */
.hero { position: relative; padding: clamp(30px, 4.5vw, 72px) 0 clamp(80px, 9vw, 130px); }
.hero-wrap { container-type: inline-size; }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7.4fr);
  gap: clamp(24px, 3.4cqi, 56px);
  align-items: center;
}
.hero-copy { position: relative; z-index: 3; }
.hello { margin: 0 0 .1em .15em; font-size: clamp(1.5rem, 2.5cqi, 2.3rem); rotate: -4deg; transform-origin: left bottom; }

.lookup {
  margin: 0 -40% 0 0;            /* let "UP." spill over toward the viewfinder */
  font: 860 clamp(5.4rem, 15.4cqi, 13.5rem)/.8 var(--mona);
  font-stretch: 125%;
  letter-spacing: -.04em;
  color: var(--orange);
  pointer-events: none;
}
.lookup .line { display: block; white-space: nowrap; }
.lookup .line + .line { padding-left: .06em; }
.lookup .ch { display: inline-block; }
.js .lookup .ch { animation: name-in .9s var(--ease) both; animation-delay: calc(var(--i) * 55ms + 120ms); }
@keyframes name-in {
  from { opacity: 0; transform: translateY(.35em); font-variation-settings: "wdth" 75, "wght" 300; }
  to { opacity: 1; transform: none; font-variation-settings: "wdth" 125, "wght" 860; }
}
/* a hand-drawn arrow pointing up, after "UP." */
.lookup .up-arr { display: inline-block; width: .26em; height: .52em; margin-left: .08em; vertical-align: -.02em; color: var(--ink); }
.lookup .up-arr svg { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.js .lookup .up-arr { animation: up-bob 2.6s var(--ease) 1.4s infinite; }
@keyframes up-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -.08em; } }

.statement { margin: clamp(26px, 3cqi, 40px) 0 0; max-width: 20ch; font: 700 clamp(1.55rem, 2.6cqi, 2.2rem)/1.1 var(--mona); font-stretch: 108%; letter-spacing: -.025em; }
.intro { max-width: 40ch; margin: 14px 0 0; color: var(--ink-2); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }

/* ---------- the viewfinder ---------- */
.vf { position: relative; z-index: 2; margin: 0; rotate: 1deg; }
.vf-body {
  overflow: hidden;
  border: 2px solid var(--ink); border-radius: 26px;
  background: #090d12;
  box-shadow: 10px 10px 0 var(--ink), 0 50px 80px -46px rgb(21 32 43 / .65);
}
.vf-screen {
  position: relative; display: block; width: 100%;
  aspect-ratio: 3 / 2;
  margin: 0; padding: 0; border: 0;
  background: #0d141b;
  overflow: hidden;
  cursor: zoom-in;
}
.vf-screen:focus-visible { outline-offset: -6px; }
.vf-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: filter .38s var(--ease), scale .5s var(--ease);
}
.vf.hunting .vf-img { filter: blur(7px) saturate(.85); scale: 1.035; }
/* the view through the eyepiece: a soft dark edge */
.vf-overlay { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 90px rgb(0 0 0 / .38); }
.vf-corner { position: absolute; width: 8%; aspect-ratio: 1; border: 0 solid rgb(255 255 255 / .85); }
.vf-corner.c1 { top: 7%; left: 5%; border-width: 2px 0 0 2px; }
.vf-corner.c2 { top: 7%; right: 5%; border-width: 2px 2px 0 0; }
.vf-corner.c3 { bottom: 7%; left: 5%; border-width: 0 0 2px 2px; }
.vf-corner.c4 { bottom: 7%; right: 5%; border-width: 0 2px 2px 0; }
/* the T3i's nine autofocus points */
.vf-points { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgb(255 255 255 / .5); stroke-width: 1; vector-effect: non-scaling-stroke; }
.vf-points rect { vector-effect: non-scaling-stroke; }
/* the focus box that hunts for the plane */
.vf-af {
  position: absolute; left: var(--fx, 50%); top: var(--fy, 50%);
  width: 13%; aspect-ratio: 1.2;
  translate: -50% -50%;
  border: 2px solid rgb(255 255 255 / .9);
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgb(0 0 0 / .25);
  transition: left .55s var(--ease), top .55s var(--ease), border-color .15s, scale .25s var(--pop);
}
.vf.locked .vf-af { border-color: var(--orange); scale: .82; box-shadow: 0 0 0 1px rgb(0 0 0 / .25), 0 0 18px rgb(255 90 31 / .6); }
.vf-tag { position: absolute; top: 3.6%; font: 700 clamp(.5625rem, 1.1cqi, .75rem)/1 var(--mono); letter-spacing: .14em; color: rgb(255 255 255 / .85); text-shadow: 0 1px 2px rgb(0 0 0 / .6); }
.vf-tag--mode { left: 5%; }
.vf-tag--rec { left: 21%; color: #ff6b5e; opacity: 0; }
.vf.locked .vf-tag--rec { opacity: 1; }
.vf-blackout { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.vf.fire .vf-blackout { animation: shutter .26s steps(1) both; }
@keyframes shutter { 0% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; } }

.vf-lcd {
  display: flex; align-items: center; gap: clamp(10px, 2cqi, 22px);
  padding: 11px 18px 12px;
  background: #090d12;
  color: var(--lcd);
  font: 700 clamp(.6875rem, 1.2cqi, .875rem)/1 var(--mono);
  letter-spacing: .08em;
  white-space: nowrap;
  overflow: hidden;
}
.vf-exp { overflow: hidden; text-overflow: ellipsis; }
.vf-grow { flex: 1; }
.vf-lock { color: rgb(142 240 180 / .18); transition: color .1s; }
.vf.locked .vf-lock { color: var(--lcd); }

.vf-cap { margin: 22px 0 0 6px; min-height: 1.6em; font-size: clamp(1.3rem, 2cqi, 1.6rem); rotate: -1.2deg; transform-origin: left; }

/* the shutter button, sitting on the top edge like it would on a camera */
.shutter {
  position: absolute; z-index: 4; top: -30px; right: 9%;
  width: 66px; height: 66px;
  padding: 0; border: 0; border-radius: 50%;
  background: none;
  cursor: pointer;
}
.shutter::before { /* the collar */
  content: ""; position: absolute; inset: 0;
  border: 2px solid var(--ink); border-radius: 50%;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
}
.shutter-btn {
  position: absolute; inset: 10px;
  border: 2px solid var(--ink); border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff8a5c, var(--orange) 55%, #e24508);
  transition: translate .08s, box-shadow .08s;
  box-shadow: 0 3px 0 var(--ink);
}
.shutter:hover .shutter-btn { translate: 0 1px; box-shadow: 0 2px 0 var(--ink); }
.shutter:active .shutter-btn, .shutter.pressed .shutter-btn { translate: 0 3px; box-shadow: 0 0 0 var(--ink); }
.shutter-note {
  position: absolute; z-index: 4; top: -76px; right: calc(9% + 80px);
  display: flex; align-items: flex-end; gap: 4px;
  font-size: clamp(1.2rem, 1.8cqi, 1.5rem); line-height: 1; text-align: right;
  color: var(--orange-deep);
  rotate: -5deg;
  pointer-events: none;
}
.shutter-note .arr { --a: 25deg; margin-bottom: -16px; }

/* stickers: drag them around */
.stickers { position: absolute; inset: 0; z-index: 6; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.sticker {
  position: absolute;
  padding: 10px 16px 9px;
  border: 2px solid var(--ink); border-radius: 999px;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
  font: 800 .8125rem/1 var(--mona); font-stretch: 115%;
  letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none;
  pointer-events: auto;
  rotate: var(--r, 0deg);
  translate: var(--dx, 0px) var(--dy, 0px);
  transition: scale .15s var(--pop), box-shadow .15s;
}
.sticker:hover { scale: 1.06; }
.sticker.dragging { cursor: grabbing; scale: 1.1; box-shadow: 6px 6px 0 var(--ink); z-index: 7; }
.sticker:nth-child(1) { --r: -7deg; top: 58%; left: 36.5%; background: var(--orange); }
.sticker:nth-child(2) { --r: 6deg; top: -2%; left: 56%; background: #121212; color: var(--yellow); }
.sticker:nth-child(3) { --r: -4deg; bottom: 13%; right: -14px; background: var(--c5); }
.sticker:nth-child(4) { --r: 8deg; top: 46%; right: -26px; background: var(--yellow); }
.sticker:nth-child(n + 5) { --r: -5deg; bottom: -5%; right: 3%; background: var(--c2); }

/* ---------- marquee ---------- */
.marquee-clip { overflow: hidden; padding: 28px 0; margin: -28px 0; }
.marquee { position: relative; z-index: 5; margin: 0 -4vw; padding: 18px 0 16px; background: var(--ink); color: var(--paper); rotate: -1.6deg; overflow: hidden; }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 60s linear infinite; }
.marquee-track span { padding: 0 22px; font: 820 clamp(1.5rem, 3vw, 2.5rem)/1 var(--mona); font-stretch: 120%; letter-spacing: -.02em; white-space: nowrap; }
.marquee-track span:nth-of-type(3n + 2) { font: italic 500 clamp(1.6rem, 3.2vw, 2.7rem)/1 var(--serif); letter-spacing: 0; color: var(--yellow); }
.marquee-track svg { flex: none; width: 22px; height: 22px; fill: var(--orange); rotate: 90deg; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- section shells ---------- */
.section { position: relative; padding-top: clamp(104px, 12vw, 184px); }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 22px 32px; margin-bottom: clamp(32px, 4.5vw, 60px); }
.title { margin: 0; font: 850 clamp(3rem, 8.4vw, 7.5rem)/.86 var(--mona); font-stretch: 112%; letter-spacing: -.045em; }
.title .word { display: inline-block; white-space: nowrap; }
.title .ch {
  display: inline-block;
  font-variation-settings: "wdth" 112, "wght" 850;
  transition: font-variation-settings .3s var(--ease), opacity .5s var(--ease), transform .7s var(--pop);
  transition-delay: 0s, calc(var(--i) * 30ms), calc(var(--i) * 30ms);
}
.title .ch:hover { font-variation-settings: "wdth" 125, "wght" 900; color: var(--orange); }
.title.drop .ch { opacity: 0; transform: translateY(.45em) rotate(6deg); }
.title.drop.in .ch { opacity: 1; transform: none; }
.head-note { margin: 0 0 .35em; font-size: clamp(1.4rem, 2.1vw, 1.875rem); color: var(--orange-deep); rotate: -3deg; }
.head-note .arr { --a: 75deg; margin-left: 4px; vertical-align: -.15em; }
.lede { max-width: 36em; margin: 0 0 .4em; font-size: clamp(1.0625rem, 1.45vw, 1.25rem); line-height: 1.55; color: var(--ink-2); }
.subtitle { margin: clamp(56px, 7vw, 96px) 0 24px; font: 850 clamp(2rem, 4.2vw, 3.4rem)/.92 var(--mona); font-stretch: 115%; letter-spacing: -.04em; }

/* ======================================================================
   SPOTTED: a split-flap departures board
   ====================================================================== */
.fids {
  --cols: max-content minmax(0, 1fr) max-content max-content;
  padding: clamp(14px, 2vw, 22px);
  border: 2px solid var(--ink); border-radius: 22px;
  background: #12191f;
  color: #f3efe4;
  box-shadow: 10px 10px 0 var(--ink), 0 40px 60px -40px rgb(21 32 43 / .6);
  rotate: -.4deg;
}
.fids-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 6px 16px; }
.fids-name { display: inline-flex; align-items: center; gap: 10px; font: 820 clamp(1.1rem, 2vw, 1.5rem)/1 var(--mona); font-stretch: 118%; letter-spacing: -.01em; text-transform: uppercase; color: var(--yellow); }
.fids-name svg { width: 22px; height: 22px; fill: var(--yellow); rotate: 45deg; }
.fids-clock { font: 700 clamp(.875rem, 1.6vw, 1.25rem)/1 var(--mono); letter-spacing: .1em; color: var(--yellow); }
.fids-head, .fids-row { display: grid; grid-template-columns: var(--cols); gap: clamp(12px, 2.4vw, 34px); align-items: center; }
.fids-head { padding: 0 12px 10px; border-bottom: 1px solid rgb(255 255 255 / .14); font: 700 .625rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #8b9bb0; }
.fids-head .sm { display: none; }
.fids-rows { margin: 0; padding: 0; list-style: none; }
.fids-rows li + li { border-top: 1px solid rgb(255 255 255 / .07); }
.fids-row {
  width: 100%;
  padding: 9px 12px;
  border: 0; border-radius: 10px;
  background: none;
  text-align: left;
  cursor: pointer;
  transition: background-color .15s;
}
.fids-row:hover, .fids-row:focus-visible { background: rgb(255 255 255 / .06); }
.fids-row:hover .c-air, .fids-row:focus-visible .c-air { color: var(--yellow); }
.fids-row:focus-visible { outline-offset: -2px; }
/* each character is a little flap */
.flaps { display: flex; flex-wrap: nowrap; gap: 2px; overflow: hidden; }
.flap {
  display: inline-grid; place-items: center;
  flex: none;
  width: 1.05em; height: 1.45em;
  border-radius: 3px;
  background: linear-gradient(#232c35 0 49%, #0b1015 49% 51%, #1d252d 51%);
  font: 700 clamp(.75rem, 1.35vw, 1.0625rem)/1 var(--mono);
  text-transform: uppercase;
}
.flap.sp { background: linear-gradient(#1a2129 0 49%, #0b1015 49% 51%, #161d24 51%); }
.flap.spin { color: #9fb0c3; }
.c-n .flap { color: var(--yellow); }
.rem-dep .flap { color: #7ee2a8; }
.rem-arr .flap { color: #8cc4ff; }
.rem-taxi .flap { color: var(--yellow); }
.rem-close .flap { color: #ffb08a; }
.rem-unk .flap { color: #ff8a8a; }
.fids-foot { margin: 14px 6px 2px; font: .75rem/1.4 var(--mono); color: #8b9bb0; }

/* ======================================================================
   TAKEOFF: one departure, scrubbed by scrolling
   ====================================================================== */
.seq {
  position: relative;
  margin-top: clamp(104px, 12vw, 184px);
  /* pinned for a short stretch: about a fifth of a screen of scrolling per frame */
  height: calc(100svh + var(--frames, 4) * 20svh);
  background: var(--night);
  color: var(--paper);
}
.seq::before, .seq::after { /* torn edges, top and bottom */
  content: ""; position: absolute; left: 0; right: 0; height: 22px;
  background: var(--night);
  -webkit-mask: radial-gradient(12px 11px at 50% 100%, #000 98%, transparent) 0 0 / 22px 22px repeat-x;
  mask: radial-gradient(12px 11px at 50% 100%, #000 98%, transparent) 0 0 / 22px 22px repeat-x;
}
.seq::before { top: -21px; }
.seq::after { bottom: -21px; rotate: 180deg; }
.seq-sticky { position: sticky; top: 0; height: 100svh; display: grid; align-content: center; padding-top: 68px; overflow: hidden; }
@media (max-height: 560px) { /* too short to pin: just scroll past it */
  .seq { height: auto; }
  .seq-sticky { position: static; height: auto; padding: 80px 0; }
}
.seq-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.85fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.seq-note { margin: 0 0 10px; font-size: clamp(1.4rem, 2.1vw, 1.9rem); color: var(--yellow); rotate: -3deg; transform-origin: left; }
.seq-title { color: var(--paper); font-size: clamp(3rem, 7vw, 6.4rem); }
.seq-title .num { color: var(--orange); }
.seq-copy { margin: 20px 0 0; max-width: 30ch; color: #c9d4df; font-size: 1.0625rem; }
.seq-hint { margin: 26px 0 0; font: 700 .75rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #8b9bb0; }
.seq-hint span { display: inline-block; margin-left: 4px; }
@media (prefers-reduced-motion: no-preference) { .seq-hint span { animation: hint 1.6s var(--ease) infinite; } }
@keyframes hint { 50% { translate: 0 5px; } }

.seq-stage { position: relative; }
.seq-frames {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 2px solid #000; border-radius: 18px;
  background: #000;
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / .8);
}
.seq-frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .18s linear; }
.seq-frames img.on { opacity: 1; }
.seq-frames::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.seq-frames.flash::after { animation: flash-frame .22s ease-out; }
@keyframes flash-frame { from { opacity: .22; } to { opacity: 0; } }
.seq-bar { display: flex; align-items: baseline; gap: 16px; margin-top: 16px; }
.seq-t { min-width: 8.5ch; font: 700 clamp(1.25rem, 2.4vw, 2rem)/1 var(--mono); color: var(--lcd); font-variant-numeric: tabular-nums; }
.seq-label { flex: 1; font-size: clamp(1.4rem, 2.2vw, 1.9rem); color: var(--yellow); }
.seq-n { font: 700 .75rem/1 var(--mono); letter-spacing: .12em; color: #8b9bb0; }
/* the timeline: a tick for each frame, placed by its real time */
.seq-line { position: relative; height: 34px; margin-top: 12px; border-top: 1px solid #2f3d4c; }
.seq-line::before { content: ""; position: absolute; inset: 8px 0 auto; height: 8px; background: repeating-linear-gradient(90deg, #3d4c5c 0 1px, transparent 1px 10px); }
.seq-key { position: absolute; top: 20px; width: 10px; height: 10px; background: #4a5a6b; rotate: 45deg; translate: -50% 0; transition: background-color .15s; }
.seq-key.on { background: var(--yellow); }
.seq-head { position: absolute; top: -1px; bottom: 0; left: var(--at, 0%); width: 2px; background: var(--orange); }
.seq-head::before { content: ""; position: absolute; top: -1px; left: -5px; width: 12px; height: 10px; background: var(--orange); clip-path: polygon(0 0, 100% 0, 50% 100%); }

/* ======================================================================
   DAYS: boarding passes
   ====================================================================== */
.passes { display: grid; gap: clamp(80px, 10vw, 140px); }
.day { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.day:nth-child(even) .pass { order: 2; }
.pass {
  --c: var(--c5);
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(110px, 24%, 170px);
  border: 2px solid var(--ink); border-radius: 22px;
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
  rotate: -1deg;
  transition: rotate .25s var(--ease), transform .25s var(--ease);
}
.day:nth-child(even) .pass { --c: var(--c3); rotate: 1deg; }
.pass:hover { rotate: 0deg; }
.pass-main { padding: clamp(20px, 2.6vw, 30px); }
.pass-band { display: flex; justify-content: space-between; gap: 10px; margin: calc(-1 * clamp(20px, 2.6vw, 30px)) calc(-1 * clamp(20px, 2.6vw, 30px)) 18px; padding: 12px clamp(20px, 2.6vw, 30px); border-bottom: 2px solid var(--ink); border-radius: 20px 0 0 0; background: var(--c); font: 700 .6875rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.pass-route { display: flex; align-items: center; gap: 14px; }
.pass-code { font: 880 clamp(2.4rem, 5vw, 3.9rem)/.9 var(--mona); font-stretch: 122%; letter-spacing: -.04em; }
.pass-code small { display: block; margin-top: 6px; font: 700 .625rem/1 var(--mono); letter-spacing: .14em; color: var(--ink-3); }
.pass-path { flex: 1; position: relative; height: 2px; border-top: 2px dashed rgb(21 32 43 / .35); }
.pass-path svg { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; translate: -50% -55%; rotate: 90deg; fill: var(--orange); }
.pass-title { margin: 22px 0 0; font: italic 500 clamp(1.6rem, 2.6vw, 2.15rem)/1.1 var(--serif); }
.pass-text { margin: 10px 0 0; color: var(--ink-2); }
.pass-fields { display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 20px 0 0; padding: 0; }
.pass-fields div { min-width: 0; }
.pass-fields dt { font: 700 .5625rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.pass-fields dd { margin: 6px 0 0; font: 780 1.0625rem/1.1 var(--mona); font-stretch: 108%; white-space: nowrap; }
.pass-go { margin-top: 22px; }
/* the stub, torn off along a perforated line */
.pass-stub {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  padding: clamp(18px, 2.4vw, 26px) clamp(14px, 1.8vw, 22px);
  border-left: 2px dashed rgb(21 32 43 / .4);
}
.pass-stub::before, .pass-stub::after { content: ""; position: absolute; left: -13px; width: 24px; height: 24px; border: 2px solid var(--ink); border-radius: 50%; background: #f6efe2; }
.pass-stub::before { top: -13px; clip-path: inset(50% 0 0 0); }
.pass-stub::after { bottom: -13px; clip-path: inset(0 0 50% 0); }
.stub-field dt { font: 700 .5625rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.stub-field dd { margin: 5px 0 0; font: 1.35rem/1 var(--hand); }
.stub-list { display: grid; gap: 12px; margin: 0; }
.barcode { height: 46px; background: var(--bars); border-radius: 2px; }

/* favorites from the day, taped next to the pass */
.day-picks { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; padding: 10px 0; }
.snap {
  position: relative; margin: 0;
  padding: 10px 10px 12px;
  background: #fff;
  box-shadow: 0 22px 36px -24px rgb(21 32 43 / .6);
  rotate: var(--r, 0deg);
  transition: rotate .25s var(--ease), scale .25s var(--ease);
}
.snap:hover { rotate: 0deg; scale: 1.04; z-index: 2; }
.snap::before { content: ""; position: absolute; z-index: 1; top: 0; left: 50%; width: 84px; height: 22px; translate: -50% -50%; rotate: -4deg; background: rgb(255 238 160 / .78); box-shadow: 0 1px 2px rgb(21 32 43 / .12); }
.snap:nth-child(2)::before { background: rgb(200 240 218 / .8); rotate: 3deg; }
.snap:nth-child(3)::before { background: rgb(255 200 221 / .78); }
.snap:nth-child(1) { --r: -2.4deg; }
.snap:nth-child(2) { --r: 2deg; top: 22px; }
.snap:nth-child(3) { --r: 1.4deg; }
.snap:nth-child(4) { --r: -1.8deg; top: 22px; }
.snap a { display: block; cursor: zoom-in; }
.snap img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.snap figcaption { margin-top: 8px; font: 1.2rem/1.1 var(--hand); }

/* ======================================================================
   FRAMES: the full camera roll
   ====================================================================== */
.filters { display: grid; gap: 12px; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 14px 8px;
  border: 2px solid var(--ink); border-radius: 999px;
  background: var(--paper);
  font: 700 .875rem/1 var(--mona);
  cursor: pointer;
  transition: transform .15s var(--ease), background-color .15s;
}
.chip:hover { transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: 3px 3px 0 var(--orange); }
.chip .n { margin-left: 5px; font: .6875rem/1 var(--mono); opacity: .7; }
.chip--star[aria-pressed="true"] { background: var(--yellow); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.chips--air .chip { border-width: 1.5px; padding: 7px 12px 6px; font-size: .8125rem; background: rgb(255 253 248 / .7); }
.chips--air .chip[aria-pressed="true"] { background: var(--ink); }
.showing { margin: 22px 0 18px; font: 1.375rem/1.2 var(--hand); color: var(--orange-deep); rotate: -1deg; transform-origin: left; }

.group + .group { margin-top: clamp(48px, 6vw, 80px); }
.group-head {
  position: sticky; top: 76px; z-index: 5;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
  width: fit-content;
  margin: 0 0 16px;
  padding: 9px 16px 8px;
  border: 2px solid var(--ink); border-radius: 999px;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
}
.group-date { font: 700 .75rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.group-title { font: italic 500 1.125rem/1 var(--serif); }
.group-n { font: .75rem/1 var(--mono); color: var(--ink-3); }

.rows { display: flex; flex-direction: column; gap: var(--gap, 10px); }
.row { display: flex; gap: var(--gap, 10px); }
.tile {
  position: relative; flex: none;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: #e6ddcc;
  cursor: zoom-in;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale .5s var(--ease), opacity .4s; }
.tile img.loading { opacity: 0; }
.tile:hover, .tile:focus-visible { z-index: 2; transform: translate(-3px, -3px); box-shadow: 0 0 0 2px var(--ink), 6px 6px 0 2px var(--ink); }
.tile:hover img { scale: 1.04; }
.tile-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 12px 9px;
  background: linear-gradient(transparent, rgb(10 16 22 / .72));
  color: #fff;
  font: 1.15rem/1.1 var(--hand);
  opacity: 0; translate: 0 6px;
  transition: opacity .2s, translate .2s var(--ease);
  pointer-events: none;
}
.tile:hover .tile-cap, .tile:focus-visible .tile-cap { opacity: 1; translate: 0 0; }
.star {
  position: absolute; top: 8px; right: 8px;
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border: 1.5px solid var(--ink); border-radius: 50%;
  background: var(--yellow);
  font: 700 .8125rem/1 var(--mono);
  box-shadow: 2px 2px 0 var(--ink);
  rotate: 12deg;
}
/* a burst: one tile with a couple of prints peeking out behind it */
.tile--stack { overflow: visible; isolation: isolate; background: none; }
.tile--stack:hover img { scale: 1; }
.tile--stack img { border-radius: 10px; position: relative; z-index: 1; }
.tile--stack::before, .tile--stack::after {
  content: ""; position: absolute; inset: 0; border-radius: 10px;
  background: #d9ceb9; border: 1.5px solid var(--paper);
  transition: translate .25s var(--ease), rotate .25s var(--ease);
}
.tile--stack::before { translate: 3px -3px; rotate: 1.2deg; }
.tile--stack::after { translate: 6px -5px; rotate: 2.4deg; background: #cbbfa8; z-index: -1; }
.tile--stack:hover::before { translate: 5px -5px; rotate: 2.4deg; }
.tile--stack:hover::after { translate: 10px -8px; rotate: 4.5deg; }
.tile--stack .tile-cap { z-index: 2; border-radius: 0 0 10px 10px; }
.tile--stack .star { z-index: 3; }
.burst-badge {
  position: absolute; z-index: 3; left: 8px; top: 8px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 7px 4px 6px; border-radius: 999px;
  background: rgb(15 22 30 / .78); color: var(--paper);
  font: 700 .6875rem/1 var(--mono); letter-spacing: .04em;
  backdrop-filter: blur(4px);
}
.burst-badge svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.burst-badge svg rect:last-child { fill: rgb(15 22 30 / .9); }
.chip--stack[aria-pressed="true"] { background: var(--blue); border-color: var(--ink); }

.empty { margin: 0; padding: 30px 0; font-size: 1.125rem; }
.empty button { margin-left: 6px; padding: 0; border: 0; background: none; color: var(--blue); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }

/* ======================================================================
   ABOUT
   ====================================================================== */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: clamp(28px, 5vw, 72px); align-items: start; }
.about-text p { max-width: 36em; margin: 0 0 1em; font-size: clamp(1.0625rem, 1.45vw, 1.25rem); color: var(--ink-2); }
.about-text p:first-child { font: italic 500 clamp(1.45rem, 2.3vw, 1.9rem)/1.3 var(--serif); color: var(--ink); }
.postit {
  padding: 22px 22px 28px;
  background: #fff27d;
  box-shadow: 0 22px 30px -22px rgb(21 32 43 / .6);
  rotate: 2.5deg;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}
.postit-label { margin: 0 0 8px; font: 700 .6875rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.postit .hand { margin: 0; font-size: 1.5rem; line-height: 1.2; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; list-style: none; }
.stat {
  padding: 20px 20px 18px;
  border: 2px solid var(--ink); border-radius: 22px;
  background: var(--c, var(--paper));
  rotate: var(--r, 0deg);
}
.stat:nth-child(1) { --c: var(--c1); --r: -1deg; }
.stat:nth-child(2) { --c: var(--c6); --r: 1deg; }
.stat:nth-child(3) { --c: var(--c2); --r: -.6deg; }
.stat:nth-child(4) { --c: var(--c4); --r: 1.4deg; }
.stat-label { margin: 0; font: 700 .625rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.stat-v { margin: 10px 0 0; font: 880 clamp(2.1rem, 3.6vw, 3rem)/.9 var(--mona); font-stretch: 120%; letter-spacing: -.04em; }
.stat-note { margin: 8px 0 0; font: 1.15rem/1.15 var(--hand); color: var(--ink-2); }
.stat-note a { color: var(--orange-deep); }

.gear { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.gear li { padding: 11px 15px 10px; border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); font: 700 .9375rem/1.2 var(--mona); }
.gear li:first-child { background: var(--ink); color: var(--paper); box-shadow: 3px 3px 0 var(--orange); }
.gear li:first-child span { color: #b8c3cf; }
.gear li span { display: block; margin-top: 3px; font: .6875rem/1.3 var(--mono); color: var(--ink-3); }

/* ---------- contact ---------- */
.contact { padding-bottom: clamp(88px, 10vw, 150px); }
.title--huge { font-size: clamp(4.5rem, 16vw, 14rem); line-height: .82; }
.contact .lede { margin-top: clamp(40px, 4vw, 56px); }
.mail { margin: 26px 0 0; font: 850 clamp(1.6rem, 5.6vw, 4.9rem)/1.05 var(--mona); font-stretch: 110%; letter-spacing: -.035em; }
.mail a { text-decoration: underline wavy var(--orange); text-decoration-thickness: .055em; text-underline-offset: .2em; overflow-wrap: anywhere; }
.mail a:hover { color: var(--orange-deep); }
.contact-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; margin-top: 44px; }
.socials { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.socials a { display: inline-block; padding: 12px 18px 11px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); font: 750 1rem/1 var(--mona); text-decoration: none; rotate: var(--r, 0deg); transition: transform .15s var(--ease), box-shadow .15s var(--ease), rotate .15s; }
.socials li:nth-child(odd) a { --r: -2deg; }
.socials li:nth-child(even) a { --r: 2deg; }
.socials a:hover { rotate: 0deg; transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.signoff { margin: 64px 0 0; font-size: clamp(1.5rem, 2.4vw, 2rem); rotate: -2deg; transform-origin: left; }
.signoff svg { width: .9em; height: .9em; fill: var(--orange); vertical-align: -.1em; rotate: 45deg; }

.foot { padding: 26px 0 34px; border-top: 1px solid rgb(21 32 43 / .18); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 32px; font: .75rem/1.5 var(--mono); color: var(--ink-2); }
.foot p { margin: 0; }

/* ---------- photo viewer ---------- */
.viewer { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--night); color: #f2efe8; }
.viewer[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto auto; }
.viewer::backdrop { background: var(--night); }
.viewer-stage { --pad: clamp(12px, 3vw, 40px); position: relative; min-height: 0; overflow: hidden; touch-action: pan-y; }
.viewer-stage img {
  position: absolute; inset: 0; margin: auto;
  width: auto; height: auto;
  max-width: calc(100% - 2 * var(--pad)); max-height: calc(100% - 2 * var(--pad));
  object-fit: contain;
  border: 10px solid #fff; border-bottom-width: 36px;
  box-shadow: 0 30px 60px rgb(0 0 0 / .5);
  transition: opacity .2s;
}
.viewer-stage img.loading { opacity: .35; }
.viewer-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 12px clamp(16px, 3vw, 40px) 18px; }
.viewer-info { min-width: 0; }
.viewer-cap { margin: 0; font: 1.5rem/1.2 var(--hand); }
.viewer-count { margin-left: .5em; font: .75rem/1 var(--mono); color: #9aa5b1; }
.viewer-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 6px 0 0; font: 700 .6875rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lcd); }
.viewer-meta span:not(:first-child)::before { content: "·"; margin-right: 14px; color: #55636f; }
.viewer-actions { display: flex; gap: 8px; }
.viewer .btn-ink { background: var(--paper); color: var(--ink); }
.viewer-print { margin: 10px 0 0; }
.viewer-print a { color: var(--yellow); font: 1.15rem/1.2 var(--hand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.viewer-print a:hover { color: var(--paper); }

.viewer-burst { display: flex; align-items: center; gap: 14px; padding: 10px clamp(16px, 3vw, 40px) 0; min-width: 0; }
.viewer-burst[hidden] { display: none; }
.burst-play {
  flex: none; padding: 8px 12px; border: 1.5px solid #3a4856; border-radius: 999px;
  background: none; color: var(--lcd); cursor: pointer;
  font: 700 .6875rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
}
.burst-play:hover { border-color: var(--lcd); }
.burst-label { flex: none; margin: 0; font: .6875rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #9aa5b1; }
.burst-label b { color: var(--paper); }
.burst-strip { display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.burst-strip::-webkit-scrollbar { display: none; }
.burst-thumb {
  position: relative; flex: none; width: 76px; height: 50px; padding: 0;
  border: 0; border-radius: 6px; overflow: hidden; background: #1c2732; cursor: pointer;
  opacity: .55; transition: opacity .15s;
}
.burst-thumb:hover { opacity: .85; }
.burst-thumb[aria-current] { opacity: 1; outline: 2px solid var(--orange); outline-offset: 1px; }
.burst-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.burst-thumb span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 4px;
  background: rgb(10 16 22 / .7); color: var(--lcd);
  font: 700 .5625rem/1.2 var(--mono); text-align: left;
}

/* ======================================================================
   Smaller screens
   ====================================================================== */
@media (max-width: 1100px) {
  .nav-home { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .day, .day:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .day:nth-child(even) .pass { order: 0; }
  .day-picks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .lookup { margin-right: 0; font-size: clamp(4.6rem, 27cqi, 12rem); }
  .lookup .line { display: inline; }
  .lookup .line + .line { padding-left: .22em; }
  .hello { font-size: clamp(1.4rem, 5cqi, 2rem); }
  .hero-copy .statement, .hero-copy .intro, .hero-copy .cta { grid-row: auto; }
  .hero-copy { display: contents; }
  .hello { order: 1; } .lookup { order: 2; } .vf { order: 3; margin-top: 46px; } .statement { order: 4; margin-top: 8px; } .intro { order: 5; margin-top: 0; } .cta { order: 6; margin-top: 4px; }
  .hero-grid { gap: 14px; }
  .sticker { display: none; }
  .sticker:nth-child(4) { display: block; top: 0; right: -4px; }
  .seq-in { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .seq-copy, .seq-hint { display: none; }
  .seq-title { font-size: clamp(2.6rem, 11vw, 4.4rem); }
  .about { grid-template-columns: minmax(0, 1fr); }
  .postit { max-width: 320px; }
  .nav-links a { padding: 8px 10px; }
}

@media (max-width: 720px) {
  .nav-in { height: 60px; gap: 12px; }
  .brand-name { display: none; }
  .nav-links { gap: 0; overflow-x: auto; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { padding: 8px 9px; font-size: .875rem; }
  .vf-body { box-shadow: 6px 6px 0 var(--ink), 0 40px 60px -40px rgb(21 32 43 / .65); border-radius: 20px; }
  .vf-tag { display: none; }
  .vf-lcd { padding: 9px 12px 10px; gap: 10px; }
  .vf-exp { display: none; }
  .shutter { width: 58px; height: 58px; top: -26px; right: 6%; }
  .shutter-btn { inset: 9px; }
  .shutter-note { top: -52px; right: calc(6% + 66px); }
  .sticker { font-size: .6875rem; padding: 8px 12px 7px; }
  .fids { --cols: minmax(0, 1fr) max-content max-content; padding: 10px; border-radius: 16px; box-shadow: 6px 6px 0 var(--ink); }
  .c-seen { display: none; }
  .fids-head, .fids-row { gap: 8px; }
  .fids-head { padding: 0 6px 8px; }
  .fids-row { padding: 8px 6px; }
  .flaps { gap: 1px; }
  .flap { width: .9em; height: 1.5em; font-size: .625rem; border-radius: 2px; }
  .fids-head .lg { display: none; }
  .fids-head .sm { display: inline; }
  .fids-clock { display: none; }
  .pass { grid-template-columns: minmax(0, 1fr); }
  .pass-band .opt { display: none; }
  .pass-stub { flex-direction: row; align-items: center; border-left: 0; border-top: 2px dashed rgb(21 32 43 / .4); }
  .pass-stub::before, .pass-stub::after { top: -13px; bottom: auto; }
  .pass-stub::before { left: -13px; clip-path: inset(0 0 0 50%); }
  .pass-stub::after { left: auto; right: -13px; clip-path: inset(0 50% 0 0); }
  .stub-list { grid-auto-flow: column; gap: 18px; }
  .barcode { width: 90px; height: 40px; }
  .day-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { gap: 12px; }
  .stat { padding: 16px 14px 14px; border-radius: 18px; }
  .group-head { top: 68px; }
  .tile { border-radius: 7px; }
  .tile-cap { display: none; }
  .star { width: 20px; height: 20px; font-size: .625rem; top: 5px; right: 5px; }
  .chips--air { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px; scrollbar-width: none; }
  .chips--air::-webkit-scrollbar { display: none; }
  .chips--air .chip { flex: none; }
  .contact-row { flex-direction: column; align-items: flex-start; }
  .viewer-bar { padding-bottom: 14px; }
  .viewer-actions { width: 100%; }
  .viewer-actions .btn { flex: 1; }
}

@media (max-width: 420px) {
  .burst-label { display: none; }
  .burst-thumb { width: 60px; height: 40px; }
  .nav-links a { padding: 8px 6px; font-size: .8125rem; }
  .btn { padding: 13px 18px; }
  .logo { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; }
  .marquee-track { animation: none; }
}
