/* ComeAwayWith.me – home page and its sub-pages, built on the v3 "Open Invitation" system
   (brand/reference/v3-open-invitation: styles.css + home.html). Logical properties, so the
   same rules serve Arabic (RTL). Fonts are self-hosted (fonts.css). */
:root {
  --ink: #0E1020; --ink-2: #3A3D52; --ink-3: #5E6178;
  --paper: #F6F5F0; --paper-2: #EFEDE6; --card: #FFFFFF; --line: #E3E1D8; --line-2: #CFCCC0;
  --cobalt: #2340F0; --cobalt-ink: #1A30C8; --cobalt-700: #172AA8; --cobalt-50: #ECEFFF; --cobalt-100: #DCE2FF;
  --coral: #FF5A4E; --coral-ink: #C2382C; --coral-50: #FFECE9;
  --lime: #CDF547; --lime-50: #F3FDD0;
  --d1: #2340F0; --d2: #00A88F; --d3: #8A3FFC; --d4: #FF4F3F; --d5: #12A4E8;
  --d6: #E0338A; --d7: #F29D00; --d8: #5BAA12; --d9: #A0522D; --d10: #0E1020;
  --f-display: 'Bricolage Grotesque', 'Bricolage Fallback', 'Segoe UI', system-ui, sans-serif;
  --f-ui: 'Instrument Sans', 'Instrument Fallback', 'Segoe UI', system-ui, sans-serif;
  --f-mono: 'DM Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --f-hand: 'Caveat', 'Segoe Print', cursive;
  --hand-weight: 700;
  --r-l: 22px;
  --sh-1: 0 1px 0 rgba(14,16,32,.06), 0 1px 3px rgba(14,16,32,.06);
  --sh-2: 0 1px 0 rgba(14,16,32,.05), 0 10px 30px -10px rgba(14,16,32,.22);
  --sh-3: 0 2px 0 rgba(14,16,32,.05), 0 30px 60px -20px rgba(14,16,32,.35);
  --focus: 0 0 0 3px var(--paper), 0 0 0 6px var(--cobalt);
  --gutter: 40px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}
/* Local fallbacks sized like the brand fonts (measured in Chromium against Arial), so the hero
   does not re-wrap or jump when the web fonts arrive (font-display: swap in fonts.css). The second
   Bricolage rule covers the characters Bricolage has (its latin and latin-ext ranges) and is sized to
   the hero and headings set in it (2% wider than the first: the English hero no longer re-wraps at
   1180-1280 px or on phones); Cyrillic, which Bricolage lacks, keeps the first rule for good. */
@font-face { font-family: 'Bricolage Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'); font-weight: 500 800; size-adjust: 92.2%; ascent-override: 100.9%; descent-override: 29.3%; line-gap-override: 0%; }
@font-face { font-family: 'Bricolage Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'); font-weight: 500 800; size-adjust: 94.2%; ascent-override: 98.8%; descent-override: 28.7%; line-gap-override: 0%; unicode-range: U+0000-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2000-206F, U+20A0-20C0, U+2113, U+2122, U+2191, U+2193, U+2212, U+2215, U+2C60-2C7F, U+A720-A7FF, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Fallback'; src: local('Arial'), local('ArialMT'); font-weight: 400 500; size-adjust: 100.6%; ascent-override: 96.4%; descent-override: 24.8%; line-gap-override: 0%; }
@font-face { font-family: 'Instrument Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'); font-weight: 600 700; size-adjust: 97.1%; ascent-override: 99.9%; descent-override: 25.7%; line-gap-override: 0%; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.5 var(--f-ui); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--cobalt-ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.display { font-family: var(--f-display); font-weight: 800; letter-spacing: -.035em; line-height: .95; margin: 0; }
.eyebrow { font: 500 12px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow--ink { color: var(--ink); }
.eyebrow--on-cobalt { color: #DCE2FF; }
.eyebrow--on-ink { color: #B9BDDA; }
.mono { font-family: var(--f-mono); }
.hand { font-family: var(--f-hand); font-weight: var(--hand-weight); letter-spacing: 0; line-height: 1; }
.lede { font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 36em; margin: 18px 0 0; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 500 12px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.kicker::before { content: ''; flex: none; width: 18px; height: 0; border-top: 2px dashed currentColor; }
.h2 { font: 800 clamp(36px, 4.3vw, 60px)/.98 var(--f-display); letter-spacing: -.035em; margin: 14px 0 0; max-width: 14em; overflow-wrap: break-word; hyphens: auto; }
.row { display: flex; align-items: center; gap: 12px; }
.row-s { display: inline-flex; align-items: center; gap: 6px; }
.grow { flex: 1; min-width: 0; }
.between { justify-content: space-between; }
.i { width: 20px; height: 20px; flex: none; }
.i-s { width: 16px; height: 16px; }
[dir="rtl"] .flip, [dir="rtl"] .flip-text { display: inline-block; transform: scaleX(-1); }

/* ---------- buttons: a label + a tear-off stub ---------- */
.btn { --bg: var(--card); --fg: var(--ink); --bd: var(--ink); display: inline-flex; align-items: stretch; border-radius: 14px; background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd); font: 600 15px/1.15 var(--f-ui); text-decoration: none; cursor: pointer; transition: transform .15s; min-height: 46px; }
.btn > span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px; }
/* The stub's two notches are cut out, whatever lies behind (as on the mock-up): the button's face
   and frame are a layer behind its label (::before) with the two holes masked out, so the button's
   own focus ring is never clipped; two half rings keep the frame round the holes. */
.btn:has(> .stub) {
  --sw: 46px; --nr: 5px; --nx: calc(100% - var(--sw) - .75px);
  --bh: #0000 var(--nr), #000 calc(var(--nr) + .5px);
  --dash: color-mix(in srgb, var(--fg) 45%, transparent);
  position: relative; isolation: isolate; background: transparent; border-color: transparent;
}
.btn:has(> .stub)::before { content: ''; position: absolute; inset: -1.5px; z-index: -1; border-radius: inherit; border: 1.5px solid var(--bd);
  background: linear-gradient(var(--dash) 50%, transparent 0) right calc(var(--sw) - 1.5px) top -1px / 1.5px 6px repeat-y, var(--bg);
  -webkit-mask: radial-gradient(circle at var(--nx) 0, var(--bh)) 0 0 / 100% 51% no-repeat, radial-gradient(circle at var(--nx) 100%, var(--bh)) 0 100% / 100% 51% no-repeat;
  mask: radial-gradient(circle at var(--nx) 0, var(--bh)) 0 0 / 100% 51% no-repeat, radial-gradient(circle at var(--nx) 100%, var(--bh)) 0 100% / 100% 51% no-repeat; }
[dir="rtl"] .btn:has(> .stub) { --nx: calc(var(--sw) + .75px); }
[dir="rtl"] .btn:has(> .stub)::before { background-position: left calc(var(--sw) - 1.5px) top -1px, 0 0; }
.btn--sm:has(> .stub) { --sw: 38px; }
.btn > .stub { position: relative; flex: none; justify-content: center; width: var(--sw); padding: 0; }
.btn > .stub::before, .btn > .stub::after { content: ''; position: absolute; inset-inline-start: calc(-1 * var(--nr) - .75px); width: calc(2 * var(--nr) + 3px); height: calc(2 * var(--nr) + 3px); border-radius: 50%; border: 1.5px solid var(--bd); }
.btn > .stub::before { top: calc(-1 * var(--nr) - 3px); clip-path: inset(50% 0 0 0); }
.btn > .stub::after { bottom: calc(-1 * var(--nr) - 3px); clip-path: inset(0 0 50% 0); }
.btn:hover { transform: translateY(-1px); }
.btn--primary { --bg: var(--cobalt); --fg: #fff; --bd: var(--cobalt); }
.btn--ink { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn--lime { --bg: var(--lime); --fg: var(--ink); --bd: var(--ink); }
.btn--on-dark { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.55); }
.btn--sm { min-height: 38px; font-size: 13.5px; border-radius: 11px; }
.btn--sm > span { padding: 4px 12px; }
.iconbtn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--card); color: var(--ink); }
.iconbtn:hover { border-color: var(--ink); }

/* ---------- chips, tags ---------- */
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 4px 12px 4px 10px; border-radius: 999px; font: 600 13px/1.1 var(--f-ui); border: 1.5px solid var(--ink); background: var(--ink); color: #fff; }
.chip .i { width: 16px; height: 16px; }
.chip.is-off { background: transparent; color: var(--ink-2); border-style: dashed; border-color: var(--line-2); }
.chip--soft { background: var(--cobalt-50); color: var(--cobalt-ink); border-color: transparent; }
.chip--lime { background: var(--lime); color: var(--ink); border-color: var(--ink); }
.chip--line { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.tag-sample { display: inline-flex; align-items: center; flex: none; font: 500 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; padding: 4px 6px; border-radius: 6px; border: 1px dashed var(--ink-3); color: var(--ink-2); background: var(--card); white-space: nowrap; }
.tag-sample--on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
/* "Soon" next to a feature that is not in the app yet */
.soon-tag { display: inline-flex; vertical-align: middle; margin-inline-start: 4px; padding: 4px 6px; border-radius: 6px; border: 1px dashed var(--ink-3); background: var(--card); color: var(--ink-2); font: 500 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.daytag { --c: var(--d1); --t: #fff; display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 3px 9px 3px 8px; border-radius: 7px; background: var(--c); color: var(--t); font: 500 11.5px/1.1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
[data-day="4"] { --c: var(--d4); --t: var(--ink); }
[data-day="7"] { --c: var(--d7); --t: var(--ink); }
.badge { display: inline-flex; align-items: center; gap: 5px; min-height: 22px; padding: 2px 8px; border-radius: 7px; font: 600 12px/1.1 var(--f-ui); background: var(--paper-2); color: var(--ink-2); white-space: nowrap; }
.badge--lime { background: var(--lime); color: var(--ink); }
.badge--ink { background: var(--ink); color: #fff; }

/* ---------- pass: the core card, notches punched at --cut ---------- */
.pass { --cut: 50%; position: relative; background: var(--card); border-radius: var(--r-l); box-shadow: var(--sh-2); }
.perf { height: 0; border-top: 2px dashed var(--line-2); margin: 0 18px; }
/* Notches are real holes (owner, 20 Oct): a ticket is drawn by its parts, and each part cuts its
   half of every notch out of its own edge with a mask, so the dotted map or the colour behind the
   ticket shows through; nothing is painted over the ticket or its shadow. The shadow is a
   drop-shadow filter on the whole ticket, so it follows the holes. A part takes the class .cut and
   picks its corners in --cut: --cut-t / -b / -l / -r (both corners of a side), -s / -e (the start or
   end side, RTL-aware) or -all; --r is the notch radius. A part that must not become a stacking
   context (its children are layered with things outside it) takes .cut-bg instead: its white
   background (and perforation border) is then a masked layer behind its content. */
.cut, .cut-bg {
  --r: 11px;
  --hole: #0000 var(--r), #000 calc(var(--r) + .5px);
  --cut-t: radial-gradient(circle at 0 0, var(--hole)) 0 0 / 51% 100% no-repeat, radial-gradient(circle at 100% 0, var(--hole)) 100% 0 / 51% 100% no-repeat;
  --cut-b: radial-gradient(circle at 0 100%, var(--hole)) 0 0 / 51% 100% no-repeat, radial-gradient(circle at 100% 100%, var(--hole)) 100% 0 / 51% 100% no-repeat;
  --cut-l: radial-gradient(circle at 0 0, var(--hole)) 0 0 / 100% 51% no-repeat, radial-gradient(circle at 0 100%, var(--hole)) 0 100% / 100% 51% no-repeat;
  --cut-r: radial-gradient(circle at 100% 0, var(--hole)) 0 0 / 100% 51% no-repeat, radial-gradient(circle at 100% 100%, var(--hole)) 0 100% / 100% 51% no-repeat;
  --cut-all: radial-gradient(circle at 0 0, var(--hole)) 0 0 / 51% 51% no-repeat, radial-gradient(circle at 100% 0, var(--hole)) 100% 0 / 51% 51% no-repeat, radial-gradient(circle at 0 100%, var(--hole)) 0 100% / 51% 51% no-repeat, radial-gradient(circle at 100% 100%, var(--hole)) 100% 100% / 51% 51% no-repeat;
  --cut-s: var(--cut-l);
  --cut-e: var(--cut-r);
}
.cut { -webkit-mask: var(--cut, none); mask: var(--cut, none); }
.cut-bg { position: relative; }
.cut-bg::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--card); -webkit-mask: var(--cut, none); mask: var(--cut, none); }
[dir="rtl"] :is(.cut, .cut-bg) { --cut-s: var(--cut-r); --cut-e: var(--cut-l); }
.pass--cobalt { background: var(--cobalt); color: #fff; }
.pass--lime { background: var(--lime); }

/* ---------- people: avatars and saved spots (illustrations, not real people) ---------- */
.av { --c: var(--cobalt); width: 30px; height: 30px; border-radius: 10px 10px 8px 8px; background: var(--c); color: #fff; display: inline-grid; place-items: center; font: 700 12px/1 var(--f-ui); border: 2px solid var(--card); flex: none; }
.av--lg { width: 40px; height: 40px; font-size: 14px; border-radius: 13px 13px 10px 10px; }
.spots { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.spot { --c: var(--cobalt); display: grid; justify-items: center; align-content: start; gap: 4px; width: 72px; text-align: center; }
.spot__seat { position: relative; width: 46px; height: 46px; border-radius: 15px 15px 12px 12px; background: var(--c); color: #fff; display: grid; place-items: center; font: 700 14px/1 var(--f-ui); }
/* The seat's notch is cut out (a mask); the "you" seat's ink outline follows it (drop-shadow on .seat). */
.seat { display: block; }
.seat .spot__seat { -webkit-mask: radial-gradient(circle at 50% 0, #0000 6px, #000 6.5px); mask: radial-gradient(circle at 50% 0, #0000 6px, #000 6.5px); }
.spot--you .seat { filter: drop-shadow(2px 0 0 var(--ink)) drop-shadow(-2px 0 0 var(--ink)) drop-shadow(0 2px 0 var(--ink)) drop-shadow(0 -2px 0 var(--ink)); }
.spot__seat--white { background: #fff; color: var(--cobalt); }
.spot__name { font: var(--hand-weight) 19px/1 var(--f-hand); color: #fff; }
.spot__city { font: 500 9.5px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #C9D0FF; }
.spot--open .spot__seat { background: transparent; border: 2px dashed rgba(255,255,255,.6); color: #fff; }
.spot--you .spot__seat { background: var(--lime); color: var(--ink); }
.c-ola { --c: #2340F0; } .c-marek { --c: #0E1020; } .c-ines { --c: #FF5A4E; } .c-kenji { --c: #8A3FFC; } .c-sam { --c: #00A88F; }
.c-ines.av, .c-sam.av, .c-ines .spot__seat { color: var(--ink); }

/* ==== TOP BAR: begin. The same block, byte for byte, in projects/coming-soon/public/assets/styles.css
   and projects/join/public/assets/styles.css (P68, owner 20 Oct; the tests compare them). Dark and
   sticky: the footer's ink, the logo on dark (30 px tall, 22 px on phones), the section links white
   (the section in view underlined; a row of chips under the bar below 1400 px, the current chip
   lime with ink text), the language and Instagram as white buttons with ink text and icons (lime
   under the pointer, as in the app's dark bar), one button more: the demo, cobalt with white
   text. Focus: a lime ring on ink, cobalt inside the white language list. Markup:
   site_header() in each project's app/views/chrome.php; only tokens from tokens.css are used. ==== */
:root { --header-h: 120px; }
.skip { position: absolute; z-index: 100; top: 8px; inset-inline-start: 8px; padding: 10px 14px; border-radius: 10px; background: var(--lime); color: var(--ink); font: 700 15px/1.2 var(--f-ui); text-decoration: none; transform: translateY(-160%); }
.skip:focus, .skip:focus-visible { transform: none; outline: 3px solid var(--card); outline-offset: 2px; box-shadow: none; }
.sitenav { --nav-pad: 40px; position: sticky; top: 0; z-index: 60; background: var(--ink); color: #fff; }
.sitenav__in { display: grid; grid-template-areas: "logo right" "links links"; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 76px auto; align-items: center; column-gap: 28px; max-width: 1440px; margin: 0 auto; padding: 0 var(--nav-pad); }
.sitenav .logo { grid-area: logo; justify-self: start; display: inline-flex; min-width: 0; border-radius: 6px; }
.sitenav .logo img { display: block; width: auto; max-width: 100%; height: 30px; object-fit: contain; object-position: left center; }
.sitenav__links { grid-area: links; display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(-1 * var(--nav-pad)); padding: 0 var(--nav-pad) 10px; scroll-padding: 0 var(--nav-pad); scrollbar-width: none; font: 600 14.5px/1 var(--f-ui); }
.sitenav__links::-webkit-scrollbar { display: none; }
.sitenav__links a { display: inline-flex; flex: none; align-items: center; height: 34px; padding: 0 14px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .86); text-decoration: none; white-space: nowrap; }
.sitenav__links a[aria-current] { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.sitenav__right { grid-area: right; display: flex; align-items: center; gap: 10px; }
.sitenav .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.sitenav .lang { position: relative; }
.sitenav .lang-button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1.5px solid #fff; border-radius: 12px; background: #fff; color: var(--ink); font: 600 14px/1 var(--f-ui); cursor: pointer; list-style: none; user-select: none; }
.sitenav .lang-button::-webkit-details-marker { display: none; }
.sitenav .lang-button svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.sitenav .lang[open] .lang-button { border-color: var(--lime); background: var(--lime); }
.sitenav .lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 30; display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)); gap: 2px; max-height: calc(100dvh - 90px); overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 8px; list-style: none; border: 2px solid var(--ink); border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .55), 6px 6px 0 var(--ink); color: var(--ink); }
.sitenav .lang-menu a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink); font: 400 15px/1.3 var(--f-ui); text-decoration: none; }
.sitenav .lang-menu a[aria-current] { background: var(--lime); font-weight: 700; }
.sitenav .iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid #fff; border-radius: 12px; background: #fff; color: var(--ink); }
.sitenav .iconbtn svg { width: 20px; height: 20px; }
/* The demo button: cobalt, white text, a stub torn off along a dashed line; its half notches take
   the bar's ink, which is what lies behind them. */
.sitenav__demo { display: inline-flex; align-items: stretch; min-height: 38px; border: 1.5px solid var(--cobalt); border-radius: 11px; background: var(--cobalt); color: #fff; font: 600 13.5px/1.15 var(--f-ui); text-decoration: none; white-space: nowrap; }
.sitenav__demo > span { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; }
.sitenav__demo > .sitenav__stub { position: relative; padding: 0 10px; border-inline-start: 1.5px dashed rgba(255, 255, 255, .5); }
.sitenav__demo > .sitenav__stub::before, .sitenav__demo > .sitenav__stub::after { content: ''; position: absolute; inset-inline-start: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.sitenav__demo > .sitenav__stub::before { top: -6px; }
.sitenav__demo > .sitenav__stub::after { bottom: -6px; }
.sitenav__demo svg { width: 16px; height: 16px; flex: none; }
[dir="rtl"] .sitenav__demo svg { transform: scaleX(-1); }
.sitenav :focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; box-shadow: none; }
.sitenav .lang-menu :focus-visible { outline-color: var(--cobalt); }
/* A section reached through a link lands right under the bar (its own padding gives the room). */
main, main [id] { scroll-margin-top: var(--header-h); }
@media (hover: hover) {
  .sitenav__links a:hover { border-color: #fff; color: #fff; }
  .sitenav .lang-button:hover, .sitenav .iconbtn:hover { border-color: var(--lime); background: var(--lime); color: var(--ink); }
  .sitenav .lang-menu a:hover { background: var(--cobalt-50); }
  .sitenav__demo:hover { background: var(--cobalt-ink); border-color: var(--cobalt-ink); }
}
@media (max-width: 760px) {
  :root { --header-h: 108px; }
  .sitenav { --nav-pad: 18px; }
  .sitenav__in { grid-template-rows: 64px auto; column-gap: 10px; }
  .sitenav .logo img { height: 22px; }
  .sitenav__demo { display: none; }
  .sitenav .lang-button { padding: 0 10px; }
  .sitenav .lang-name { display: none; }
  /* On phones the open list hangs from the bar, as wide as the screen allows (320 px included). */
  .sitenav__in { position: relative; }
  .sitenav .lang { position: static; }
  .sitenav .lang-menu { top: 58px; inset-inline: var(--nav-pad); grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1400px) {
  :root { --header-h: 76px; }
  .sitenav__in { grid-template-areas: "logo links right"; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: 76px; }
  .sitenav__links { gap: 24px; overflow: visible; margin: 0; padding: 0; }
  .sitenav__links a { height: auto; padding: 6px 0; border: 0; border-radius: 0; background: none; }
  .sitenav__links a[aria-current] { background: none; color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
}
@media (min-width: 1400px) and (hover: hover) {
  .sitenav__links a:hover { text-decoration: underline; text-underline-offset: 6px; }
}
/* ==== TOP BAR: end ==== */

/* ---------- hero ---------- */
/* P2 (P68): a centred hero with room around it, the world on its own stage under it. */
.hero { max-width: 1440px; margin: 0 auto; padding: 64px var(--gutter) 0; }
.hero__center { max-width: 1040px; margin: 0 auto; text-align: center; }
.hero__title { margin-top: 18px; font-size: clamp(46px, 7vw, 104px); overflow-wrap: break-word; hyphens: auto; }
.hero__title > span { display: block; }
/* The lime "spot." pill: its notch is cut out (a mask) and its ink outline follows the cut (a
   drop-shadow outline on the wrapper), as on the mock-up. */
.spotwrap { display: inline-block; margin-inline-start: .04em; transform: rotate(-2deg); filter: drop-shadow(3px 0 0 var(--ink)) drop-shadow(-3px 0 0 var(--ink)) drop-shadow(0 3px 0 var(--ink)) drop-shadow(0 -3px 0 var(--ink)); }
.spotword { display: inline-block; position: relative; background: var(--lime); padding: 0 .16em 0 .2em; border-radius: .16em; -webkit-mask: radial-gradient(circle at 0 50%, #0000 .12em, #000 calc(.12em + .5px)); mask: radial-gradient(circle at 0 50%, #0000 .12em, #000 calc(.12em + .5px)); }
[dir="rtl"] .spotwrap { transform: rotate(2deg); }
[dir="rtl"] .spotword { -webkit-mask: radial-gradient(circle at 100% 50%, #0000 .12em, #000 calc(.12em + .5px)); mask: radial-gradient(circle at 100% 50%, #0000 .12em, #000 calc(.12em + .5px)); }
.hero__text { max-width: 33em; margin: 30px auto 26px; font-size: 19.5px; line-height: 1.5; color: var(--ink-2); }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hero__fine { margin: 16px 0 0; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.hero__fine a { font-weight: 600; white-space: nowrap; }
.live { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px var(--ink); }

/* The stage (P2): a full-width white band under the hero whose top and bottom edges are perforated
   (cut out with a mask, so the paper shows through), with the world, the demo card and the legend. */
.stage { position: relative; margin-top: 84px; padding: 56px 0 40px; background: var(--card);
  -webkit-mask: radial-gradient(circle 7px at 50% 0, #0000 96%, #000) 0 0 / 22px 51% repeat-x, radial-gradient(circle 7px at 50% 100%, #0000 96%, #000) 0 100% / 22px 51% repeat-x;
  mask: radial-gradient(circle 7px at 50% 0, #0000 96%, #000) 0 0 / 22px 51% repeat-x, radial-gradient(circle 7px at 50% 100%, #0000 96%, #000) 0 100% / 22px 51% repeat-x; }
.worldscroll { position: relative; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.stage .friend { text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 3px #fff; }
.worldbox { position: relative; margin: 0 auto; max-width: 1360px; aspect-ratio: 1200 / 460; }
.worldbox .world { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.worldbox__art { position: absolute; inset: 0; }
.world .arc { animation: arc-flow 1.6s linear 3; }
@keyframes arc-flow { to { stroke-dashoffset: -9; } }
.wtag { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 7px; width: max-content; max-width: 196px; min-height: 30px; padding: 5px 10px 5px 6px; padding-inline: 6px 10px; border-radius: 9px; background: #fff; box-shadow: var(--sh-2); font: 600 13px/1.15 var(--f-ui); color: var(--ink); }
.wtag .tag-sample { padding: 3px 5px; font-size: 9.5px; }
.wtag::after { content: ''; position: absolute; width: 8px; height: 8px; background: #fff; transform: rotate(45deg); }
.wtag.l { transform: translate(calc(-100% - 12px), -50%); } .wtag.l::after { right: -4px; top: 11px; }
.wtag.r { transform: translate(12px, -50%); } .wtag.r::after { left: -4px; top: 11px; }
.wtag.t { transform: translate(-50%, calc(-100% - 12px)); } .wtag.t::after { left: calc(50% - 4px); bottom: -4px; }
.wtag.b { transform: translate(-50%, 12px); } .wtag.b::after { left: calc(50% - 4px); top: -4px; }
/* A friend's label: name, then "Sample" and the city on lines of their own; a paper halo keeps the
   text clear of the dots and arcs behind it. --fy places it beside its pin: "up" above the pin,
   "level" with the name level with the pin (clear of the neighbouring pins and arcs). */
.friend { --fy: -60%; position: absolute; z-index: 3; font: var(--hand-weight) 22px/1 var(--f-hand); color: var(--cobalt-ink); white-space: nowrap; text-shadow: 0 0 2px var(--paper), 0 0 2px var(--paper), 0 0 3px var(--paper); }
.friend small { display: block; margin-top: 1px; font: 500 9.5px/1.25 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.friend small span { display: block; }
.friend.up { --fy: calc(-100% - 4px); }
.friend.level { --fy: -8px; }
.friend.l { transform: translate(calc(-100% - 10px), var(--fy)); text-align: right; }
.friend.r { transform: translate(10px, var(--fy)); }
.tripcard { position: absolute; z-index: 5; left: 57.4%; top: 45%; width: 392px; }
.tripcard .pass { background: none; box-shadow: none; filter: drop-shadow(0 2px 0 rgba(14,16,32,.05)) drop-shadow(0 18px 20px rgba(14,16,32,.24)); }
/* The card's ink outline is the parts' own border, and around each notch a ring of which the
   part's mask leaves the quarter inside it; the dashed perforation lies over the seam. */
.tripcard__head, .tripcard__foot { position: relative; background: var(--card); border: 2.5px solid var(--ink); }
.tripcard__head { --cut: var(--cut-b); border-bottom: 0; border-radius: var(--r-l) var(--r-l) 0 0; }
.tripcard__foot { --cut: var(--cut-t); border-top: 0; border-radius: 0 0 var(--r-l) var(--r-l); }
.tripcard__head::before, .tripcard__head::after, .tripcard__foot::before, .tripcard__foot::after { content: ''; position: absolute; width: calc(2 * var(--r) + 5px); height: calc(2 * var(--r) + 5px); border: 2.5px solid var(--ink); border-radius: 50%; }
.tripcard__head::before, .tripcard__foot::before { left: calc(-5px - var(--r)); }
.tripcard__head::after, .tripcard__foot::after { right: calc(-5px - var(--r)); }
.tripcard__head::before, .tripcard__head::after { bottom: calc(-2.5px - var(--r)); }
.tripcard__foot::before, .tripcard__foot::after { top: calc(-2.5px - var(--r)); }
.tripcard .perf { position: relative; z-index: 1; margin: -1px 18px; }
.tripcard__head { display: grid; grid-template-columns: 1fr 124px; gap: 12px; padding: 14px 14px 12px 16px; padding-inline: 16px 14px; }
.tripcard__head p { margin: 0; }
.tripcard__title { font: 800 26px/1 var(--f-display); letter-spacing: -.03em; margin: 8px 0 6px !important; }
.tripcard .mini { width: 124px; height: 96px; border-radius: 12px; overflow: hidden; background: #DCE2FF; }
.tripcard .mini svg { width: 124px; height: 96px; max-width: none; }
.tripcard__foot { display: flex; align-items: center; gap: 12px; padding: 12px 14px 14px 16px; padding-inline: 16px 14px; }
.tripcard__foot p { margin: 0; }
.tripcard__anchor { position: absolute; z-index: 4; left: 55.35%; top: 28.5%; width: 2.2%; height: 22%; border-left: 2px dashed var(--ink); border-bottom: 2px dashed var(--ink); border-radius: 0 0 0 10px; }
.realtag { display: inline-flex; align-items: center; gap: 6px; min-height: 22px; padding: 3px 8px; border-radius: 6px; background: var(--coral); color: var(--ink); font: 500 10.5px/1.1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.realtag::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px rgba(14,16,32,.18); }
.daybars { display: flex; gap: 3px; flex: none; }
.daybars i { width: 6px; height: 22px; border-radius: 3px; }
/* Room under the map for the part of the demo card that hangs below it (wide screens: about
   270 px of card from 45 % of the map's height). */
.worldbox { margin-bottom: max(0px, calc(270px - .2108 * (min(100vw, 1440px) - 80px))); }
.wlegend { display: flex; gap: 8px 16px; flex-wrap: wrap; width: max-content; max-width: 100%; margin: 14px auto 0; padding: 10px 14px; border-radius: 12px; background: var(--paper); font-size: 12.5px; font-weight: 600; }
.wlegend > span { display: inline-flex; align-items: center; gap: 7px; }
.dot--demo { background: var(--coral); box-shadow: 0 0 0 3px #FFD3CF; }
.dot--sample { background: var(--ink); }
.dot--home { background: var(--cobalt); }
.lg-arc { width: 26px; height: 0; border-top: 2.4px dotted var(--cobalt); }

/* ---------- the invitation pass (Instagram) with the mascot ----------
   A cobalt band with white dots (the brand's colour for invitations), so the pass stands out from
   the paper sections around it; its notches show the band through them. No text sits on the band. */
/* Bands (P2): lime for the invitation, then paper and cobalt in turn. */
.band { position: relative; }
.band > .blk { padding-bottom: 96px; }
.band--paper { background: var(--paper); }
.band--lime { background: var(--lime); padding: 80px 0 88px; }
.band--cobalt { background: var(--cobalt); color: #fff; }
.band--cobalt .kicker { color: #DCE2FF; }
.band--cobalt .h2 { color: #fff; }
.band--cobalt .lede, .band--cobalt .sec-head > p { color: #DCE2FF; }
.band--cobalt .checks li { color: #C9D0FF; }
.band--cobalt .checks li b { color: #fff; }
.band--cobalt .checks .ic { background: #fff; color: var(--ink); }
.band--cobalt .checks .ic--coral { background: var(--coral); }
.band--cobalt .checks .ic--lime { background: var(--lime); }
.band--cobalt .chip.is-off { color: #fff; border-color: rgba(255,255,255,.55); }
.band--cobalt .chip--line { border-color: #fff; }
.invite__in { display: grid; grid-template-columns: 168px minmax(0, 1fr); align-items: end; gap: 10px; max-width: 1140px; margin: 0 auto; padding: 0 var(--gutter); }
.invite__mascot { width: 168px; margin-bottom: -4px; }
.invite__mascot svg { width: 100%; height: auto; }
/* At rest unless app.js lets it move (in view, under the pointer, after a tap; 5 s at most). */
.invite__mascot.is-still svg, .invite__mascot.is-still svg * { animation: none !important; }
.ipass { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; filter: drop-shadow(0 2px 0 rgba(14,16,32,.05)) drop-shadow(0 22px 24px rgba(14,16,32,.22)); }
.ipass__body { --r: 12px; --cut: var(--cut-e); position: relative; padding: 26px 30px 28px; background: var(--card); border-start-start-radius: 26px; border-end-start-radius: 26px; }
.ipass__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ipass__head .eyebrow { color: var(--cobalt-ink); }
.ipass__issuer { display: inline-flex; align-items: center; gap: 10px; }
.ipass__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--cobalt-50); color: var(--cobalt-ink); }
.ipass__to { margin: 18px 0 0; font-size: 32px; color: var(--coral-ink); transform: rotate(-3deg); transform-origin: left; }
[dir="rtl"] .ipass__to { transform: rotate(3deg); transform-origin: right; }
.ipass__title { margin: 6px 0 10px; font: 800 clamp(28px, 3vw, 40px)/1.02 var(--f-display); letter-spacing: -.03em; }
.ipass__text { margin: 0 0 18px; font-size: 16px; color: var(--ink-2); max-width: 34em; }
.ipass__meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 40px; margin: 0; padding-top: 16px; border-top: 1.5px solid var(--line); }
.ipass__meta dt { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.ipass__meta dd { margin: 6px 0 0; font-weight: 700; font-size: 15px; }
.rsvp { position: absolute; z-index: 1; inset-inline-end: 326px; top: -20px; padding: 8px 14px; border: 3px solid var(--cobalt); border-radius: 12px; color: var(--cobalt); font: 800 22px/1 var(--f-display); text-transform: uppercase; transform: rotate(12deg); background: #fff; }
.ipass__stub { --r: 12px; --cut: var(--cut-s); position: relative; display: grid; align-content: center; padding: 26px; border-inline-start: 2.5px dashed var(--line-2); background: var(--paper-2); border-start-end-radius: 26px; border-end-end-radius: 26px; }
.social { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: var(--card); color: var(--ink); border: 2px solid var(--ink); text-decoration: none; box-shadow: 4px 4px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.social:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.social:focus-visible { box-shadow: var(--focus), 4px 4px 0 var(--ink); }
.social:hover:focus-visible { box-shadow: var(--focus), 6px 6px 0 var(--ink); }
.social__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--coral); color: var(--ink); }
.social__icon svg { width: 24px; height: 24px; }
.social__text strong { display: block; font-size: 17px; }
.social__text small { display: block; font: 500 12px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.social__go { display: grid; padding-inline-start: 14px; border-inline-start: 2px dashed var(--line-2); }

/* ---------- sections ---------- */
section.blk { max-width: 1440px; margin: 0 auto; padding: 96px var(--gutter) 0; }
/* Section heads are centred (P2). */
.sec-head { display: grid; justify-items: center; gap: 14px; margin-bottom: 40px; text-align: center; }
.sec-head .h2 { margin-inline: auto; }
.sec-head > p { max-width: 38em; margin: 0; color: var(--ink-2); font-size: 17px; }

/* ---------- how it works: five stubs (TD-0058) ---------- */
/* Five stubs of one ticket: each stub is white and cuts its half of the notches at the
   perforations; the shadow is the ticket's drop-shadow filter, so it follows the holes. The travel
   line runs over the white stubs (z-index 1) and under their "0N / 05" labels (z-index 2). */
.steps { position: relative; isolation: isolate; border-radius: 26px; filter: drop-shadow(0 1px 0 rgba(14,16,32,.05)) drop-shadow(0 10px 14px rgba(14,16,32,.12)); }
.steps__list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.step { --d: var(--n, 0); position: relative; display: flex; }
.step__card { --cut: var(--cut-all); flex: 1; min-width: 0; padding: 22px 22px 26px; display: grid; gap: 12px; align-content: start; }
.step:first-child .step__card { --cut: var(--cut-e); border-start-start-radius: 26px; border-end-start-radius: 26px; }
.step:last-child .step__card { --cut: var(--cut-s); border-start-end-radius: 26px; border-end-end-radius: 26px; }
.step + .step .step__card::before { border-inline-start: 2px dashed var(--line-2); }
.step .n { position: relative; z-index: 2; justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding-inline-end: 8px; background: #fff; font: 500 12px/1 var(--f-mono); letter-spacing: .1em; color: var(--ink-3); }
.stop { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px var(--ink); }
.step h3 { font: 800 clamp(22px, 2.1vw, 30px)/1 var(--f-display); letter-spacing: -.03em; margin: 0; overflow-wrap: break-word; hyphens: auto; }
.step p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.art { height: 132px; border-radius: 16px; display: grid; place-items: center; overflow: hidden; position: relative; }
.art svg { overflow: visible; direction: ltr; }
.art--plan { background: #DCE2FF; } .art--invite { background: var(--coral); } .art--travel { background: var(--ink); } .art--settle { background: var(--lime); } .art--share { background: var(--cobalt); }
.a-txt { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; text-align: center; color: var(--ink); overflow: hidden; overflow-wrap: anywhere; }
.a-hand { font: var(--hand-weight) 22px/.95 var(--f-hand); }
.a-card { font-size: 16px; justify-content: flex-start; text-align: start; }
.a-mono { font: 500 10px/1.1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }
.a-day { justify-content: flex-start; white-space: nowrap; }
.a-done { font-size: 10.5px; }
.a-ini { font: 700 18px var(--f-ui); }
.a-num { font: 500 12px var(--f-mono); }
/* The travel line through the stops: from the first stub's stop to the last one's. */
.steps__route { position: absolute; z-index: 1; inset-inline-start: 28px; width: 80%; top: 170px; height: 4px; clip-path: inset(0 0 0 0); background: radial-gradient(circle at 2px 2px, var(--cobalt) 1.6px, transparent 2.1px) 0 0 / 9px 4px repeat-x; pointer-events: none; }
/* The lively variant's "you": a lime dot riding the line to the last stub (outside the line's clip). */
.steps__you { display: none; position: absolute; z-index: 3; top: 172px; inset-inline-start: calc(28px + 80%); width: 16px; height: 16px; margin-top: -8px; margin-inline-start: -8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2.5px var(--ink); pointer-events: none; }
.how[data-stubs="lively"] .steps__you { display: block; }
.variant-switch { position: fixed; z-index: 40; inset-inline-end: 16px; bottom: 16px; display: flex; align-items: center; gap: 4px; margin: 0; padding: 5px 5px 5px 14px; padding-inline: 14px 5px; border-radius: 14px; background: var(--ink); color: #fff; font: 600 13px/1 var(--f-ui); box-shadow: var(--sh-3); }
.variant-switch span { margin-inline-end: 6px; }
.variant-switch a { padding: 8px 12px; border-radius: 10px; color: #fff; text-decoration: none; }
.variant-switch a[aria-current] { background: var(--lime); color: var(--ink); }
.has-variant-switch .foot__in { padding-bottom: 96px; }

/* Motion (app.js adds .motion to <html> unless reduced motion is asked for). Without it every
   stub, line and illustration simply stands in its final place. */
.motion .step__card > * { transition: opacity .5s ease, transform .65s var(--ease-out); transition-delay: calc(var(--d) * 140ms + var(--k, 0) * 60ms); }
.motion .step__card > .n { --k: 1; } .motion .step__card > h3 { --k: 2; } .motion .step__card > p { --k: 3; }
.motion .step:not(.is-in) .step__card > * { opacity: 0; transform: translateY(14px); }
.motion .stop { transition: background-color .3s ease calc(.3s + var(--d) * .36s), transform .3s ease; }
.motion .step:not(.is-in) .stop { background: #fff; }
.motion .steps__route { transition: clip-path 1.45s cubic-bezier(.45, 0, .25, 1) .3s; }
.motion .how:not(.is-in) .steps__route { clip-path: inset(0 100% 0 0); }
[dir="rtl"].motion .how:not(.is-in) .steps__route { clip-path: inset(0 0 0 100%); }
.motion .steps__you { transition: inset-inline-start 1.45s cubic-bezier(.45, 0, .25, 1) .3s; }
.motion .how:not(.is-in) .steps__you { inset-inline-start: 28px; }
.motion .how.is-in .steps__you { animation: you-ping 1.2s ease-out 1.8s 3; }
@keyframes you-ping { 0% { box-shadow: 0 0 0 2.5px var(--ink), 0 0 0 0 rgba(35,64,240,.45); } 100% { box-shadow: 0 0 0 2.5px var(--ink), 0 0 0 14px rgba(35,64,240,0); } }
/* the illustrations settle in once */
.a-pop, .a-rise, .a-drop, .a-tilt, .a-nudge, .a-bob { transform-box: fill-box; transform-origin: center; }
.a-draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.motion .a-draw { transition: stroke-dashoffset .55s ease calc(var(--d) * 140ms + .25s + var(--s, 0) * .35s); }
.a-draw-2 { --s: 1; } .a-draw-3 { --s: 2; }
.motion .step:not(.is-in) .a-draw { stroke-dashoffset: 1; }
.motion .a-pop { transition: transform .45s cubic-bezier(.3, 1.5, .5, 1) calc(var(--d) * 140ms + .3s + var(--s, 0) * .3s); }
.a-pop-1 { --s: 1; } .a-pop-2 { --s: 2; } .a-pop-3 { --s: 3; }
.motion .step:not(.is-in) .a-pop { transform: scale(0); }
.motion :is(.a-rise, .a-drop, .a-tilt) { transition: transform .7s var(--ease-out) calc(var(--d) * 140ms + .2s), opacity .4s ease calc(var(--d) * 140ms + .2s); }
.motion .step:not(.is-in) .a-rise { transform: translateY(22px); opacity: 0; }
.motion .step:not(.is-in) .a-drop { transform: translateY(-14px); opacity: 0; }
.motion .step:not(.is-in) .a-tilt { transform: rotate(-12deg) scale(.9); opacity: 0; }
.a-wipe { clip-path: inset(0); }
.motion .a-wipe { transition: clip-path .6s ease calc(var(--d) * 140ms + .45s); }
.motion .step:not(.is-in) .a-wipe { clip-path: inset(0 100% 0 0); }

/* Lively (?stubs=lively): the stubs tear in, a "you" dot rides the line, and a stub tears off a
   little along its perforation under the pointer or a tap while its illustration keeps moving. */
.motion .how[data-stubs="lively"] .step { transition: transform .7s cubic-bezier(.3, 1.35, .5, 1) calc(var(--d) * 140ms); transform-origin: 0 100%; }
[dir="rtl"] .how[data-stubs="lively"] .step { transform-origin: 100% 100%; }
.motion .how[data-stubs="lively"] .step:not(.is-in) { transform: translateY(26px) rotate(-3deg); }
[dir="rtl"].motion .how[data-stubs="lively"] .step:not(.is-in) { transform: translateY(26px) rotate(3deg); }
.motion .how[data-stubs="lively"] .step__card { transition: transform .45s cubic-bezier(.3, 1.35, .5, 1); transform-origin: 0 100%; }
[dir="rtl"] .how[data-stubs="lively"] .step__card { transform-origin: 100% 100%; }
/* Torn: by a tap (.is-torn, app.js) everywhere, by the pointer only where it can hover. The li
   keeps its place, so the pointer never loses it while the card lifts. */
.motion .how[data-stubs="lively"] .step.is-in.is-torn { z-index: 3; filter: drop-shadow(0 16px 16px rgba(14,16,32,.22)); }
.motion .how[data-stubs="lively"] .step.is-in.is-torn .step__card { transform: translate(4px, -8px) rotate(-1.6deg); }
[dir="rtl"].motion .how[data-stubs="lively"] .step.is-in.is-torn .step__card { transform: translate(-4px, -8px) rotate(1.6deg); }
.motion .how[data-stubs="lively"] .step.is-in.is-torn .stop { transform: scale(1.3); transition-delay: 0s; }
.motion .how[data-stubs="lively"] .step.is-in.is-torn .a-draw { stroke-dasharray: .07 .05; animation: a-flow 1.1s linear infinite; }
.motion .how[data-stubs="lively"] .step.is-in.is-torn .a-rise { animation: a-bob 1.3s ease-in-out infinite alternate; }
.motion .how[data-stubs="lively"] .step.is-in.is-torn .a-nudge { animation: a-nudge .8s ease-in-out infinite alternate; }
.motion .how[data-stubs="lively"] .step.is-in.is-torn .a-march { animation: a-march .7s linear infinite; }
.motion .how[data-stubs="lively"] .step.is-in.is-torn .a-bob { animation: a-bob 1s ease-in-out infinite alternate; }
@media (hover: hover) {
  .motion .how[data-stubs="lively"] .step.is-in:hover { z-index: 3; filter: drop-shadow(0 16px 16px rgba(14,16,32,.22)); }
  .motion .how[data-stubs="lively"] .step.is-in:hover .step__card { transform: translate(4px, -8px) rotate(-1.6deg); }
  [dir="rtl"].motion .how[data-stubs="lively"] .step.is-in:hover .step__card { transform: translate(-4px, -8px) rotate(1.6deg); }
  .motion .how[data-stubs="lively"] .step.is-in:hover .stop { transform: scale(1.3); transition-delay: 0s; }
  .motion .how[data-stubs="lively"] .step.is-in:hover .a-draw { stroke-dasharray: .07 .05; animation: a-flow 1.1s linear infinite; }
  .motion .how[data-stubs="lively"] .step.is-in:hover .a-rise { animation: a-bob 1.3s ease-in-out infinite alternate; }
  .motion .how[data-stubs="lively"] .step.is-in:hover .a-nudge { animation: a-nudge .8s ease-in-out infinite alternate; }
  .motion .how[data-stubs="lively"] .step.is-in:hover .a-march { animation: a-march .7s linear infinite; }
  .motion .how[data-stubs="lively"] .step.is-in:hover .a-bob { animation: a-bob 1s ease-in-out infinite alternate; }
}
@keyframes a-flow { to { stroke-dashoffset: -.12; } }
@keyframes a-bob { to { transform: translateY(-5px); } }
@keyframes a-nudge { to { transform: translateX(4px); } }
@keyframes a-march { to { stroke-dashoffset: -9; } }

/* ---------- friends ---------- */
.friends { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
/* On the cobalt band the app's card comes first, the words beside it (P2). */
.friends__text { order: 2; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; font-size: 16px; color: var(--ink-2); }
.checks li b { color: var(--ink); display: block; font-size: 17px; }
.checks .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.checks .ic--coral { background: var(--coral); color: var(--ink); }
.checks .ic--lime { background: var(--lime); color: var(--ink); }
.roles { display: flex; gap: 8px; flex-wrap: wrap; margin: 26px 0 0; }
/* The group card is the app's day details as they are today (owner, 20 Oct; projects/app/public:
   theme-v3.css .day-details-*, .comment-*, sheet.css .ticket): the day's colour as the header with
   a scalloped tear-off edge, the travellers and the comment chip, the comment thread in paper
   bubbles, the members-only note; the expense is the app's expense ticket. */
.fspace { position: relative; justify-self: end; width: 100%; max-width: 560px; padding-bottom: 76px; }
.dday { position: relative; overflow: hidden; color: var(--ink); border: 1.5px solid var(--line); border-radius: var(--r-l); background: var(--card); box-shadow: var(--sh-2); }
.dday__head { position: relative; padding: 18px; background: var(--c); color: var(--t); }
.dday__head::after { content: ''; position: absolute; inset-inline: 0; bottom: -7px; height: 14px; background: radial-gradient(circle 6px at 9px 7px, var(--card) 96%, transparent) 0 0 / 18px 14px repeat-x; }
.dday__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dday__kicker { margin: 0; font: 500 11.5px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.dday__title { margin: 10px 0 4px; font: 800 30px/1 var(--f-display); letter-spacing: -.03em; overflow-wrap: break-word; }
.dday__body { display: grid; gap: 14px; padding: 24px 18px 18px; }
.dday__people { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.dday__who { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--ink-3); font: 500 12.5px/1.2 var(--f-ui); }
.dday__avatars { display: inline-flex; flex: none; }
.dav { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border: 2px solid var(--card); border-radius: 50%; background: var(--cobalt); color: #fff; font: 700 11px/1 var(--f-ui); }
.dday__avatars .dav + .dav { margin-inline-start: -8px; }
.dday__avatars .dav:nth-child(2) { background: var(--coral); color: var(--ink); }
.dday__avatars .dav:nth-child(3) { background: var(--lime); color: var(--ink); }
.dday__avatars .dav:nth-child(4) { background: var(--ink); }
.dday__avatars .dav:nth-child(5) { background: var(--cobalt-ink); }
.dday__chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border: 1.5px solid var(--coral); border-radius: 999px; background: var(--coral); color: var(--ink); font: 600 12px/1 var(--f-ui); }
.dday__heading { display: flex; align-items: center; justify-content: space-between; margin: 0 0 -4px; color: var(--ink-3); font: 500 12px/1 var(--f-ui); }
.dday__heading span:first-child { color: var(--ink-2); font-family: var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.dcomments { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.dcomment { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 9px; }
.dcomment.is-own .dav { background: var(--lime); color: var(--ink); }
.dcomment__main { min-width: 0; padding: 8px 11px 9px; border-radius: 4px 14px 14px; background: var(--paper-2); }
[dir="rtl"] .dcomment__main { border-radius: 14px 4px 14px 14px; }
.dcomment__meta { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ink-3); font: 500 11.5px/1.2 var(--f-ui); }
.dcomment__meta b { color: var(--ink); font-weight: 700; }
.dcomment__body { margin: 4px 0 0; color: var(--ink); font: 400 13.5px/1.45 var(--f-ui); overflow-wrap: break-word; }
.dday__note { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--ink-3); font: 400 12px/1.3 var(--f-ui); }
/* The expense ticket floats over the card's corner; its stub's notches are holes (.cut) with the
   ticket's line drawn around them, and its shadow follows them. */
.float-exp { position: absolute; inset-inline-start: -28px; bottom: 0; width: 340px; transform: rotate(-3deg); filter: drop-shadow(0 2px 0 rgba(8,12,60,.08)) drop-shadow(0 18px 20px rgba(8,12,60,.4)); }
[dir="rtl"] .float-exp { transform: rotate(3deg); }
.xticket { display: grid; grid-template-columns: minmax(0, 1fr) auto; color: var(--ink); }
.xticket__body, .xticket__stub { --r: 10px; position: relative; background: var(--card); border: 1.5px solid var(--line); }
.xticket__body { --cut: var(--cut-e); display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px; border-inline-end: 0; border-start-start-radius: 18px; border-end-start-radius: 18px; }
.xticket__stub { --cut: var(--cut-s); display: grid; align-content: center; justify-items: end; gap: 3px; min-width: 96px; padding: 0 14px; border-inline-start: 2px dashed var(--line-2); border-start-end-radius: 18px; border-end-end-radius: 18px; text-align: end; }
.xticket__body::before, .xticket__body::after, .xticket__stub::before, .xticket__stub::after { content: ''; position: absolute; width: calc(2 * var(--r) + 3px); height: calc(2 * var(--r) + 3px); border: 1.5px solid var(--line); border-radius: 50%; }
.xticket__body::before, .xticket__body::after { inset-inline-end: calc(-1.5px - var(--r)); }
.xticket__stub::before, .xticket__stub::after { inset-inline-start: calc(-3.5px - var(--r)); }
.xticket__body::before, .xticket__stub::before { top: calc(-3px - var(--r)); }
.xticket__body::after, .xticket__stub::after { bottom: calc(-3px - var(--r)); }
.xticket__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--paper-2); color: var(--ink); }
.xticket__main { display: grid; gap: 4px; min-width: 0; }
.xticket__title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; font: 700 15.5px/1.2 var(--f-ui); }
.xbadge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 7px; background: var(--paper-2); color: var(--ink-2); font: 600 12px/1 var(--f-ui); white-space: nowrap; }
.xticket__meta { margin: 0; color: var(--ink-3); font: 400 13px/1.4 var(--f-ui); overflow-wrap: break-word; }
.xticket__stub b { font: 800 22px/1 var(--f-display); letter-spacing: -.02em; }
.xticket__stub small { color: var(--ink-3); font: 500 11px/1.25 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; }

/* ---------- ops ---------- */
.ops { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.ops .pass { padding: 22px; }
.ops h3 { font: 800 26px/1 var(--f-display); letter-spacing: -.025em; margin: 10px 0 16px; }
.trow { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; font-size: 14px; border-top: 1px dashed var(--line); }
.cbox { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--ink); display: grid; place-items: center; }
.cbox.on { background: var(--lime); }
.cbox.on .i { width: 13px; height: 13px; stroke-width: 3; }
.trow.done .t { text-decoration: line-through; color: var(--ink-3); }
.erow { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.erow .amt { font: 500 14px/1.2 var(--f-mono); text-align: end; }
.erow .amt small { display: block; color: var(--ink-3); font-size: 11px; }
.owe { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 14px; background: var(--paper); margin-top: 8px; }
.owe .arrow { height: 0; border-top: 2px dashed var(--ink-3); position: relative; }
.owe .arrow::after { content: ''; position: absolute; right: -2px; top: -6px; width: 9px; height: 9px; border-top: 2px solid var(--ink-3); border-right: 2px solid var(--ink-3); transform: rotate(45deg); }
[dir="rtl"] .owe .arrow::after { right: auto; left: -2px; transform: rotate(-135deg); }
.owe__line { margin: 6px 4px 0; color: #fff; }

/* ---------- share ---------- */
.sharegrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.sharegrid .postcard { order: 2; justify-self: end; }
/* The real day postcard the app's Share sheet makes (owner, 20 Oct), as a card on the table. */
.postcard { margin: 0; max-width: 520px; }
.postcard__img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 30px 60px -20px rgba(8,12,60,.6); transform: rotate(2.5deg); }
[dir="rtl"] .postcard__img { transform: rotate(-2.5deg); }
.postcard__cap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 24px; padding-inline: 6px; }
.postcard__cap .hand { font-size: 32px; color: #fff; }
.shareopts { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 0; }

/* ---------- soon (preview) ---------- */
.soon { background: var(--paper); color: var(--ink); }
.soon__in { max-width: 1440px; margin: 0 auto; padding: 104px var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.soon .h2 { color: var(--ink); }
.soon__lede { margin: 18px 0 0; color: var(--ink-2); font-size: 17px; max-width: 30em; }
.soon__note { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 7px 12px; border-radius: 10px; border: 1.5px dashed var(--ink-3); color: var(--ink); font-size: 14px; }
.soon__note .i { color: var(--cobalt); }
.soon__cta { margin-top: 22px; gap: 10px; flex-wrap: wrap; }
.soon .btn--on-dark { --bg: var(--card); --fg: var(--ink); --bd: var(--ink); }
.prompt { background: var(--ink); border-radius: 22px; padding: 20px; border: 1.5px solid var(--ink); box-shadow: var(--sh-3); color: #fff; }
.prompt .q { margin-top: 8px; font: var(--hand-weight) 26px/1.2 var(--f-hand); color: #fff; }
.prompt .plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.plan { background: #fff; color: var(--ink); border-radius: 14px; padding: 12px; display: grid; gap: 8px; align-content: start; font-size: 13px; }
.plan .tag-sample { width: max-content; }
.plan b { font: 800 17px/1.05 var(--f-display); letter-spacing: -.02em; }
.plan .bars { display: flex; gap: 3px; }
.plan .bars i { height: 6px; border-radius: 3px; flex: 1; }

/* ---------- who's coming ---------- */
.crew { background: var(--cobalt); color: #fff; }
.crew__in { max-width: 900px; margin: 0 auto; padding: 96px var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 22px; text-align: center; }
.crew .h2 { color: #fff; font-size: clamp(40px, 5.3vw, 76px); max-width: none; }
.crew .spots { justify-content: center; }
.crew .lede { color: #DCE2FF; margin: 0 auto; }
.crew__cta { margin-top: 22px; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ---------- the end: the big full logo, Instagram and its note (owner, 20 Oct) ---------- */
.follow { max-width: 1160px; margin: 0 auto; padding: 104px var(--gutter); text-align: center; }
.follow__logo { width: min(760px, 100%); margin: 0 auto 44px; }
.follow__logo img { display: block; width: 100%; height: auto; }
.big-social { display: inline-grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 14px; align-items: center; min-width: 260px; padding: 16px 26px 16px 18px; padding-inline: 18px 26px; border-radius: 20px; background: #fff; color: var(--ink); border: 2px solid var(--ink); text-decoration: none; text-align: start; box-shadow: 6px 6px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.big-social:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.big-social:focus-visible { box-shadow: var(--focus), 6px 6px 0 var(--ink); }
.big-social:hover:focus-visible { box-shadow: var(--focus), 9px 9px 0 var(--ink); }
.big-social svg { grid-row: span 2; width: 48px; height: 48px; padding: 10px; border-radius: 14px; background: var(--coral); color: var(--ink); }
.big-social span { font: 800 26px/1 var(--f-display); letter-spacing: -.02em; }
.big-social small { font: 500 12px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.follow__note { max-width: 560px; margin: 26px auto 0; font-size: 13.5px; color: var(--ink-3); }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #C9CCE4; }
.foot__in { max-width: 1440px; margin: 0 auto; padding: 36px var(--gutter); display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; font-size: 13.5px; }
.foot__in a { color: #fff; text-decoration: none; font-weight: 600; }
.foot__in a:hover { text-decoration: underline; }
.foot__logo img { height: 20px; width: auto; }
.foot__ig { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- privacy and 404 ---------- */
.policy { max-width: 760px; margin: 0 auto; padding: 32px var(--gutter) 64px; font-size: 17px; line-height: 1.55; }
.policy h1 { margin: 16px 0 6px; font: 800 clamp(40px, 6vw, 72px)/1 var(--f-display); letter-spacing: -.04em; }
.policy .updated { margin: 0 0 32px; font: 500 13px/1 var(--f-mono); letter-spacing: .08em; color: var(--ink-3); }
.policy section { padding: 20px 0; border-top: 2px dashed var(--line); }
.policy h2 { margin: 0 0 8px; font: 800 22px/1.2 var(--f-display); }
.policy p { margin: 0; color: var(--ink-2); }
.policy .first { padding: 22px 24px; border: 0; border-radius: 20px; background: var(--lime); }
.policy .first p { color: var(--ink); font-size: 18px; }
.policy .eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; letter-spacing: .16em; color: var(--ink-2); }
.back { display: inline-block; margin-top: 24px; font-weight: 700; color: var(--cobalt-ink); }
[dir="rtl"] .back .arrow { display: inline-block; transform: scaleX(-1); }
.lost p { font-size: 18px; color: var(--ink-2); }

/* ---------- scripts the brand fonts do not cover: good system faces, no tight tracking ---------- */
:lang(ru), :lang(uk) { --f-display: 'Bricolage Grotesque', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; --f-hand: 'Caveat', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; --hand-weight: 600; }
:lang(ja) { --f-ui: 'Instrument Sans', 'Hiragino Sans', 'Yu Gothic UI', 'Yu Gothic', Meiryo, 'Noto Sans JP', sans-serif; --f-display: 'Bricolage Grotesque', 'Hiragino Sans', 'Yu Gothic UI', 'Noto Sans JP', sans-serif; }
:lang(zh) { --f-ui: 'Instrument Sans', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; --f-display: 'Bricolage Grotesque', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; }
:lang(ko) { --f-ui: 'Instrument Sans', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif; --f-display: 'Bricolage Grotesque', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif; }
:lang(ar) { --f-ui: 'Segoe UI', Tahoma, 'Noto Sans Arabic', 'Geeza Pro', sans-serif; --f-display: 'Segoe UI', Tahoma, 'Noto Sans Arabic', 'Geeza Pro', sans-serif; --f-mono: 'Segoe UI', Tahoma, 'Noto Sans Arabic', sans-serif; }
:lang(ja), :lang(zh), :lang(ko), :lang(ar) { --f-hand: var(--f-ui); --hand-weight: 700; }
:is(:lang(ja), :lang(zh), :lang(ko), :lang(ar), :lang(ru), :lang(uk)) :is(.display, .h2, .step h3, .ops h3, .ipass__title, .tripcard__title, .dday__title, .plan b, .policy h1) { letter-spacing: 0; }
:is(:lang(ja), :lang(zh), :lang(ko)) :is(.hero__title, .h2) { line-height: 1.12; }
:lang(ar) :is(.hero__title, .h2, .ipass__title, .tripcard__title, .dday__title) { line-height: 1.3; }
:lang(ar) .spotword { line-height: 1.1; }
:is(:lang(ja), :lang(zh), :lang(ko), :lang(ar)) .spot__name { font-size: 15px; }
:is(:lang(ja), :lang(zh), :lang(ko), :lang(ar)) .friend { font-size: 17px; }
:is(:lang(ja), :lang(zh), :lang(ko), :lang(ar)) .prompt .q { font-size: 20px; line-height: 1.4; }
:is(:lang(ja), :lang(zh), :lang(ko), :lang(ar)) .postcard__cap .hand { font-size: 24px; }
:is(:lang(ja), :lang(zh), :lang(ko), :lang(ar)) .ipass__to { font-size: 24px; }
:is(:lang(ja), :lang(zh), :lang(ko), :lang(ar)) .a-hand { font-size: 17px; }
:is(:lang(ja), :lang(zh), :lang(ko), :lang(ar)) .a-card { font-size: 13px; }
:lang(ar) :is(.dday__kicker, .dday__heading span, .xticket__stub small, .eyebrow, .kicker, .mono, .tag-sample, .soon-tag, .daytag, .realtag, .friend small, .step .n, .spot__city, .social__text small, .big-social small, .ipass__meta dt, .a-mono, .updated) { letter-spacing: 0; text-transform: none; }
:lang(ar) .a-mono { font-weight: 600; }

/* ---------- responsive ---------- */
/* The Azores tag crowds the Lisbon label in longer languages: it shows on wide screens only. */
@media (max-width: 1520px) {
  .wtag.wide { display: none; }
}
@media (max-width: 1100px) {
  .wtag:not(.keep) { display: none; }
  /* The map is smaller than the labels expect: above Lisbon the Toronto arc comes too close, so
     Ines's label hangs below the Azores pin (the Atlas tag that is there on wide screens is gone). */
  .friend.l.up { --fy: 12px; }
  .friends, .sharegrid, .soon__in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .friends__text { order: 0; }
  .fspace { justify-self: start; }
  .float-exp { inset-inline-start: auto; inset-inline-end: 12px; }
  .sharegrid .postcard { order: 0; justify-self: center; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .worldbox { aspect-ratio: auto; margin-bottom: 0; }
  .worldbox__art { position: relative; aspect-ratio: 1200 / 460; }
  .tripcard { position: relative; left: auto; top: auto; width: min(392px, 100%); margin: -96px 0 0 auto; }
  .tripcard__anchor { display: none; }
}
@media (max-width: 960px) {
  .steps__list { grid-template-columns: minmax(0, 1fr); }
  .step { --d: 0; }
  .step__card { grid-template-columns: 220px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 22px; }
  .step .art { grid-row: 1 / span 3; }
  .step:first-child .step__card { --cut: var(--cut-b); border-radius: 26px 26px 0 0; }
  .step:last-child .step__card { --cut: var(--cut-t); border-radius: 0 0 26px 26px; }
  .step + .step .step__card::before { border-inline-start: 0; border-top: 2px dashed var(--line-2); }
  .steps__route, .how[data-stubs="lively"] .steps__you { display: none; }
  .ipass { grid-template-columns: minmax(0, 1fr); }
  .ipass__body { --cut: var(--cut-b); border-radius: 26px 26px 0 0; }
  .ipass__stub { --cut: var(--cut-t); border-inline-start: 0; border-top: 2.5px dashed var(--line-2); border-radius: 0 0 26px 26px; }
  .rsvp { inset-inline-end: 26px; }
  .motion .how[data-stubs="lively"] .step:not(.is-in) { transform: translateY(20px) rotate(-1.5deg); }
  [dir="rtl"].motion .how[data-stubs="lively"] .step:not(.is-in) { transform: translateY(20px) rotate(1.5deg); }
}
@media (max-width: 760px) {
  :root { --gutter: 18px; }
  body { font-size: 15px; }
  .hero { padding-top: 32px; }
  .hero__center { text-align: start; }
  .hero__text { margin: 20px 0 22px; font-size: 16.5px; }
  .hero__fine { justify-content: flex-start; align-items: flex-start; }
  .hero__fine .live { margin-top: 4px; }
  .stage { margin-top: 44px; padding: 30px 0 22px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__cta .btn > span:first-child { flex: 1; justify-content: center; }
  /* The world is cropped around Europe; the trip card follows it in the flow, overlapping it. */
  .worldscroll { overflow: hidden; margin: 0; padding: 0 0 12px; }
  .worldbox { width: 900px; max-width: none; margin-left: -330px; aspect-ratio: auto; margin-bottom: 0; }
  .worldbox__art { position: relative; height: 345px; }
  .friend:not(.keep), .wlegend { display: none; }
  .tripcard { position: relative; left: calc(330px + var(--gutter)); top: auto; margin-top: -166px; width: min(354px, calc(100vw - 2 * var(--gutter))); }
  .tripcard__head { grid-template-columns: 1fr 96px; }
  .tripcard .mini, .tripcard .mini svg { width: 96px; height: 80px; }
  .tripcard__title { font-size: 23px; }
  .tripcard__anchor { display: none; }
  .daybars { display: none; }
  .band--lime { padding: 44px 0 52px; }
  .band > .blk { padding-bottom: 64px; }
  .invite__in { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .invite__mascot { justify-self: end; width: 110px; margin: 0 18px -12px; margin-inline: 0 18px; position: relative; z-index: 1; }
  .ipass__body { padding: 44px 20px 24px; }
  .ipass__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .ipass__stub { padding: 20px; }
  .rsvp { top: -16px; inset-inline-end: auto; inset-inline-start: 18px; font-size: 18px; }
  section.blk { padding-top: 64px; }
  .sec-head { justify-items: start; margin-bottom: 28px; text-align: start; }
  .sec-head .h2 { margin-inline: 0; }
  .sec-head > p { font-size: 16px; }
  .step__card { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .step .art { grid-row: auto; }
  .fspace { padding-bottom: 0; }
  .dday__body { padding-bottom: 30px; }
  .dday__title { font-size: 26px; }
  .float-exp { position: relative; inset-inline: auto; bottom: auto; width: auto; margin: -14px 12px 0; transform: rotate(-2deg); }
  .ops { grid-template-columns: minmax(0, 1fr); }
  .postcard__cap .hand { font-size: 28px; }
  .spots { gap: 6px; }
  .spot { width: 64px; }
  .soon__in, .crew__in { padding: 64px var(--gutter); }
  .crew__in { justify-items: start; text-align: start; }
  .crew .spots, .crew__cta { justify-content: flex-start; }
  .prompt .plans { grid-template-columns: minmax(0, 1fr); }
  .follow { padding: 64px var(--gutter) 72px; }
  .follow__logo { margin-bottom: 28px; }
  .big-social { min-width: 0; width: 100%; grid-template-columns: auto minmax(0, 1fr); }
  .foot__in { padding: 28px var(--gutter); }
  .variant-switch { inset-inline: 12px; justify-content: center; }
}

/* ---------- reduced motion: everything stands still ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .how[data-stubs="lively"] .step .step__card { transform: none !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .live::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; animation: live 2.4s ease-out 2; }
  @keyframes live { 0% { box-shadow: 0 0 0 0 rgba(205,245,71,.9); } 100% { box-shadow: 0 0 0 10px rgba(205,245,71,0); } }
  .motion .invite:not(.is-in) .rsvp { opacity: 0; }
  .invite.is-in .rsvp { animation: rsvp .5s cubic-bezier(.3, 1.4, .5, 1) .5s both; }
  @keyframes rsvp { from { transform: rotate(12deg) scale(1.7); opacity: 0; } }
}
