/* ==========================================================================
   Sightseeing Sophie — main stylesheet
   1. Tokens          5. Navigation & menu     9. Pages: books, book, about…
   2. Base            6. Footer               10. Motion helpers
   3. Typography      7. Components           11. Reduced motion
   4. Buttons/links   8. Home sections         9b. Shop: bag & checkout
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
/* While the web fonts load, metric-matched local stand-ins set text at the same width, so nothing
   re-wraps (and jumps) when the real fonts arrive. Ratios were measured on the site's own text.
   Fraunces changes shape with size (optical sizing), so the big page titles get their own. */
@font-face { font-family: 'DM Sans fallback'; src: local('Arial'), local('ArialMT'), local('Helvetica'); size-adjust: 103.6%; }
@font-face { font-family: 'Fraunces title fallback'; src: local('Georgia'); size-adjust: 90%; }

:root {
  --paper: #fffaf2;
  --paper-2: #f8f0e3;
  --paper-3: #efe3cf;
  --ink: #1d3640;
  --ink-2: #4a636c;
  --ink-3: #5d7178;
  --teal: #3c788c;
  --teal-deep: #2a5d6e;
  --sky: #dcedf8;
  --sky-2: #c4dff2;
  --coral: #e5604f;
  --coral-deep: #cc4637;
  --butter: #fce8a6;
  --blush: #f9dfe1;
  --mint: #d8eedf;
  --lavender: #e9e1f7;
  --peach: #fbdcca;
  --line: rgba(29, 54, 64, 0.12);
  --line-2: rgba(29, 54, 64, 0.22);

  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body: 'DM Sans', 'DM Sans fallback', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;

  --container: 1320px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --section: clamp(96px, 12vw, 180px);
  --radius-sm: 12px;
  --radius: 24px;
  --radius-lg: 36px;

  --shadow-sm: 0 1px 2px rgba(29, 54, 64, 0.06), 0 6px 16px rgba(29, 54, 64, 0.07);
  --shadow: 0 2px 6px rgba(29, 54, 64, 0.05), 0 18px 40px -10px rgba(29, 54, 64, 0.2);
  --shadow-lg: 0 4px 12px rgba(29, 54, 64, 0.06), 0 40px 80px -24px rgba(29, 54, 64, 0.34);
  --shadow-book: -1px 1px 1px rgba(29, 54, 64, 0.08), 3px 5px 8px rgba(29, 54, 64, 0.12),
    14px 24px 34px -8px rgba(29, 54, 64, 0.26), 30px 50px 70px -26px rgba(29, 54, 64, 0.3);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --tint: var(--sky);
  --tone: var(--teal);
}
/* A deeper shade of each city's colour for small text (keeps WCAG AA contrast on the tints).
   Re-computed wherever a city sets --tone inline. */
:root, [style*='--tone'] { --tone-ink: color-mix(in srgb, var(--tone) 70%, #1d3640); }

/* 2. Base ------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.is-locked { overflow: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Cross-page fade (where supported); skipped entirely for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out 0.45s var(--ease) both; }
  ::view-transition-new(root) { animation: vt-in 0.6s var(--ease) both; }
}
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

/* Paper grain over everything — gives the flat colours a gouache, printed feel. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2400;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .2 0 0 0 0 .25 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
/* :where() keeps this at zero specificity, so a list's own class rule can still set its padding. */
:where(ul[class], ol[class]) { list-style: none; padding: 0; }
::selection { background: var(--butter); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.footer :focus-visible, .bundle :focus-visible, .lightbox :focus-visible { outline-color: var(--butter); }
/* Script-moved focus (skip targets, a new quiz clue, the "sent!" heading) needs no ring. */
[tabindex='-1']:focus { outline: none; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.only-desktop { display: none; }
@media (min-width: 1024px) { html.motion .only-desktop { display: inline; } html.motion .only-touch { display: none; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: fixed; left: 16px; top: 16px; z-index: 5000;
  padding: 0.7em 1.2em; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600;
  transform: translateY(-160%); transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--sm { width: 1em; height: 1em; }
.icon--xs { width: 0.85em; height: 0.85em; display: inline-block; vertical-align: -0.08em; }

/* 3. Typography ------------------------------------------------------------ */
.display, .h1, .h2, h1, h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: 'SOFT' 100;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h1, .h1 { font-size: clamp(2.9rem, 6.6vw, 6.6rem); line-height: 0.98; }
.h2 { font-size: clamp(2.3rem, 5vw, 4.8rem); line-height: 1.02; }
.display em, .h1 em, .h2 em, h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--teal); }
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: 'SOFT' 100;
  letter-spacing: -0.015em;
  line-height: 1.12;
}
p { text-wrap: pretty; }
.lead { font-size: clamp(1.08rem, 1.3vw, 1.27rem); line-height: 1.6; color: var(--ink-2); }
.eyebrow {
  display: inline-flex;
  font-family: var(--font-body);
  align-items: center;
  gap: 0.6em;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.eyebrow .icon { color: var(--coral); }
.eyebrow--light { color: rgba(255, 250, 242, 0.85); }
.eyebrow--light em { font-style: italic; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 1.1em; }
.hand { font-family: var(--font-hand); font-weight: 600; }

/* SplitText helpers (lines are masked; words/chars rise into view). The mask reaches 0.25em below
   the line (cancelled by the negative margin) so tails of g, p, y in the tight display lines aren't cut. */
.split-line { display: block; overflow: clip; padding-bottom: 0.25em; margin-bottom: -0.25em; }

/* 4. Buttons & links -------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-fill: var(--coral-deep);
  --btn-fg-hover: #fff;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  height: 58px;
  padding: 0 1.55em 0 1.8em;
  border-radius: 999px;
  overflow: hidden;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.005em;
  white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgba(29, 54, 64, 0.55);
  transition: color 0.45s var(--ease), box-shadow 0.45s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn__fill {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  z-index: -1;
  width: 240%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--btn-fill);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.7s var(--ease);
}
.btn:hover .btn__fill, .btn:focus-visible .btn__fill { transform: translate(-50%, -50%) scale(1); }
.btn:hover, .btn:focus-visible { color: var(--btn-fg-hover); }
/* Rolling label: the copy waits just below and slides up as the text slides out. */
.btn__label { position: relative; display: inline-block; overflow: hidden; line-height: 1.35; }
.btn__text { display: block; transition: transform 0.6s var(--ease); }
.btn__text--clone { position: absolute; left: 0; top: 100%; }
.btn:hover .btn__text, .btn:focus-visible .btn__text { transform: translateY(-100%); }
.btn__icon { width: 1.15em; height: 1.15em; transition: transform 0.6s var(--ease); }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn--sm { height: 46px; font-size: 0.93rem; padding: 0 1.15em 0 1.35em; }
.btn--light { --btn-bg: rgba(255, 255, 255, 0.55); --btn-fg: var(--ink); --btn-fill: var(--ink); --btn-fg-hover: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--coral { --btn-bg: var(--coral-deep); --btn-fg: #fff; --btn-fill: var(--ink); box-shadow: 0 12px 26px -12px rgba(204, 70, 55, 0.7); }
.btn--paper { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-fill: var(--butter); --btn-fg-hover: var(--ink); }
/* Icon before the label ("← Back to …"): mirrored padding, and the arrow nudges the other way. */
.btn--icon-first { padding: 0 1.8em 0 1.55em; }
.btn--icon-first.btn--sm { padding: 0 1.35em 0 1.15em; }
.btn--icon-first:hover .btn__icon { transform: translateX(-3px); }

.link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.35em 0;
  font-weight: 600;
}
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform 0.5s var(--ease); }
.link-arrow::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1em;
  height: 1.5px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.link-arrow:hover::after { animation: underline-swipe 0.8s var(--ease); }
.link-arrow:hover .icon { transform: translate(2px, 1px); }
@keyframes underline-swipe {
  0% { transform: scaleX(1); transform-origin: right; }
  45% { transform: scaleX(0); transform-origin: right; }
  46% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li {
  padding: 0.42em 0.95em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
}

/* 5. Navigation & menu ----------------------------------------------------- */
.flight-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 1100; pointer-events: none; opacity: 0; transition: opacity 0.4s; }
.flight-progress.is-on { opacity: 1; }
.flight-progress__trail {
  height: 100%;
  transform-origin: left;
  transform: scaleX(var(--p, 0));
  background: repeating-linear-gradient(90deg, var(--coral) 0 9px, transparent 9px 15px);
}
.flight-progress__plane {
  position: absolute;
  top: -6px;
  left: 0;
  width: 15px;
  height: 15px;
  color: var(--coral);
  transform: translateX(calc(var(--p, 0) * 100vw - 12px));
}

.nav {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-inline: clamp(10px, 2.2vw, 28px);
  pointer-events: none;
  transition: transform 0.7s var(--ease);
}
.nav.is-hidden { transform: translateY(calc(-100% - 24px)); }
.nav__bar {
  pointer-events: auto;
  position: relative;
  max-width: 1420px;
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 10px 0 22px;
  border-radius: 999px;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), backdrop-filter 0.5s;
}
.nav.is-scrolled .nav__bar, .menu-open .nav__bar {
  background: rgba(255, 250, 242, 0.8);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 0 0 1px rgba(29, 54, 64, 0.07), 0 14px 34px -16px rgba(29, 54, 64, 0.3);
}
.menu-open .nav__bar { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav__logo { display: block; flex: none; }
.nav__logo img { height: 40px; width: auto; transition: transform 0.5s var(--ease); }
.nav__logo:hover img { transform: rotate(-3deg) scale(1.04); }
.nav__links { position: relative; display: flex; align-items: center; gap: 2px; }
.nav__pill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 999px;
  background: var(--butter);
  opacity: 0;
  transition: transform 0.5s var(--ease), width 0.5s var(--ease), opacity 0.3s;
  pointer-events: none;
}
.nav__link {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0.6em 1.05em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
}
.nav__label { position: relative; display: block; overflow: hidden; }
.nav__text { display: block; transition: transform 0.5s var(--ease); }
.nav__text--clone { position: absolute; left: 0; top: 100%; }
.nav__link:hover .nav__text, .nav__link:focus-visible .nav__text { transform: translateY(-100%); }
.nav__link.is-active::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--coral);
}
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__burger {
  display: none;
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
}
.nav__burger span {
  position: absolute;
  left: 15px;
  right: 15px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.55s var(--ease), top 0.55s var(--ease);
}
.nav__burger span:nth-child(1) { top: 20px; }
.nav__burger span:nth-child(2) { top: 28px; }
.menu-open .nav__burger span:nth-child(1) { top: 24px; transform: rotate(45deg); }
.menu-open .nav__burger span:nth-child(2) { top: 24px; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .nav__links, .nav__shop { display: none; }
  .nav__burger { display: block; }
  .nav__bar { height: 62px; padding-left: 18px; }
  .nav__logo img { height: 34px; }
}

.menu { position: fixed; inset: 0; z-index: 950; pointer-events: none; }
.menu-open .menu { pointer-events: auto; }
.menu__panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 120px var(--gutter) max(32px, env(safe-area-inset-bottom));
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--sky);
  clip-path: circle(0% at calc(100% - 58px) 52px);
  transition: clip-path 0.85s var(--ease-in-out);
}
.menu-open .menu__panel { clip-path: circle(150% at calc(100% - 58px) 52px); }
.menu__links { position: relative; z-index: 1; display: flex; flex-direction: column; }
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.12em 0;
  font-family: var(--font-display);
  font-variation-settings: 'SOFT' 100;
  font-size: clamp(2.5rem, 10.5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  overflow: hidden;
}
.menu__num { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: var(--teal); }
.menu__link.is-active .menu__text { font-style: italic; color: var(--teal); }
.menu__text, .menu__num { display: inline-block; transform: translateY(110%); transition: transform 0.8s var(--ease); }
.menu-open .menu__text, .menu-open .menu__num { transform: none; }
.menu__link:nth-child(1) * { transition-delay: 0.18s; }
.menu__link:nth-child(2) * { transition-delay: 0.23s; }
.menu__link:nth-child(3) * { transition-delay: 0.28s; }
.menu__link:nth-child(4) * { transition-delay: 0.33s; }
.menu__link:nth-child(5) * { transition-delay: 0.38s; }
.menu__link:nth-child(6) * { transition-delay: 0.43s; }
.menu__foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s 0.4s, transform 0.8s 0.4s var(--ease);
}
.menu-open .menu__foot { opacity: 1; transform: none; }
.menu__mail { font-weight: 600; }
.menu__deco { position: absolute; pointer-events: none; opacity: 0; transition: opacity 0.8s 0.5s, transform 1.2s 0.4s var(--ease); }
.menu-open .menu__deco { opacity: 1; transform: none; }
.menu__deco--1 { right: -6%; bottom: 18%; width: min(62vw, 360px); transform: translateX(40px); }
.menu__deco--2 { right: 12%; top: 16%; width: 70px; transform: rotate(-20deg) translateY(30px); }
.menu__deco--3 { right: 4%; top: 36%; width: 64px; transform: translateY(30px); }

.socials { display: flex; gap: 0.5rem; }
.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  transition: background 0.3s, color 0.3s, transform 0.5s var(--ease);
}
.socials a:hover { background: var(--ink); color: var(--paper); transform: translateY(-3px); }
.socials .icon { width: 19px; height: 19px; }

/* Custom cursor label (only shown over [data-cursor] elements on mouse devices). */
.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2500;
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  pointer-events: none;
  transform: scale(0);
  will-change: transform;
}
.cursor__label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; line-height: 1.15; padding: 0 10px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* 6. Footer ---------------------------------------------------------------- */
.footer { position: relative; overflow: clip; background: var(--sky); color: var(--paper); }
.footer__sky { position: relative; height: clamp(150px, 26vw, 330px); }
.footer__skyline {
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: min(1180px, 112vw);
  max-width: none;
  transform: translate(-50%, 7%);
  mix-blend-mode: multiply;
}
.footer__body { position: relative; background: var(--ink); padding: clamp(3.5rem, 7vw, 6rem) 0 1.6rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1.3fr 1fr; gap: 2.5rem; }
.footer__logo img { width: 210px; height: auto; }
.footer__brand p { margin: 1.1rem 0 1.4rem; max-width: 28ch; color: rgba(255, 250, 242, 0.72); }
.footer .socials a { box-shadow: inset 0 0 0 1.5px rgba(255, 250, 242, 0.25); }
.footer .socials a:hover { background: var(--paper); color: var(--ink); }
.footer__title { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--butter); margin-bottom: 1.1rem; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer__col ul { display: grid; gap: 0.55rem; }
.footer__col a { color: rgba(255, 250, 242, 0.82); transition: color 0.3s; }
.footer__col a:hover { color: #fff; }
.footer__cities { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
.footer__big {
  display: flex;
  justify-content: center;
  gap: 0.18em;
  margin: clamp(3rem, 7vw, 6rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--font-display);
  font-variation-settings: 'SOFT' 100;
  font-size: clamp(4rem, 15.5vw, 16rem);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.045em;
  color: #5f8b99;
  white-space: nowrap;
  user-select: none;
}
.footer__big em { font-weight: 400; color: #8ec3d1; }
.footer__big .char { display: inline-block; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 250, 242, 0.14);
  font-size: 0.9rem;
  color: rgba(255, 250, 242, 0.6);
}
.footer__bottom p { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer__bottom a:hover { color: #fff; }
.footer__top { display: inline-flex; align-items: center; gap: 0.4em; }
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}

/* 7. Components ------------------------------------------------------------ */

/* Book cover dressed up as a real hardback: spine crease, gloss and pointer glare. */
.book {
  position: relative;
  display: block;
  border-radius: 3px 10px 10px 3px;
  box-shadow: var(--shadow-book);
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
  will-change: transform;
}
.book img { width: 100%; aspect-ratio: 900 / 1218; object-fit: cover; object-position: top; border-radius: inherit; }
.book::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(255, 255, 255, 0.32) 1.4%, rgba(0, 0, 0, 0.12) 3%, rgba(255, 255, 255, 0.1) 4.6%, transparent 8%),
    linear-gradient(170deg, rgba(255, 255, 255, 0.18), transparent 32%);
}
.book::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, 0.42), transparent 48%);
  opacity: 0;
  transition: opacity 0.5s;
}
.book.is-tilting { transition: transform 0.25s linear, box-shadow 0.7s var(--ease); }
.book.is-tilting::after, .book:focus-visible::after { opacity: 1; }

/* Speech bubble */
.bubble {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.7em 1.15em 0.6em;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  white-space: nowrap;
  transform-origin: 70% 110%;
}
.bubble::after {
  content: '';
  position: absolute;
  right: 22%;
  bottom: -11px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 3px;
  transform: rotate(45deg) skew(8deg, 8deg);
}
.bubble__word { position: relative; z-index: 1; font-family: var(--font-display); font-variation-settings: 'SOFT' 100; font-style: italic; font-size: 1.55rem; font-weight: 500; line-height: 1.1; color: var(--ink); }
.bubble__lang { position: relative; z-index: 1; font-family: var(--font-hand); font-size: 1.15rem; line-height: 1; color: var(--coral-deep); }

/* Dashed flight routes (revealed through a mask, plane rides the guide path). */
.route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.route__dash { fill: none; stroke: var(--teal); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 1 11; opacity: 0.75; }
.route__reveal { fill: none; stroke: #fff; stroke-width: 26; stroke-linecap: round; }
.route__guide { fill: none; stroke: none; }
.route__plane { color: var(--coral); }

/* Fanned covers (hand of cards). --spread is animated by JS. */
.fan { --spread: 64deg; position: relative; height: clamp(230px, 25vw, 360px); }
.fan__card {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: clamp(88px, 10vw, 150px);
  margin-left: calc(clamp(88px, 10vw, 150px) / -2);
  border-radius: 3px 8px 8px 3px;
  box-shadow: var(--shadow);
  transform-origin: 50% 170%;
  transform: rotate(calc(var(--t) * var(--spread))) translateY(var(--lift, 0px));
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.fan__card img { width: 100%; aspect-ratio: 900 / 1218; object-fit: cover; object-position: top; border-radius: inherit; }
.fan__card:hover, .fan__card:focus-visible { --lift: -26px; z-index: 20; box-shadow: var(--shadow-lg); }
html.motion .fan:not(.is-open) .fan__card { transition: none; }

/* Accordion */
.accordion__item { border-bottom: 1.5px solid var(--line); }
.accordion__item:first-child { border-top: 1.5px solid var(--line); }
.accordion__h { font: inherit; }
.accordion__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.45rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-variation-settings: 'SOFT' 100;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.accordion__icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-2);
  transition: transform 0.6s var(--ease), background 0.3s;
}
.accordion__q:hover .accordion__icon { background: var(--butter); }
.accordion__item.is-open .accordion__icon { transform: rotate(135deg); background: var(--butter); }
/* Collapsed from the first paint when scripts run. Every answer shows without JS, or if app.js
   never starts (the head script's 5s safety net then adds .motion-fallback). */
.accordion__a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.6s var(--ease); }
html.js .accordion__a { grid-template-rows: 0fr; }
html.js .accordion__item.is-open .accordion__a,
html.motion-fallback .accordion:not(.is-ready) .accordion__a { grid-template-rows: 1fr; }
.accordion__a > div { overflow: hidden; }
.accordion__a p { padding: 0 4rem 1.6rem 0; color: var(--ink-2); }
.accordion__a a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }

/* Passport stamps */
.stamp { display: block; color: var(--stamp, var(--teal)); transform: rotate(var(--rot, 0deg)); transition: transform 0.5s var(--ease-spring); }
.stamp svg { width: 100%; height: auto; overflow: visible; }
.stamp__ink { filter: url(#f-stamp); }
.stamp text { fill: currentColor; font-family: var(--font-body); font-weight: 700; }
.stamp__arc { font-size: 12.5px; letter-spacing: 0.14em; }
.stamp__code { font-size: 23px; letter-spacing: 0.04em; }
.stamp__code--big { font-size: 30px; }
.stamp__small { font-size: 9.5px; letter-spacing: 0.16em; }
.stamp__small--long { font-size: 8px; letter-spacing: 0.06em; }
.stamp:hover, .stamp:focus-visible { transform: rotate(0deg) scale(1.1); }

/* Postcards */
.postcard {
  position: absolute;
  width: min(540px, 44vw);
  aspect-ratio: 1.58;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  padding: clamp(1.1rem, 1.8vw, 1.7rem);
  border-radius: 10px;
  background: #fffdf8;
  box-shadow: var(--shadow-lg);
  margin: 0;
  grid-template-rows: 1fr auto;
  transform: rotate(var(--rot));
}
@media (hover: hover) and (pointer: fine) and (min-width: 861px) {
  html.motion .postcard { touch-action: none; cursor: grab; user-select: none; }
  html.motion .postcard.is-dragging { cursor: grabbing; }
}
.postcard::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), transparent 40%), radial-gradient(circle at 80% 90%, rgba(239, 227, 207, 0.6), transparent 60%);
}
.postcard__msg { position: relative; grid-column: 1; grid-row: 1; display: flex; flex-direction: column; padding-right: clamp(0.8rem, 1.4vw, 1.4rem); border-right: 1.5px solid var(--line); }
.postcard__stars { margin-bottom: 0.45rem; font-size: 0.85rem; line-height: 1; letter-spacing: 0.14em; color: var(--coral-deep); }
.postcard__hello { margin-bottom: 0.35rem; font-family: var(--font-hand); font-size: clamp(1.15rem, 1.5vw, 1.4rem); font-weight: 600; line-height: 1.1; color: var(--ink-2); }
.postcard blockquote p { font-family: var(--font-hand); font-weight: 500; font-size: clamp(1.25rem, 1.75vw, 1.7rem); line-height: 1.16; }
.postcard__sig { position: relative; grid-column: 1; grid-row: 2; padding: 0.6rem clamp(0.8rem, 1.4vw, 1.4rem) 0 0; border-right: 1.5px solid var(--line); font-family: var(--font-hand); font-weight: 700; font-size: clamp(1.25rem, 1.6vw, 1.55rem); line-height: 1.1; color: var(--teal-deep); }
.postcard__sig span { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.02em; color: var(--ink-3); }
.postcard__side { position: relative; grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; padding-left: clamp(0.8rem, 1.4vw, 1.4rem); }
.postcard__stamp {
  align-self: flex-end;
  width: clamp(72px, 7.5vw, 104px);
  padding: 6px;
  background: radial-gradient(circle, transparent 3px, #fff 3.5px) -5px -5px / 10px 10px;
  filter: drop-shadow(0 2px 3px rgba(29, 54, 64, 0.18));
  transform: rotate(3deg);
}
.postcard__stamp-in { position: relative; aspect-ratio: 0.82; display: grid; place-items: center; padding: 8% 8% 25%; background: var(--tint); }
.postcard__stamp-in img { width: 100%; height: 100%; object-fit: contain; }
.postcard__stamp-in span { position: absolute; left: 0; right: 0; bottom: 5%; text-align: center; font-size: 0.55rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tone-ink); }
.postcard__postmark { position: absolute; right: clamp(40px, 5vw, 70px); top: clamp(36px, 3.6vw, 52px); width: clamp(100px, 10vw, 140px); color: var(--tone); opacity: 0.55; transform: rotate(-12deg); mix-blend-mode: multiply; }
.postcard__postmark text { fill: currentColor; font-family: var(--font-body); font-weight: 700; font-size: 15px; letter-spacing: 0.06em; }
.postcard__postmark .small { font-size: 7.5px; letter-spacing: 0.12em; }
.postcard__lines { margin-top: auto; display: grid; gap: 0.15rem; }
.postcard__lines span { display: block; min-height: 1.75em; border-bottom: 1.5px solid var(--line-2); font-family: var(--font-hand); font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.7; color: var(--ink-2); }

/* Loupe (magnifying lens over a painted map) */
.loupe { position: relative; overflow: hidden; border-radius: 18px; box-shadow: var(--shadow); cursor: crosshair; }
.loupe img { width: 100%; height: auto; }
.loupe__lens {
  position: absolute;
  left: 0;
  top: 0;
  width: 160px;
  height: 160px;
  margin: -80px 0 0 -80px;
  border-radius: 50%;
  pointer-events: none;
  background-image: var(--src);
  background-repeat: no-repeat;
  box-shadow: 0 0 0 5px #fff, 0 18px 40px -10px rgba(29, 54, 64, 0.5);
  transform: translate(var(--lx, 50%), var(--ly, 50%)) scale(0);
  transition: transform 0.35s var(--ease);
}
.loupe.is-on .loupe__lens { transform: translate(var(--lx), var(--ly)) scale(1); transition: none; }

/* 8. Home sections ---------------------------------------------------------- */

/* Hero ---------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  overflow: clip;
}
.hero__sky {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: linear-gradient(180deg, #c6e1f4 0%, #d9ecf8 34%, #eef4f3 62%, #fff4e4 82%, var(--paper) 100%);
}
.hero__sun {
  position: absolute;
  left: 58%;
  bottom: -18%;
  width: 70vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 225, 160, 0.75) 0%, rgba(255, 228, 175, 0.35) 32%, transparent 64%);
  transform: translateX(-50%);
}
.cloud { position: absolute; width: 240px; height: 120px; color: #fff; filter: drop-shadow(0 14px 18px rgba(110, 150, 180, 0.14)); }
.hero .cloud { animation: drift linear infinite; }
.cloud--1 { top: 13%; left: -18%; width: 300px; height: 150px; animation-duration: 95s !important; animation-delay: -10s !important; }
.cloud--2 { top: 30%; left: -18%; width: 180px; height: 90px; opacity: 0.85; animation-duration: 120s !important; animation-delay: -64s !important; }
.cloud--3 { top: 8%; left: -18%; width: 220px; height: 110px; animation-duration: 105s !important; animation-delay: -42s !important; }
.cloud--4 { top: 44%; left: -18%; width: 150px; height: 75px; opacity: 0.75; animation-duration: 140s !important; animation-delay: -100s !important; }
.cloud--5 { top: 22%; left: -18%; width: 260px; height: 130px; opacity: 0.9; animation-duration: 115s !important; animation-delay: -20s !important; }
@keyframes drift { from { translate: 0 0; } to { translate: 140vw 0; } }
.bird { position: absolute; width: 26px; height: 11px; color: rgba(29, 54, 64, 0.5); animation: flap 0.9s ease-in-out infinite alternate, glide 26s linear infinite; }
.bird--1 { top: 20%; left: 40%; }
.bird--2 { top: 23%; left: 43%; width: 18px; animation-delay: -0.3s, -8s; }
.bird--3 { top: 17%; left: 46%; width: 20px; animation-delay: -0.6s, -4s; }
@keyframes flap { to { transform: scaleY(0.45); } }
@keyframes glide { from { translate: -10vw 2vh; } 50% { translate: 20vw -3vh; } to { translate: 50vw 1vh; } }

.hero__route { z-index: -1; }
.hero__inner { position: relative; z-index: 2; flex: 1; display: flex; padding-top: clamp(112px, 18vh, 200px); }
.hero__copy { max-width: 820px; }
.hero__title { margin: 1.2rem 0 1.4rem; font-size: clamp(2.8rem, min(5.8vw, 9.6vh), 6.4rem); line-height: 0.95; letter-spacing: -0.038em; }
/* app.js clips each line while its words rise in; the extra room below keeps the tails of p and y. */
.hero__line { display: block; padding-bottom: 0.25em; margin-bottom: -0.25em; }
.hero__line--accent em { color: var(--teal); }
.hero__lead { max-width: 31rem; font-size: clamp(1.06rem, 1.25vw, 1.22rem); color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; margin-top: 2.1rem; }
.hero__proof { display: flex; align-items: center; gap: 1.2rem; margin-top: 2.2rem; font-size: 0.9rem; line-height: 1.35; color: var(--ink-2); }
.hero__proof strong { color: var(--ink); }
.hero__minis { display: flex; padding-left: 10px; }
.hero__mini { width: 38px; margin-left: -10px; border-radius: 2px 5px 5px 2px; aspect-ratio: 900 / 1218; object-fit: cover; box-shadow: 0 0 0 2px var(--paper), var(--shadow-sm); }
.hero__mini:nth-child(1) { transform: rotate(-8deg); }
.hero__mini:nth-child(2) { transform: translateY(-4px); }
.hero__mini:nth-child(3) { transform: rotate(8deg); }

.hero__stage { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 44%; pointer-events: none; }
.hero__skyline { position: absolute; inset: 0; }
.lm { position: absolute; bottom: 7%; }
.lm img { width: 100%; height: auto; }
.lm--far { opacity: 0.5; filter: saturate(0.75); }
.lm--table-mountain { left: 11%; width: min(31vw, 50vh); bottom: 22%; }
.lm--great-wall { left: 37%; width: min(19vw, 31vh); bottom: 15%; }
.lm--st-basils { left: -1.5%; width: min(12vw, 19vh); bottom: 5%; }
.lm--colosseum { left: 9%; width: min(17vw, 27vh); bottom: 4%; }
.lm--statue-of-liberty { left: 25%; width: min(14.5vw, 23vh); bottom: 3%; }
.lm--burj-khalifa { left: 48.5%; width: min(5.6vw, 9vh); bottom: 7%; }
.lm--big-buddha { left: 55%; width: min(9vw, 14.5vh); bottom: 6%; }
.lm--opera-house { right: -3%; width: min(25vw, 40vh); bottom: 3%; }
.hero__ground { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 90px); fill: var(--paper); }

.hero__sophie {
  position: absolute;
  z-index: 3;
  right: clamp(16px, 9vw, 180px);
  bottom: 3%;
  width: clamp(190px, min(23vw, 39vh), 430px);
  margin: 0;
}
.hero__sophie img { width: 100%; filter: drop-shadow(0 26px 22px rgba(29, 54, 64, 0.18)); }
.hero__sophie .bubble { left: -36%; top: 1%; }

@media (max-width: 1023px) {
  .lm--table-mountain, .lm--great-wall, .lm--big-buddha { display: none; }
}
@media (max-width: 760px) {
  .hero { height: auto; min-height: 0; }
  .hero__route { display: none; }
  .hero__inner { padding-top: 116px; }
  .hero__title { font-size: clamp(2.6rem, 11.5vw, 4rem); }
  .hero__proof { display: none; }
  .hero__stage { position: relative; height: 92vw; margin-top: 1rem; }
  .lm--st-basils { width: 26vw; left: -4%; bottom: 8%; }
  .lm--colosseum { width: 34vw; left: 12%; bottom: 4%; }
  .lm--statue-of-liberty { display: none; }
  .lm--burj-khalifa { width: 10vw; left: 60%; bottom: 12%; }
  .lm--opera-house { width: 48vw; right: -14%; bottom: 3%; }
  .hero__sophie { right: auto; left: 44%; width: 45vw; bottom: 3%; }
  .hero__sophie .bubble { left: -58%; top: 6%; }
  .bubble__word { font-size: 1.25rem; }
  .hero__sky .cloud { scale: 0.55; transform-origin: left top; }
  .intro__deco { display: none; }
}

/* Tapes (marquees) ---------------------------------------------------------- */
.tapes { position: relative; z-index: 4; padding: 2.4rem 0 1rem; overflow: clip; }
.tape { display: flex; overflow: hidden; margin-inline: -3vw; padding: 1rem 0; white-space: nowrap; box-shadow: var(--shadow); }
.tape--ink { position: relative; z-index: 2; background: var(--ink); color: var(--paper); transform: rotate(-2deg); }
.tape--butter { position: relative; z-index: 1; margin-top: -0.9rem; background: var(--butter); color: var(--ink); transform: rotate(1.4deg); }
.tape__track { flex: none; display: flex; will-change: transform; }
.tape__group { flex: none; display: flex; align-items: center; gap: clamp(1.4rem, 2.6vw, 2.6rem); padding-right: clamp(1.4rem, 2.6vw, 2.6rem); }
.tape__item { font-family: var(--font-display); font-variation-settings: 'SOFT' 100; font-style: italic; font-weight: 400; font-size: clamp(1.6rem, 3.3vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; }
.tape__icon { height: clamp(34px, 3.8vw, 56px); width: auto; }
.tape__star .icon { width: 1.4rem; height: 1.4rem; color: var(--coral); }

/* Intro --------------------------------------------------------------------- */
.intro { position: relative; padding: var(--section) 0 calc(var(--section) * 0.85); text-align: center; }
.intro__inner { max-width: 1240px; }
.intro__text {
  margin-top: 1.8rem;
  font-family: var(--font-display);
  font-variation-settings: 'SOFT' 100;
  font-size: clamp(1.85rem, 4vw, 3.9rem);
  font-weight: 400;
  line-height: 1.17;
  letter-spacing: -0.025em;
}
.intro__text .word { display: inline-block; }
.pill {
  display: inline-block;
  width: 2.05em;
  height: 1em;
  margin: 0 0.06em;
  vertical-align: -0.1em;
  border-radius: 999px;
  overflow: hidden;
  background: var(--sky);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pill img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.pill--art { background: var(--butter); }
.pill--art img { object-fit: contain; padding: 0.1em 0.2em; }
.intro__deco--1 { position: absolute; left: 3%; top: 16%; width: clamp(70px, 8vw, 140px); rotate: -8deg; }
.intro__deco--2 { position: absolute; right: 4%; bottom: 10%; width: clamp(60px, 6.5vw, 115px); }

/* Journey ----------------------------------------------------------------------
   Default: a swipeable row of city cards (phones, tablets, no JS, reduced motion).
   Desktop with motion: a sticky stage the ten cities slide through as you scroll. Sticky
   (rather than script pinning) keeps the page from registering layout shifts. */
.journey { position: relative; padding-top: calc(var(--section) * 0.6); }
.journey__head { max-width: 1000px; text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.journey__head .h2 { margin-top: 1.1rem; }
.journey__hint { margin-top: 1.2rem; color: var(--ink-2); }
.journey__pin { position: relative; }
.journey__track {
  display: flex;
  gap: 14px;
  padding: 0 var(--gutter) 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.journey__track::-webkit-scrollbar { display: none; }
@media (hover: hover) and (pointer: fine) {
  .journey__track { scrollbar-width: thin; scrollbar-color: rgba(29, 54, 64, 0.3) transparent; }
}
.journey__nav { display: flex; justify-content: center; gap: 0.75rem; padding: 0.4rem var(--gutter) 0; }
.journey__arrow {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm), inset 0 0 0 1.5px var(--line);
  transition: background 0.3s, color 0.3s, opacity 0.3s;
}
.journey__arrow:hover:not([aria-disabled='true']) { background: var(--ink); color: var(--paper); }
.journey__arrow[aria-disabled='true'] { opacity: 0.4; cursor: default; }
.stop {
  position: relative;
  flex: none;
  width: min(84vw, 520px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--tint);
  scroll-snap-align: start;
}
.stop::before {
  /* soft paper vignette so each colour block feels painted */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 30% 40%, rgba(255, 255, 255, 0.45), transparent 60%);
}
.stop__inner {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.4rem 2.2rem;
  display: grid;
  /* minmax: on the smallest phones a long city name or button can't widen the column past the padding */
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}
.stop__visual { position: relative; display: grid; place-items: center; padding: 1rem 0; }
.stop .book { position: relative; z-index: 2; width: 56%; rotate: -4deg; }
.stop:nth-child(even) .book { rotate: 3deg; }
.stop__backdrop { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.stop__art { position: absolute; left: -8%; bottom: -2%; width: 50%; max-height: 72%; object-fit: contain; object-position: bottom left; }
.stop__postcard {
  position: absolute;
  left: 0;
  top: 4%;
  width: 46%;
  padding: 8px;
  background: #fff;
  border-radius: 6px;
  box-shadow: var(--shadow);
  rotate: -9deg;
}
/* Each city's passport stamp (the same one as in the passport section), at the right-hand end of the
   text: beside the airport-code line on the cards (growing with the screen), and bigger, in the open
   space above the text, on the full-screen desktop stops. --sw is the stamp's width. */
.stop__text { position: relative; --sw: clamp(52px, 14vw, 84px); }
.stop__stamp { position: absolute; z-index: 3; top: -1rem; right: -0.8rem; width: var(--sw); pointer-events: none; }
.stop__stamp .stamp:hover { transform: rotate(var(--rot, 0deg)); }
.stop__meta { padding-right: calc(var(--sw) + 0.25rem); }
@media (min-width: 1024px) {
  html.motion .stop__text { --sw: clamp(132px, 11.5vw, 168px); }
  html.motion .stop__stamp { top: calc(var(--sw) * -0.78); right: 3%; }
  html.motion .stop__meta { padding-right: 0; }
}
/* Narrower desktops: the airport-code line reaches further right, so the stamp sits fully above it. */
@media (min-width: 1024px) and (max-width: 1279px) {
  html.motion .stop__text { --sw: 120px; }
  html.motion .stop__stamp { top: calc(var(--sw) * -1.06); right: 1%; }
}
.stop__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.stop__code { padding: 0.35em 0.75em; border-radius: 6px; background: var(--tone); color: #fff; letter-spacing: 0.12em; }
.stop__city {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-variation-settings: 'SOFT' 100;
  font-weight: 500;
  font-size: clamp(2.8rem, 12vw, 4rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.stop__tagline { margin-top: 0.7rem; font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.9rem); color: var(--tone-ink); }
.stop__blurb { margin-top: 1.1rem; max-width: 34rem; font-size: 1.08rem; color: var(--ink-2); }
.stop .chips { margin-top: 1.4rem; }
.stop__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 2rem; }
/* Phones: a whole card fits on one screen. Tighter spacing, a smaller book that also shrinks on
   shorter screens (svh), no landmark chips (the blurb names them; the book page lists them all), and
   on the shortest screens (iPhone SE) no blurb either. */
@media (max-width: 767px) {
  .stop__inner { padding: 1.25rem 1.4rem 1.4rem; gap: 0.75rem; }
  .stop__visual { padding: 0.35rem 0; }
  .stop .book { width: min(52%, 25vh); width: min(52%, 25svh); }
  .stop__postcard { width: 38%; }
  .stop__city { margin-top: 0.55rem; }
  .stop__tagline { margin-top: 0.3rem; }
  .stop__blurb { margin-top: 0.6rem; font-size: 1rem; line-height: 1.5; }
  .stop .chips { display: none; }
  .stop__actions { margin-top: 1rem; gap: 0.6rem 1.2rem; }
  .stop__actions .btn { height: 46px; font-size: 0.93rem; padding: 0 1.15em 0 1.35em; }
}
@media (max-width: 767px) and (max-height: 600px) {
  .stop__blurb { display: none; }
}

.journey__hud {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: none;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 0 var(--gutter) 28px;
  pointer-events: none;
}
.journey__count { display: flex; align-items: baseline; gap: 0.35rem; font-family: var(--font-display); font-variation-settings: 'SOFT' 100; color: var(--ink-2); }
.journey__num { display: inline-block; font-size: 2.2rem; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.journey__codes { display: flex; justify-content: center; gap: clamp(0.6rem, 1.6vw, 1.5rem); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; color: rgba(29, 54, 64, 0.74); }
.journey__codes span { transition: color 0.4s; text-decoration: underline 2px transparent; text-underline-offset: 6px; }
.journey__codes span.is-active { color: var(--ink); text-decoration-color: var(--tone); }
/* The progress line is a wavy flight path: a faint dotted route, the travelled part in ink (revealed
   up to the plane by a clip rectangle that app.js moves), and the plane riding the waves. */
.journey__bar { position: relative; width: clamp(140px, 18vw, 260px); height: 24px; }
.journey__squiggle { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.journey__squiggle path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.journey__trail { stroke: rgba(29, 54, 64, 0.3); stroke-width: 2; stroke-dasharray: 0.5 6; }
.journey__trail-done { stroke: var(--ink); stroke-width: 2.4; }
.journey__barplane { position: absolute; top: 0; left: 0; width: 18px; height: 18px; color: var(--ink); transform: translate(-7px, 3px); transform-origin: 9px 9px; }

@media (min-width: 1024px) {
  /* Wide cards on desktop when there is no motion. */
  .stop { width: min(86vw, 1180px); }
  .stop__inner { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5rem); padding: 3.5rem 3rem; }
  .stop__visual { min-height: 52vh; }
  .stop .book { width: min(22vw, 36vh); }
  .stop__art { width: 62%; left: -6%; }
  .stop__city { font-size: clamp(3.4rem, 6vw, 6.4rem); }

  /* Ten screen-wide stops; the scroll distance is 0.8 × the nine screens of sideways travel.
     --sbw is the page scrollbar's width (set by app.js), so a stop is exactly one visible screen. */
  html.motion .journey__scroller { height: calc(100vh + 7.2 * (100vw - var(--sbw, 0px))); height: calc(100svh + 7.2 * (100vw - var(--sbw, 0px))); }
  html.motion .journey__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; }
  html.motion .journey__track { width: max-content; height: 100%; gap: 0; padding: 0; overflow: visible; scroll-snap-type: none; will-change: transform; }
  html.motion .stop { width: calc(100vw - var(--sbw, 0px)); height: 100%; border-radius: 0; }
  html.motion .stop__inner { max-width: calc(var(--container) + var(--gutter) * 2); padding: 80px var(--gutter) 110px; gap: clamp(2rem, 6vw, 7rem); }
  html.motion .stop__visual { min-height: 64vh; padding: 0; }
  html.motion .stop .book { width: min(25vw, 41vh); }
  html.motion .stop__city { font-size: clamp(3.4rem, 7.6vw, 8.2rem); }
  html.motion .journey__hud { display: grid; }
  html.motion .journey__nav { display: none; }
}

/* Unfold ------------------------------------------------------------------------
   A small window opens onto a full-screen spread: a sticky stage plus a clip-path, which only
   repaints (no layout shift). Without motion the spread simply shows at full size. */
.unfold { position: relative; }
.unfold__pin { position: relative; height: 100vh; height: 100svh; overflow: clip; }
.unfold__title {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 40vw;
  font-size: clamp(2.2rem, 4.6vw, 5rem);
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}
.unfold__w { display: block; }
.unfold__w--l { text-align: right; }
.unfold__frame { position: absolute; inset: 0; overflow: hidden; }
.unfold__img { width: 100%; height: 100%; object-fit: cover; }
.unfold__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 33, 40, 0) 40%, rgba(18, 33, 40, 0.72) 100%); }
.unfold__caption { position: absolute; left: var(--gutter); bottom: clamp(28px, 7vh, 72px); width: min(760px, calc(100% - var(--gutter) * 2)); color: #fff; }
.unfold__text { margin-top: 0.8rem; font-family: var(--font-display); font-variation-settings: 'SOFT' 100; font-size: clamp(1.35rem, 2.4vw, 2.3rem); line-height: 1.22; letter-spacing: -0.015em; }
html.motion .unfold { height: 250vh; height: 250svh; }
html.motion .unfold__pin { position: sticky; top: 0; }
html.motion .unfold__title { display: flex; }
html.motion .unfold__frame { clip-path: inset(30% 31% 30% 31% round 28px); }
html.motion .unfold__img { transform: scale(1.3); }
html.motion .unfold__shade, html.motion .unfold__caption { opacity: 0; }
@media (max-width: 760px) {
  .unfold__title { flex-direction: column; gap: 42vh; gap: 42svh; text-align: center; }
  .unfold__w--l { text-align: center; }
  html.motion .unfold__frame { clip-path: inset(32% 10% 32% 10% round 22px); }
}

/* Gallery (parallax columns) ------------------------------------------------- */
.gallery { padding: var(--section) 0; overflow: clip; }
.gallery__head { max-width: 860px; text-align: center; margin-bottom: clamp(3rem, 6vw, 5rem); }
.gallery__head .h2 { margin: 1rem 0 1.2rem; }
.gallery__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 30px);
  align-items: start;
  max-width: 1640px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.gallery__col { display: flex; flex-direction: column; gap: clamp(18px, 2.4vw, 36px); will-change: transform; }
.gallery__col:nth-child(even) { margin-top: 14vh; }
.gallery__btn { display: block; width: 100%; overflow: hidden; border-radius: 18px; background: var(--tint); box-shadow: var(--shadow); cursor: zoom-in; }
.gallery__btn img { width: 100%; transition: transform 1.2s var(--ease); }
.gallery__btn:hover img { transform: scale(1.06); }
.gallery__item figcaption { margin-top: 0.75rem; font-size: 0.88rem; line-height: 1.45; color: var(--ink-2); }
.gallery__item figcaption strong { margin-right: 0.35em; color: var(--ink); }
@media (max-width: 760px) {
  .gallery__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__col:nth-child(n + 3) { display: none; }
  .gallery__col:nth-child(even) { margin-top: 8vh; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2600; display: grid; place-items: center; padding: 5vh 5vw; visibility: hidden; }
.lightbox.is-open { visibility: visible; }
.lightbox__bg { position: absolute; inset: 0; background: rgba(20, 38, 45, 0.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.5s; }
.lightbox.is-open .lightbox__bg { opacity: 1; }
.lightbox__figure { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 1rem; max-height: 100%; }
.lightbox__img { max-height: 80vh; width: auto; border-radius: 14px; box-shadow: var(--shadow-lg); transform-origin: top left; }
.lightbox__cap { color: var(--paper); font-family: var(--font-hand); font-size: 1.6rem; text-align: center; opacity: 0; transition: opacity 0.4s 0.2s; }
.lightbox.is-open .lightbox__cap { opacity: 1; }
.lightbox.is-closing .lightbox__bg, .lightbox.is-closing .lightbox__cap { opacity: 0; transition-delay: 0s; }
.lightbox__close { position: absolute; top: 20px; right: 20px; z-index: 2; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--ink); }

/* Features (bento) ----------------------------------------------------------- */
.features { padding: var(--section) 0; }
.features__head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.features__head .h2 { margin-top: 1rem; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.bento__card {
  position: relative;
  isolation: isolate;
  min-height: 380px;
  padding: clamp(1.6rem, 2.6vw, 2.6rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card, var(--paper-2));
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.7s var(--ease);
}
.bento__copy { position: relative; z-index: 2; }
.bento__card h3 { font-size: clamp(1.5rem, 2.2vw, 2.15rem); margin-bottom: 0.6rem; }
.bento__card p { max-width: 31ch; color: var(--ink-2); }
.bento__card--landmarks { grid-column: span 2; --card: var(--butter); min-height: 440px; }
.bento__card--words { --card: var(--sky); display: flex; flex-direction: column; container-type: inline-size; }
.bento__card--food { --card: var(--blush); display: flex; flex-direction: column; gap: 1.2rem; }
.bento__card--map { --card: var(--mint); display: flex; flex-direction: column; gap: 1.4rem; }
.bento__card--ages { --card: var(--lavender); }
.bento__card--collect { grid-column: span 3; --card: var(--peach); container-type: inline-size; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2rem; align-items: end; min-height: 0; padding-bottom: 0; }
.bento__card--collect .bento__copy { padding-bottom: clamp(1.6rem, 2.6vw, 2.6rem); align-self: center; }
.bento__card--collect .btn { margin-top: 1.6rem; }
.bento__art { position: absolute; z-index: 1; pointer-events: none; }
.bento__art--colosseum { right: -3%; bottom: -5%; width: 60%; }
.bento__art--trevi { right: 52%; bottom: -2%; width: 24%; }
.bento__art--elephants { left: 6%; right: 6%; bottom: 4%; width: 88%; animation: amble 10s ease-in-out infinite alternate; }
@keyframes amble { from { translate: -4% 0; } to { translate: 4% 0; } }
/* The greeting sits centred in the space under the card's text (like the treats next door). */
.say { margin: auto 0; padding: 1.5rem 0; text-align: center; }
/* Sized by the card's own width (cqi), so the longest greeting ("Néih hóu!") still fits on one line. */
.say__word { display: block; font-family: var(--font-display); font-variation-settings: 'SOFT' 100; font-style: italic; font-size: clamp(2.6rem, 4.4vw, 4.2rem); font-size: clamp(3rem, 23cqi, 6.5rem); white-space: nowrap; line-height: 1.05; letter-spacing: -0.02em; color: var(--teal); }
.say__lang { display: block; margin-top: 0.4rem; font-family: var(--font-hand); font-size: 1.7rem; font-size: clamp(1.8rem, 10cqi, 2.8rem); font-weight: 600; color: var(--coral-deep); }
.bento__card--food { min-height: 420px; }
/* The treats circle in the space under the text, centred on the card (the card grows if it must).
   Orbit radius + half a treat = half the box, so nothing pokes past it. */
.orbit { position: relative; flex: none; width: 210px; aspect-ratio: 1; margin: auto; animation: spin 30s linear infinite; }
.orbit__item { position: absolute; left: 50%; top: 50%; width: 70px; margin: -35px 0 0 -35px; transform: rotate(calc(var(--i) * 90deg)) translate(70px) rotate(calc(var(--i) * -90deg)); }
.orbit__item img { width: 100%; height: 70px; object-fit: contain; animation: spin 30s linear infinite reverse; }
@keyframes spin { to { rotate: 360deg; } }
.bento__card--map .loupe { flex: 1; min-height: 240px; }
.bento__card--map .loupe img { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
/* The covers are sized from the card's width (cqi), so the hand fills the card at every size
   without the outer books running off its edges. */
.bento__fan { --spread: 74deg; --w: clamp(110px, 14cqi, 190px); height: calc(var(--w) * 1.75); }
.bento__fan .fan__card { width: var(--w); margin-left: calc(var(--w) / -2); }
@media (max-width: 1023px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__card--landmarks, .bento__card--collect { grid-column: span 2; }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: 1fr; }
  .bento__card--landmarks, .bento__card--collect { grid-column: auto; }
  .bento__card--collect { grid-template-columns: 1fr; }
  .bento__fan { --spread: 64deg; --w: clamp(90px, 27cqi, 170px); }
  .bento__card { min-height: 340px; }
}

/* Atlas (world map) ---------------------------------------------------------- */
.atlas { position: relative; padding: var(--section) 0; background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 18%, var(--paper-2) 82%, var(--paper) 100%); }
.atlas__head { text-align: center; max-width: 980px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.atlas__head .h2 { margin-top: 1rem; }
.atlas__map { position: relative; max-width: 1240px; margin: 0 auto; aspect-ratio: var(--ratio); }
.atlas__dots {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #8fb9c7, #3c788c 45%, #6e9fae 75%, #a7c4cc);
  opacity: 0.42;
  -webkit-mask: url('/assets/img/world-dots.svg') center / 100% 100% no-repeat;
  mask: url('/assets/img/world-dots.svg') center / 100% 100% no-repeat;
}
.atlas__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.atlas__route { fill: none; stroke: var(--coral); stroke-width: 2.8; stroke-linecap: round; stroke-dasharray: 0.5 7.5; }
.atlas__svg .route__reveal { stroke-width: 14; }
.atlas__plane { color: var(--coral); }
.atlas__dot { fill: var(--tone); stroke: #fff; stroke-width: 2; }
/* Landmarks: app.js pops each one up as the plane lands (hidden without the flight). */
.atlas__mark { opacity: 0; pointer-events: none; }
.atlas__mark image { filter: drop-shadow(0 2px 1.5px rgba(29, 54, 64, 0.3)); }
.atlas__pulse { fill: var(--tone); opacity: 0.3; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { scale: 0.6; opacity: 0.45; } 100% { scale: 2.6; opacity: 0; } }
html.motion .atlas__pin:not(.is-on) .atlas__pulse { opacity: 0; animation: none; }
.atlas__label { position: absolute; z-index: 2; }
.atlas__name {
  display: block;
  padding: 0.32em 0.8em;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: clamp(0.7rem, 0.95vw, 0.86rem);
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
.atlas__label:hover .atlas__name, .atlas__label:focus-visible .atlas__name { background: var(--tone); color: #fff; }
.atlas__label--ne { transform: translate(6px, calc(-100% - 6px)); }
.atlas__label--nw { transform: translate(calc(-100% - 6px), calc(-100% - 6px)); }
.atlas__label--e { transform: translate(12px, -50%); }
.atlas__label--w { transform: translate(calc(-100% - 12px), -50%); }
.atlas__label--se { transform: translate(8px, 8px); }
.atlas__label--sw { transform: translate(calc(-100% - 8px), 8px); }
.atlas__card {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  display: none;
  align-items: center;
  gap: 0.8rem;
  width: 250px;
  padding: 0.6rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 10px) scale(0.95);
  transition: opacity 0.3s, transform 0.45s var(--ease);
}
.atlas__label:hover .atlas__card, .atlas__label:focus-visible .atlas__card { opacity: 1; transform: translate(-50%, 0) scale(1); }
@media (min-width: 1024px) and (hover: hover) { .atlas__card { display: flex; } }
.atlas__card img { width: 64px; flex: none; border-radius: 2px 5px 5px 2px; box-shadow: var(--shadow-sm); aspect-ratio: 900 / 1218; object-fit: cover; }
.atlas__card strong { display: block; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.2; }
.atlas__card em { display: block; font-size: 0.82rem; color: var(--tone-ink); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(3rem, 6vw, 5rem); border-top: 1.5px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.8rem 1.4rem 0; border-left: 1.5px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-variant-numeric: tabular-nums; font-family: var(--font-display); font-variation-settings: 'SOFT' 100; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -0.035em; }
.stat__label { color: var(--ink-2); }
.atlas__list { display: none; }
@media (max-width: 760px) {
  .atlas__name { padding: 0.25em 0.55em; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}
/* Phones: ten labels can't share a map this small, so the cities become a row of chips. */
@media (max-width: 600px) {
  .atlas__label { display: none; }
  .atlas__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1.6rem; }
  .atlas__list a { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.5em 1em; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-size: 0.9rem; font-weight: 700; }
  .atlas__list a::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--tone); }
}

/* Meet Sophie ---------------------------------------------------------------- */
.meet { position: relative; padding: var(--section) 0; overflow: clip; background: linear-gradient(180deg, var(--paper), #fdf0ec 50%, var(--paper)); }
.meet__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.meet__frame { position: relative; padding: clamp(14px, 2vw, 26px); border-radius: 28px; background: #fff; box-shadow: var(--shadow); rotate: -1.5deg; }
.meet__canvas { position: relative; }
.meet__family { width: 100%; border-radius: 16px; }
.meet__notes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.meet__arrow { fill: none; stroke: var(--coral); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.meet__note { font-family: var(--font-hand); font-weight: 700; font-size: 70px; fill: var(--coral); }
.meet__copy .h2 { margin: 1rem 0 1.4rem; }
.meet__copy > p + p { margin-top: 1rem; color: var(--ink-2); }
.passport { position: relative; margin-top: 2.2rem; padding: 1.2rem 1.4rem 1.5rem; border-radius: 22px; background: #fffdf9; box-shadow: var(--shadow), inset 0 0 0 1px rgba(29, 54, 64, 0.06); }
.passport::before { content: ''; position: absolute; inset: 10px; border: 1.5px dashed rgba(29, 54, 64, 0.14); border-radius: 14px; pointer-events: none; }
.passport__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.passport__title { font-family: var(--font-hand); font-size: 1.5rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.passport__stamps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.4rem 0.8rem; margin-top: 0.8rem; }
.passport .stamp { mix-blend-mode: multiply; }
@media (max-width: 900px) {
  .meet__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .passport__stamps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Postcards ------------------------------------------------------------------- */
.cards { position: relative; padding: var(--section) 0 calc(var(--section) * 0.7); overflow: clip; }
.cards__head { text-align: center; }
.cards__head .h2 { margin-top: 1rem; }
.cards__hint { display: none; margin-top: 0.8rem; font-family: var(--font-hand); font-size: 1.6rem; color: var(--coral-deep); rotate: -2deg; }
@media (hover: hover) and (pointer: fine) and (min-width: 861px) { html.motion .cards__hint { display: block; } }
.cards__table { position: relative; max-width: 1240px; height: clamp(600px, 60vw, 780px); margin: 2.5rem auto 0; }
.postcard:nth-child(1) { left: 3%; top: 4%; }
.postcard:nth-child(2) { right: 2%; top: 0; }
.postcard:nth-child(3) { left: 9%; bottom: 3%; }
.postcard:nth-child(4) { right: 6%; bottom: 7%; }
@media (max-width: 860px) {
  .cards__table { height: auto; display: grid; gap: 1.4rem; padding: 0 var(--gutter); }
  .postcard { position: relative; inset: auto !important; width: 100%; aspect-ratio: auto; grid-template-columns: 1fr; gap: 1rem; }
  .postcard__msg, .postcard__sig { padding-right: 0; border-right: 0; }
  .postcard__side { position: absolute; right: 1rem; top: 1rem; padding: 0; }
  .postcard__stamp { width: 64px; }
  .postcard__stamp-in span { font-size: 0.48rem; letter-spacing: 0.04em; white-space: nowrap; }
  .postcard__postmark, .postcard__lines { display: none; }
  .postcard blockquote { padding-right: 70px; }
}

/* FAQ ------------------------------------------------------------------------- */
.faq { padding: var(--section) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq__intro { position: sticky; top: 130px; }
.faq__intro .h2 { margin: 1rem 0 1.2rem; }
.faq__intro p { color: var(--ink-2); max-width: 30rem; margin-bottom: 1.8rem; }
.faq__deco { width: 90px; margin-top: 2.5rem; rotate: 8deg; }
@media (max-width: 900px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .faq__deco { display: none; }
}

/* Finale ---------------------------------------------------------------------- */
.finale {
  position: relative;
  isolation: isolate;
  padding-top: calc(var(--section) * 1.05);
  text-align: center;
  overflow: clip;
  background: linear-gradient(180deg, var(--paper) 0%, #e8f3fa 40%, var(--sky) 100%);
}
.finale__sky { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.finale .cloud { opacity: 0.9; }
.cloud--f1 { left: 4%; top: 22%; width: 220px; height: 110px; }
.cloud--f2 { right: 6%; top: 12%; width: 280px; height: 140px; }
.cloud--f3 { right: 22%; top: 58%; width: 160px; height: 80px; opacity: 0.7; }
.finale__route { z-index: -1; }
.finale__inner { position: relative; max-width: 1100px; }
.finale__title { margin: 1rem 0 1.4rem; font-size: clamp(3rem, 7.4vw, 7.6rem); line-height: 0.95; letter-spacing: -0.04em; }
.finale__inner .lead { max-width: 34rem; margin: 0 auto; }
.finale__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.2rem; }
.finale__fan { --spread: 84deg; margin-top: clamp(2.5rem, 5vw, 4rem); height: clamp(220px, 24vw, 340px); }
.finale__fan .fan__card { width: clamp(84px, 9vw, 140px); margin-left: calc(clamp(84px, 9vw, 140px) / -2); transform-origin: 50% 230%; }

/* 9. Inner pages ---------------------------------------------------------------- */

/* Inner page hero */
.phero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(150px, 21vh, 230px) 0 clamp(110px, 13vw, 190px);
  text-align: center;
  background: linear-gradient(180deg, #cde5f6 0%, #e3f0f9 45%, #fdf5ea 86%, var(--paper) 100%);
}
.phero__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.phero .cloud, .bhero .cloud, .lost .cloud { animation: drift linear infinite; }
.cloud--p1 { top: 16%; left: -18%; width: 240px; height: 120px; animation-duration: 90s !important; animation-delay: -34s !important; }
.cloud--p2 { top: 44%; left: -18%; width: 170px; height: 85px; opacity: 0.8; animation-duration: 125s !important; animation-delay: -88s !important; }
.cloud--p3 { top: 8%; left: -18%; width: 200px; height: 100px; animation-duration: 108s !important; animation-delay: -60s !important; }
.phero__inner { position: relative; z-index: 2; max-width: 1000px; }
.phero__title { margin: 1.2rem auto 1.3rem; font-size: clamp(3rem, 7.4vw, 7.4rem); line-height: 0.95; letter-spacing: -0.042em; }
.phero__lead { max-width: 36rem; margin: 0 auto; }
@media (min-width: 1200px) {
  .phero__title, .bhero__title { font-family: 'Fraunces', 'Fraunces title fallback', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif; }
}
.phero__actions { display: flex; justify-content: center; margin-top: 2.2rem; }
.phero__deco { position: absolute; z-index: 1; pointer-events: none; }
.phero__deco img { width: 100%; }
.phero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(36px, 5vw, 80px); fill: var(--paper); }
.phero--small { padding-bottom: clamp(90px, 10vw, 150px); }
.phero--small .phero__title { font-size: clamp(2.8rem, 6.4vw, 6.2rem); }
.phero--legal .phero__title { font-size: clamp(2.6rem, 5.6vw, 5rem); }
.phero__fan { --spread: 84deg; margin-top: clamp(2.5rem, 5vw, 4rem); height: clamp(210px, 23vw, 320px); }
@media (max-width: 760px) {
  .phero__deco { display: none; }
}

/* Books: filter + shelf */
.collection { padding: clamp(30px, 5vw, 70px) 0 var(--section); }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.filter {
  position: relative;
  display: inline-flex;
  gap: 4px;
  max-width: 100%;
  padding: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
}
.filter::-webkit-scrollbar { display: none; }
.filter__indicator {
  position: absolute;
  top: 6px;
  left: 0;
  height: calc(100% - 12px);
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.6s var(--ease), width 0.6s var(--ease);
}
.filter__btn {
  position: relative;
  z-index: 1;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.62em 1.1em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.93rem;
  white-space: nowrap;
  transition: color 0.4s;
}
.filter__btn[aria-pressed='true'] { color: var(--paper); }
/* Until the script has measured the sliding pill, the active button carries its own fill. */
.filter:not(.is-ready) .filter__btn[aria-pressed='true'] { background: var(--ink); }
.filter__n { min-width: 1.65em; height: 1.65em; display: inline-grid; place-items: center; border-radius: 999px; background: rgba(29, 54, 64, 0.08); font-size: 0.72rem; }
.filter__btn[aria-pressed='true'] .filter__n { background: rgba(255, 255, 255, 0.18); }
.filter__count { font-family: var(--font-hand); font-size: 1.6rem; color: var(--coral); }

.shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.bcard {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--tint);
  transition: box-shadow 0.6s var(--ease), translate 0.6s var(--ease);
}
.bcard:hover { translate: 0 -6px; box-shadow: var(--shadow-lg); }
.bcard.is-filtered { display: none; }
.is-flipping .bcard { transition: none; }
.bcard__visual { position: relative; display: grid; place-items: center; min-height: clamp(300px, 26vw, 380px); padding: clamp(1.8rem, 3vw, 2.6rem) 0 1.2rem; }
.bcard__behind { position: absolute; inset: 6% 8% 12%; display: grid; place-items: end center; pointer-events: none; }
.bcard__art { width: 86%; max-height: 86%; object-fit: contain; opacity: 0; transform: translateY(26%) scale(0.8); transition: transform 0.9s var(--ease-spring), opacity 0.4s; }
.bcard__map { width: 50%; padding: 6px; background: #fff; border-radius: 6px; box-shadow: var(--shadow); opacity: 0; transform: translate(0, 10%) rotate(0deg) scale(0.8); transition: transform 0.9s var(--ease-spring), opacity 0.4s; }
.bcard:hover .bcard__art { opacity: 1; transform: translate(-24%, -6%) scale(1); }
.bcard:hover .bcard__map { opacity: 1; transform: translate(-46%, -12%) rotate(-10deg) scale(1); }
.bcard__book { position: relative; z-index: 1; width: 50%; rotate: -3deg; transition: rotate 0.7s var(--ease), translate 0.7s var(--ease), transform 0.7s var(--ease), box-shadow 0.7s var(--ease); }
.bcard:hover .bcard__book { rotate: 2deg; translate: 22% 0; }
.bcard__body { display: flex; flex: 1; flex-direction: column; padding: 0 clamp(1.4rem, 2.2vw, 2rem) clamp(1.4rem, 2.2vw, 2rem); }
.bcard__meta { display: flex; align-items: center; gap: 0.6rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.code { display: inline-block; padding: 0.32em 0.62em; border-radius: 5px; background: var(--tone); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; line-height: 1.3; }
.bcard__title { margin-top: 0.7rem; font-family: var(--font-display); font-variation-settings: 'SOFT' 100; font-size: clamp(1.6rem, 2.2vw, 2.15rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; }
.bcard__tag { margin-top: 0.2rem; font-family: var(--font-display); font-style: italic; color: var(--tone-ink); }
.bcard__blurb { flex: 1; margin-top: 0.8rem; font-size: 0.97rem; color: var(--ink-2); }
.bcard__foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.1rem; margin-top: 1.4rem; }
.bcard__price { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: -0.02em; }
.bcard__more { margin-left: auto; font-size: 0.93rem; }
@media (max-width: 1023px) { .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .shelf { grid-template-columns: 1fr; } }

.bundle { position: relative; overflow: clip; padding: var(--section) 0; background: var(--ink); color: var(--paper); }
.bundle .h2 { color: var(--paper); margin: 1rem 0 0; }
.bundle .h2 em { color: var(--butter); }
.bundle__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.bundle__copy p:not(.eyebrow) { max-width: 30rem; margin: 1.3rem 0 2.2rem; color: rgba(255, 250, 242, 0.75); }
.bundle__stack { position: relative; height: clamp(300px, 32vw, 440px); }
.bundle__book {
  position: absolute;
  bottom: 6%;
  left: calc(4% + var(--i) * 14%);
  width: clamp(110px, 12.5vw, 190px);
  rotate: calc(-10deg + var(--i) * 4deg);
  transform-origin: bottom center;
  transition: translate 0.6s var(--ease), rotate 0.6s var(--ease);
}
.bundle__book img { width: 100%; aspect-ratio: 900 / 1218; object-fit: cover; object-position: top; border-radius: 3px 8px 8px 3px; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.6); }
.bundle__book:hover { translate: 0 -18px; rotate: 0deg; z-index: 5; }
@media (max-width: 900px) {
  .bundle__inner { grid-template-columns: 1fr; }
  .bundle__book { left: calc(2% + var(--i) * 15%); }
}

/* Book page: hero with a 3D book */
.bhero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(130px, 17vh, 180px) 0 clamp(110px, 12vw, 170px);
  background: var(--tint);
  background: linear-gradient(180deg, color-mix(in srgb, var(--tint) 65%, #fff) 0%, var(--tint) 55%, color-mix(in srgb, var(--tint) 55%, var(--paper)) 100%);
}
.bhero__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.bhero__visual { position: relative; display: grid; place-items: center; min-height: min(620px, 70vh); }
.bhero__deco { position: absolute; z-index: 0; pointer-events: none; }
.bhero__deco img { width: 100%; }
.bhero__deco--map img { padding: 7px; background: #fff; border-radius: 6px; box-shadow: var(--shadow); rotate: -8deg; }
.bhero__bubble { left: 2%; top: 4%; z-index: 4; }
.crumbs { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 1.4rem; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }
.crumbs a { text-underline-offset: 3px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.bhero__copy .eyebrow { gap: 0.8em; }
.bhero__title { margin: 0.9rem 0 0.4rem; font-size: clamp(3rem, 6.4vw, 6.6rem); line-height: 0.95; letter-spacing: -0.045em; }
.bhero__title em { color: var(--tone); }
.bhero__tag { margin-bottom: 1.3rem; font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.85rem); color: var(--tone-ink); }
.bhero__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 2rem; }
.bhero__price { font-family: var(--font-display); font-size: 2.3rem; line-height: 1; letter-spacing: -0.03em; }
.bhero__meta { display: flex; flex-wrap: wrap; gap: 0.8rem 2.2rem; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1.5px solid rgba(29, 54, 64, 0.12); font-size: 0.95rem; }
.bhero__meta strong { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }

.book3d { --t: 34px; position: relative; z-index: 2; width: min(370px, 60vw); aspect-ratio: 900 / 1218; perspective: 1800px; }
.book3d__inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(24deg) rotateX(4deg); }
/* Hidden until app.js swings it in (else it can show at rest for a moment, then vanish and swing in).
   The fade is on .book3d, never on __inner: below full opacity a box can't keep its children in 3D. */
html.motion .book3d { opacity: 0; }
.book3d__face { position: absolute; }
.book3d__front { inset: 0; overflow: hidden; border-radius: 3px 10px 10px 3px; transform: translateZ(calc(var(--t) / 2)); }
.book3d__front img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.book3d__front::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0%, rgba(255, 255, 255, 0.3) 1.4%, rgba(0, 0, 0, 0.1) 3%, transparent 7%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.28), transparent 40%);
}
.book3d__back { inset: 0; border-radius: 10px 3px 3px 10px; background: var(--tone); transform: rotateY(180deg) translateZ(calc(var(--t) / 2)); }
.book3d__spine {
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--t);
  display: grid;
  place-items: center;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(255, 255, 255, 0.12) 40%, rgba(0, 0, 0, 0.22)), var(--tone);
  transform: translateX(-50%) rotateY(-90deg);
}
.book3d__spine span { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.03em; color: #fff; }
.book3d__pages {
  top: 5px;
  bottom: 5px;
  right: 0;
  width: var(--t);
  background: repeating-linear-gradient(90deg, #fffdf6 0 2px, #e8dcc6 2px 3px);
  transform: translateX(50%) rotateY(90deg);
}
.book3d__top {
  top: 0;
  left: 3px;
  right: 6px;
  height: var(--t);
  background: repeating-linear-gradient(180deg, #fffdf6 0 2px, #e8dcc6 2px 3px);
  transform: translateY(-50%) rotateX(90deg);
}
.book3d__shadow { position: absolute; left: 4%; right: -14%; bottom: -7%; height: 13%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(29, 54, 64, 0.38), transparent); filter: blur(4px); }

/* Book page: story + boarding pass */
.story { padding: var(--section) 0 calc(var(--section) * 0.7); }
.story__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.story__big { margin-top: 1.2rem; font-family: var(--font-display); font-variation-settings: 'SOFT' 100; font-size: clamp(1.5rem, 2.5vw, 2.3rem); line-height: 1.28; letter-spacing: -0.018em; }
.story__p { margin-top: 1.3rem; font-size: 1.1rem; color: var(--ink-2); }
.local { display: grid; gap: 0.15rem; margin-top: 2.4rem; padding: 1.4rem 1.7rem 1.5rem; border-radius: 22px; background: var(--tint); }
.local__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.local__word { font-family: var(--font-display); font-variation-settings: 'SOFT' 100; font-style: italic; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.05; color: var(--tone); }
.local__meaning { font-family: var(--font-hand); font-size: 1.45rem; line-height: 1.2; color: var(--ink-2); }

.pass { position: sticky; top: 110px; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); rotate: 2deg; transition: rotate 0.7s var(--ease); }
.pass:hover { rotate: 0deg; }
.pass__main { position: relative; padding: 0 1.6rem 1.7rem; }
/* The arrival stamp, inked onto the pass in the city's colour (it thunks down when the pass
   comes into view; see initPassStamp in app.js). */
.pass__stamp {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  width: clamp(118px, 10vw, 142px);
  overflow: visible;
  color: var(--tone);
  opacity: 0.92;
  rotate: -12deg;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.pass__stamp-ink { filter: url(#f-stamp-dense); }
.pass__stamp text { fill: currentColor; font-family: var(--font-body); font-weight: 800; }
.pass__stamp-arc { font-size: 10.5px; letter-spacing: 0.12em; }
.pass__stamp-code { font-size: 31px; letter-spacing: 0.02em; }
.pass__stamp-small { font-size: 9px; letter-spacing: 0.22em; }
/* Security print: fine interlaced waves (like a banknote) and a faint landmark watermark, both in
   the city's colour, behind the ticket's text. */
.pass__security, .pass__watermark { position: absolute; z-index: -1; pointer-events: none; }
.pass__security {
  inset: 0;
  background: var(--tone);
  opacity: 0.09;
  -webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='48'><path d='M0 -12C20 -20.67 40 -20.67 60 -12S100 -3.33 120 -12M0 -12C20 -3.33 40 -3.33 60 -12S100 -20.67 120 -12M0 -6C20 -14.67 40 -14.67 60 -6S100 2.67 120 -6M0 -6C20 2.67 40 2.67 60 -6S100 -14.67 120 -6M0 0C20 -8.67 40 -8.67 60 0S100 8.67 120 0M0 0C20 8.67 40 8.67 60 0S100 -8.67 120 0M0 6C20 -2.67 40 -2.67 60 6S100 14.67 120 6M0 6C20 14.67 40 14.67 60 6S100 -2.67 120 6M0 12C20 3.33 40 3.33 60 12S100 20.67 120 12M0 12C20 20.67 40 20.67 60 12S100 3.33 120 12M0 18C20 9.33 40 9.33 60 18S100 26.67 120 18M0 18C20 26.67 40 26.67 60 18S100 9.33 120 18M0 24C20 15.33 40 15.33 60 24S100 32.67 120 24M0 24C20 32.67 40 32.67 60 24S100 15.33 120 24M0 30C20 21.33 40 21.33 60 30S100 38.67 120 30M0 30C20 38.67 40 38.67 60 30S100 21.33 120 30M0 36C20 27.33 40 27.33 60 36S100 44.67 120 36M0 36C20 44.67 40 44.67 60 36S100 27.33 120 36M0 42C20 33.33 40 33.33 60 42S100 50.67 120 42M0 42C20 50.67 40 50.67 60 42S100 33.33 120 42M0 48C20 39.33 40 39.33 60 48S100 56.67 120 48M0 48C20 56.67 40 56.67 60 48S100 39.33 120 48M0 54C20 45.33 40 45.33 60 54S100 62.67 120 54M0 54C20 62.67 40 62.67 60 54S100 45.33 120 54M0 60C20 51.33 40 51.33 60 60S100 68.67 120 60M0 60C20 68.67 40 68.67 60 60S100 51.33 120 60' fill='none' stroke='%23000' stroke-width='.55'/></svg>") 0 0 / 96px 38.4px;
  mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='48'><path d='M0 -12C20 -20.67 40 -20.67 60 -12S100 -3.33 120 -12M0 -12C20 -3.33 40 -3.33 60 -12S100 -20.67 120 -12M0 -6C20 -14.67 40 -14.67 60 -6S100 2.67 120 -6M0 -6C20 2.67 40 2.67 60 -6S100 -14.67 120 -6M0 0C20 -8.67 40 -8.67 60 0S100 8.67 120 0M0 0C20 8.67 40 8.67 60 0S100 -8.67 120 0M0 6C20 -2.67 40 -2.67 60 6S100 14.67 120 6M0 6C20 14.67 40 14.67 60 6S100 -2.67 120 6M0 12C20 3.33 40 3.33 60 12S100 20.67 120 12M0 12C20 20.67 40 20.67 60 12S100 3.33 120 12M0 18C20 9.33 40 9.33 60 18S100 26.67 120 18M0 18C20 26.67 40 26.67 60 18S100 9.33 120 18M0 24C20 15.33 40 15.33 60 24S100 32.67 120 24M0 24C20 32.67 40 32.67 60 24S100 15.33 120 24M0 30C20 21.33 40 21.33 60 30S100 38.67 120 30M0 30C20 38.67 40 38.67 60 30S100 21.33 120 30M0 36C20 27.33 40 27.33 60 36S100 44.67 120 36M0 36C20 44.67 40 44.67 60 36S100 27.33 120 36M0 42C20 33.33 40 33.33 60 42S100 50.67 120 42M0 42C20 50.67 40 50.67 60 42S100 33.33 120 42M0 48C20 39.33 40 39.33 60 48S100 56.67 120 48M0 48C20 56.67 40 56.67 60 48S100 39.33 120 48M0 54C20 45.33 40 45.33 60 54S100 62.67 120 54M0 54C20 62.67 40 62.67 60 54S100 45.33 120 54M0 60C20 51.33 40 51.33 60 60S100 68.67 120 60M0 60C20 68.67 40 68.67 60 60S100 51.33 120 60' fill='none' stroke='%23000' stroke-width='.55'/></svg>") 0 0 / 96px 38.4px;
}
.pass__watermark { right: -7%; top: 24%; width: 64%; overflow: visible; color: var(--tone); opacity: 0.11; }
.pass__head { display: flex; justify-content: space-between; gap: 1rem; margin: 0 -1.6rem 1.4rem; padding: 0.95rem 1.6rem; background: var(--tone); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.pass__head span { display: inline-flex; align-items: center; gap: 0.5em; }
.pass__route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.6rem; }
.pass__route > div { display: flex; flex-direction: column; }
.pass__route > div:last-child { text-align: right; }
.pass__route span:not(.pass__label) { font-size: 0.85rem; color: var(--ink-2); }
.pass__code { font-family: var(--font-display); font-size: clamp(2.2rem, 3.6vw, 3.1rem); line-height: 1; letter-spacing: -0.02em; }
.pass__arc { width: clamp(70px, 8vw, 110px); color: var(--tone); }
.pass__label { display: block; margin-bottom: 0.2rem; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.pass__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.2rem; margin: 1.4rem 0; padding: 1.1rem 0; border-block: 1.5px dashed var(--line-2); }
.pass__grid dt { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.pass__grid dd { margin: 0; font-weight: 600; }
.pass__sights { display: grid; gap: 0.45rem; margin-top: 0.5rem; }
.pass__sights li { display: flex; align-items: center; gap: 0.55rem; font-weight: 500; }
.pass__sights .icon { color: var(--tone); }
.pass__stub { position: relative; display: flex; flex-direction: column; gap: 1rem; min-width: 136px; padding: 1.4rem 1.2rem 1.2rem; background: var(--tint); background: color-mix(in srgb, var(--tint) 55%, #fff); }
.pass__stub-info { display: flex; flex-direction: column; gap: 0.2rem; }
.pass__stub .pass__label { color: var(--ink-2); }
/* The tear line: a row of punched holes, with a half-moon notch bitten out at each end. */
.pass__perf { position: absolute; top: 18px; bottom: 18px; left: -4px; width: 8px; background: radial-gradient(circle closest-side, var(--paper) 70%, transparent 78%) center top / 8px 11px repeat-y; }
.pass__stub::before, .pass__stub::after { content: ''; position: absolute; left: -14px; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(29, 54, 64, 0.06); }
.pass__stub::before { top: -14px; }
.pass__stub::after { bottom: -14px; }
.pass__qr { display: grid; justify-items: center; gap: 0.4rem; margin-top: auto; }
/* Booking reference in dot-matrix print: solid letters seen through a fine grid of dots. */
.pass__ref {
  position: absolute;
  top: 50%;
  right: 4px;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  font-family: 'Courier New', ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: var(--ink);
  opacity: 0.72;
  -webkit-mask: radial-gradient(circle, #000 0.75px, transparent 1.1px) 0 0 / 2px 2px;
  mask: radial-gradient(circle, #000 0.75px, transparent 1.1px) 0 0 / 2px 2px;
}
.pass__qr svg { width: 96px; padding: 3px; border-radius: 6px; background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(29, 54, 64, 0.08); }
.pass__qr span { font-size: 0.56rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; color: var(--ink-2); }
.pass__stub strong { display: block; margin-bottom: 0.7rem; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.1; }
/* Book page: flip-through deck */
.peek { padding: var(--section) 0; overflow: clip; background: var(--paper); background: linear-gradient(180deg, var(--paper), color-mix(in srgb, var(--tint) 45%, var(--paper)) 50%, var(--paper)); }
.peek__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.peek__copy .h2 { margin: 1rem 0 1.2rem; }
.peek__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; margin-top: 1.8rem; }
.peek__count { font-family: var(--font-hand); font-size: 1.6rem; line-height: 1; color: var(--coral-deep); }
.deck { position: relative; width: min(430px, 76vw); aspect-ratio: 0.8; margin: 0 auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.deck__card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 10px 10px 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform 0.8s var(--ease), opacity 0.4s;
}
.deck__card img { flex: 1 1 0; min-height: 0; width: 100%; object-fit: cover; object-position: top; border-radius: 4px; }
.deck__card figcaption { padding: 0.45rem 0.4rem 0.6rem; font-family: var(--font-hand); font-size: 1.35rem; line-height: 1.1; text-align: center; color: var(--ink-2); }
/* The top page is tossed off to the side, then slips back in at the bottom of the pile. */
.deck__card.is-leaving { opacity: 0; transition: transform 0.45s cubic-bezier(0.55, 0, 1, 0.45), opacity 0.45s ease-in; }

.wide { padding: 0 0 var(--section); }
.wide__frame { position: relative; height: min(78vh, 52vw); margin: 0 var(--gutter); overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.wide__img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.wide__cap { margin-top: 1rem; text-align: center; font-size: 1.6rem; color: var(--ink-2); }

.mapfeat { padding: 0 0 var(--section); }
.mapfeat__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.mapfeat__copy .h2 { margin: 1rem 0 1.2rem; }
.mapfeat__copy p { color: var(--ink-2); }
.mapfeat__copy .chips { margin-top: 1.6rem; }
.mapfeat__copy .chips li { background: var(--tint); box-shadow: none; }

.nextstop { position: relative; overflow: clip; background: var(--tint); }
.nextstop__link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: 'label book' 'city book' 'tag book';
  column-gap: 3rem;
  align-items: center;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter) 2rem;
}
.nextstop__label { grid-area: label; display: inline-flex; align-items: center; gap: 0.6em; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.nextstop__label .icon { color: var(--tone); }
.nextstop__city { grid-area: city; font-family: var(--font-display); font-variation-settings: 'SOFT' 100; font-weight: 500; font-size: clamp(3.8rem, 12vw, 12rem); line-height: 0.92; letter-spacing: -0.055em; transition: transform 0.9s var(--ease), color 0.4s; }
.nextstop__tag { grid-area: tag; font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.85rem); color: var(--tone-ink); }
.nextstop__book { grid-area: book; width: clamp(110px, 15vw, 230px); rotate: 8deg; transition: rotate 0.9s var(--ease), translate 0.9s var(--ease), transform 0.7s var(--ease); }
.nextstop__link:hover .nextstop__city { transform: translateX(2.5vw); color: var(--tone); }
.nextstop__link:hover .nextstop__book { rotate: -4deg; translate: 0 -14px; }
.nextstop__more { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1rem; padding-bottom: 2.6rem; }

.related { padding: var(--section) 0; }
.related__title { margin-bottom: clamp(2.4rem, 5vw, 4rem); text-align: center; }
.related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.related__item { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; padding: 2.4rem 1.6rem 2.2rem; border-radius: var(--radius-lg); background: var(--tint); text-align: center; transition: translate 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.related__item:hover { translate: 0 -6px; box-shadow: var(--shadow); }
.related__item .book { width: 56%; margin-bottom: 1.3rem; rotate: -3deg; }
.related__city { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.02em; }
.related__tag { font-family: var(--font-display); font-style: italic; color: var(--tone-ink); }

@media (max-width: 900px) {
  .bhero__grid, .story__grid, .peek__grid, .mapfeat__grid { grid-template-columns: 1fr; }
  .bhero__visual { min-height: 440px; }
  .pass { position: relative; top: auto; }
  .mapfeat__loupe { order: 2; }
}
@media (max-width: 860px) {
  .related__grid { grid-template-columns: 1fr; }
  .related__item { display: grid; grid-template-columns: 84px 1fr; grid-template-rows: auto auto; column-gap: 1.4rem; row-gap: 0.15rem; padding: 1.3rem 1.4rem; text-align: left; }
  .related__item .book { grid-row: 1 / 3; width: 84px; margin: 0; }
  .related__city { align-self: end; }
  .related__tag { align-self: start; }
}
@media (max-width: 640px) {
  .nextstop__link { grid-template-columns: 1fr; grid-template-areas: 'label' 'city' 'tag' 'book'; justify-items: center; row-gap: 0.4rem; text-align: center; }
  .nextstop__link:hover .nextstop__city { transform: none; }
  .nextstop__book { margin-top: 1.4rem; }
  .nextstop__more { flex-direction: column; align-items: center; gap: 0.75rem; }
  /* Full-width buttons: label centred, arrow pinned to the outer end (the back arrow to the left). */
  .nextstop__more .btn { justify-content: center; width: 100%; max-width: 22rem; padding-inline: 3.2em; }
  .nextstop__more .btn__icon { position: absolute; top: 0; bottom: 0; right: 1.3em; margin-block: auto; }
  .nextstop__more .btn--icon-first .btn__icon { right: auto; left: 1.3em; }
  /* Phones: the same ticket, packed tighter so it fits on one screen. */
  .pass { grid-template-columns: 1fr; }
  .pass__main { padding: 0 1.1rem 1rem; }
  .pass__head { margin: 0 -1.1rem 0.85rem; padding: 0.62rem 1.1rem; font-size: 0.64rem; }
  .pass__route { gap: 0.4rem; }
  .pass__route span:not(.pass__label) { font-size: 0.78rem; line-height: 1.35; }
  .pass__code { font-size: 1.85rem; }
  .pass__arc { width: 58px; }
  .pass__label { margin-bottom: 0.1rem; font-size: 0.6rem; }
  .pass__grid { gap: 0.45rem 1rem; margin: 0.85rem 0; padding: 0.75rem 0; }
  .pass__grid dt { font-size: 0.6rem; }
  .pass__grid dd { font-size: 0.95rem; line-height: 1.35; }
  .pass__sights { gap: 0.15rem; margin-top: 0.35rem; }
  .pass__sights li { font-size: 0.95rem; line-height: 1.4; }
  .pass__stamp { width: 104px; right: 0.55rem; bottom: 0.5rem; }
  .pass__stub { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'info qr' 'ref qr'; align-items: center; gap: 0.45rem 1rem; padding: 1.1rem 1.1rem 0.95rem; }
  .pass__stub-info { grid-area: info; align-self: end; flex-direction: row; gap: 1.4rem; }
  .pass__stub strong { margin-bottom: 0; font-size: 1.3rem; }
  .pass__stub-seat { display: none; }
  .pass__perf { top: -4px; bottom: auto; left: 18px; right: 18px; width: auto; height: 8px; background-position: left center; background-size: 11px 8px; background-repeat: repeat-x; }
  .pass__stub::before { top: -14px; left: -14px; }
  .pass__stub::after { top: -14px; bottom: auto; left: auto; right: -14px; }
  .pass__qr { grid-area: qr; gap: 0.3rem; margin-top: 0; }
  .pass__qr svg { width: 72px; }
  .pass__qr span { font-size: 0.5rem; }
  .pass__ref { grid-area: ref; align-self: start; position: static; writing-mode: horizontal-tb; transform: none; font-size: 9.5px; letter-spacing: 0.02em; white-space: normal; }
  .pass__ref-more { display: none; }
}

/* About */
.tale { padding: var(--section) 0; }
.tale__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.tale__visual { position: relative; display: grid; place-items: center; min-height: clamp(420px, 42vw, 560px); }
.tale__map { position: absolute; left: 0; top: 2%; width: 48%; padding: 8px; background: #fff; border-radius: 6px; box-shadow: var(--shadow); rotate: -8deg; }
.tale__book { position: relative; z-index: 1; width: 54%; rotate: 4deg; }
/* At least 24px ("large text"), so the coral keeps WCAG contrast on phones too. */
.tale__note { position: absolute; right: 0; bottom: 4%; font-size: clamp(1.5rem, 2vw, 1.9rem); color: var(--coral); rotate: -6deg; }
.tale__copy .h2 { margin: 1rem 0 1.4rem; }
.tale__copy p + p { margin-top: 1rem; color: var(--ink-2); }
.values { padding: 0 0 var(--section); }
.values__head, .people__head { max-width: 920px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.values__head .h2, .people__head .h2 { margin-top: 1rem; }
.values__grid, .people__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.value {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 400px;
  padding: 2.2rem 2rem 2.4rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--card);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.7s var(--ease);
}
.value__art { position: absolute; right: 8%; top: 8%; width: 44%; max-height: 54%; object-fit: contain; transition: transform 0.9s var(--ease-spring); }
.value:hover .value__art { transform: translateY(-8px) rotate(-6deg) scale(1.06); }
.value h3 { margin-bottom: 0.6rem; font-size: 1.75rem; }
.value p { color: var(--ink-2); }
.people { padding: var(--section) 0; background: var(--paper-2); }
.person { padding: 2.2rem 2rem; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); text-align: center; }
.person__badge { display: grid; place-items: center; width: 124px; height: 124px; margin: 0 auto 1.3rem; border-radius: 50%; background: var(--card); }
.person__badge img { width: auto; height: auto; max-width: 70px; max-height: 80px; object-fit: contain; }
.person__role { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); }
.person__name { margin: 0.35rem 0 0.6rem; font-size: 1.85rem; }
.person__note { font-size: 0.98rem; color: var(--ink-2); }
.atlas--lite { padding: calc(var(--section) * 0.6) 0; background: none; }
.atlas--lite .stats { margin-top: 0; }
@media (max-width: 900px) {
  .tale__grid { grid-template-columns: 1fr; }
  .values__grid, .people__grid { grid-template-columns: 1fr; }
  .value { min-height: 320px; }
}

.cta-band { position: relative; overflow: clip; padding: var(--section) 0; text-align: center; background: linear-gradient(180deg, var(--paper), var(--sky)); }
.cta-band__inner { position: relative; max-width: 980px; }
.cta-band .h2 { margin: 1rem 0 1.2rem; font-size: clamp(2.6rem, 6vw, 5.6rem); }
.cta-band .lead { max-width: 34rem; margin: 0 auto; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.2rem; }
.cta-band__art { position: absolute; z-index: -1; pointer-events: none; }
.cta-band__art--l { left: -28%; bottom: -14%; width: 36%; }
.cta-band__art--r { right: -20%; bottom: -10%; width: 20%; }
@media (max-width: 760px) { .cta-band__art { display: none; } }

/* FAQ page */
.faq--page { padding-top: clamp(30px, 4vw, 60px); }
.faq--page .faq__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); }
.helpcard { position: sticky; top: 120px; overflow: hidden; padding: 2rem; border-radius: var(--radius-lg); background: var(--butter); }
.helpcard__art { width: 110px; margin: -0.4rem 0 1rem auto; }
.helpcard h2 { margin-bottom: 0.6rem; font-size: 1.7rem; }
.helpcard p { margin-bottom: 1.4rem; color: var(--ink-2); }
.helpcard__mail { display: block; margin-top: 1rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .faq--page .faq__grid { grid-template-columns: 1fr; }
  .helpcard { position: relative; top: auto; }
}

/* Contact: the postcard form */
.contact { padding: clamp(30px, 4vw, 60px) 0 var(--section); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.contact__card { position: relative; padding: clamp(1.4rem, 2.6vw, 2.4rem); border-radius: 14px; background: #fffdf8; box-shadow: var(--shadow-lg); rotate: -1deg; }
.contact__card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at 85% 90%, rgba(239, 227, 207, 0.6), transparent 55%); }
.pcform { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.pcform__msg { display: flex; flex-direction: column; padding-right: clamp(1rem, 2vw, 2rem); border-right: 1.5px solid var(--line); }
.pcform__label { margin-bottom: 0.4rem; font-family: var(--font-hand); font-size: 1.5rem; color: var(--teal); }
.pcform textarea {
  flex: 1;
  min-height: 320px;
  padding: 0 0.2rem;
  border: 0;
  outline: none;
  resize: vertical;
  background: repeating-linear-gradient(180deg, transparent 0 39px, var(--line-2) 39px 40px);
  background-attachment: local;
  font-family: var(--font-hand);
  font-size: 1.55rem;
  line-height: 40px;
  color: var(--ink);
}
.pcform textarea:focus-visible { border-radius: 6px; outline: 3px solid var(--ink); outline-offset: 6px; }
.pcform__side { display: flex; flex-direction: column; gap: 1rem; padding-left: clamp(1rem, 2vw, 2rem); }
.pcform__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 0.4rem; }
.pcform__postmark { width: 120px; color: var(--coral); opacity: 0.55; rotate: -10deg; mix-blend-mode: multiply; }
.pcform__postmark text { fill: currentColor; font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; }
.pcform__stamp { width: 88px; }
.pcform__field { display: flex; flex-direction: column; }
.pcform__field label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.pcform__field input, .pcform__field select {
  padding: 0.4rem 0.1rem;
  border: 0;
  border-bottom: 1.5px solid var(--line-2);
  border-radius: 0;
  outline: none;
  background: transparent;
  font-family: var(--font-hand);
  font-size: 1.45rem;
  color: var(--ink);
  transition: border-color 0.3s;
}
.pcform__field input:focus, .pcform__field select:focus { border-color: var(--coral-deep); }
.pcform__field input:focus-visible, .pcform__field select:focus-visible { border-radius: 4px; outline: 3px solid var(--ink); outline-offset: 4px; }
.pcform__send { align-self: flex-start; margin-top: 0.8rem; }
.pcform__status { min-height: 1.4em; font-size: 0.92rem; color: var(--ink-2); }
.contact__sent { padding: 3rem 2rem; border-radius: var(--radius-lg); background: var(--sky); text-align: center; }
.contact__sent-art { width: 260px; margin: 0 auto 1rem; }
.contact__sent .lead { margin: 0.6rem auto 1.6rem; max-width: 30rem; }
.contact__info { display: grid; gap: 1rem; }
.info { display: flex; gap: 1rem; padding: 1.3rem; border-radius: 20px; background: var(--paper-2); }
.info__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--coral); box-shadow: var(--shadow-sm); }
.info h2 { margin-bottom: 0.3rem; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.info p { font-size: 0.95rem; color: var(--ink-2); }
.info a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.info .socials a { color: var(--ink); text-decoration: none; }
.info .socials { margin-top: 0.5rem; }
.info__small { margin-top: 0.2rem; font-size: 0.85rem !important; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .pcform { grid-template-columns: 1fr; }
  .pcform__msg { padding: 0 0 1rem; border-right: 0; border-bottom: 1.5px solid var(--line); }
  .pcform__side { padding: 1rem 0 0; }
  .pcform textarea { min-height: 200px; }
  .contact__card { rotate: 0deg; }
}

/* Play */
.gamenav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.gamenav a { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.5rem 1.1rem 0.5rem 0.5rem; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-weight: 600; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.gamenav a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gamenav span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--butter); font-family: var(--font-display); }
.games { display: grid; gap: clamp(1.6rem, 3vw, 2.6rem); padding: clamp(30px, 4vw, 60px) 0 var(--section); }
.game { scroll-margin-top: 100px; }
.game__inner { padding: clamp(1.4rem, 3.4vw, 3.2rem); border-radius: var(--radius-lg); background: var(--card); }
.game__head { display: flex; align-items: flex-start; gap: 1.2rem; margin-bottom: 2rem; }
.game__head .h2 { margin-bottom: 0.6rem; font-size: clamp(2rem, 4vw, 3.4rem); }
.game__head p { max-width: 42rem; color: var(--ink-2); }
.game__num { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--font-display); font-size: 1.6rem; }
.game__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; }
.game__status { font-weight: 600; }
.game__status a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }

.match { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 16px); }
.mcard { position: relative; aspect-ratio: 0.8; border-radius: 16px; perspective: 900px; }
.mcard__inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.7s var(--ease); }
.mcard.is-flipped .mcard__inner, .mcard.is-matched .mcard__inner { transform: rotateY(180deg); }
.mcard__face { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 16px; box-shadow: var(--shadow-sm); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.mcard__back {
  color: var(--paper);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.2), transparent 55%),
    radial-gradient(circle, rgba(255, 255, 255, 0.16) 1.2px, transparent 1.6px) 0 0 / 14px 14px,
    var(--teal);
  transition: transform 0.4s var(--ease);
}
.mcard:hover:not(.is-flipped):not(.is-matched) .mcard__back { transform: translateY(-4px); }
.mcard__back .icon { width: 34%; height: 34%; rotate: -30deg; }
.mcard__front { padding: 12% 10% 24%; background: #fff; transform: rotateY(180deg); }
.mcard__front img { width: 100%; height: 100%; object-fit: contain; }
.mcard__front span { position: absolute; left: 0; right: 0; bottom: 8%; text-align: center; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.mcard.is-matched .mcard__front { background: var(--mint); box-shadow: inset 0 0 0 3px #7cc49b; }
.mcard:disabled, .mcard[aria-disabled='true'] { cursor: default; }
@media (max-width: 760px) { .match { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 420px) { .match { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.quiz { padding: clamp(1.4rem, 3vw, 2.6rem); border-radius: 26px; background: #fff; box-shadow: var(--shadow-sm); }
.quiz__head { display: flex; justify-content: space-between; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.quiz__stars { color: var(--coral); letter-spacing: 0.1em; }
.quiz__clue { margin: 1.2rem 0 1.8rem; font-family: var(--font-display); font-variation-settings: 'SOFT' 100; font-size: clamp(1.5rem, 3.2vw, 2.6rem); line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.quiz__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 24px); }
.quiz__opt { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; padding: 1rem 0.6rem; border-radius: 20px; background: var(--paper-2); transition: translate 0.4s var(--ease), rotate 0.4s var(--ease), background 0.3s, box-shadow 0.3s; }
.quiz__opt img { width: 68%; border-radius: 3px 7px 7px 3px; box-shadow: var(--shadow); }
.quiz__opt span { font-family: var(--font-display); font-size: clamp(1rem, 2vw, 1.3rem); }
.quiz__opt:hover:not([aria-disabled='true']) { translate: 0 -6px; rotate: -1deg; background: var(--butter); }
.quiz__opt[aria-disabled='true'] { cursor: default; }
.quiz__opt.is-right { background: var(--mint); box-shadow: inset 0 0 0 3px #7cc49b; }
.quiz__opt.is-wrong { opacity: 0.4; animation: shake 0.5s var(--ease); }
@keyframes shake { 20% { translate: -8px 0; } 40% { translate: 7px 0; } 60% { translate: -5px 0; } 80% { translate: 3px 0; } }
.quiz__msg { min-height: 1.6em; margin-top: 1.2rem; font-family: var(--font-hand); font-size: 1.6rem; text-align: center; color: var(--teal-deep); }
.quiz { min-height: 420px; }
.games__noscript { padding-block: 2rem; font-weight: 600; text-align: center; }
.quiz__end { padding: 2rem 0; text-align: center; }
.quiz__big { font-size: clamp(1.4rem, 4vw, 2.4rem); letter-spacing: 0.1em; color: var(--coral); }
.quiz__end h3 { margin: 0.8rem 0; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.quiz__end p { margin-bottom: 1.4rem; color: var(--ink-2); }

.puzzle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr); gap: clamp(1.4rem, 4vw, 3rem); align-items: start; }
.puzzle__board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: min(100%, 460px); aspect-ratio: 900 / 1218; padding: 4px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); transition: gap 0.5s var(--ease); }
.tile { position: relative; border-radius: 6px; background-size: 300% 300%; background-repeat: no-repeat; transition: box-shadow 0.3s, filter 0.3s, border-radius 0.5s; }
.tile:hover { filter: brightness(1.06); }
.tile.is-selected { z-index: 2; box-shadow: 0 0 0 4px var(--coral); }
.puzzle__board.is-solved { gap: 0; }
.puzzle__board.is-solved .tile { border-radius: 0; }
.puzzle__side { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
.puzzle__peek { position: relative; width: 150px; overflow: hidden; border-radius: 4px 8px 8px 4px; box-shadow: var(--shadow); cursor: help; }
.puzzle__peek img { width: 100%; aspect-ratio: 900 / 1218; object-fit: cover; }
.puzzle__peek span { position: absolute; inset: 0; display: grid; place-items: center; padding: 0.6rem; background: rgba(29, 54, 64, 0.84); color: #fff; font-size: 0.82rem; font-weight: 600; text-align: center; transition: opacity 0.3s; }
.puzzle__peek:hover span { opacity: 0; }
@media (max-width: 760px) { .puzzle { grid-template-columns: 1fr; } }
.spark { position: fixed; z-index: 3000; width: 12px; height: 12px; margin: -6px; border-radius: 3px; pointer-events: none; }

/* 404 */
.lost { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 100vh; min-height: 100svh; padding: 140px 0 100px; overflow: clip; text-align: center; background: linear-gradient(180deg, #c9e2f4, #e9f3f9 55%, var(--paper)); }
.lost__route { z-index: -1; }
.lost__inner { position: relative; z-index: 2; max-width: 900px; }
.lost__code { display: flex; align-items: center; justify-content: center; gap: 0.08em; font-family: var(--font-display); font-variation-settings: 'SOFT' 100; font-size: clamp(7rem, 22vw, 17rem); line-height: 0.8; letter-spacing: -0.06em; }
.lost__code span { display: inline-block; width: 0.66em; }
.lost__code img { width: 100%; animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -10px; rotate: -3deg; } }
.lost__title { margin: 1.6rem 0 1rem; font-size: clamp(2.2rem, 5vw, 4.4rem); }
.lost .lead { max-width: 34rem; margin: 0 auto; }
.lost__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }
.lost__sophie { position: absolute; right: 4%; bottom: 0; width: clamp(120px, 13vw, 220px); margin: 0; }
.lost__sophie img { width: 100%; }
.lost__sophie .bubble { left: -78%; top: 2%; }
.lost__sophie .bubble__word { font-size: 1.1rem; }
@media (max-width: 760px) { .lost__sophie { display: none; } }

/* Legal */
.prose-wrap { padding: clamp(30px, 4vw, 60px) 0 var(--section); }
.prose { max-width: 760px; margin: 0 auto; font-size: 1.08rem; }
.prose__date { margin-bottom: 2rem; font-size: 0.9rem; color: var(--ink-3); }
.prose h2 { margin: 2.4rem 0 0.8rem; font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 600; letter-spacing: -0.015em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { display: grid; gap: 0.4rem; margin-top: 0.6rem; padding-left: 1.2rem; }
.prose a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }

/* 9b. Shop: the bag & checkout ------------------------------------------------
   The header bag button, the bag panel (a modal <dialog>, filled in by assets/js/shop.js),
   /checkout (Stripe's embedded checkout sits in .co__embed) and /checkout/complete. */
.nav__bag {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  transition: background 0.3s var(--ease), transform 0.4s var(--ease);
}
.nav__bag:hover { background: var(--butter); transform: rotate(-6deg); }
.nav__bag .icon { width: 22px; height: 22px; }
.nav__count {
  position: absolute;
  top: -5px;
  right: -6px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--coral-deep);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 2px var(--paper);
}
.nav__count.is-bump { animation: bag-bump 0.6s var(--ease-spring); }
@keyframes bag-bump { 0% { transform: scale(0.4); } 60% { transform: scale(1.25); } 100% { transform: none; } }
@media (max-width: 980px) { .nav__bag { width: 50px; height: 50px; } }

.btn--sold-out, .link-arrow.is-sold-out { opacity: 0.55; pointer-events: none; }

/* The bag panel */
.bag {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(440px, 100vw);
  height: 100vh;
  height: 100dvh;
  max-width: 100vw;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}
.bag::backdrop { background: rgba(29, 54, 64, 0.4); opacity: 0; transition: opacity 0.42s var(--ease); }
.bag.is-open::backdrop { opacity: 1; }
.bag__panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateX(104%);
  transition: transform 0.5s var(--ease);
}
.bag.is-open .bag__panel { transform: none; }
.bag__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 22px 22px 18px 28px; border-bottom: 1px solid var(--line); }
.bag__title { margin: 0; font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em; }
.bag__close { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--paper); transition: transform 0.4s var(--ease); }
.bag__close:hover { transform: rotate(90deg); }
.bag__close .icon { width: 18px; height: 18px; }

.bag__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.7rem; padding: 24px 32px 40px; text-align: center; color: var(--ink-2); }
.bag__empty p { margin: 0; max-width: 18rem; }
.bag__empty .btn { margin-top: 0.8rem; }
.bag__sophie { width: auto; height: 180px; margin-bottom: 0.4rem; }
.bag__empty-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--ink); }

.bag__list { flex: 1; margin: 0; padding: 10px 14px; list-style: none; overflow-y: auto; overscroll-behavior: contain; }
.bag__item {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 4px 16px;
  padding: 16px 14px;
  border-radius: 18px;
  border-bottom: 1.5px dashed var(--line-2);
}
.bag__item:last-child { border-bottom: 0; }
.bag__item.is-new { animation: bag-new 1.4s var(--ease); }
@keyframes bag-new { from { background: color-mix(in srgb, var(--tint) 85%, transparent); } to { background: transparent; } }
.bag__cover { grid-row: 1 / span 2; display: block; padding: 6px; border-radius: 12px; background: var(--tint); }
.bag__cover img { display: block; width: 100%; height: auto; border-radius: 3px 5px 5px 3px; box-shadow: -1px 1px 1px rgba(29, 54, 64, 0.1), 3px 4px 8px rgba(29, 54, 64, 0.16); }
.bag__info { grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 0; }
.bag__name { font-weight: 700; line-height: 1.25; }
.bag__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.bag__each { font-size: 0.86rem; color: var(--ink-3); }
.bag__remove { margin-top: 5px; padding: 2px 0; font-size: 0.82rem; font-weight: 600; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.bag__remove:hover { color: var(--coral-deep); }
.bag__line { justify-self: end; font-variant-numeric: tabular-nums; }
.bag__qty { justify-self: end; display: inline-flex; align-items: center; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.bag__step { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--ink); transition: background 0.25s; }
.bag__step:hover { background: var(--butter); }
.bag__step .icon { width: 15px; height: 15px; }
.bag__n { min-width: 1.6em; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

.bag__msg { margin: 0 22px 12px; padding: 12px 16px; border-radius: 16px; background: var(--butter); font-size: 0.92rem; line-height: 1.45; }
.bag__msg a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.bag__foot { display: grid; gap: 12px; padding: 20px 26px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper-2); }
.bag__row { display: flex; align-items: baseline; justify-content: space-between; margin: 0; font-weight: 600; }
.bag__row strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.bag__ship { display: flex; align-items: center; gap: 0.55rem; margin: 0; font-size: 0.92rem; color: var(--teal-deep); }
.bag__ship .icon { width: 18px; height: 18px; }
.bag__ship a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.bag__checkout { width: 100%; justify-content: center; }
.bag__keep { justify-self: center; padding: 4px 8px; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.bag__keep:hover { color: var(--ink); }
@media (max-width: 480px) {
  .bag__panel { border-radius: 0; }
  .bag__head { padding-left: 20px; }
  .bag__item { grid-template-columns: 54px 1fr auto; gap: 4px 12px; padding-inline: 8px; }
}

/* /checkout and /checkout/complete */
.co { position: relative; isolation: isolate; padding: clamp(118px, 13vw, 168px) 0 clamp(70px, 9vw, 120px); overflow: clip; background: linear-gradient(180deg, #c9e2f4, #e9f3f9 340px, var(--paper) 620px); }
.co__sky { position: absolute; inset: 0 0 auto; height: 520px; z-index: -1; pointer-events: none; }
.co .cloud { animation: drift linear infinite; }
/* Wide enough that Stripe's checkout switches to its two-column desktop layout (~1000px+). */
.co__inner { position: relative; max-width: 1240px; }
.co__head { text-align: center; margin-bottom: clamp(26px, 4vw, 42px); }
.co__head .crumbs { justify-content: center; }
.co__title { margin: 0 0 0.8rem; font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 600; line-height: 1; letter-spacing: -0.035em; }
.co__title em { color: var(--coral-deep); }
.co__lead { max-width: 34rem; margin: 0 auto; font-size: 1.08rem; color: var(--ink-2); }
.co__card { position: relative; min-height: 380px; padding: clamp(8px, 1vw, 12px); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.co__state { display: grid; justify-items: center; gap: 14px; padding: clamp(40px, 7vw, 84px) 20px; text-align: center; }
.co__state p { margin: 0; max-width: 32rem; }
.co__state--wait { color: var(--ink-2); font-weight: 600; }
.co__plane { width: 46px; height: 46px; color: var(--coral); animation: co-fly 1.8s var(--ease-in-out) infinite; }
@keyframes co-fly { 0%, 100% { transform: translate(-16px, 5px) rotate(-6deg); } 50% { transform: translate(16px, -5px) rotate(6deg); } }
.co__h2 { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
.co__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.co__backup { margin-top: 6px; padding: 16px 22px; border-radius: 18px; background: var(--paper-2); }
.co__backup ul { display: grid; gap: 6px; margin: 0.6rem 0 0; padding: 0; list-style: none; }
.co__backup a, .co__help a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.co__help { color: var(--ink-3); font-size: 0.95rem; }
.co__testmode { display: flex; align-items: flex-start; gap: 0.6rem; margin: 0 0 8px; padding: 12px 16px; border-radius: 16px; background: var(--butter); font-size: 0.92rem; }
.co__testmode .icon { margin-top: 0.2em; color: var(--coral-deep); }
.co__embed { min-height: 640px; border-radius: calc(var(--radius-lg) - 8px); overflow: hidden; }
.co__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 0.93rem; color: var(--ink-2); }
.co__trust li { display: inline-flex; align-items: center; gap: 0.5rem; }
.co__trust .icon { width: 18px; height: 18px; color: var(--teal); }
.co__trust a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.co--done .co__card { max-width: 640px; margin: 70px auto 0; padding: clamp(28px, 5vw, 52px); text-align: center; overflow: visible; }
.co--done .co__state { padding: 10px 0 0; }
.co__sophie { display: block; width: auto; height: 170px; margin: -140px auto 10px; filter: drop-shadow(0 18px 18px rgba(29, 54, 64, 0.16)); }
.co--done .eyebrow { justify-content: center; }
.co__items { display: grid; gap: 10px; width: 100%; margin: 18px 0 4px; padding: 0; list-style: none; text-align: left; }
.co__items li { display: grid; grid-template-columns: 50px 1fr auto auto; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border-radius: 18px; background: color-mix(in srgb, var(--tint, var(--sky)) 60%, #fff); }
.co__cover img { display: block; width: 50px; height: auto; border-radius: 3px 5px 5px 3px; box-shadow: 2px 3px 8px rgba(29, 54, 64, 0.18); }
.co__name { font-weight: 700; }
.co__qty { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.co__items strong { font-variant-numeric: tabular-nums; }
.co__totals { display: grid; gap: 6px; width: 100%; margin: 10px 0 6px; text-align: left; }
.co__totals div { display: flex; justify-content: space-between; gap: 1rem; padding: 0 16px; }
.co__totals dt { color: var(--ink-2); }
.co__totals dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.co__totals div:last-child { margin-top: 6px; padding-top: 12px; border-top: 1.5px dashed var(--line-2); font-size: 1.15rem; }
.co__totals div:last-child dt { color: var(--ink); font-weight: 700; }
.co__totals div:last-child dd { font-family: var(--font-display); font-size: 1.4rem; }
@media (max-width: 640px) {
  .co__card { padding: 8px; border-radius: var(--radius); }
  .co__embed { min-height: 560px; border-radius: calc(var(--radius) - 8px); }
  .co__items li { grid-template-columns: 42px 1fr auto; padding-right: 12px; }
  .co__items .co__qty { grid-column: 2; grid-row: 2; margin-top: -10px; font-size: 0.9rem; }
  .co__items li strong { grid-row: 1 / span 2; grid-column: 3; }
  .co__cover { grid-row: 1 / span 2; }
  .co__cover img { width: 42px; }
}

/* 10. Motion helpers -----------------------------------------------------------
   `motion` is set on <html> by the inline head script when scripts run and motion is allowed;
   app.js swaps it for `motion-fallback` if the animation libraries fail to start. Every
   "hidden until animated" rule hangs off it, so content is never stuck invisible. */
/* (No CSS transitions while GSAP drives the reveal, or they'd trail behind it.) */
html.motion [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(34px); transition: none !important; }
html.motion [data-split]:not(.is-in),
html.motion [data-hero-title]:not(.is-in) { visibility: hidden; }
html.motion [data-hero-in]:not(.is-in) { opacity: 0; transform: translateY(26px); }
html.motion .hero:not(.is-in) .lm img,
html.motion .hero:not(.is-in) .hero__sophie img,
html.motion .hero:not(.is-in) .bubble,
html.motion [data-pop]:not(.is-in) { opacity: 0; }
/* Planes only show while a script is flying them. */
html:not(.motion) .route__plane { display: none; }

/* 11. Reduced motion ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* Clouds and birds hold still, spread across the sky rather than parked off-screen. */
  .cloud, .bird { animation: none !important; }
  .cloud--1 { translate: 36vw 0; }
  .cloud--2 { translate: 84vw 0; }
  .cloud--3 { translate: 100vw 0; }
  .cloud--4 { translate: 60vw 0; }
  .cloud--5 { translate: 16vw 0; }
  .cloud--p1 { translate: 30vw 0; }
  .cloud--p2 { translate: 96vw 0; }
  .cloud--p3 { translate: 74vw 0; }
}
