/* Website round 3 (3 November 2026; owner: "you should not be able to see the pages when sliding up, it should be just texts
   and whatever you need to see and not distinct pages, make it smooth and add tricks for the user to be surprised").
   On top of site.css and r2.css. One canvas: a sky behind the page changes colour scene by scene (solid layers that fade, so
   the compositor only blends colours), words rise in, visuals hand over to the next. Scroll-driven where the browser has it
   (animation-timeline), js/r3.js's IntersectionObserver classes where it doesn't; native scrolling throughout. Motion is
   transform and opacity only; under Reduce Motion everything is still and shown. Every text colour is measured against
   every sky colour (light ≥ 0.70 luminance, dark ≤ 0.02), so text stays at 4.5:1 or more wherever the page is. */

:root {
  --sky-0: #FCF9F3; --sky-1: #E6F1EC; --sky-2: #F6E8D2; --sky-3: #DFEFED; --sky-4: #F7ECD0; --sky-5: #F6E5DC;
  --sky-6: #F1EADA; --sky-7: #E8F0E4; --sky-8: #DCEDEA; --sky-9: #FAF1E1; --sky-10: #FCF9F3;
  --glow-a: rgb(31 95 102 / 0.07); --glow-b: rgb(214 140 50 / 0.08);
  --rule: rgba(28, 23, 18, 0.12); --tile-ink: #FFFFFF;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sky-0: #0C1D22; --sky-1: #0E2429; --sky-2: #1C1D17; --sky-3: #0A2228; --sky-4: #1B1C14; --sky-5: #1E1719;
    --sky-6: #17191A; --sky-7: #0F201D; --sky-8: #08171B; --sky-9: #10262D; --sky-10: #0C1D22;
    --glow-a: rgb(140 207 200 / 0.07); --glow-b: rgb(242 179 90 / 0.06); --rule: rgba(244, 238, 227, 0.14);
  }
}
:root[data-theme="dark"] {
  --sky-0: #0C1D22; --sky-1: #0E2429; --sky-2: #1C1D17; --sky-3: #0A2228; --sky-4: #1B1C14; --sky-5: #1E1719;
  --sky-6: #17191A; --sky-7: #0F201D; --sky-8: #08171B; --sky-9: #10262D; --sky-10: #0C1D22;
  --glow-a: rgb(140 207 200 / 0.07); --glow-b: rgb(242 179 90 / 0.06); --rule: rgba(244, 238, 227, 0.14);
}

/* MARK: The sky */

.page-r3 { background: var(--sky-0); }
.page-r3::before { display: none; }
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--sky-0); }
.sky i { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.sky i:nth-child(1) { background: var(--sky-1); } .sky i:nth-child(2) { background: var(--sky-2); } .sky i:nth-child(3) { background: var(--sky-3); }
.sky i:nth-child(4) { background: var(--sky-4); } .sky i:nth-child(5) { background: var(--sky-5); } .sky i:nth-child(6) { background: var(--sky-6); }
.sky i:nth-child(7) { background: var(--sky-7); } .sky i:nth-child(8) { background: var(--sky-8); } .sky i:nth-child(9) { background: var(--sky-9); }
.sky i:nth-child(10) { background: var(--sky-10); }
/* Two soft glows that drift slowly with the page (one layer, moved by transform). */
.sky-glow { position: absolute; inset: -25vh -10vw; background:
  radial-gradient(48vmax circle at 88% 18%, var(--glow-a), transparent 70%),
  radial-gradient(42vmax circle at 8% 70%, var(--glow-b), transparent 70%); will-change: transform; }
/* Without scripts or scroll timelines: js/r3.js turns a layer on when its scene reaches the middle of the window. */
.sky i.on { opacity: 1; }
.sky.io i { transition: opacity 1.1s var(--ease); }

@supports (animation-timeline: view()) {
  .page-home main { timeline-scope: --s1, --s2, --s3, --s4, --s5, --s6, --s7, --s8, --s9, --s10, --s0; }
  .act[data-scene="0"] { view-timeline-name: --scene, --s0; } .act[data-scene="1"] { view-timeline-name: --scene, --s1; }
  .act[data-scene="2"] { view-timeline-name: --scene, --s2; } .act[data-scene="3"] { view-timeline-name: --scene, --s3; }
  .act[data-scene="4"] { view-timeline-name: --scene, --s4; } .act[data-scene="5"] { view-timeline-name: --scene, --s5; }
  .act[data-scene="6"] { view-timeline-name: --scene, --s6; } .act[data-scene="7"] { view-timeline-name: --scene, --s7; }
  .act[data-scene="8"] { view-timeline-name: --scene, --s8; } .act[data-scene="9"] { view-timeline-name: --scene, --s9; }
  .act[data-scene="10"] { view-timeline-name: --scene, --s10; }
  .page-home .sky i { animation: sky-in linear both; animation-range: entry 25% entry 75%; }
  .page-home .sky i:nth-child(1) { animation-timeline: --s1; } .page-home .sky i:nth-child(2) { animation-timeline: --s2; }
  .page-home .sky i:nth-child(3) { animation-timeline: --s3; } .page-home .sky i:nth-child(4) { animation-timeline: --s4; }
  .page-home .sky i:nth-child(5) { animation-timeline: --s5; } .page-home .sky i:nth-child(6) { animation-timeline: --s6; }
  .page-home .sky i:nth-child(7) { animation-timeline: --s7; } .page-home .sky i:nth-child(8) { animation-timeline: --s8; }
  .page-home .sky i:nth-child(9) { animation-timeline: --s9; } .page-home .sky i:nth-child(10) { animation-timeline: --s10; }
  /* The other pages: three colours across the whole page. */
  .sky-page i { animation: sky-in linear both; animation-timeline: scroll(root); }
  .sky-page i:nth-child(1) { animation-range: 10% 30%; } .sky-page i:nth-child(2) { animation-range: 40% 60%; } .sky-page i:nth-child(3) { animation-range: 70% 90%; }
  .sky-glow { animation: glow-drift linear both; animation-timeline: scroll(root); }
}
@keyframes sky-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes glow-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-4vw, -20vh, 0); } }

/* MARK: Words rise in, visuals hand over */

@keyframes rise { from { opacity: 0; transform: translate3d(0, 28px, 0); } }
@keyframes vis-in { from { opacity: 0; transform: translate3d(0, 70px, 0) scale(0.92); } }
@keyframes vis-out { to { opacity: 0; transform: translate3d(0, -50px, 0) scale(1.05); } }
@supports (animation-timeline: view()) {
  .page-r3 .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  .vis-in { animation: vis-in linear both; animation-timeline: --scene; animation-range: entry 5% entry 65%; }
  .vis-out { animation: vis-out linear both; animation-timeline: --scene; animation-range: exit 25% exit 85%; }
}
.motion-io .rise, .motion-io .vis-in { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.motion-io .rise.in, .motion-io .vis-in.in { opacity: 1; transform: none; }

/* MARK: Scenes on the open canvas: no cards, no boxed edges */

.page-home main { overflow-x: clip; }
.act { position: relative; padding: clamp(72px, 14vh, 150px) 0; }
.act .anchor, .anchor { display: block; height: 0; scroll-margin-top: 84px; }
.act-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(30px, 5vw, 80px); align-items: start; }
.wrap.act-grid { display: grid; }
.vis-col { position: sticky; top: max(96px, calc(50svh - 290px)); }
.step-text { max-width: 640px; }
.step-text h3 { font-size: clamp(28px, 3vw, 40px); margin: 6px 0 14px; }
.step-text h3 .tag { vertical-align: 0.18em; margin-inline: 2px; }
.step-text p.muted { font-size: 17.5px; }
.kicker .k2::before { content: "·"; margin: 0 8px; opacity: 0.7; }
.soon { margin: 0 0 6px; }
.follow-head { display: block; border: 0; padding: 0; max-width: 760px; margin-bottom: 40px; }
.follow-head h2 { font-size: clamp(34px, 4.4vw, 58px); }
.opening { padding-top: 24px; padding-bottom: 40px; overflow: visible; }
.opening .stars { position: absolute; inset: 0; overflow: hidden; }
.zoomline { border-top: 1px solid var(--rule); }
.btn-band { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--rule); }
.hello { margin: 18px 0 0; font: 600 17px/1.4 var(--font); color: var(--teal-text); }
.hello b { font-weight: 700; color: var(--ink); }

/* Lists that were boxes: an icon, a title and the words, separated by space and hairlines. */
.inputs { gap: 22px 30px; margin-top: 26px; }
.inputs li { padding: 0; background: none; border-radius: 0; }
.note-line { display: flex; gap: 12px; align-items: flex-start; max-width: 600px; margin: 22px 0 6px; }
.note-line .i { width: 26px; height: 26px; color: var(--teal-text); margin-top: 1px; }
.note-line strong { font-size: 16px; }
.note-line > span > span { color: var(--muted); }
.aud li { background: transparent; }
.priv-head { margin-bottom: 40px; }
.vault { display: flex; gap: 14px; align-items: flex-start; margin: 0; font-size: 15.5px; color: var(--muted); }
.vault b { color: var(--ink); }
.priv-grid { gap: 34px 40px; margin-bottom: 40px; }
.priv-grid li { padding: 0; background: none; box-shadow: none; border-radius: 0; }
.plans-r2 { gap: 0; margin-top: 38px; }
.plan-r2 { padding: 4px clamp(18px, 4vw, 48px); background: none; border-radius: 0; }
.plan-r2 + .plan-r2 { border-inline-start: 1px solid var(--rule); }
.plan-r2.featured { background: none; box-shadow: none; }
.plan-r2.featured h3 { color: var(--ochre-text); }
.plans-foot { margin-top: 26px; }
.get-grid { align-items: start; }
.avail { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.avail li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; }
.avail .i { grid-row: span 2; width: 24px; height: 24px; color: var(--teal-text); margin-top: 2px; }
.avail strong { font: 700 17px/1.25 var(--serif); }
.avail span { font-size: 14.5px; color: var(--muted); }
.press-band { margin-top: 70px; padding: 30px 0 0; background: none; border-radius: 0; border-top: 1px solid var(--rule); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal-text); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.looks-row { margin-top: 26px; }

/* MARK: The globe: a strip of the map sliding under a circle, turned by --lon (degrees east); a pin at --lat */

.orb { --size: 480px; --lon: 100; --lat: 0; position: relative; display: block; width: var(--size); height: var(--size); border-radius: 50%; overflow: hidden;
  background: #1C5D86; isolation: isolate; box-shadow: 0 0 0 calc(var(--size) * 0.02) rgb(140 207 200 / 0.20), 0 0 calc(var(--size) * 0.28) rgb(70 160 160 / 0.30); }
.orb .earth { position: absolute; top: 0; left: 0; width: calc(var(--size) * 5); height: 100%; background: url(/img/earth.jpg) 0 0 / calc(var(--size) * 2) var(--size) repeat-x;
  transform: translate3d(calc(var(--size) * (-1.5 - (var(--lon) + 180) / 180)), 0, 0); transition: transform 1.6s var(--ease); will-change: transform; }
.orb.slow .earth { transition-duration: 2.6s; }
.orb.snap .earth { transition: none; }
.orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  box-shadow: inset calc(var(--size) * -0.13) calc(var(--size) * -0.08) calc(var(--size) * 0.22) rgb(2 14 30 / 0.7), inset calc(var(--size) * 0.05) calc(var(--size) * 0.04) calc(var(--size) * 0.12) rgb(255 255 255 / 0.22); }
.orb .pin { position: absolute; left: 50%; top: calc(var(--size) * (90 - var(--lat)) / 180); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--sun); box-shadow: 0 0 0 4px rgb(242 179 90 / 0.35); opacity: 0; transform: scale(0.3); transition: opacity 0.5s 1.2s, transform 0.5s 1.2s var(--ease); z-index: 1; }
.orb.has-pin .pin { opacity: 1; transform: none; }
.orb-sm { --size: 64px; }
.orb-sm .pin { width: 8px; height: 8px; margin: -4px 0 0 -4px; box-shadow: 0 0 0 3px rgb(242 179 90 / 0.35); }
.stage { position: relative; height: 640px; }
.orbit-btn { position: absolute; left: 50%; top: 80px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; transform: translateX(-50%); }
.orbit-btn:focus-visible, .companion:focus-visible { outline-offset: 6px; }
@supports (animation-timeline: view()) {
  .stage { animation: globe-near linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  @keyframes globe-near { to { transform: scale(0.78) translate3d(0, 60px, 0); opacity: 0; } }
}

/* The globe that stays with you: it shrinks into the corner as the opening leaves, turns to each scene's place, and goes as
   the footer comes. A button: tapping it spins the globe to a random Made by Perager trip. */
.companion-wrap { position: fixed; z-index: 30; inset-inline-end: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); }
.companion { display: block; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.companion-in { opacity: 0; visibility: hidden; }
.companion-wrap.on .companion-in { opacity: 1; visibility: visible; transform: none; }
.companion-wrap.io .companion-in { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0.6s; transform: scale(0.5); }
@supports (animation-timeline: view()) {
  .page-home .companion-in { animation: companion-in linear both; animation-timeline: --s0; animation-range: exit 40% exit 90%; }
  .page-home .companion-wrap { animation: companion-out linear both; animation-timeline: --s10; animation-range: exit 10% exit 50%; }
}
@keyframes companion-in { from { opacity: 0; visibility: hidden; transform: scale(0.4) translate3d(-40px, -60px, 0); } to { opacity: 1; visibility: visible; transform: none; } }
@keyframes companion-out { to { opacity: 0; visibility: hidden; transform: scale(0.6); } }
.spun { position: fixed; z-index: 31; inset-inline-end: 18px; bottom: calc(106px + env(safe-area-inset-bottom)); max-width: min(320px, calc(100vw - 36px)); margin: 0;
  padding: 10px 14px; border-radius: 14px; background: var(--card); color: var(--ink); box-shadow: var(--shadow-lg); font-size: 14.5px; line-height: 1.35; }
.spun span { color: var(--muted); }
.spun a { font-weight: 700; color: var(--teal-text); }
.spun.show { animation: pop-in 0.45s var(--ease) both; }
@keyframes pop-in { from { opacity: 0; transform: translate3d(0, 12px, 0) scale(0.96); } }

/* MARK: The plane of Made by Perager trips: endless in every direction (js/home.js places and reuses the tiles) */

.trips { padding-top: 40px; }
.trips-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: end; margin-bottom: 26px; }
.trips-head h2 { font-size: clamp(32px, 3.8vw, 50px); }
.plane-meta { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; margin: 0; font: 600 13px/1.4 var(--mono); color: var(--muted); text-align: end; }
.plane-meta b { color: var(--ochre-text); }
.brandline { font: 700 17px/1.2 var(--serif); color: var(--ink); }
.plane { position: relative; height: clamp(420px, 68svh, 700px); overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent); }
.plane-view { position: absolute; inset: 0; cursor: grab; touch-action: none; outline: none; }
.plane-view:focus-visible { box-shadow: inset 0 0 0 3px var(--teal-text); }
.plane-view.dragging { cursor: grabbing; }
.plane-layer { position: absolute; left: 0; top: 0; will-change: transform; }
.ptile { --tw: 200px; --th: 250px; position: absolute; left: 0; top: 0; display: block; width: var(--tw); height: var(--th); overflow: hidden; border-radius: 20px;
  color: var(--tile-ink); text-decoration: none; background: #2C6B72; box-shadow: 0 10px 30px rgb(0 10 14 / 0.18); contain: strict; }
.ptile:nth-child(3n+1) { background: #6B4A22; } .ptile:nth-child(3n+2) { background: #24434D; }
.ptile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s; }
.ptile img.ok { opacity: 1; }
/* Dark enough behind the words on the brightest sky (website sweep, 11 November: the chips measured 1.1:1 and titles 1.5:1
   on white skies): cream on white needs about 60% of this ink under it for 4.5:1, so the gradient reaches that where a
   three-line title starts, and the country chip has its own backing. */
.ptile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(7 19 23 / 0.30) 0%, rgb(7 19 23 / 0.10) 26%, rgb(7 19 23 / 0.66) 56%, rgb(7 19 23 / 0.92) 100%); }
.ptile .tt { position: absolute; inset-inline: 14px; bottom: 12px; z-index: 1; }
.ptile .tt b { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; font: 700 16px/1.2 var(--serif); }
.ptile .tt b.long { font-size: 14px; }
.ptile .tm { display: block; margin-top: 4px; font: 600 11.5px/1.2 var(--mono); color: #E4ECE9; letter-spacing: 0.04em; }
.ptile .cc { position: absolute; z-index: 1; inset-inline-start: 12px; top: 12px; padding: 3px 6px; border: 1.5px solid #FBF6EC; border-radius: 6px; color: #FBF6EC;
  background: rgb(7 19 23 / 0.62); font: 800 11px/1 var(--mono); letter-spacing: 0.1em; transform: rotate(-4deg); }
.ptile .cc:empty { display: none; }
/* Under Reduce Motion: a plain grid that scrolls. */
.plane.still { -webkit-mask-image: none; mask-image: none; }
.plane.still .plane-view { overflow: auto; touch-action: auto; cursor: auto; }
.plane.still .plane-layer { position: static; display: grid; grid-template-columns: repeat(auto-fill, 180px); gap: 14px; padding: 4px 16px; transform: none !important; will-change: auto; }
.plane.still .ptile { position: relative; --tw: 180px; --th: 220px; transform: none !important; }
.plane-list { margin: 20px 0 0; }
.plane-list summary { cursor: pointer; font-weight: 700; color: var(--teal-text); }
.plane-list ul { list-style: none; margin: 14px 0 0; padding: 0; columns: 3 260px; column-gap: 32px; }
.plane-list li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.plane-list a { display: block; color: var(--ink); text-decoration: none; }
.plane-list a:hover b { text-decoration: underline; }
.plane-list b { font-weight: 650; }
.plane-list .pl-meta { display: block; font-size: 13.5px; color: var(--muted); }

/* What Perager keeps: on the canvas, no box. */
.keeps { max-width: 820px; margin: 80px 0 0; }
.keeps h3 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 20px; }
.keeps ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; }
.keeps li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
.keeps .i { flex: none; width: 24px; height: 24px; margin-top: 2px; color: var(--teal-text); }

/* MARK: The trip's route draws itself; its days' stops pop in */

.route-fig { margin: 0 0 26px; max-width: 440px; }
.route { display: block; width: 100%; height: auto; overflow: visible; }
.route .leg { stroke: var(--ochre); stroke-width: 3; stroke-linecap: round; transform-box: fill-box; transform-origin: left center; }
.route .stop circle { fill: var(--teal-text); stroke: var(--sky-2); stroke-width: 2.5; }
.route .stop text { fill: #FFFFFF; font: 800 11px/1 var(--font); text-anchor: middle; }
:root[data-theme="dark"] .route .stop text { fill: #0C1D22; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .route .stop text { fill: #0C1D22; } }
.route .stop { transform-box: fill-box; transform-origin: center; }
.route .place { fill: var(--ink); font: 700 14px/1 var(--serif); }
.route-fig figcaption b { display: block; font: 700 18px/1.2 var(--serif); }
.route-fig figcaption span { font-size: 14px; color: var(--muted); }
.legs g:nth-child(1) .leg, .stops > g:nth-child(2) .stop { --i: 0; } .legs g:nth-child(2) .leg, .stops > g:nth-child(3) .stop { --i: 1; }
.legs g:nth-child(3) .leg, .stops > g:nth-child(4) .stop { --i: 2; } .legs g:nth-child(4) .leg, .stops > g:nth-child(5) .stop { --i: 3; }
.legs g:nth-child(5) .leg, .stops > g:nth-child(6) .stop { --i: 4; } .legs g:nth-child(6) .leg, .stops > g:nth-child(7) .stop { --i: 5; }
.legs g:nth-child(7) .leg, .stops > g:nth-child(8) .stop { --i: 6; } .legs g:nth-child(8) .leg, .stops > g:nth-child(9) .stop { --i: 7; }
.legs g:nth-child(9) .leg, .stops > g:nth-child(10) .stop { --i: 8; } .legs g:nth-child(10) .leg, .stops > g:nth-child(11) .stop { --i: 9; }
.legs g:nth-child(11) .leg, .stops > g:nth-child(12) .stop { --i: 10; } .legs g:nth-child(12) .leg, .stops > g:nth-child(13) .stop { --i: 11; }
.legs g:nth-child(13) .leg, .stops > g:nth-child(14) .stop { --i: 12; } .stops > g:nth-child(1) .stop { --i: -1; }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes pop { from { opacity: 0; transform: scale(0.2); } 70% { transform: scale(1.25); } }
@supports (animation-timeline: view()) {
  .route .leg, .route .stop { animation: grow linear both; animation-timeline: view(); animation-range: cover calc(12% + var(--i) * 3%) cover calc(15% + var(--i) * 3%); }
  .route .stop { animation-name: pop; animation-range: cover calc(14% + var(--i) * 3%) cover calc(17% + var(--i) * 3%); }
}
.motion-io .route .leg { transform: scaleX(0); transition: transform 0.35s linear calc(var(--i) * 0.22s); }
.motion-io .route .stop { opacity: 0; transform: scale(0.2); transition: opacity 0.3s calc(0.2s + var(--i) * 0.22s), transform 0.4s var(--ease) calc(0.2s + var(--i) * 0.22s); }
.motion-io .route.in .leg { transform: none; }
.motion-io .route.in .stop { opacity: 1; transform: none; }

/* MARK: A done leg's stub tears off to its Completed stamp as the ticket passes */

.ticket .t-stub { position: relative; }
.t-torn { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--card);
  border-inline-start: 2px dotted var(--card-line); font-size: 12.5px; }
.t-torn .i { width: 20px; height: 20px; color: var(--teal-text); }
.t-torn u { text-decoration: none; font-weight: 700; color: var(--teal-text); }
@supports (animation-timeline: view()) {
  .tear .t-torn { display: flex; animation: tear linear both; animation-timeline: view(); animation-range: cover 30% cover 48%; }
  .tear .stamp { animation: stamp linear both; animation-timeline: view(); animation-range: cover 42% cover 54%; }
}
.motion-io .tear .t-torn { display: flex; transition: transform 0.7s var(--ease), opacity 0.7s; }
.motion-io .tear.torn .t-torn { transform: translate3d(30px, 52px, 0) rotate(18deg); opacity: 0; }
.motion-io .tear .stamp { transform: rotate(-8deg) scale(1.8); transition: transform 0.4s cubic-bezier(0.3, 1.5, 0.5, 1) 0.45s; }
.motion-io .tear.torn .stamp { transform: rotate(-8deg); }
@keyframes tear { 60% { opacity: 1; } to { transform: translate3d(30px, 52px, 0) rotate(18deg); opacity: 0; } }
@keyframes stamp { from { transform: rotate(-8deg) scale(1.8); } to { transform: rotate(-8deg) scale(1); } }

/* MARK: Passport stamps thud in, with a little ink spreading under each */

.pstamps { display: flex; flex-wrap: wrap; gap: 14px 18px; margin: 26px 0 10px; }
.pstamp { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border: 2.5px solid currentColor; border-radius: 50%; text-align: center; line-height: 1.05; }
.pstamp b { font: 800 22px/1 var(--mono); letter-spacing: 0.06em; }
.pstamp small { display: block; margin-top: -18px; font: 700 8.5px/1 var(--mono); letter-spacing: 0.08em; }
.pstamp::after { content: ""; position: absolute; inset: -5px; border-radius: inherit; border: 2px solid currentColor; opacity: 0; }
.pstamp.s1 { color: var(--ochre-text); transform: rotate(-9deg); } .pstamp.s2 { color: var(--teal-text); transform: rotate(6deg); border-radius: 14px; }
.pstamp.s3 { color: var(--coral-text); transform: rotate(-3deg); } .pstamp.s4 { color: var(--teal-text); transform: rotate(11deg); border-radius: 14px; }
.motion-io .pstamps .pstamp, .js-motion .pstamps .pstamp { opacity: 0; }
.pstamps.thud .pstamp { animation: thud 0.42s cubic-bezier(0.3, 1.6, 0.5, 1) both; }
.pstamps.thud .pstamp::after { animation: ink 0.8s ease-out both; }
.pstamps.thud .s2, .pstamps.thud .s2::after { animation-delay: 0.22s; } .pstamps.thud .s3, .pstamps.thud .s3::after { animation-delay: 0.44s; }
.pstamps.thud .s4, .pstamps.thud .s4::after { animation-delay: 0.66s; }
@keyframes thud { from { opacity: 0; scale: 1.7; } 70% { opacity: 1; scale: 0.94; } to { opacity: 1; scale: 1; } }
@keyframes ink { 0% { opacity: 0.55; scale: 0.92; } to { opacity: 0; scale: 1.32; } }

/* MARK: The other pages on the same canvas (pricing, partners, privacy in plain words, your data, a trip's page) */

.page-r3:not(.page-home) .band, .page-r3 .pv-hero { background: none; }
.page-r3 .short li, .page-r3 .split > div, .page-r3 .honest li, .page-r3 .pillars li, .page-r3 .who, .page-r3 .rules li, .page-r3 .langs-grid li,
.page-r3 .wh li, .page-r3 .logo-tile, .page-r3 .contact, .page-r3 .contact-card, .page-r3 .disc-demo, .page-r3 .factsheet, .page-r3 .p-index a,
.page-r3 .controls-list li, .page-r3 .data-promises .card, .page-r3 .steps .card, .page-r3 .plan.card, .page-r3 .offer, .page-r3 .faq .card,
.page-r3 .sealed-list li, .page-r3 .table-wrap {
  background: none; box-shadow: none; border-radius: 0; }
.page-r3 .short li, .page-r3 .honest li, .page-r3 .pillars li, .page-r3 .rules li, .page-r3 .wh li, .page-r3 .langs-grid li, .page-r3 .controls-list li,
.page-r3 .data-promises .card { padding-inline: 0; }
.page-r3 .split > div { padding: 0; }
.page-r3 .split { gap: 30px; }
.page-r3 .split > div + div { border-inline-start: 1px solid var(--rule); padding-inline-start: 30px; }
.page-r3 .factsheet { padding: 0; }
.page-r3 .factsheet div { border-color: var(--rule); }
.page-r3 .topic { border-color: var(--rule); }
.page-r3 .contact, .page-r3 .contact-card, .page-r3 .disc-demo { padding: 26px 0 0; border-top: 1px solid var(--rule); }
.page-r3 .table-wrap { overflow-x: auto; }
.page-r3 .where th, .page-r3 .ptable th { background: none; border-bottom: 1.5px solid var(--rule); }
.page-r3 .where td, .page-r3 .ptable td { border-color: var(--rule); }
.page-r3 .wh li { padding-inline-start: 46px; }
.page-r3 .wh li::before { inset-inline-start: 0; }
.page-r3 .sealed-list li { padding: 4px 0; margin-inline-end: 12px; }
.page-r3 .p-index a { padding: 6px 0; margin-inline-end: 14px; color: var(--teal-text); font-weight: 650; }
.page-r3 .langs-grid { gap: 14px 22px; }
.page-r3 .langs-grid li { border-bottom: 1px solid var(--rule); padding-block: 6px; }
.page-r3 .logo-tile { padding: 0; text-align: start; }
/* Pricing: columns on the canvas; the Premium column keeps its ochre rule; the offers and questions are lines. */
.page-r3 .plan { padding: 6px clamp(16px, 3vw, 36px); }
.page-r3 .plan + .plan { border-inline-start: 1px solid var(--rule); }
.page-r3 .plan.featured { background: none; box-shadow: none; }
.page-r3 .plan.featured h3, .page-r3 .plan.featured .price { color: var(--ochre-text); }
.page-r3 .plan .tag { position: static; display: inline-block; margin-bottom: 10px; }
.page-r3 .plan ul { border-color: var(--rule); }
.page-r3 .offer { padding: 18px 4px; border-top: 2px solid var(--rule); }
.page-r3 .offer.featured { background: none; box-shadow: none; border-top-color: var(--ochre); }
.page-r3 .steps li { padding: 0; }
.page-r3 .faq { display: grid; gap: 0; }
.page-r3 .faq .card { padding: 4px 0; border-bottom: 1px solid var(--rule); }
.page-r3 .section { padding: clamp(56px, 10vh, 110px) 0; }
/* /your-data keeps its two working parts plain to see: the account page link and the in-app paths, each with its icon. */
.page-r3 .controls-list { gap: 22px 36px; }
.page-r3 .data-promises { gap: 34px 40px; }
.page-r3 .data-promises .ic { width: 42px; height: 42px; border-radius: 12px; }

/* A Made by Perager trip's page */
.page-trip .trip-page { padding: 26px 24px 60px; max-width: 1000px; }
@media (max-width: 820px) { .page-trip .trip-page { padding-inline: 16px; } }
.trip-hero { display: grid; gap: 22px; }
.trip-hero .trip-cover { overflow: hidden; border-radius: 22px; aspect-ratio: 16 / 7; background: #24434D; }
.trip-hero .trip-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.trip-hero h1 { font-size: clamp(32px, 4.4vw, 54px); margin: 6px 0 12px; }
.trip-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 650; color: var(--muted); }
.credit a { color: var(--muted); }
.trip-save { margin: 46px 0; padding: 30px 0; border-block: 1px solid var(--rule); }
.trip-save h2 { font-size: clamp(24px, 2.6vw, 32px); }
.save-qr { display: flex; gap: 22px; align-items: center; max-width: 620px; }
.qr { flex: none; width: 148px; height: 148px; border-radius: 12px; overflow: hidden; }
.qr svg { display: block; width: 100%; height: 100%; }
.error-text { color: var(--danger, #B5391F); }
.trip-page .web-day { margin: 34px 0; }
.trip-page .web-day h2 { display: block; font-size: clamp(22px, 2.4vw, 28px); padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
.trip-page .web-day h2 [data-field="label"] { display: block; margin-bottom: 4px; color: var(--ochre-text); font-size: 0.7em; font-family: var(--font); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
:is(:lang(ja), :lang(ko), :lang(zh), :lang(th), :lang(ar)) .trip-page .web-day h2 [data-field="label"] { letter-spacing: 0; text-transform: none; }
.trip-page .web-stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.trip-page .web-stops strong { font-size: 17px; }
.trip-page .web-category { margin-inline-start: 10px; }
.stop-note { margin: 4px 0 0; color: var(--muted); max-width: 46em; }
/* Its stops as a trip link's (05's b47-shared-trip-open §6): the 48 px square at the row's start (.tl-thumb, below), the name,
   kind and Perager's note beside it; the number's ring in the page's own colour, since these days aren't cards. */
.trip-page:not(.trip-link-page) .web-stops li { display: flex; align-items: flex-start; gap: 14px; }
.trip-page:not(.trip-link-page) .tl-stop { flex: 1; }
.trip-page:not(.trip-link-page) .tl-stop .web-category { margin: 0; }
.trip-page:not(.trip-link-page) .tl-stop .stop-note { flex-basis: 100%; }
.trip-page:not(.trip-link-page) .tl-thumb .tl-n { box-shadow: 0 0 0 2px var(--sky-0); }
.trip-page:not(.trip-link-page) .tl-photos { margin: 10px 0 0; }
.trip-page .trip-map-card { margin: 30px 0; background: none; box-shadow: none; }
.trip-page .trip-map { border-radius: 22px; overflow: hidden; }
.legs-list { padding-inline-start: 20px; display: grid; gap: 8px; }

/* A shared trip link (/t/<token>) and a chat invite link (/join/<token>, src/join-page.js), in the trip page's look: the facts
   row with its icons, one line on who can see or join, and the invite's card over the chart art (light and dark). */
.trip-hero .trip-facts > span, .join-facts > span { display: inline-flex; align-items: center; gap: 6px; }
.trip-facts .i { width: 18px; height: 18px; vertical-align: -3px; color: var(--teal-text); }
.trip-hero h1, .trip-hero .lead { overflow-wrap: anywhere; }
.trip-link-safety, .join-safety { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); }
.trip-link-safety .i, .join-safety .i { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--teal-text); }
.page-join .join-page { padding: 26px 16px 64px; max-width: 560px; }
.join-card { overflow: hidden; padding-bottom: 14px; border-radius: 24px; text-align: center; background: var(--card); box-shadow: var(--shadow), inset 0 0 0 1px var(--card-line); }
.join-art { aspect-ratio: 16 / 7; background: center / cover no-repeat image-set(url(/art/looks/web/background-chart-light-1200x675.webp) 1x, url(/art/looks/web/background-chart-light-2400x1350.webp) 2x); }
:root[data-theme="dark"] .join-art { background-image: image-set(url(/art/looks/web/background-chart-dark-1200x675.webp) 1x, url(/art/looks/web/background-chart-dark-2400x1350.webp) 2x); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .join-art { background-image: image-set(url(/art/looks/web/background-chart-dark-1200x675.webp) 1x, url(/art/looks/web/background-chart-dark-2400x1350.webp) 2x); } }
.join-face { display: flex; justify-content: center; margin-top: -50px; }
.join-avatar.avatar { width: 100px; height: 100px; border: 5px solid var(--card); box-shadow: var(--shadow); }
.join-avatar .i { width: 42px; height: 42px; stroke-width: 1.6; }
.join-text { padding: 14px 22px 0; }
.join-text .kicker { margin-bottom: 8px; }
.join-text h1 { margin: 0 0 8px; font-size: clamp(28px, 7vw, 40px); overflow-wrap: anywhere; }
.join-text .lead { margin: 0 auto 10px; overflow-wrap: anywhere; }
.join-facts { justify-content: center; margin: 0 0 4px; }
.join-facts b { color: var(--ink); }
.join-card .open-app { margin: 20px 22px 16px; }
.join-card .open-app .btn { width: 100%; max-width: 340px; min-width: 0; }
.join-how, .join-safety, .join-ends { margin: 0 22px 10px; }
.join-safety { justify-content: center; text-align: start; }

/* MARK: Phones and narrow windows */

@media (max-width: 1020px) {
  .act-grid { grid-template-columns: minmax(0, 1fr); }
  .vis-col { position: static; }
  .stage { height: 460px; margin: 0 -16px; }
  .orb-lg { --size: 300px; }
  .orbit-btn { top: 70px; }
  .trips-head { grid-template-columns: minmax(0, 1fr); }
  .plane-meta { align-items: flex-start; text-align: start; }
}
@media (max-width: 1020px) and (min-width: 0px) {
  @supports (animation-timeline: view()) {
    /* One column: each visual rises on its own as it comes into view, and stays while it's read. */
    .vis-in { animation-timeline: view(); animation-range: entry 0% entry 55%; }
    .vis-out { animation: none; }
  }
}
@media (max-width: 820px) {
  .act { padding: 64px 0; }
  .stage { height: 400px; }
  .orb-lg { --size: 270px; }
  .plane { height: min(58svh, 520px); }
  .ptile { --tw: 150px; --th: 190px; border-radius: 16px; }
  .ptile .tt b { font-size: 14px; }
  .plans-r2 .plan-r2 + .plan-r2 { border-inline-start: 0; border-top: 1px solid var(--rule); padding-top: 26px; margin-top: 26px; }
  .plan-r2 { padding: 0; }
  .page-r3 .plan + .plan { border-inline-start: 0; border-top: 1px solid var(--rule); padding-top: 26px; }
  .page-r3 .split > div + div { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--rule); padding-top: 18px; }
  .orb-sm { --size: 50px; }
  .companion-wrap { inset-inline-end: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); }
  .route-fig { margin-inline: auto; }
  .spun { bottom: calc(86px + env(safe-area-inset-bottom)); }
  .keeps { margin-top: 56px; }
  .keeps li { font-size: 16px; }
  .save-qr { flex-direction: column; align-items: flex-start; }
  .pstamp { width: 70px; height: 70px; }
  .pstamp b { font-size: 18px; }
  .pstamp small { margin-top: -14px; font-size: 7.5px; }
}
:is(:lang(ar), :lang(th), :lang(ja), :lang(ko), :lang(zh)) :is(.plane-meta, .ptile .tm) { font-family: var(--font); letter-spacing: 0; }

/* MARK: Reduce Motion: calm, still and complete */

@media (prefers-reduced-motion: reduce) {
  .page-r3 .rise, .vis-in, .vis-out, .stage, .sky-glow, .route .leg, .route .stop, .tear .stamp, .pstamp, .pstamp::after, .companion-wrap, .companion-in {
    animation: none !important; transition: none !important; }
  .page-r3 .rise, .vis-in, .vis-out, .route .stop, .tear .stamp, .pstamps .pstamp { opacity: 1 !important; }
  .page-r3 .rise, .vis-in, .vis-out, .route .leg, .route .stop { transform: none !important; }
  .t-torn { display: none !important; }
  .orb .earth, .orb .pin { transition: none !important; }
  .companion-in { opacity: 1; visibility: visible; }
  .companion-wrap:not(.on) .companion-in { opacity: 0; visibility: hidden; }
  .spun.show { animation: none; }
}

/* MARK: A shared trip link (/t/<token>), 13 November (owner: "make it look as good as in the trips page itself"; 05's note
   coord/ui-review/briefs/web-shared-trip-NOTE.md). The cover full width with the title over it, Open in Perager large under
   it and pinned to the bottom once it scrolls away, the travel-warning line, our own map (js/trip-map.js) with the day chips
   as its key, then the days as cards. Day colours a shade deeper in light mode, so white numbers on them keep 4.5:1. */
:root:not([data-theme="dark"]) .page-trip { --d1: #15797A; --d2: #C04A2C; --d3: #8E640C; --d4: #3E63B8; --d5: #8A4FB5; --d6: #23764A; --on-day: #FFFFFF; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .page-trip { --d1: #4CC9C6; --d2: #FF8A6E; --d3: #FFC94D; --d4: #8FA8FF; --d5: #C99BEF; --d6: #6FD39A; --on-day: #0E2730; } }
:root[data-theme="dark"] .page-trip { --d1: #4CC9C6; --d2: #FF8A6E; --d3: #FFC94D; --d4: #8FA8FF; --d5: #C99BEF; --d6: #6FD39A; --on-day: #0E2730; }
.page-trip-link .trip-link-page { max-width: 880px; padding-top: 22px; }
.tl-hero { position: relative; display: grid; grid-template-areas: "art"; grid-template-columns: minmax(0, 1fr); margin: 0 0 18px; }
.tl-cover, .tl-hero-text { grid-area: art; }
.tl-cover { position: relative; overflow: hidden; min-height: clamp(300px, 46vw, 440px); border-radius: 24px; background: #17343F; }
.tl-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The shade under the words, as the app's cover. */
.tl-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(8 24 30 / 0.86) 0%, rgb(8 24 30 / 0.55) 38%, rgb(8 24 30 / 0) 72%); }
/* No photo: a band in the Look's colours, the chart art under the night's teal. */
.tl-cover.tl-band { background: radial-gradient(520px circle at 85% 10%, rgb(242 179 90 / 0.30), transparent 70%),
  center / cover no-repeat image-set(url(/art/looks/web/background-chart-dark-1200x675.webp) 1x, url(/art/looks/web/background-chart-dark-2400x1350.webp) 2x), #17343F; }
.tl-cover.tl-band::after { background: linear-gradient(0deg, rgb(8 24 30 / 0.78), rgb(8 24 30 / 0.2) 70%); }
.tl-hero-text { position: relative; z-index: 1; align-self: end; padding: 24px 24px 22px; color: #FFFFFF; }
.tl-hero-text .kicker { margin-bottom: 8px; color: #F2C887; }
.tl-hero-text h1 { margin: 0 0 6px; color: #FFFFFF; font-size: clamp(32px, 7.4vw, 54px); line-height: 1.06; overflow-wrap: anywhere; text-shadow: 0 1px 12px rgb(0 0 0 / 0.25); }
.tl-place { margin: 0 0 10px; font-size: 18px; font-weight: 650; color: rgb(255 255 255 / 0.94); overflow-wrap: anywhere; }
.tl-hero-text .trip-facts { margin: 0; color: rgb(255 255 255 / 0.92); font-size: 15px; }
.tl-hero-text .trip-facts .i { color: #F2C887; }
.tl-hero-text .web-tags { margin: 8px 0 0; color: rgb(255 255 255 / 0.88); font-size: 14px; }
.tl-hero-text .web-tags:empty { display: none; }
.tl-hero-text .based-on { margin: 6px 0 0; color: rgb(255 255 255 / 0.88); }
.tl-hero-text .based-on a { color: #FFFFFF; }
/* The photo's credit on the cover: one small line in its bottom-right corner over the shade; only the author's name shortens. */
.tl-credit { grid-area: art; z-index: 2; align-self: end; justify-self: end; display: flex; min-width: 0; max-width: calc(100% - 28px); margin: 0 14px 8px;
  color: rgb(255 255 255 / 0.84); font-size: 11.5px; line-height: 1.3; white-space: nowrap; }
.tl-credit[hidden] { display: none; }
.tl-credit > a, .tl-credit > span { display: inline-flex; min-width: 0; margin-inline-start: 0.3em; color: inherit; text-decoration-color: rgb(255 255 255 / 0.45); }
.tl-credit .credit-author { flex: 0 1 auto; min-width: 2.5em; overflow: hidden; text-overflow: ellipsis; }
.tl-credit .credit-rest { flex: none; white-space: pre; }
.tl-hero:has(.tl-credit:not([hidden])) .tl-hero-text { padding-bottom: 34px; }
/* Open in Perager: the page's one big action, filled even while Perager is in private testing. */
.trip-link-page .open-app { flex-direction: column; align-items: center; gap: 10px; margin: 0 0 22px; }
.trip-link-page .open-app .btn[data-open-app], .trip-link-page .open-app .btn[data-get-app] { width: 100%; max-width: 440px; min-height: 56px; gap: 10px;
  padding: 0 22px; border-radius: 16px; font-size: 18px; font-weight: 750; color: #FFFFFF; background: var(--teal-strong); box-shadow: 0 10px 24px rgb(31 95 102 / 0.30); }
.tl-app-icon { flex: none; width: 28px; height: 28px; border-radius: 7px; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.35); }
.tl-open-line { margin: 0; color: var(--muted); font-size: 14.5px; text-align: center; }
.open-app:not(:has([data-open-app])) .tl-open-line { display: none; }
/* The travel-warning line, as the app's: a footnote in the helper colour on the inset ground, the info glyph in teal text; it
   opens in place. No red, no amber, no triangle. */
.tl-advisory { margin: 0 0 22px; border-radius: 14px; color: var(--muted); background: var(--card-inset); box-shadow: inset 0 0 0 1px var(--card-line); font-size: 15px; line-height: 1.45; }
.tl-advisory[hidden] { display: none; }
.tl-advisory summary { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; cursor: pointer; list-style: none; }
.tl-advisory summary::-webkit-details-marker { display: none; }
.tl-advisory summary::after { content: ""; flex: none; width: 8px; height: 8px; margin: 7px 2px 0 auto; border: solid var(--muted); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.tl-advisory[open] summary::after { transform: rotate(225deg); margin-top: 10px; }
.tl-advisory .i { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--teal-text); }
.tl-advisory-more { display: grid; gap: 6px; padding: 0 16px 14px 44px; }
.tl-advisory-more p { margin: 0; }
.tl-advisory-more p[hidden] { display: none; }
.tl-advisory-by { font-size: 14px; }
.tl-advisory-links a { color: var(--teal-text); font-weight: 600; }
.tl-advisory-credits { font-size: 12px; color: var(--faint); }
[dir="rtl"] .tl-advisory-more { padding: 0 44px 14px 16px; }
/* On a computer: the code to scan with an iPhone, in the button's place. */
.tl-qr { display: flex; align-items: center; gap: 18px; max-width: 520px; margin: 0 0 22px; padding: 14px 18px 14px 14px; border-radius: 18px;
  background: var(--card); box-shadow: var(--shadow), inset 0 0 0 1px var(--card-line); }
.tl-qr[hidden] { display: none; }
.tl-qr .qr { flex: none; width: 116px; height: 116px; border-radius: 10px; overflow: hidden; }
.tl-qr .qr svg { display: block; width: 100%; height: 100%; }
.tl-qr p { margin: 0; color: var(--ink); font-size: 17px; font-weight: 650; line-height: 1.35; }
/* The map: a place kept for it from the first paint, so nothing below moves when it draws. */
.tl-map { margin: 0 0 8px; }
.tl-map[hidden] { display: none; }
.tl-map .trip-map { height: clamp(300px, 88vw, 460px); border-radius: 22px; overflow: hidden; background: var(--card-inset); box-shadow: inset 0 0 0 1px var(--card-line); }
.trip-map-canvas { display: block; width: 100%; height: 100%; }
.tl-map .trip-map-days { flex-wrap: wrap; overflow: visible; padding: 12px 0 4px; }
.tl-map .trip-map-days button { font-weight: 650; color: var(--ink); background: var(--card); }
.tl-map .trip-map-days button[aria-pressed="true"] { color: #FFFFFF; background: var(--teal-strong); }
.tl-map .trip-map-days i { width: 11px; height: 11px; box-shadow: 0 0 0 2px var(--card); }
.tl-map .trip-map-note { padding: 6px 2px 0; }
.tl-live { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 10px 0 0; }
.tl-live[hidden] { display: none; }
.tl-live .btn { min-height: 40px; padding: 0 16px; font-size: 15px; }
.tl-live .trip-map-privacy { flex: 1 1 260px; margin: 0; padding: 0; }
/* The days, each a card with its colour and the pins' numbers. */
.tl-days { margin-top: 26px; }
.trip-link-page .tl-day { margin: 0 0 16px; padding: 16px 18px 8px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow), inset 0 0 0 1px var(--card-line); }
.trip-link-page .tl-day h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 4px; padding: 0 0 10px; font-size: 22px; border-bottom: 1px solid var(--card-line); }
.trip-link-page .tl-day h2 [data-field="label"] { display: inline; margin: 0; color: var(--ink); font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; text-transform: none; }
.trip-link-page .tl-day h2 [data-field="label"]::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-inline-end: 9px; border-radius: 50%; vertical-align: 0.08em; background: var(--day, var(--ochre)); }
.trip-link-page .tl-day h2 time { font-family: var(--font); font-size: 15px; font-weight: 600; }
.trip-link-page .tl-day .web-stops { gap: 0; }
.trip-link-page .tl-day .web-stops li { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-top: 1px solid var(--card-line); }
.trip-link-page .tl-day .web-stops li:first-child { border-top: 0; }
.tl-n { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: -1px; border-radius: 50%; color: var(--on-day, #FFFFFF); background: var(--day, var(--teal-strong)); font: 800 13px/1 var(--font); }
.tl-n[hidden] { display: none; }
/* The stop's square (05's §6): its photo, or its kind's tile in the Look's paper, 48 px so every row is one height; the
   number on its corner in the day's colour. The photo fades in over the tile once it's there (nothing moves). */
.trip-link-page .tl-day .web-stops li:has(.tl-thumb) { align-items: center; min-height: 48px; }
.tl-thumb { position: relative; flex: none; display: grid; place-items: center; width: 48px; height: 48px; margin: 2px 0; border-radius: 12px;
  color: var(--muted); background: var(--card-inset); box-shadow: inset 0 0 0 1px var(--card-line); }
.tl-thumb .tl-kind { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tl-thumb img { position: absolute; inset: 0; width: 48px; height: 48px; border-radius: 12px; object-fit: cover; opacity: 0; transition: opacity 0.2s ease; }
.tl-thumb img.on { opacity: 1; }
.tl-thumb .tl-n { position: absolute; top: -6px; inset-inline-start: -6px; width: 22px; height: 22px; margin: 0; font-size: 11.5px; box-shadow: 0 0 0 2px var(--card); }
.tl-thumb[role="button"] { cursor: pointer; }
.tl-thumb:focus-visible { outline: 2px solid var(--teal-text); outline-offset: 2px; }
.trip-page .tl-start .tl-stop { flex-direction: column; align-items: flex-start; gap: 0; }
.trip-page .tl-start .tl-stop strong { font-size: 15.5px; font-weight: 600; color: var(--muted); }
.trip-page .tl-start .web-category { color: var(--muted); }
.tl-glyphs { position: absolute; width: 0; height: 0; overflow: hidden; }
.tl-photo-credit { flex-basis: 100%; margin: 2px 0 0; font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.tl-photo-credit a { color: inherit; }
.tl-photos { margin: 2px 0 10px; font-size: 12.5px; }
.tl-photos[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .tl-thumb img { transition: none; } }
.tl-stop { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; }
.trip-link-page .tl-stop strong { font-size: 17px; overflow-wrap: anywhere; }
.trip-link-page .tl-stop .web-category { margin: 0; }
.tl-foot { display: grid; gap: 10px; margin-top: 30px; }
.tl-foot p { margin: 0; }
.tl-get { margin-top: 6px !important; }
/* The bar pinned to the bottom: in once the big button has gone above the screen; the page's end keeps room for it. */
.tl-pinned { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: flex; justify-content: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--page-bottom) 90%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 -1px 0 var(--card-line); transform: translateY(110%); visibility: hidden; transition: transform 0.25s var(--ease, ease), visibility 0s 0.25s; }
.tl-pinned.on { transform: none; visibility: visible; transition: transform 0.25s var(--ease, ease); }
.tl-pinned[hidden] { display: none; }
.tl-pinned .btn { width: 100%; max-width: 440px; min-height: 48px; gap: 10px; border-radius: 14px; font-size: 16.5px; font-weight: 750; color: #FFFFFF; background: var(--teal-strong); }
.tl-pinned .tl-app-icon { width: 24px; height: 24px; border-radius: 6px; }
body.has-pinned { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
@media (prefers-reduced-motion: reduce) { .tl-pinned, .tl-pinned.on { transition: none; } }
[dir="rtl"] .tl-credit { text-align: end; }
@media (max-width: 820px) {
  .page-trip-link .trip-link-page { padding-top: 0; }
  /* Full width on a phone: out to the screen's edges, square at the top under the header. */
  .tl-hero { margin-inline: -16px; }
  .tl-cover { border-radius: 0 0 24px 24px; min-height: clamp(320px, 92vw, 420px); }
  .tl-hero-text { padding: 20px 18px 20px; }
}
