/* ONYX brand layer (Phase 5 static scaffold, 2026-12-01). Each section is laid out as its closing composition from
   scene-plan.md's visual journey; motion arrives in Phase 6 on top of these states. Tokens: brand.json via tokens.css,
   plus the brief's own values below. Mona Sans with its width axis (display 112, text 100). */
:root {
  --ink: #080808; --graphite: #171717; --charcoal: #272727; --platinum: #B8B8B8; --white: #FFFFFF;
  --grey: #F2F2F2; --muted-l: #595959; --rule-l: #DCDCDC; --band: #8C8C8C;
  --ok: #207650; --pending: #98601C; --ok-d: #4FBF8B; --pending-d: #E0A458;
  --g: clamp(16px, 4.45vw, 64px);       /* outer gutter: 64 at 1440, 16 on phones */
  --col-gap: clamp(12px, 1.7vw, 24px);
  --header-h: 88px;
  --header-clear: 85svh;
}
html { scroll-padding-top: calc(var(--header-h) + 12px); }
body { font-family: var(--font-body); font-variation-settings: "wdth" 100; font-size: 17px; line-height: 1.5; background: var(--ink); color: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
s { color: var(--platinum); text-decoration-thickness: 1px; }
.theme-alt s { color: var(--muted-l); }

/* type */
.display, .display-m, .display-l, .display-xl, .clock, .delay-title { font-family: var(--font-display); font-variation-settings: "wdth" 112; font-weight: 480; letter-spacing: -0.025em; }
.display { font-size: clamp(46px, 6.67vw, 96px); line-height: .98; }
.display-m { font-size: clamp(30px, 3.05vw, 44px); line-height: 1.05; letter-spacing: -0.02em; }
.display-l { font-size: clamp(38px, 5.3vw, 76px); line-height: 1; }
.display-xl { font-size: clamp(52px, 8.4vw, 120px); line-height: .95; }
.clock { font-size: clamp(88px, 13.9vw, 200px); line-height: .86; font-weight: 300; letter-spacing: -0.045em; font-variant-numeric: proportional-nums lining-nums; }
.clock-s { font-size: clamp(72px, 9.2vw, 132px); }
.when { font-size: 20px; margin-top: 18px; }
.when span { color: var(--platinum); }
.theme-alt .when span { color: var(--muted-l); }
.note { font-size: 18px; line-height: 1.5; color: rgba(255,255,255,.8); max-width: 40ch; margin-top: 14px; }
.theme-alt .note { color: var(--muted-l); }
.small-note { font-size: 15px; line-height: 1.5; color: var(--platinum); max-width: 62ch; margin-top: 14px; }
.theme-alt .small-note { color: var(--muted-l); }

/* status labels: the word first, colour second */
.st { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.st::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.st.est { color: var(--band); }
.st.est::before { background: transparent; border: 1.5px solid currentColor; width: 7px; height: 7px; }
.st.warn { color: var(--pending-d); }
.theme-alt .st.warn { color: var(--pending); }
.st.ok { color: var(--ok-d); }
.theme-alt .st.ok { color: var(--ok); }

/* buttons: 8 px radius (pills are for filters and status only) */
.btn { border-radius: 8px; padding: 0 22px; min-height: 48px; font-size: 16px; font-weight: 600; justify-content: center; }
.btn-solid { background: var(--white); color: var(--ink); }
.theme-alt .btn-solid, .btn-solid-k { background: var(--ink); color: var(--white); }
.btn-solid-w { background: var(--white); color: var(--ink); }
.btn-line { background: transparent; color: inherit; border: 1px solid color-mix(in srgb, currentColor 50%, transparent); }
@media (hover: hover) and (pointer: fine) {
  .btn-solid:hover, .btn-solid-w:hover { background: var(--grey); color: var(--ink); }
  .theme-alt .btn-solid:hover { background: var(--graphite); color: var(--white); }
  .btn-line:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
  .theme-alt .btn-line:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
}
.link-underline { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; }

/* ---------- header ---------- */
.site-header { min-height: var(--header-h); height: var(--header-h); padding: 0 var(--g); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--white); }
.site-header::before { background: var(--ink) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border-bottom: 1px solid var(--charcoal); }
.site-header .brand img { width: 148px; height: auto; display: block; }
.site-header a { font-weight: 450; }
.primary { display: flex; gap: 36px; align-items: center; font-size: 16px; }
.header-actions { justify-self: end; display: flex; gap: 28px; align-items: center; font-size: 16px; }
.header-actions .btn { min-height: 44px; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: 6px; border: 1px solid rgba(255,255,255,.4); border-radius: 8px; background: transparent; color: var(--white); cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
/* phone and tablet navigation: a native modal dialog (focus trap, Escape and inert background from the browser) */
.nav-drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(420px, 100vw); height: 100dvh; max-height: none; max-width: none; padding: 20px var(--g) 32px; border: 0; background: var(--ink); color: var(--white); overflow-y: auto; }
.nav-drawer::backdrop { background: rgba(8,8,8,.6); }
.nav-drawer[open] { display: flex; flex-direction: column; gap: 8px; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; height: 44px; margin-bottom: 18px; }
.drawer-top img { width: 108px; height: auto; }
.drawer-close { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.4); border-radius: 8px; background: transparent; color: var(--white); font-size: 22px; line-height: 1; cursor: pointer; }
.nav-drawer h2 { font-size: 15px; color: var(--platinum); font-weight: 400; margin: 18px 0 4px; }
.nav-drawer a:not(.btn) { display: block; padding: 10px 0; font-size: 22px; text-decoration: none; border-bottom: 1px solid var(--charcoal); }
.nav-drawer .btn { margin-top: 22px; }
@media (prefers-reduced-motion: no-preference) {
  .nav-drawer[open] { animation: drawer-in .28s cubic-bezier(0.33, 1, 0.68, 1); }
  .nav-drawer[open]::backdrop { animation: drawer-fade .28s ease-out; }
}
@keyframes drawer-in { from { translate: 24px 0; opacity: 0; } }
@keyframes drawer-fade { from { opacity: 0; } }
/* mega menus */
.has-menu > .menu-panel.mega { top: calc(100% + 26px); border-radius: 12px; padding: 28px; background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; border: 1px solid var(--charcoal); box-shadow: 0 24px 48px -16px rgb(0 0 0 / .6); }
.mega-services { grid-template-columns: 260px 260px 300px; gap: 8px 32px; width: max-content; }
.mega-dest { grid-template-columns: 280px 300px; gap: 8px 40px; width: max-content; }
.mega-col { display: grid; gap: 4px; align-content: start; }
.mega-head { font-size: 15px; color: var(--platinum); margin-bottom: 6px; }
.mega a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 17px; font-weight: 500; white-space: normal; }
.mega a span { display: block; font-size: 15px; color: var(--platinum); font-weight: 400; margin-top: 2px; line-height: 1.35; }
@media (hover: hover) and (pointer: fine) { .mega a:hover { background: var(--graphite); } }
.mega a:focus-visible { background: var(--graphite); }
.mega-figure { grid-column: 3; grid-row: 1 / span 2; margin: 0; border-radius: 6px; overflow: hidden; align-self: stretch; }
.mega-figure img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- hero (the approved proof frame) ---------- */
.hero { position: relative; height: 100svh; min-height: 760px; overflow: hidden; overflow: clip; isolation: isolate; display: block; align-content: normal; padding-bottom: 0; }
.hero h1 { max-width: none; }
.hero-stage { position: relative; height: 100%; }
.hero-world { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-light { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(8,8,8,.62) 0%, rgba(8,8,8,.22) 30%, rgba(8,8,8,0) 48%),
  linear-gradient(90deg, rgba(8,8,8,.30) 0%, rgba(8,8,8,.10) 40%, rgba(8,8,8,0) 60%),
  linear-gradient(0deg, rgba(8,8,8,.78) 0%, rgba(8,8,8,.30) 16%, rgba(8,8,8,0) 34%); }
.hero-type { position: absolute; left: var(--g); top: clamp(120px, 16.7vh, 150px); z-index: 2; }
.hero h1 .rise-line { white-space: nowrap; }
.hero-sub { margin-top: 26px; font-size: 21px; line-height: 1.45; color: rgba(255,255,255,.88); max-width: 44ch; }
.hero-explore { display: inline-block; margin-top: 22px; font-size: 17px; }

/* launcher (one component, used in the hero and the close) */
.launch-home { position: absolute; left: var(--g); right: var(--g); bottom: 36px; z-index: 3; }
.launcher { position: relative; display: grid; grid-template-columns: 1.45fr 1.35fr 1fr auto; min-height: 88px;
  background: var(--ink); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; color: var(--white); }
.launcher .field { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 12px 26px; border: 0; border-right: 1px solid var(--charcoal); margin: 0; min-width: 0; }
.launcher .field-guests { border-right: 0; }
.launcher label, .launcher legend { font-size: 15px; color: var(--platinum); padding: 0; }
.launcher legend { float: left; width: 100%; margin-bottom: 6px; }
.launcher input, .launcher select { background: transparent; border: 0; color: var(--white); font-size: 18px; font-weight: 500; padding: 0; min-width: 0; color-scheme: dark; }
.launcher input::placeholder { color: var(--platinum); }
.launcher input:focus-visible, .launcher select:focus-visible { outline: 1px solid var(--white); outline-offset: 4px; border-radius: 2px; }
.dates-row, .guests-row { display: flex; gap: 10px; align-items: center; clear: both; }
.dates-row input { width: 9.6em; font-size: 16px; }
.dates-row span { color: var(--platinum); font-size: 15px; }
.guests-row label { display: flex; gap: 8px; align-items: center; color: var(--white); font-size: 16px; }
.guests-row select { font-size: 16px; }
.launcher .check { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; color: var(--platinum); margin-top: 4px; }
.launcher-go { margin: 14px; align-self: stretch; padding: 0 30px; font-size: 18px; }

/* ---------- the journey run (16:40 → 20:30) ---------- */
.journey-run { position: relative; }
.chapter { position: relative; }
.beat, .chapter.day, .chapter.identity, .chapter.evening { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); padding: calc(var(--header-h) + 32px) var(--g) 120px; min-height: 100svh; }
.win { position: relative; margin: 0; border-radius: 6px; overflow: hidden; overflow: clip; background: var(--graphite); }
.win img { width: 100%; height: 100%; object-fit: cover; }
.win figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; font-size: 15px; color: rgba(255,255,255,.88); background: linear-gradient(0deg, rgba(8,8,8,.65), rgba(8,8,8,0)); }
.win-tall-right { grid-column: 8 / 13; grid-row: 1 / span 3; aspect-ratio: 4 / 5; align-self: start; }
.win-tall-right img { object-position: 100% 50%; }
.beat-1640 .clockset { grid-column: 1 / 7; grid-row: 1; }
.beat-1640 .stop { grid-column: 2 / 6; grid-row: 3; align-self: end; }
.stop { max-width: 380px; }
.stop-t { font-size: 15px; color: var(--platinum); }
.stop-n { margin-top: 6px; font-size: 22px; font-weight: 500; }
.stop-b { margin-top: 8px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 16px; padding-top: 10px; border-top: 1px solid var(--charcoal); color: rgba(255,255,255,.82); }
.stop-b strong { font-size: 19px; font-weight: 600; color: var(--white); }
.beat-1820 { border-top: 1px solid var(--charcoal); }
.win-narrow-left { grid-column: 1 / 4; grid-row: 1 / span 2; aspect-ratio: 360 / 620; align-self: start; }
.win-narrow-left img { object-position: 62% 50%; }
.delay { grid-column: 5 / 13; }
.delay-title { font-size: clamp(30px, 3.05vw, 44px); line-height: 1.05; letter-spacing: -0.02em; margin-top: 32px; }
.delay-rows { list-style: none; padding: 0; margin: 28px 0 0; border-left: 1.5px solid var(--white); }
.delay-rows li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 200px 120px; align-items: baseline; gap: 16px; padding: 12px 0 12px 26px; font-size: 18px; }
.delay-rows li::before { content: ""; position: absolute; left: -6.5px; top: 21px; width: 11px; height: 11px; border-radius: 50%; background: var(--white); }
.delay-rows strong { text-align: right; font-weight: 600; }
.delay-acts { display: flex; gap: 14px; margin-top: 26px; }
.delay-acts[hidden] { display: none; }

/* 09:30: the nine services in daylight */
.chapter.day { align-content: start; }
.services-frame { grid-column: 1 / 9; }
.frame { position: relative; margin: 0; aspect-ratio: 880 / 560; border-radius: 6px; overflow: hidden; overflow: clip; background: var(--ink); }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
.frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,8,8,.85) 0%, rgba(8,8,8,.3) 38%, rgba(8,8,8,0) 60%); }
.spec { position: absolute; left: 32px; right: 32px; bottom: 28px; z-index: 1; color: var(--white); display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end; }
.spec h3 { font-family: var(--font-display); font-variation-settings: "wdth" 112; font-size: clamp(26px, 2.65vw, 38px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 480; margin-bottom: 16px; }
.spec ul { list-style: none; padding: 0; font-size: 16px; line-height: 1.45; color: rgba(255,255,255,.9); }
.spec li { padding: 8px 0; border-top: 1px solid rgba(255,255,255,.24); }
.services-side { grid-column: 9 / 13; padding-left: 8px; }
.rail { list-style: none; padding: 0; margin: 26px 0 0; }
.rail li { position: relative; padding: 7px 0 7px 22px; }
.rail a { font-size: 28px; line-height: 1.05; font-weight: 450; letter-spacing: -0.01em; color: #8F8F8F; text-decoration: none; }
.rail li.on a { color: var(--ink); }
.rail li.on::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 2px; background: var(--ink); }
.rail .next { display: block; margin-top: 6px; font-size: 16px; color: var(--muted-l); }
@media (hover: hover) and (pointer: fine) { .rail a:hover { color: var(--ink); } }

/* identity */
.chapter.identity { align-content: center; border-top: 1px solid var(--rule-l); }
.id-photo { grid-column: 1 / 8; margin: 0; border-radius: 6px; overflow: hidden; overflow: clip; aspect-ratio: 16 / 10; align-self: center; }
.id-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.id-side { grid-column: 8 / 13; padding-left: 16px; align-self: center; }
.id-switch { border: 0; padding: 0; margin: 26px 0 0; display: grid; gap: 4px; }
.id-switch label { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule-l); cursor: pointer; }
.id-switch input { grid-row: 1 / span 2; margin-top: 6px; accent-color: var(--ink); width: 18px; height: 18px; }
.id-name { font-size: 22px; font-weight: 500; }
.id-say { font-size: 16px; color: var(--muted-l); }
.prefs { margin: 22px 0 0; display: grid; gap: 0; }
.prefs div { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule-l); }
.prefs dt { font-size: 15px; color: var(--muted-l); }
.prefs dd { margin: 0; }
.prefs select { width: 100%; font-size: 16px; padding: 8px 10px; border: 1px solid var(--rule-l); border-radius: 8px; background: var(--white); color: var(--ink); }
.id-side .link-underline { display: inline-block; margin-top: 16px; font-weight: 500; }

/* 20:30 */
.chapter.evening { align-content: start; }
.win-pano { grid-column: 6 / 13; grid-row: 1 / span 2; aspect-ratio: 776 / 420; }
.win-pano img { object-position: 58% 55%; }
.evening .clockset { grid-column: 1 / 6; grid-row: 1; }
.evening .stops { grid-column: 7 / 12; grid-row: 3; margin-top: 44px; }

/* the tray (shown by the itinerary scene) */
.tray { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 12px; height: 104px; padding: 0 var(--g); background: var(--ink); border-top: 1px solid var(--charcoal); }
.tray[hidden] { display: none; }
.tray-lbl { font-size: 16px; color: var(--platinum); width: 112px; }
.tray-chips { list-style: none; padding: 0; margin: 0; display: flex; gap: 12px; }
.tray-sum { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; color: var(--platinum); }
.tray-sum strong { font-size: 30px; color: var(--white); font-weight: 450; letter-spacing: -0.02em; }

/* ---------- your trip (builder) ---------- */
.trip { padding: 136px var(--g) 96px; border-top: 1px solid var(--charcoal); }
.trip-head { display: grid; grid-template-columns: minmax(0, 1fr) 280px; column-gap: var(--col-gap); align-items: start; }
.trip-head .note { grid-column: 1; max-width: 52ch; }
.win-thumb { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: 280 / 252; }
.win-thumb img { object-position: 86% 50%; }
.builder { margin-top: 56px; border-top: 1.5px solid var(--white); padding-top: 18px; }
.builder-top { display: flex; justify-content: space-between; gap: 16px; font-size: 17px; color: var(--platinum); }
.builder-top strong { color: var(--white); font-weight: 500; font-size: 20px; }
.days { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--charcoal); }
.days > li { padding: 14px 18px 24px 0; border-right: 1px solid var(--charcoal); min-height: 250px; }
.days > li + li { padding-left: 18px; }
.days > li:last-child { border-right: 0; }
.days > li h3 { font-size: 15px; font-weight: 500; color: var(--platinum); }
.it { margin-top: 14px; }
.tm { font-family: var(--font-display); font-variation-settings: "wdth" 112; font-size: 30px; font-weight: 300; letter-spacing: -0.02em; line-height: 1; }
.svc { margin-top: 6px; font-size: 16px; font-weight: 500; }
.meta { font-size: 15px; color: var(--platinum); }
.builder-foot { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--charcoal); font-size: 16px; color: var(--platinum); }
.builder-foot strong { font-size: 34px; color: var(--white); font-weight: 450; letter-spacing: -0.02em; margin: 0 10px; }
.builder-foot .acts { margin-left: auto; display: flex; gap: 14px; }

/* ---------- destinations (static index; the lens scene builds on it) ---------- */
.destinations { padding: 136px var(--g) 96px; border-top: 1px solid var(--charcoal); }
.dest-head { max-width: 760px; }
.dest-list { list-style: none; padding: 0; margin: 48px 0 0; border-top: 1px solid var(--charcoal); }
.dest-list a { display: grid; grid-template-columns: 240px minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 1.4fr); gap: var(--col-gap); align-items: center; padding: 16px 0; border-bottom: 1px solid var(--charcoal); text-decoration: none; }
.dest-list img { aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; border-radius: 4px; }
.d-name { font-size: 26px; font-weight: 450; letter-spacing: -0.01em; }
.d-status { font-size: 15px; color: var(--platinum); }
.d-status.ok { color: var(--ok-d); }
.d-meta { font-size: 15px; color: var(--platinum); }
.dest-request { display: inline-block; margin-top: 28px; font-weight: 500; }

/* ---------- concierge ---------- */
.concierge { padding: 136px var(--g) 96px; border-top: 1px solid var(--charcoal); }
.concierge h2 { max-width: 14em; }
.thread { list-style: none; padding: 0; margin: 48px 0 0; max-width: 980px; }
.msg { padding: 20px 0; border-top: 1px solid var(--charcoal); font-size: 19px; line-height: 1.5; }
.msg .who { font-size: 15px; color: var(--platinum); margin-bottom: 6px; }
.msg.you p:last-child { max-width: 52ch; }
.options { list-style: none; padding: 0; margin: 18px 0 0; }
.options a { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) auto auto; gap: 18px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--charcoal); text-decoration: none; font-size: 17px; }
.o-m, .o-id { color: var(--platinum); font-size: 15px; }
.o-p { font-weight: 600; }
.msg.handoff .btn { margin-top: 16px; }

/* ---------- membership ---------- */
.membership { padding: 136px var(--g) 96px; border-top: 1px solid var(--charcoal); }
.dossier-list { margin: 40px 0 0; border-top: 1px solid var(--charcoal); max-width: 1100px; }
.dossier-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--col-gap); padding: 22px 0; border-bottom: 1px solid var(--charcoal); align-items: baseline; }
.dossier-row dt { font-family: var(--font-display); font-variation-settings: "wdth" 112; font-size: 32px; font-weight: 450; letter-spacing: -0.02em; }
.dossier-row dd { margin: 0; font-size: 18px; color: rgba(255,255,255,.86); max-width: 56ch; }
.membership .note { margin-top: 26px; }
.membership .btn { margin-top: 18px; }

/* ---------- close + footer ---------- */
.close { padding: 160px var(--g) 120px; border-top: 1px solid var(--charcoal); }
.launcher-close { margin-top: 44px; }
.close-alt { margin-top: 22px; font-size: 17px; color: var(--platinum); }
.close-alt a { color: var(--white); }
.site-footer { padding: 64px var(--g) 40px; border-top: 1px solid var(--charcoal); }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--col-gap); }
.foot-cols div { display: grid; gap: 8px; align-content: start; }
.foot-head { font-size: 15px; color: var(--platinum); margin-bottom: 6px; }
.foot-cols a { text-decoration: none; font-size: 16px; }
@media (hover: hover) and (pointer: fine) { .foot-cols a:hover { text-decoration: underline; } }
.foot-base { display: flex; gap: 32px; align-items: center; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--charcoal); }
.foot-base img { width: 120px; height: auto; flex: none; }
.foot-base p { font-size: 15px; color: var(--platinum); max-width: 80ch; }

/* ---------- below 1100: the header compacts ---------- */
@media (max-width: 1100px) {
  .primary { gap: 22px; font-size: 15px; }
  .header-actions { gap: 16px; }
}
/* ---------- phones and narrow windows (<900): one column, every section still composed ---------- */
@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .site-header { grid-template-columns: auto 1fr auto; }
  .site-header .brand img { width: 108px; }
  .site-header .primary { display: none; }
  .header-actions a:not(.btn) { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { min-height: 40px; padding: 0 14px; font-size: 15px; }
  .hero { height: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 28px) var(--g) 24px; }
  .hero-img { object-position: 74% 50%; }
  .hero-type { position: relative; left: auto; top: auto; margin-bottom: auto; }
  .hero h1 .rise-line { white-space: normal; }
  .hero-sub { font-size: 18px; }
  .hero-stage { display: contents; }
  .launch-home { position: relative; left: auto; right: auto; bottom: auto; margin-top: 32px; }
  .launcher { grid-template-columns: 1fr; }
  .launcher-close { margin-top: 32px; }
  .launcher .field { border-right: 0; border-bottom: 1px solid var(--charcoal); padding: 14px 18px; }
  .launcher-go { margin: 14px; min-height: 52px; }
  .beat, .chapter.day, .chapter.identity, .chapter.evening { display: block; padding: calc(var(--header-h) + 24px) var(--g) 72px; min-height: 0; }
  .win, .frame, .id-photo { margin-bottom: 24px; }
  .win-tall-right { aspect-ratio: 4 / 5; max-height: 70svh; width: 100%; }
  .win-narrow-left { aspect-ratio: 4 / 3; }
  .win-pano { aspect-ratio: 16 / 10; }
  .stop { margin-top: 28px; }
  .delay-title { margin-top: 20px; }
  .delay-rows li { grid-template-columns: 1fr auto; font-size: 16px; }
  .delay-rows li strong { grid-column: 2; grid-row: 1; }
  .delay-rows li .st { grid-column: 1; }
  .delay-acts { flex-direction: column; }
  .frame { aspect-ratio: 4 / 5; }
  .spec { grid-template-columns: 1fr; gap: 12px; left: 18px; right: 18px; bottom: 18px; }
  .services-side { padding-left: 0; margin-top: 8px; }
  .rail { display: flex; gap: 6px 18px; flex-wrap: wrap; }
  .rail li { padding: 4px 0; }
  .rail li.on::before { display: none; }
  .rail a { font-size: 20px; }
  .rail .next { display: none; }
  .id-side { padding-left: 0; }
  .prefs div { grid-template-columns: 1fr; gap: 6px; }
  .trip, .destinations, .concierge, .membership { padding: 88px var(--g) 64px; }
  .trip-head { grid-template-columns: 1fr; }
  .win-thumb { display: none; }
  .days { grid-template-columns: 1fr; }
  .days > li, .days > li + li { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--charcoal); min-height: 0; }
  .builder-foot .acts { margin-left: 0; width: 100%; flex-direction: column; }
  .dest-list a { grid-template-columns: 112px 1fr; grid-template-areas: "img name" "img status" "meta meta"; row-gap: 4px; }
  .dest-list img { grid-area: img; }
  .d-name { grid-area: name; font-size: 21px; }
  .d-status { grid-area: status; }
  .d-meta { grid-area: meta; }
  .options a { grid-template-columns: 1fr auto; }
  .o-m { grid-column: 1; }
  .o-id { display: none; }
  .dossier-row { grid-template-columns: 1fr; gap: 6px; }
  .close { padding: 96px var(--g) 72px; }
  .foot-cols { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .foot-base { flex-direction: column; align-items: flex-start; }
}

/* ---------- itinerary scene (js/scenes/itinerary.js): the held signature, ≥900 × 520 with motion ----------
   Every rule is scoped :not(.scene-off) so a failed scene falls back to the static compositions above. */
.chapter.arrival.is-it-held:not(.scene-off) { height: calc(100svh + var(--it-distance, 240svh)); }
.is-it-held:not(.scene-off) .it-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; overflow: clip; }
.is-it-held:not(.scene-off) .beat { position: absolute; inset: 0; min-height: 0; padding-bottom: 156px; }
.is-it-held:not(.scene-off) .beat-1820 { border-top: 0; }
.is-it-held:not(.scene-off) .beat .win { visibility: hidden; }          /* placeholders: the window layer draws them */
.it-window { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.it-win-a { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.it-win-b { position: absolute; border-radius: 6px; overflow: hidden; overflow: clip; opacity: 0; }
.it-win-b img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.it-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 2; }
.it-line path { fill: none; stroke: var(--white); stroke-width: 1.5; }
.is-it-held:not(.scene-off) .beat { z-index: 1; }
/* text: triggered, timed (out 0.2 s, in 0.32 s after 0.08 s); never held half-faded by the scroll */
.is-it-held:not(.scene-off) .beat-1640 .clockset,
.is-it-held:not(.scene-off) .beat-1640 .stop,
.is-it-held:not(.scene-off) .beat-1820 .delay { opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .2s ease-in, transform .2s ease-in, visibility 0s linear .2s; }
.is-it-held:not(.scene-off) .beat-1640 .clockset.is-set,
.is-it-held:not(.scene-off) .beat-1640 .stop.is-on,
.is-it-held:not(.scene-off)[data-it-state="b"] .beat-1820 .delay { opacity: 1; visibility: visible; transform: none;
  transition: opacity .32s cubic-bezier(.33, 1, .68, 1) .08s, transform .5s cubic-bezier(.33, 1, .68, 1) .08s, visibility 0s; }
/* the stop's node sits on the line */
.is-it-held:not(.scene-off) .stop { position: relative; }
.is-it-held:not(.scene-off) .stop::before { content: ""; position: absolute; left: -27.5px; top: 3.5px; width: 11px; height: 11px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 5px var(--ink); }
/* the clock rolls 17:30 → 18:20 */
.roll { display: inline-grid; overflow: hidden; overflow: clip; vertical-align: top; line-height: .9; padding-block: .04em; }
.roll > span { grid-area: 1 / 1; transition: transform .45s cubic-bezier(.76, 0, .24, 1); }
.roll-b { transform: translateY(105%); }
.rolled .roll-a { transform: translateY(-105%); }
.rolled .roll-b { transform: none; }
/* the delay rows before the change is known: original time only */
.is-it-held:not(.scene-off) .delay-rows li .was { transition: color .3s, text-decoration-color .3s; }
.is-it-held:not(.scene-off) .delay-rows li:not(.is-flagged) .was { text-decoration-color: transparent; color: var(--white); }
.is-it-held:not(.scene-off) .delay-rows li .now,
.is-it-held:not(.scene-off) .delay-rows li [data-row-status],
.is-it-held:not(.scene-off) .delay-rows li strong { opacity: 0; transition: opacity .2s ease-in; }
.is-it-held:not(.scene-off) .delay-rows li.is-flagged .now,
.is-it-held:not(.scene-off) .delay-rows li.is-flagged [data-row-status],
.is-it-held:not(.scene-off) .delay-rows li.is-flagged strong { opacity: 1; transition: opacity .32s cubic-bezier(.33, 1, .68, 1); }
.is-it-held:not(.scene-off) .delay-rows li:nth-child(2).is-flagged .now, .is-it-held:not(.scene-off) .delay-rows li:nth-child(2).is-flagged [data-row-status], .is-it-held:not(.scene-off) .delay-rows li:nth-child(2).is-flagged strong { transition-delay: .08s; }
.is-it-held:not(.scene-off) .delay-rows li:nth-child(3).is-flagged .now, .is-it-held:not(.scene-off) .delay-rows li:nth-child(3).is-flagged [data-row-status], .is-it-held:not(.scene-off) .delay-rows li:nth-child(3).is-flagged strong { transition-delay: .16s; }
.delay-rows li.is-kept .now { color: var(--platinum); text-decoration: line-through; }
.delay-rows li.is-kept .was { text-decoration: none; color: var(--white); }

/* tray chips */
.chip { display: flex; flex-direction: column; justify-content: center; gap: 3px; height: 62px; padding: 0 16px; border: 1px solid var(--charcoal); border-radius: 8px; font-size: 15px; color: var(--platinum); white-space: nowrap; background: var(--ink); will-change: transform; }
.chip strong { font-size: 16px; color: var(--white); font-weight: 500; }
.tray-sum strong { font-variant-numeric: proportional-nums lining-nums; min-width: 4.6em; text-align: right; }
@media (max-width: 899px) {
  .tray { height: 68px; padding: 0 var(--g); padding-bottom: env(safe-area-inset-bottom); gap: 10px; }
  .tray-lbl { width: auto; font-size: 15px; }
  .tray-chips { display: none; }
  .tray-sum { gap: 10px; font-size: 15px; }
  .tray-sum strong { font-size: 22px; min-width: 0; }
  .tray-sum > span:nth-of-type(2) { display: none; }
}
/* narrow screens and 400% zoom: the aside's own label names the tray, so the visible label goes first, then the count */
@media (max-width: 420px) { .tray-lbl { display: none; } }
@media (max-width: 340px) { .tray-sum > [data-tray-count] { display: none; } }
/* focus and anchors clear the sticky tray as well as the header (WCAG 2.4.11) */
html:has(.tray:not([hidden])) { scroll-padding-bottom: 120px; }
@media (max-width: 899px) { html:has(.tray:not([hidden])) { scroll-padding-bottom: 84px; } }

/* ---------- day and night handovers: the ground turns with the trip's clock (static bands the scroll passes) ---------- */
.chapter.day { padding-top: calc(var(--header-h) + 32svh); }
.chapter.day::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30svh; background: linear-gradient(180deg, var(--ink) 0%, #1e1e1e 30%, #8a8a8a 70%, var(--white) 100%); pointer-events: none; }
.chapter.evening { padding-top: calc(var(--header-h) + 32svh); }
.chapter.evening::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30svh; background: linear-gradient(180deg, var(--white) 0%, #8a8a8a 30%, #1e1e1e 70%, var(--ink) 100%); pointer-events: none; }
.chapter.identity { border-top: 0; }

/* ---------- services rail as tabs (js/app/rail.js) ---------- */
.frame img { transition: none; }
.frame .frame-next { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; opacity: 0; transition: opacity .3s cubic-bezier(.33, 1, .68, 1); }
.frame.is-swapping .frame-next { opacity: 1; }
.spec .svc-all { margin-left: 16px; font-size: 15px; color: var(--white); }
.rail a[role="tab"] { cursor: pointer; }
.rail a[role="tab"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 2px; }
.clock.is-empty { visibility: hidden; }
.clock.is-empty + .when { margin-top: calc(-1 * clamp(72px, 9.2vw, 132px) * .86); }

/* ---------- identity crossfade (js/app/identity.js) ---------- */
.id-photo { position: relative; }
.id-photo .id-next { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; opacity: 0; transition: opacity .3s cubic-bezier(.33, 1, .68, 1); }
.id-photo.is-swapping .id-next { opacity: 1; }

/* ---------- destinations lens (engine scene lens.js), in ONYX's ink ---------- */
.dest-lens { margin-top: 40px; }
.dest-lens .lens-count { display: none; }          /* the user's rule: no "01 / 06" counters; the details carry the status */
.dest-lens.lens-live { --lens-w: clamp(17rem, 30vw, 30rem); }
.dest-lens .lens-index li { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.01em; }
.dest-lens .lens-detail { font-size: 17px; line-height: 1.45; color: var(--platinum); max-width: 26ch; }
.dest-lens .lens-frame { color: var(--white); }
.dest-lens .lens-item img { border-radius: 4px; }
.dest-request { margin-top: 40px; }
/* the tray keeps its last four bookings in view; the count and the total always cover all of them */
.tray-chips .chip:nth-last-child(n+5) { display: none; }
.tray-lbl, .tray-sum > span { white-space: nowrap; }
/* narrower desktops keep fewer bookings in view, so whole chips and the total always fit (900 to 1419 px) */
.tray { overflow-x: clip; }   /* clips at the screen's edges only, so chips still fly in from their stops */
.tray .link-underline { white-space: nowrap; }
@media (max-width: 1419px) { .tray-chips .chip:nth-last-child(n+4) { display: none; } }
@media (max-width: 1279px) { .tray-chips .chip:nth-last-child(n+3) { display: none; } }
@media (max-width: 1099px) { .tray-chips .chip:nth-last-child(n+2) { display: none; } }

/* ---------- aperture scene (js/scenes/aperture.js): the hero closes into the first booking's window ---------- */
#hero.is-aperture:not(.scene-off) { height: calc(100svh + var(--ap-distance, 80svh)); min-height: 0; overflow: visible; }
.is-aperture:not(.scene-off) .hero-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; overflow: clip; background: var(--ink); }
.is-aperture:not(.scene-off) .hero-img { will-change: transform; }
/* the signature's stage overlaps the hero's last screen and is revealed only once the window has closed */
.has-aperture .journey-run { margin-top: -100svh; position: relative; z-index: 2; }
.is-it-held:not(.scene-off) .it-stage { background: var(--ink); }
.has-aperture:not(.hero-handed) #journey .it-stage,
.has-aperture:not(.hero-handed) .tray { visibility: hidden; }

/* header: grid cells fixed so the dock slot can take the nav's place */
.site-header .brand { grid-column: 1; grid-row: 1; justify-self: start; width: max-content; }
.site-header .primary { grid-column: 2; grid-row: 1; }
.site-header .header-actions { grid-column: 3; grid-row: 1; }
.dock-slot { grid-column: 2; grid-row: 1; display: none; }
.site-header.is-docked .dock-slot { display: block; }
.site-header.is-docked .primary { display: none; }
.site-header.is-docked [data-header-cta] { display: none; }

/* the launcher, docked: the same form, compact */
.launcher.is-docked { display: flex; align-items: center; min-height: 0; height: 50px; border-radius: 8px; border: 1px solid var(--charcoal); }
.launcher.is-docked .field { padding: 0 14px; flex-direction: row; align-items: center; gap: 8px; border-right: 1px solid var(--charcoal); }
.launcher.is-docked .field-guests { border-right: 0; }
.launcher.is-docked .field > label, .launcher.is-docked legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.launcher.is-docked .check { display: none; }
.launcher.is-docked input, .launcher.is-docked select { font-size: 15px; }
.launcher.is-docked #l-dest { width: 10.5em; }
.launcher.is-docked .dates-row input { width: 8.2em; font-size: 15px; }
.launcher.is-docked .guests-row label { font-size: 0; gap: 0; }
.launcher.is-docked .guests-row label + label::before { content: "·"; font-size: 15px; color: var(--platinum); margin: 0 6px; }
.launcher.is-docked .guests-row select { font-size: 15px; }
.launcher.is-docked .launcher-go { margin: 5px; min-height: 38px; padding: 0 16px; font-size: 15px; }
@media (max-width: 1239px) {
  .launcher.is-docked .field-dates, .launcher.is-docked .field-guests { display: none; }
}
.launcher.is-docked .guests-row label:first-child::after { content: "adults"; font-size: 15px; color: var(--platinum); margin-left: 6px; }
.launcher.is-docked .guests-row label + label::after { content: "children"; font-size: 15px; color: var(--platinum); margin-left: 6px; }

/* ---------- sharedmedia: the chosen card's photo carries into its listing and back (js/scenes/sharedmedia.js names
   it for one transition; effect-brief-sharedmedia.md). Only while the engine's page transition runs (motion on). ---------- */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-group(listing-media) { animation-duration: 420ms; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
  /* both snapshots fill the travelling frame and are cut to it (view-transition images are not clipped by default,
     so a cover-fitted 3:2 card would spill past a 2:1 frame) */
  ::view-transition-image-pair(listing-media) { overflow: clip; border-radius: 7px; }
  ::view-transition-old(listing-media), ::view-transition-new(listing-media) { width: 100%; height: 100%; object-fit: cover; }
  /* the new snapshot is painted over the old one. Going in, the gallery (new) shows the whole way, sharp, and the card
     (old) stays under it in case the gallery's image is still decoding. Coming back, the gallery is the old snapshot:
     the card fades in over it only in the last 30%, so a small card image is never stretched up across the flight */
  ::view-transition-old(listing-media), ::view-transition-new(listing-media) { animation: none; }
  html:active-view-transition-type(listing-out)::view-transition-new(listing-media) { animation: 420ms linear both onyx-vt-late; }
  /* one end only (card filtered out or scrolled away): it leaves or arrives with its page, as the engine's wipe does */
  /* (html prefix: same weight as the rule above, and later, so it wins when only one end exists) */
  html::view-transition-old(listing-media):only-child { animation: 0.5s cubic-bezier(0.7, 0, 0.3, 1) both studio-vt-out; }
  html::view-transition-new(listing-media):only-child { animation: 0.6s cubic-bezier(0.7, 0, 0.3, 1) both studio-vt-in; }
  /* while the photo travels, the pages cross through white: the old one fades out, the new one fades in after the photo
     has set off (without the white the overlay would dip to the dark canvas between two light pages) */
  html:active-view-transition-type(listing-media)::view-transition { background: var(--white); }
  html:active-view-transition-type(listing-media)::view-transition-old(root) { animation: 280ms ease-out both onyx-vt-fade-out; }
  html:active-view-transition-type(listing-media)::view-transition-new(root) { animation: 300ms 140ms ease-out both onyx-vt-fade-in; }
}
@keyframes onyx-vt-late { 0%, 70% { opacity: 0; } 100% { opacity: 1; } }
@keyframes onyx-vt-fade-out { to { opacity: 0; } }
@keyframes onyx-vt-fade-in { from { opacity: 0; } }

/* docked header: the nav makes room for the launcher, so its menu button stays on desktop (same drawer as phones) */
.site-header.is-docked .nav-toggle { display: inline-flex; }
/* the lines scene's masks (SplitText mask: lines) clip at the line box; tight display leading cut the descenders
   (j, y, p, g). Room below each line, cancelled by a negative margin so the heading keeps its height. */
[data-split-visual] > div { padding-bottom: 0.18em; margin-bottom: -0.18em; }

/* launcher dates (js/app/site.js): out of focus each native date field shows the date as people say it */
.date-wrap { position: relative; display: inline-flex; align-items: center; }
.date-txt { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; white-space: nowrap; font-size: inherit; font-weight: 500; color: var(--white); }
.date-txt.is-empty { color: var(--platinum); font-weight: 400; }
.has-said input[type="date"] { cursor: pointer; }
.has-said input[type="date"]:not(:focus)::-webkit-datetime-edit { color: transparent; }
.has-said input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0; cursor: pointer; }
.has-said input[type="date"]:focus + .date-txt { visibility: hidden; }
.dates-row .date-wrap { font-size: 16px; }
.launcher.is-docked .dates-row .date-wrap { font-size: 15px; }
.launcher .nights { color: var(--platinum); }
/* one-column launcher: each date is as wide as its longest text ("Mon 22 Mar 2027"), and on the narrowest screens
   the leave date takes the next line instead of pushing the page sideways */
@media (max-width: 899px) {
  .launcher:not(.is-docked) .dates-row { flex-wrap: wrap; row-gap: 6px; }
  .launcher:not(.is-docked) .dates-row .date-wrap { flex: 0 1 8em; min-width: 0; }
  .launcher:not(.is-docked) .dates-row .date-wrap input { width: 100%; }
}

/* ---------- the line through each chapter's stops (itinerary line instances, 09:30 and 20:30) ---------- */
.stops { list-style: none; padding: 0; margin: 0; }
.stops > .stop + .stop { margin-top: 40px; }
.services-frame .stops { margin: 64px 0 0 48px; }
.theme-alt .stop-t { color: var(--muted-l); }
.theme-alt .stop-b { color: rgba(8, 8, 8, .78); border-top-color: var(--rule-l); }
.theme-alt .stop-b strong { color: var(--ink); }
.it-line-v { z-index: 0; }
.theme-alt .it-line path { stroke: var(--ink); }
.is-it-line:not(.scene-off) .stop { position: relative; opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .2s ease-in, transform .2s ease-in, visibility 0s linear .2s; }
.is-it-line:not(.scene-off) .stop.is-on { opacity: 1; visibility: visible; transform: none;
  transition: opacity .32s cubic-bezier(.33, 1, .68, 1) .08s, transform .5s cubic-bezier(.33, 1, .68, 1) .08s, visibility 0s; }
.is-it-line:not(.scene-off) .stop::before { content: ""; position: absolute; left: -27.5px; top: 3.5px; width: 11px; height: 11px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 5px var(--ink); }
.theme-alt.is-it-line:not(.scene-off) .stop::before { background: var(--ink); box-shadow: 0 0 0 5px var(--white); }

/* ---------- the tray: light in the daytime chapters, hands its bookings to the builder, then retires ---------- */
.tray { margin-top: -104px; transition: background-color .35s ease, border-color .35s ease, transform .45s cubic-bezier(.33, 1, .68, 1), opacity .3s ease, visibility 0s; }
.tray .chip { transition: background-color .35s ease, border-color .35s ease, color .35s ease, opacity .25s ease; }
.tray .chip strong, .tray-lbl, .tray-sum, .tray-sum strong, .tray .link-underline { transition: color .35s ease; }
.tray.is-light { background: var(--white); border-top-color: var(--rule-l); }
.tray.is-light .tray-lbl, .tray.is-light .tray-sum { color: var(--muted-l); }
.tray.is-light .tray-sum strong, .tray.is-light .link-underline { color: var(--ink); }
.tray.is-light .chip { background: var(--white); border-color: var(--rule-l); color: var(--muted-l); }
.tray.is-light .chip strong { color: var(--ink); }
.tray.is-light :focus-visible { outline-color: var(--ink); }
.tray.is-retired { transform: translateY(100%); opacity: 0; visibility: hidden;
  transition: transform .4s cubic-bezier(.32, 0, .67, 0), opacity .3s ease-in, visibility 0s linear .4s; }
.builder.is-gliding .it[data-from] { will-change: transform; }          /* painted under the tray, which hides each entry until it rises clear */
@media (max-width: 899px) {
  .tray { margin-top: -68px; }
  .services-frame .stops { margin: 8px 0 56px; }
  .evening .stops { margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .tray, .tray .chip { transition: none; } }

/* ---------- feedback in the two flows the motion brief covers (arrival, card → listing; 2026-12-02): 120–180 ms ----------
   Public pages only (the workspace and the desk keep their own). Colour settles in 150 ms (180 ms on hover); a press
   gives 0.97 in 120 ms; the focus ring tightens in from 8 px to its resting offset in 160 ms instead of appearing at once.
   The ring's colour and offset still come from the focus rules for each surface; this only adds the approach. */
body:not(.kind-app, .kind-ops) :is(.btn, .card-t a, .link-underline) {
  transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out,
    scale .12s cubic-bezier(.23, 1, .32, 1), outline-offset .16s cubic-bezier(.23, 1, .32, 1), outline-color .16s ease-out;
}
body:not(.kind-app, .kind-ops) :is(.btn, .card-t a, .link-underline):not(:focus-visible) { outline: 2px solid transparent; outline-offset: 8px; }
@media (hover: hover) and (pointer: fine) {
  body:not(.kind-app, .kind-ops) .btn:hover { transition-duration: .18s, .18s, .18s, .12s, .16s, .16s; }
}
/* a card answers keyboard focus the way it answers the pointer, and a press eases its photo back just before the photo
   sets off for the listing (the shared-photo transition starts from that frame) */
.card:has(.card-t a:focus-visible) .card-img img { scale: 1.035; }
.card:active .card-img img { scale: 1.012; transition-duration: .12s; }
@media (prefers-reduced-motion: reduce) {
  body:not(.kind-app, .kind-ops) :is(.btn, .card-t a, .link-underline) { transition-property: background-color, color, border-color, outline-color; }
  .card:has(.card-t a:focus-visible) .card-img img, .card:active .card-img img { scale: none; }
}
