/* Andrews Travel & Tours — v2 "Wish you were here" (Hornet Marketing, 2026-11).
   Design plan: docs/concepts/andrewstravel/design-plan.md (Fable).
   Static HTML + CSS only. Every animation is an enhancement: the site is
   complete with reduced motion and without scroll-driven animations. */

/* ---------- fonts (self-hosted) ---------- */
@font-face { font-family: "Instrument Serif"; src: url(/andrewstravel/fonts/instrument-serif-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(/andrewstravel/fonts/instrument-serif-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/andrewstravel/fonts/figtree-var.woff2) format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url(/andrewstravel/fonts/caveat-var.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --night: #0b2b36;
  --lagoon: #0a7b83;
  --shallows: #7fd6cf;
  --hibiscus: #d63a22;
  --hibiscus-deep: #b52e19;
  --mango: #ffb52e;
  --airmail: #2a4d9b;
  --palm: #1e6b4f;
  --paper: #fbf4e6;
  --card: #fffaf0;
  --line: #e6d9bf;
  --muted: #4a626a;

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  --t-mega: clamp(3.5rem, 17vw, 10.5rem);
  --t-xxl: clamp(2.75rem, 9vw, 5.5rem);
  --t-xl: clamp(2.125rem, 6vw, 3.5rem);
  --t-l: clamp(1.625rem, 3.2vw, 2.25rem);
  --t-note: clamp(1.5rem, 5.2vw, 1.875rem);
  --t-m: 1.25rem;
  --t-s: 1.0625rem;
  --t-xs: 0.8125rem;

  --gutter: 1.25rem;
  --wrap: 1240px;
  --pad: clamp(4rem, 12vw, 9rem);
  --pc-shadow: 0 1px 1px rgb(11 43 54 / 0.12), 0 18px 40px -18px rgb(11 43 54 / 0.45);
  --airmail-stripe: repeating-linear-gradient(135deg, var(--hibiscus) 0 14px, var(--card) 14px 28px, var(--airmail) 28px 42px, var(--card) 42px 56px);
  --tilt: 0deg;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* html is night, body is paper: iPhone Safari can leave a one-pixel hairline at the top edge while scrolling, and it shows the
   colour BEHIND the page (the canvas). Night there blends into the dark status bar; paper flashed as a white line over the photos.
   Overscroll at the top and bottom is night too (the footer is night). body is its own layer (z-index: 0) so the paper grain
   (body::before, z-index -1) still paints above the body's paper instead of under it. */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; overflow-x: clip; background: var(--night); }
body {
  position: relative;
  z-index: 0;
  margin: 0;
  background: var(--paper);
  color: var(--night);
  font-family: var(--sans);
  font-size: var(--t-s);
  line-height: 1.6;
  overflow-x: clip;
}
body::before { /* paper grain */
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.04 0 0 0 0 0.17 0 0 0 0 0.21 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lagoon); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--night); }
h1, h2, h3 { margin: 0 0 0.4em; font-family: var(--serif); font-weight: 400; color: inherit; }
h1 { font-size: var(--t-xxl); line-height: 0.95; letter-spacing: -0.015em; }
h2 { font-size: var(--t-xl); line-height: 1.02; letter-spacing: -0.01em; }
h3 { font-size: var(--t-l); line-height: 1.1; }
h1, h2, h3 { text-wrap: balance; }
p, .lead, li { text-wrap: pretty; }
h1 em, h2 em, h3 em { font-style: italic; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--night); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .hero :focus-visible, .lost :focus-visible, .writeback > :focus-visible, .site-foot :focus-visible, .callbar :focus-visible, .menu-panel :focus-visible { outline-color: var(--shallows); }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0.5rem; z-index: 200; background: var(--night); color: #fff; padding: 0.7rem 1rem; border-radius: 8px; }
.skip:focus { left: 0.5rem; color: #fff; }
.label { display: block; font-family: var(--sans); font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.3; margin: 0 0 1rem; color: var(--lagoon); }
.dark .label { color: var(--mango); }
.lead { font-size: var(--t-m); line-height: 1.5; color: var(--muted); max-width: 34ch; }
.dark .lead { color: rgb(255 250 240 / 0.86); }
.hand { font-family: var(--hand); font-weight: 500; font-size: var(--t-note); line-height: 1.25; }
.small { font-size: var(--t-xs); color: var(--muted); }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dark { background: var(--night); color: var(--card); }
.section { position: relative; padding-block: var(--pad); }
.arrow-link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; font-weight: 700; color: var(--night); text-decoration: none; border-bottom: 2px solid var(--hibiscus); }
.arrow-link:hover { color: var(--hibiscus-deep); }
.dark .arrow-link { color: var(--card); }
.arrow-link svg { width: 18px; height: 18px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 52px; padding: 0.8rem 1.5rem; border-radius: 999px; border: 2px solid transparent; font-family: var(--sans); font-weight: 700; font-size: var(--t-s); line-height: 1.1; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 200ms, color 200ms, border-color 200ms; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-go { background: var(--hibiscus); color: #fff; }
.btn-go:hover { background: var(--hibiscus-deep); color: #fff; }
.btn-ink { background: var(--night); color: #fff; }
.btn-ink:hover { background: #061c24; color: #fff; }
.btn-line { border-color: var(--night); color: var(--night); background: transparent; }
.btn-line:hover { background: var(--night); color: #fff; }
.on-photo .btn-line, .dark .btn-line, .menu-panel .btn-line { border-color: #fff; color: #fff; }
.on-photo .btn-line:hover, .dark .btn-line:hover, .menu-panel .btn-line:hover { background: #fff; color: var(--night); }
.btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.only-desk { display: none !important; }
@media (min-width: 900px) {
  .only-desk { display: inline-flex !important; }
  .only-phone { display: none !important; }
}

/* ---------- postcard / stamp / postmark primitives ---------- */
.postcard { background: var(--card); padding: 10px; border-radius: 6px; rotate: var(--tilt); box-shadow: var(--pc-shadow); }
.postcard img { border-radius: 2px; width: 100%; }
.stamp { --bg: var(--paper); width: 72px; height: 84px; padding: 7px; flex: none; background: radial-gradient(circle, var(--bg) 3.3px, transparent 3.8px) -6px -6px / 12px 12px, var(--card); filter: drop-shadow(0 2px 3px rgb(11 43 54 / 0.25)); rotate: var(--tilt); }
.stamp img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .stamp { width: 96px; height: 120px; padding: 9px; } }
.postmark { width: 132px; height: auto; color: rgb(11 43 54 / 0.7); }
.dark .postmark, .on-photo .postmark { color: var(--mango); }

/* ---------- header ---------- */
.site-head { position: relative; z-index: 50; view-transition-name: site-head; }
.site-head:has(.menu[open]) { z-index: 130; }
body:has(.menu[open]) { overflow: hidden; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: inline-flex; flex-direction: column; justify-content: center; min-height: 48px; text-decoration: none; color: var(--night); line-height: 1; }
.brand:hover { color: var(--night); }
.brand b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; letter-spacing: -0.01em; }
.brand small { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.22em; margin-top: 0.3rem; color: var(--lagoon); }
.on-photo .site-head { position: absolute; inset: 0 0 auto; }
.on-photo .site-head .brand, .on-photo .site-head .brand:hover { color: #fff; }
.on-photo .site-head .brand small { color: var(--mango); }
.nav { display: none; }
.menu summary { list-style: none; cursor: pointer; position: relative; z-index: 120; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 48px; padding: 0 0.25rem; font-size: var(--t-xs); font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--night); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: 26px; height: 10px; border-block: 2px solid currentColor; }
.on-photo .menu summary { color: #fff; }
.menu .close { display: none; }
.menu[open] .open { display: none; }
.menu[open] .close { display: inline; }
.menu[open] summary { color: var(--card); position: fixed; top: 8px; right: var(--gutter); }
.menu[open] summary::after { height: 0; border-bottom: 0; rotate: 0deg; }
.menu:not([open]) .menu-panel { display: none; }
.menu-panel { position: fixed; inset: 0; z-index: 110; background: var(--night); color: var(--card); padding: 6rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom)); display: flex; flex-direction: column; overflow-y: auto; }
.menu-panel ol { list-style: none; padding: 0; margin: 0 0 auto; display: grid; gap: 0.25rem; }
.menu-panel ol a { display: flex; align-items: baseline; gap: 1rem; min-height: 56px; padding-block: 0.35rem; color: var(--card); text-decoration: none; font-family: var(--serif); font-size: clamp(2.5rem, 11vw, 4rem); line-height: 1; }
.menu-panel ol a span { font-family: var(--sans); font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.16em; color: var(--mango); }
.menu-panel ol a:hover { color: var(--shallows); }
.menu-panel .menu-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-top: 2rem; }
.menu-panel .menu-contact .btn { padding-inline: 0.5rem; min-height: 56px; }
.menu-panel .postmark { position: absolute; right: 1.25rem; top: 5.5rem; width: 110px; rotate: 12deg; color: var(--mango); opacity: 0.85; }
@media (min-width: 900px) {
  .site-head, .on-photo .site-head { position: sticky; top: 0; background: rgb(251 244 230 / 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  .on-photo .site-head .brand, .on-photo .site-head .brand:hover { color: var(--night); }
  .on-photo .site-head .brand small { color: var(--lagoon); }
  .menu { display: none; }
  .nav { display: flex; align-items: center; gap: 2rem; }
  .nav a { color: var(--night); font-weight: 600; text-decoration: none; padding-block: 0.5rem; }
  .nav a:hover { color: var(--hibiscus-deep); }
  .nav a[aria-current="page"] { text-decoration: underline 2px var(--hibiscus); text-underline-offset: 6px; }
  .nav .nav-phone { font-weight: 800; display: inline-flex; gap: 0.45rem; align-items: center; }
  .nav .nav-phone svg { width: 18px; height: 18px; color: var(--hibiscus); }
}

/* ---------- home hero: "Wish you were here?" ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; background: var(--paper); }
.hero-pin { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: clip; display: grid; }
.hero-pin > * { grid-area: 1 / 1; }
.hero-card { position: relative; overflow: hidden; background: var(--night); transform-origin: 50% 45%; }
.hero-slides, .hero-slides picture, .hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slides img { object-fit: cover; }
.hero-slides picture + picture { opacity: 0; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 43 54 / 0.35) 0%, rgb(11 43 54 / 0) 22%, rgb(11 43 54 / 0.12) 38%, rgb(11 43 54 / 0.5) 58%, rgb(11 43 54 / 0.86) 100%); }
.hero-copy { position: relative; z-index: 2; align-self: end; padding: 0 var(--gutter) calc(2rem + env(safe-area-inset-bottom)); color: #fff; max-width: 1240px; width: 100%; margin-inline: auto; }
.hero-copy .label { color: var(--mango); margin-bottom: 0.75rem; text-shadow: 0 1px 2px rgb(0 0 0 / 0.55), 0 0 18px rgb(0 0 0 / 0.45); }
.hero-copy h1 { font-size: var(--t-mega); line-height: 0.88; letter-spacing: -0.02em; margin-bottom: 0.25em; text-shadow: 0 2px 30px rgb(0 0 0 / 0.25); }
.hero-copy h1 em { display: block; }
.hero-line { font-size: var(--t-m); line-height: 1.45; color: rgb(255 255 255 / 0.92); max-width: 30ch; margin-bottom: 0.4rem; }
.hero-note { color: var(--mango); margin-bottom: 1.25rem; }
.hero-phone { display: none; }
.hero-chip { display: none; }
.hero .postmark-hero { position: absolute; z-index: 2; right: var(--gutter); top: 4.75rem; width: 104px; color: rgb(255 255 255 / 0.85); }
.hero-back { display: none; }
@media (min-width: 900px) {
  .hero, .hero-pin { height: calc(100svh - 65px); }
  .hero-copy { padding-bottom: 3.5rem; }
  .hero-copy h1 em { display: inline; }
  .hero-line { max-width: 36ch; }
  .hero-phone { display: inline-flex; align-items: center; min-height: 52px; color: #fff; font-weight: 800; font-size: 1.125rem; text-decoration: none; padding-inline: 0.5rem; }
  .hero-phone:hover { color: var(--mango); }
  .hero-chip { display: block; position: absolute; z-index: 2; right: var(--gutter); bottom: 3.5rem; min-width: 260px; padding: 0.9rem 1.1rem 0.8rem; background: rgb(255 250 240 / 0.94); color: var(--night); border-radius: 8px; box-shadow: var(--pc-shadow); }
  .hero-chip .places { display: grid; }
  .hero-chip .places span { grid-area: 1 / 1; font-size: var(--t-xs); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
  .hero-chip .places span + span { opacity: 0; }
  .hero-chip .ticks { display: flex; gap: 6px; margin-top: 0.6rem; }
  .hero-chip .ticks i { width: 28px; height: 3px; background: var(--line); position: relative; overflow: hidden; }
  .hero-chip .ticks i:first-child { background: var(--hibiscus); }
  .hero .postmark-hero { top: 1.5rem; width: 132px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-slides picture { animation: slide 24s infinite both; }
  .hero-slides picture:nth-child(1) { animation-delay: -1s; }
  .hero-slides picture:nth-child(2) { animation-delay: 5s; }
  .hero-slides picture:nth-child(3) { animation-delay: 11s; }
  .hero-slides picture:nth-child(4) { animation-delay: 17s; }
  .hero-chip .places span { animation: slide-label 24s infinite both; }
  .hero-chip .places span:nth-child(1) { animation-delay: -1s; }
  .hero-chip .places span:nth-child(2) { animation-delay: 5s; }
  .hero-chip .places span:nth-child(3) { animation-delay: 11s; }
  .hero-chip .places span:nth-child(4) { animation-delay: 17s; }
  .hero-chip .ticks i:first-child { background: var(--line); }
  .hero-chip .ticks i::after { content: ""; position: absolute; inset: 0; background: var(--hibiscus); transform-origin: left; animation: tick 24s infinite linear both; }
  .hero-chip .ticks i:nth-child(1)::after { animation-delay: -1s; }
  .hero-chip .ticks i:nth-child(2)::after { animation-delay: 5s; }
  .hero-chip .ticks i:nth-child(3)::after { animation-delay: 11s; }
  .hero-chip .ticks i:nth-child(4)::after { animation-delay: 17s; }
  .hero .postmark-hero { animation: spin 60s linear infinite; }
}
@keyframes slide { 0% { opacity: 0; scale: 1; } 4% { opacity: 1; } 25% { opacity: 1; } 29% { opacity: 0; scale: 1.08; } 100% { opacity: 0; scale: 1.08; } }
@keyframes slide-label { 0% { opacity: 0; } 4% { opacity: 1; } 25% { opacity: 1; } 29% { opacity: 0; } 100% { opacity: 0; } }
@keyframes tick { 0% { scale: 0 1; } 25% { scale: 1 1; } 26% { scale: 0 1; } 100% { scale: 0 1; } }
@keyframes spin { to { rotate: 360deg; } }

/* Signature moment 1: the view becomes a postcard (scroll-driven, enhancement) */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero { height: 170svh; }
    .hero-back { display: grid; position: relative; z-index: 1; grid-template-rows: auto 1fr auto; justify-items: center; padding: 5.5rem var(--gutter) 2.25rem; pointer-events: none; }
    .hero-card { animation: to-postcard linear both; animation-timeline: scroll(root block); animation-range: 0 70svh; }
    .hero-copy, .hero .postmark-hero, .hero-chip { animation: copy-out linear both; animation-timeline: scroll(root block); animation-range: 0 30svh; }
    .hero-back > * { animation: back-in linear both; animation-timeline: scroll(root block); animation-range: 34svh 70svh; }
    .hero-back .stamp { animation-name: thunk; }
    .hero-back .postmark { animation-name: thunk-pm; }
  }
}
@media (min-width: 900px) {
  @supports (animation-timeline: scroll()) {
    @media (prefers-reduced-motion: no-preference) { .hero { height: calc(170svh - 65px); } }
  }
}
@keyframes to-postcard { to { scale: 0.6; rotate: -3deg; translate: 0 -3svh; border-radius: 6px; box-shadow: 0 0 0 10px var(--card), 0 30px 60px -20px rgb(11 43 54 / 0.5); } }
@keyframes copy-out { to { opacity: 0; translate: 0 -24px; } }
@keyframes back-in { from { opacity: 0; } }
@keyframes thunk { from { opacity: 0; scale: 1.6; rotate: -18deg; } }
@keyframes thunk-pm { from { opacity: 0; scale: 1.6; rotate: -6deg; } to { rotate: 12deg; } }
.hero-back .label { margin: 0; color: var(--night); }
.hero-back .stamp { position: absolute; left: calc(20% - 28px); top: calc(19% - 40px); --tilt: -8deg; }
.hero-back .postmark { position: absolute; right: calc(18% - 56px); top: calc(19% - 52px); rotate: 12deg; }
.hero-back .hand { grid-row: 3; text-align: center; color: var(--night); max-width: 26ch; }

/* ---------- marquee ---------- */
.marquee { padding-block: 2.5rem; overflow: hidden; display: grid; gap: 0.5rem; }
.marquee-row { display: flex; width: max-content; }
.marquee-row ul { display: flex; align-items: center; list-style: none; padding: 0; margin: 0; }
.marquee-row li { display: flex; align-items: center; gap: 1.5rem; padding-right: 1.5rem; font-family: var(--serif); font-style: italic; font-size: var(--t-xxl); line-height: 1.05; white-space: nowrap; }
.marquee-row li svg { width: 0.42em; height: 0.42em; color: var(--mango); flex: none; }
.marquee-row.ghost li { color: transparent; -webkit-text-stroke: 1px var(--shallows); }
.marquee-row [aria-hidden="true"] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-row [aria-hidden="true"] { display: flex; }
  .marquee-row { animation: marquee 45s linear infinite; }
  .marquee-row.ghost { animation-direction: reverse; animation-duration: 55s; }
  .marquee:hover .marquee-row { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-row { width: auto; }
  .marquee-row ul { flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); }
  .marquee-row.ghost { display: none; }
}
@keyframes marquee { to { translate: -50% 0; } }

/* ---------- palm shadow overlay ---------- */
.palm { position: relative; isolation: isolate; }
.palm::after { content: ""; position: absolute; z-index: -1; top: 0; right: 0; width: min(90%, 1100px); height: min(100%, 760px); background: url(/andrewstravel/img/palm-shadow-1536.webp) right top / cover no-repeat; mix-blend-mode: multiply; opacity: 0.42; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 85% 90% at 85% 15%, #000 30%, transparent 78%); mask-image: radial-gradient(ellipse 85% 90% at 85% 15%, #000 30%, transparent 78%); }

/* ---------- home: hi, I'm Lorie ---------- */
.hello { display: grid; gap: 2.5rem; align-items: center; }
.hello h2 { font-size: var(--t-xxl); line-height: 0.95; max-width: 13ch; }
.hello .lead { max-width: 34ch; }
.hello-photo { justify-self: end; position: relative; margin-top: calc(-1 * var(--pad) - 26px); }
.hello-photo .stamp { position: absolute; left: -38px; bottom: 40px; --tilt: -9deg; z-index: -1; }
@media (min-width: 900px) {
  .hello { grid-template-columns: 1.4fr 1fr; gap: 4rem; }
  .hello-photo { order: 2; margin-top: 0; justify-self: center; }
}

/* ---------- snapshots (real photos) ---------- */
.snap { width: var(--w, 215px); margin: 0; padding: 10px 10px 0; background: #fff; rotate: var(--tilt); position: relative; box-shadow: 0 1px 1px rgb(11 43 54 / 0.15), 0 14px 28px -14px rgb(11 43 54 / 0.5); }
.snap img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; filter: sepia(0.16) saturate(1.08) contrast(1.04); }
.snap.square img { aspect-ratio: 1; }
.snap.flash img { filter: contrast(1.03); }
.snap figcaption { font-family: var(--hand); font-weight: 500; font-size: 1.375rem; line-height: 1; padding: 0.6rem 0.25rem 0.8rem; color: var(--night); }
.snap::before { content: ""; position: absolute; top: -12px; left: 50%; width: 84px; height: 26px; translate: -50% 0; rotate: -4deg; background: rgb(255 181 46 / 0.72); box-shadow: 0 1px 2px rgb(11 43 54 / 0.12); }
.snap.aqua::before { background: rgb(127 214 207 / 0.75); rotate: 3deg; }
@media (min-width: 900px) { .snap.portrait-lg { --w: 260px; } }

/* ---------- postcard rack (home) ---------- */
.rack-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
.rack-head h2 { max-width: 14ch; margin: 0; }
.rack { display: flex; gap: 1.25rem; list-style: none; margin: 1rem 0 0; padding: 2rem var(--gutter) 2.75rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--line) transparent; overscroll-behavior-x: contain; }
.rack > li { flex: 0 0 min(78vw, 360px); scroll-snap-align: start; rotate: var(--tilt); }
.rack > li:nth-child(4n + 1) { --tilt: -2.5deg; }
.rack > li:nth-child(4n + 2) { --tilt: 1.5deg; }
.rack > li:nth-child(4n + 3) { --tilt: -1deg; }
.rack > li:nth-child(4n + 4) { --tilt: 2deg; }
@media (min-width: 1300px) { .rack { padding-inline: calc((100vw - var(--wrap)) / 2); scroll-padding-inline: calc((100vw - var(--wrap)) / 2); } }
.rack-card { display: block; position: relative; background: var(--card); padding: 10px; border-radius: 6px; box-shadow: var(--pc-shadow); color: #fff; text-decoration: none; transition: rotate 240ms, translate 240ms; }
.rack-card .ph { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: var(--night); }
.rack-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.rack-card .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 43 54 / 0.25) 0%, rgb(11 43 54 / 0) 25%, rgb(11 43 54 / 0) 45%, rgb(11 43 54 / 0.8) 100%); }
.rack-card .no { position: absolute; z-index: 1; top: 1.25rem; left: 1.25rem; font-size: var(--t-xs); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.rack-card .stamp { position: absolute; z-index: 1; top: 1rem; right: 1rem; width: 60px; height: 72px; padding: 6px; --bg: var(--night); --tilt: 4deg; }
.rack-card .cap { position: absolute; z-index: 1; left: 1.25rem; right: 1.25rem; bottom: 1.4rem; }
.rack-card .cap { display: block; }
.rack-card .cap small { display: block; font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mango); margin-bottom: 0.35rem; }
.rack-card .cap b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.125rem, 9vw, 2.75rem); line-height: 0.95; }
.rack-card.blank { color: var(--night); background: var(--card); border: 2px dashed var(--line); box-shadow: none; height: 100%; }
.rack-card.blank .ph { background: transparent; display: grid; place-items: center; padding: 1.5rem; text-align: center; }
.rack-card.blank .ph::after { display: none; }
.rack-card.blank .hand { font-size: 2.25rem; }
.rack-card.blank .stampbox { position: absolute; top: 1rem; right: 1rem; width: 60px; height: 72px; border: 2px dashed var(--line); }
.rack-card.blank .lines { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.5rem; height: 60px; background: repeating-linear-gradient(180deg, transparent 0 18px, var(--line) 18px 20px); }
.swipe { font-family: var(--hand); font-size: 1.5rem; color: var(--lagoon); margin: 0; }
@media (hover: hover) { .rack-card:hover { rotate: calc(-1 * var(--tilt)); translate: 0 -6px; color: #fff; } .rack-card.blank:hover { color: var(--night); } }
/* Computers (mouse or trackpad). A mouse wheel can't move a sideways strip (Jonathan, 2026-11-16: the swipe "worked fantastic on
   mobile, not so much on desktop"), and pinning the strip so the wheel slid it sideways felt wrong ("if you scroll up or down on
   the page, that should continue to do that"). So the wheel always scrolls the page, and computers get left/right arrow buttons.
   The arrows are the browser's own carousel buttons (::scroll-button, Edge/Chrome), so the site stays script-free; they grey out
   at either end by themselves. Browsers without them (Safari, Firefox) show all seven cards in a grid, so none hide off to the
   side. Phones and tablets keep the swipe strip unchanged. */
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .swipe { display: none; }
}
@supports selector(::scroll-button(*)) {
  @media (min-width: 900px) and (hover: hover) and (pointer: fine) {
    /* % padding = the section's width, so the first card and the arrows line up with the heading exactly */
    .rack { --edge: max(var(--gutter), (100% - var(--wrap)) / 2); padding-inline: var(--edge); scroll-padding-inline: var(--edge); anchor-name: --rack; }
    .rack::scroll-button(*) { position: absolute; position-anchor: --rack; position-area: top span-left; width: 52px; height: 52px; margin-bottom: 0.25rem; border: 1.5px solid var(--night); border-radius: 50%; background: var(--card); color: var(--night); font-family: var(--sans); font-size: 1.375rem; font-weight: 700; line-height: 1; cursor: pointer; box-shadow: 0 6px 16px -8px rgb(11 43 54 / 0.45); transition: background 160ms, color 160ms, opacity 160ms; }
    .rack::scroll-button(left) { content: "←" / "Previous postcards"; margin-right: calc(var(--edge) + 52px + 0.75rem); }
    .rack::scroll-button(right) { content: "→" / "Next postcards"; margin-right: var(--edge); }
    /* one card per click (Jonathan: "just move over one instead of all the way to the end"): the buttons scroll a whole
       screen-width by default; snap-stop: always means no scroll may skip past a card */
    .rack > li { scroll-snap-stop: always; }
    .rack::scroll-button(*):hover:not(:disabled) { background: var(--night); color: var(--card); }
    .rack::scroll-button(*):disabled { opacity: 0.3; cursor: default; box-shadow: none; }
    .rack::scroll-button(*):focus-visible { outline: 3px solid var(--night); outline-offset: 3px; }
  }
  @media (min-width: 900px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .rack { scroll-behavior: smooth; }
  }
}
@supports not selector(::scroll-button(*)) {
  @media (min-width: 900px) and (hover: hover) and (pointer: fine) {
    .rack { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2.75rem 1.75rem; width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; padding: 2rem 0 2.75rem; overflow: visible; scroll-snap-type: none; }
    .rack-card .cap b { font-size: clamp(2rem, 2.6vw, 2.5rem); }
  }
}

/* ---------- flight path ("how it works") ---------- */
.route-wrap { position: relative; display: grid; gap: 3rem; }
.route { list-style: none; position: relative; margin: 0; padding: 0 0 0 3.25rem; border-left: 2px dashed rgb(255 250 240 / 0.35); counter-reset: stop; margin-left: 0.75rem; }
.route li { position: relative; padding-bottom: 4rem; max-width: 36ch; }
.route li:last-child { padding-bottom: 0.5rem; }
.route li::before { counter-increment: stop; content: counter(stop, decimal-leading-zero); position: absolute; left: -3.25rem; top: 0.1rem; translate: calc(-50% - 1px) 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--night); border: 2px solid var(--mango); color: var(--mango); font-size: 0.75rem; font-weight: 800; }
.route h3 { color: var(--card); margin-bottom: 0.35rem; }
.route p { color: rgb(255 250 240 / 0.82); margin: 0; }
.route-plane { position: absolute; left: 0.75rem; top: 0; bottom: 0; width: 0; }
.route-plane svg { position: sticky; top: 45svh; width: 30px; height: 30px; translate: -50% 0; color: var(--shallows); background: var(--night); border-radius: 50%; padding: 3px; }
.light .route { border-left-color: rgb(11 43 54 / 0.3); }
.light .route h3 { color: var(--night); }
.light .route p { color: var(--muted); }
.light .route li::before { background: var(--paper); border-color: var(--hibiscus); color: var(--hibiscus); }
.light .route-plane svg { color: var(--lagoon); background: var(--paper); }
.route-aside { display: none; }
@media (min-width: 900px) {
  .route-wrap { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .route-aside { display: block; justify-self: center; width: min(100%, 360px); --tilt: 2deg; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .route li::before { animation: ring-fill linear both; animation-timeline: view(); animation-range: cover 30% cover 50%; }
  }
}
@keyframes ring-fill { to { background: var(--mango); color: var(--night); } }

/* ---------- section heads ---------- */
.head { max-width: 40rem; margin-bottom: 2.5rem; }
.head h2 { margin-bottom: 0.3em; }

/* ---------- scrapbook: from my own trips ---------- */
.scrap { display: grid; gap: 2.5rem; align-items: start; }
.scrap .big { --w: min(100%, 500px); --tilt: -2deg; justify-self: start; }
.index-card { position: relative; background: var(--card) repeating-linear-gradient(180deg, transparent 0 33px, rgb(10 123 131 / 0.18) 33px 34px); background-position: 0 1.1rem; padding: 1.4rem 1.5rem 1.25rem; border-top: 3px solid rgb(214 58 34 / 0.55); rotate: 1.5deg; box-shadow: var(--pc-shadow); max-width: 26rem; }
.index-card .hand { margin: 0; line-height: 34px; font-size: 1.625rem; }
.index-card .sig { display: block; text-align: right; font-family: var(--hand); font-weight: 700; font-size: 1.75rem; color: var(--hibiscus); margin-top: 0.25rem; }
.scrap .keep { width: 150px; --tilt: 4deg; justify-self: end; }
.scrap .stamp.s1 { --tilt: -7deg; }
.scrap-note-row { display: flex; flex-wrap: wrap; align-items: start; gap: 1.5rem; justify-content: space-between; }
@media (min-width: 900px) {
  .scrap { grid-template-columns: 1.15fr 1fr; gap: 0 3rem; }
  .scrap .big { grid-row: span 2; }
  .scrap .index-card { margin-left: -5rem; margin-top: 7rem; z-index: 2; }
}
/* Family prints (About): two tall prints and a handwritten aside. Phones: prints side by side, note under. */
.scrap-prints { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; align-items: start; margin-top: 3.5rem; }
.scrap-prints .snap { --w: 100%; max-width: 230px; }
.scrap-prints .snap:last-of-type { justify-self: end; margin-top: 2.5rem; }
.snap.tall img { aspect-ratio: 2 / 3; }
.scrap-prints .note { grid-column: 1 / -1; order: 3; margin: 0; font-family: var(--hand); font-weight: 600; font-size: 1.75rem; line-height: 1.1; color: var(--hibiscus); text-align: center; rotate: -2deg; text-wrap: balance; }
@media (max-width: 520px) { .scrap-prints .snap figcaption { font-size: 1.15rem; padding-inline: 0.1rem; } }
@media (min-width: 900px) {
  .scrap-prints { grid-template-columns: auto auto auto; justify-content: center; gap: 0 3.5rem; }
  .scrap-prints .snap { --w: 240px; max-width: none; }
  .scrap-prints .note { grid-column: auto; order: 0; align-self: center; max-width: 12ch; font-size: 2rem; }
}
.disclose { margin-top: 2.5rem; font-size: var(--t-xs); color: var(--muted); max-width: 52ch; }

/* ---------- promises ---------- */
.promises { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.promises li { display: grid; gap: 0.35rem 2rem; padding-block: 1.75rem; border-bottom: 1px solid var(--line); }
.promises .n { font-size: var(--t-xs); font-weight: 800; letter-spacing: 0.16em; color: var(--hibiscus); }
.promises h3 { margin: 0; }
.promises p { margin: 0; color: var(--muted); max-width: 40ch; }
@media (min-width: 900px) { .promises li { grid-template-columns: 4rem 1.1fr 1fr; align-items: baseline; } }

/* ---------- write back card ---------- */
.writeback { position: relative; padding-block: clamp(4rem, 10vw, 8rem); background: var(--night); overflow: hidden; }
.writeback > picture img { display: none; }
@media (min-width: 700px) { .writeback > picture img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .writeback > picture::after { content: ""; position: absolute; inset: 0; background: rgb(11 43 54 / 0.25); } }
.airmail { position: relative; z-index: 1; width: min(880px, 100% - 2 * var(--gutter)); margin-inline: auto; padding: 10px; border-radius: 8px; background: var(--airmail-stripe); rotate: -1deg; box-shadow: 0 30px 60px -24px rgb(0 0 0 / 0.55); }
.airmail-in { background: var(--card); border-radius: 3px; padding: clamp(1.75rem, 5vw, 3rem); display: grid; gap: 1.75rem; }
.airmail-in h2 { margin-bottom: 0.35rem; }
.airmail-in .lead { margin: 0; }
.airmail .postmark { position: absolute; right: -20px; top: -46px; width: 120px; rotate: 12deg; color: var(--mango); }
@media (max-width: 699px) { .airmail .postmark { right: 0; top: -40px; width: 100px; } }
.address { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.address a { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 0 0.9rem; min-height: 64px; padding-block: 0.6rem; border-bottom: 1px solid var(--line); color: var(--night); text-decoration: none; }
.address li:first-child a { border-top: 1px solid var(--line); }
.address a svg { width: 24px; height: 24px; color: var(--hibiscus); grid-row: span 2; }
.address a b { font-size: 1.125rem; line-height: 1.2; }
.address a span { font-size: var(--t-xs); color: var(--muted); overflow-wrap: anywhere; }
.address a:hover b { color: var(--hibiscus-deep); text-decoration: underline; }
.address .a-email { order: 3; }
@media (min-width: 900px) {
  .airmail-in { grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; }
  .address .a-email { order: -1; }
}
.airmail-in .more { font-size: var(--t-s); margin: 0.75rem 0 0; }

/* ---------- inner-page top ---------- */
.page-top { padding-top: clamp(3rem, 10vw, 7rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.page-top h1 { max-width: 14ch; }
.page-top .lead { margin-top: 1rem; }

/* ---------- trips: chips ---------- */
.chips { display: flex; gap: 0.6rem; list-style: none; padding: 0.25rem var(--gutter) 0.75rem; margin: 2rem calc(-1 * var(--gutter)) 0; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.chips a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.5rem 1rem; border: 1.5px solid var(--night); border-radius: 999px; color: var(--night); font-weight: 700; font-size: 0.9375rem; text-decoration: none; white-space: nowrap; scroll-snap-align: start; }
.chips a span { font-size: 0.75rem; color: var(--hibiscus); letter-spacing: 0.08em; }
.chips a:hover { background: var(--night); color: #fff; }

/* ---------- trips: the postcards you turn over (signature moment 2) ---------- */
/* background: night - on phones the photo sticks to the top, and while you scroll iPhone Safari can draw it a few px low.
   The gap then shows this box (dark, like the status bar) instead of the light paper. It is never visible otherwise:
   the photo and the card cover the whole box on screen. Desktop resets it (see the 960px block). */
.pc { position: relative; margin-bottom: 1.5rem; overflow-x: clip; background: var(--night); }
/* top: -1px, not 0: iPhone Safari leaves a 1px sliver above a stuck element while scrolling, and the light paper showed through it as a flickering line. */
.pc-front { position: sticky; top: -1px; height: 62svh; min-height: 380px; margin: 0; overflow: hidden; background: var(--night); }
.pc-front img { width: 100%; height: 100%; object-fit: cover; }
.pc-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 43 54 / 0.3) 0%, rgb(11 43 54 / 0) 25%, rgb(11 43 54 / 0) 45%, rgb(11 43 54 / 0.78) 100%); }
.pc-front figcaption { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: 3rem; color: #fff; }
.pc-front figcaption .label { color: var(--mango); margin-bottom: 0.4rem; }
.pc-front h2 { font-size: var(--t-mega); line-height: 0.88; letter-spacing: -0.02em; margin: 0; }
.pc-front .no { position: absolute; z-index: 1; top: 1.25rem; left: var(--gutter); color: #fff; font-size: var(--t-xs); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.pc-back { position: relative; z-index: 1; margin-top: -1.75rem; background: var(--card); border-radius: 18px 18px 0 0; padding: 2rem var(--gutter) 2.5rem; box-shadow: 0 -18px 40px -18px rgb(11 43 54 / 0.45); }
.pc-back-top { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: 1rem; }
.pc-back-top .stamp { --bg: var(--card); --tilt: 5deg; }
.pc-back-top .postmark { width: 112px; margin-top: 0.5rem; rotate: -8deg; }
.pc .note { font-family: var(--hand); font-weight: 500; font-size: var(--t-note); line-height: 1.25; max-width: 30ch; margin: 0 0 1.5rem; color: var(--night); }
.pc .take { font-size: var(--t-xs); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lagoon); margin: 0 0 0.6rem; }
.pc-list { padding-left: 1.15rem; margin: 0 0 1.75rem; color: var(--muted); }
.pc-list li { margin-bottom: 0.35rem; }
.pc-ask { border-top: 2px dashed var(--line); padding-top: 1.25rem; }
.pc-ask .label { margin-bottom: 0.75rem; color: var(--night); }
.pc-ask .btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.pc-ask .btn { min-height: 48px; padding-inline: 0.4rem; gap: 0.4rem; font-size: 0.98rem; }
.pc-ask .btn svg { width: 18px; height: 18px; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .pc { view-timeline: --pc block; }
    .pc-front img { animation: pc-cover linear both; animation-timeline: --pc; animation-range: contain 0% exit 0%; }
    .pc-back-top .postmark { animation: thunk-pm2 linear both; animation-timeline: view(); animation-range: entry 30% entry 90%; }
  }
}
@keyframes pc-cover { to { scale: 1.1; filter: brightness(0.7); } }
@keyframes thunk-pm2 { from { opacity: 0; scale: 1.6; rotate: -30deg; } to { rotate: -8deg; } }
@media (min-width: 960px) and (min-height: 700px) {
  .pc { width: min(var(--wrap), 100% - 4rem); margin: 0 auto 9rem; display: grid; grid-template-columns: 1.15fr 1fr; gap: 4rem; align-items: start; background: none; }
  .pc-front { top: 7rem; height: auto; min-height: 0; align-self: start; background: var(--card); padding: 10px; border-radius: 6px; rotate: var(--tilt); box-shadow: var(--pc-shadow); overflow: visible; }
  .pc-front img { aspect-ratio: 3 / 2; height: auto; border-radius: 2px; }
  .pc-front::after { inset: 10px; border-radius: 2px; }
  .pc-front figcaption { left: 2rem; right: 2rem; bottom: 2rem; }
  .pc-front .no { top: 1.75rem; left: 2rem; }
  .pc-front h2 { font-size: clamp(3.5rem, 6vw, 5.5rem); }
  .pc-back { margin-top: 2rem; border-radius: 6px; padding: 2.25rem; box-shadow: var(--pc-shadow); }
  .pc:nth-of-type(even) { grid-template-columns: 1fr 1.15fr; }
  .pc:nth-of-type(even) .pc-front { order: 2; }
  @supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) { .pc-front img { animation: none; } } }
}
@media (min-width: 1200px) and (min-height: 700px) {
  .pc-back { padding: 2.5rem; background: var(--card) linear-gradient(var(--line), var(--line)) 58% 2.5rem / 1px calc(100% - 5rem) no-repeat; display: grid; grid-template-columns: 58% 1fr; gap: 0 2.5rem; }
  .pc-back-top { grid-column: 1 / -1; }
  .pc-back .note-col { grid-column: 1; padding-right: 1rem; }
  .pc-back .pc-ask { grid-column: 2; border-top: 0; padding-top: 0; align-self: end; }
  .pc-ask .btns { grid-template-columns: 1fr; }
  .pc-ask .btn { justify-content: flex-start; background: transparent; color: var(--night); border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0.6rem 0; min-height: 56px; }
  .pc-ask .btn svg { color: var(--hibiscus); }
  .pc-ask .btn:hover { color: var(--hibiscus-deep); background: transparent; }
}
@media (hover: hover) and (min-width: 960px) { .pc-front { transition: rotate 240ms; } .pc-front:hover { rotate: 0deg; } }

/* blank postcard */
.pc-blank { width: min(720px, 100% - 2 * var(--gutter)); margin: 2rem auto 0; position: relative; background: var(--card); border: 2px dashed var(--line); border-radius: 6px; padding: 2.25rem clamp(1.5rem, 5vw, 3rem) 2rem; rotate: 1deg; }
.pc-blank .stampbox { position: absolute; top: 1.25rem; right: 1.25rem; width: 72px; height: 84px; border: 2px dashed var(--line); }
.pc-blank .hand { font-size: clamp(1.875rem, 6vw, 2.5rem); max-width: 16ch; margin: 0 0 1.25rem; }
.pc-blank .lines { height: 64px; margin: 0 0 1.5rem; background: repeating-linear-gradient(180deg, transparent 0 20px, var(--line) 20px 22px); }
.trips-fine { text-align: center; margin: 2.5rem auto 0; max-width: 46ch; padding-inline: var(--gutter); }

/* ---------- plan: the boarding pass (signature moment 3) ---------- */
.pass-note { font-size: var(--t-xs); color: var(--muted); margin: 0 0 1rem; }
.pass { display: grid; background: var(--card); border-radius: 18px; rotate: -1deg; filter: drop-shadow(0 20px 30px rgb(11 43 54 / 0.22)); }
.pass-main { padding: 0 0 1.5rem; }
.pass-band { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--night); color: var(--card); border-radius: 18px 18px 0 0; padding: 0.9rem 1.25rem; font-size: var(--t-xs); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.pass-band svg { width: 22px; height: 22px; color: var(--mango); flex: none; }
.pass-fields { display: grid; margin: 0; padding: 0.5rem 1.25rem 0; }
.pass-fields > div { padding-block: 1rem; border-bottom: 1px dashed var(--line); }
.pass-fields dt { font-size: var(--t-xs); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lagoon); }
.pass-fields dd { margin: 0.15rem 0 0.25rem; font-family: var(--hand); font-weight: 500; font-size: var(--t-note); line-height: 1.15; color: var(--night); }
.pass-fields p { margin: 0; font-size: var(--t-s); color: var(--muted); }
.pass-stub { position: relative; border-top: 2px dashed var(--line); padding: 1.5rem 1.25rem 1.5rem; display: grid; gap: 0.6rem; }
.pass-stub::before, .pass-stub::after { content: ""; position: absolute; top: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); }
.pass-stub::before { left: -13px; }
.pass-stub::after { right: -13px; }
.pass-stub .label { color: var(--night); margin-bottom: 0.25rem; }
.pass-stub .btn { width: 100%; }
.barcode { height: 44px; margin-top: 0.75rem; background: repeating-linear-gradient(90deg, var(--night) 0 2px, transparent 2px 5px, var(--night) 5px 6px, transparent 6px 9px, var(--night) 9px 12px, transparent 12px 14px); opacity: 0.85; }
@media (min-width: 860px) {
  .pass { grid-template-columns: 1fr 300px; }
  .pass-band { border-radius: 18px 0 0 0; }
  .pass-fields { grid-template-columns: repeat(3, 1fr); gap: 0 2rem; padding: 0.5rem 1.75rem 0; }
  .pass-stub { border-top: 0; border-left: 2px dashed var(--line); padding: 1.75rem 1.5rem; align-content: start; }
  .pass-stub::before { top: -13px; left: -14px; }
  .pass-stub::after { top: auto; bottom: -13px; left: -14px; right: auto; }
}
@media (hover: hover) and (min-width: 860px) { .pass-stub { transition: rotate 240ms, translate 240ms; transform-origin: top left; } .pass:hover .pass-stub { rotate: 2deg; translate: 6px 4px; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (max-width: 859px) {
    .pass-stub { transform-origin: top left; animation: stub-swing linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  }
}
@keyframes stub-swing { from { rotate: 4deg; } }

/* ---------- about ---------- */
.about-top { display: grid; gap: 2.5rem; align-items: center; }
.about-photo { position: relative; justify-self: center; padding: 1rem 2rem 2rem; }
.about-photo .snap { --w: 215px; --tilt: -2deg; z-index: 2; }
.about-photo .stamp { position: absolute; z-index: 3; left: 0.25rem; top: -0.25rem; --tilt: -10deg; }
.about-photo .postmark { position: absolute; z-index: 3; right: -0.5rem; bottom: 0.5rem; width: 116px; rotate: -14deg; }
.about-photo .behind { display: none; }
@media (min-width: 900px) {
  .about-top { grid-template-columns: 1fr 1.2fr; gap: 4rem; }
  .about-photo .snap { --w: 260px; }
  .about-photo .behind { display: block; position: absolute; z-index: 1; width: 340px; right: -6rem; top: 3.5rem; --tilt: 6deg; }
}
.story { max-width: 34em; }
.story .pull { font-family: var(--serif); font-size: var(--t-l); line-height: 1.1; margin-bottom: 1.25rem; }
.story .sig { font-family: var(--hand); font-weight: 700; font-size: 2rem; color: var(--hibiscus); }

/* ---------- privacy (a letter) ---------- */
.letter { position: relative; max-width: 40em; }
.letter h2 { font-family: var(--sans); font-weight: 700; font-size: 1.25rem; line-height: 1.3; margin: 2.25rem 0 0.5rem; }
.letter .postmark { position: absolute; right: -1rem; top: -6rem; width: 120px; rotate: 10deg; }
@media (max-width: 699px) { .letter .postmark { right: 0; top: -4.5rem; width: 96px; } }
.letter ul { padding-left: 1.2rem; }
.letter a { padding-block: 0.6rem; }

/* ---------- 404 ---------- */
.lost { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; background: var(--night); overflow: hidden; }
.lost > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.lost .wrap { position: relative; z-index: 1; padding-block: 8rem 4rem; }
.lost .label { color: var(--mango); }
.lost h1 { max-width: 12ch; }
.lost .postmark { position: absolute; right: var(--gutter); top: 6rem; rotate: 14deg; }

/* ---------- footer ---------- */
.site-foot { position: relative; background: var(--night); color: rgb(255 250 240 / 0.86); padding: 4rem 0 2rem; font-size: var(--t-s); }
.site-foot::before { content: ""; position: absolute; inset: 0 0 auto; height: 10px; background: var(--airmail-stripe); }
.site-foot a { color: var(--card); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.site-foot a:hover { color: var(--mango); text-decoration: underline; }
.foot-grid { display: grid; gap: 2rem; margin-bottom: 2.5rem; }
.foot-brand { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--card); margin-bottom: 0.75rem; }
.foot-brand small { display: block; font-family: var(--sans); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.22em; color: var(--mango); margin-top: 0.35rem; }
.site-foot h3 { font-family: var(--sans); font-size: var(--t-xs); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mango); margin-bottom: 0.5rem; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.foot-base { border-top: 1px solid rgb(255 250 240 / 0.16); padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0 1.5rem; justify-content: space-between; align-items: center; }
.foot-disclose { font-size: var(--t-xs); color: rgb(255 250 240 / 0.66); margin: 1rem 0 0; max-width: 70ch; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr; } }

/* ---------- phone call bar ---------- */
.callbar { display: none; }
@media (max-width: 719px) {
  .callbar { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 0.5rem; position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom)); background: var(--night); box-shadow: 0 -8px 24px rgb(0 0 0 / 0.2); view-transition-name: callbar; }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: 56px; border-radius: 999px; color: #fff; font-weight: 800; text-decoration: none; border: 1.5px solid rgb(255 250 240 / 0.35); }
  .callbar a.go { background: var(--hibiscus); border-color: var(--hibiscus); }
  .callbar svg { width: 20px; height: 20px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  @supports (animation-timeline: scroll()) {
    @media (prefers-reduced-motion: no-preference) {
      .home .callbar { animation: bar-up linear both; animation-timeline: scroll(root block); animation-range: 50svh 70svh; }
    }
  }
}
@keyframes bar-up { from { translate: 0 110%; } }

/* ---------- arrivals: things land like paper ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .land { animation: land linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    .thunk { animation: thunk-in linear both; animation-timeline: view(); animation-range: entry 20% entry 70%; }
    .promises li { animation: slide-in linear both; animation-timeline: view(); animation-range: entry 10% entry 60%; }
  }
}
@keyframes land { from { opacity: 0; translate: 0 24px; rotate: calc(var(--tilt) + 3deg); } }
@keyframes thunk-in { from { opacity: 0; scale: 1.6; } }
@keyframes slide-in { from { opacity: 0; translate: -32px 0; } }

/* ---------- cross-page view transitions ---------- */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
::view-transition-old(root) { animation: 220ms ease both vt-out; }
::view-transition-new(root) { animation: 280ms ease both vt-in; }
@keyframes vt-out { to { opacity: 0; translate: 0 -12px; } }
@keyframes vt-in { from { opacity: 0; } }
