/* City guides (tools/build-guides.mjs): the landing, country, city and article
   pages. Built on the design system's tokens (css/ds.css, loaded after this):
   cream and Mocha Green, the pink line, one 12px radius, the site's font.
   A reading page first: a 66-character column, 18px text on a 1.7 line,
   photographs that lead each plan, and motion only on hover, a press and
   the contents list following the section being read. */

.guides { --g-measure: 66ch; --g-wide: 1040px; }
.guides .g-main { padding-top: var(--s5); padding-bottom: var(--s8); }
.guides .g-wrap { width: 100%; max-width: calc(var(--g-wide) + var(--gutter) * 2); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); display: grid; gap: var(--s6); min-width: 0; }
.guides .g-wrap > * { min-width: 0; }
/* A word longer than its line (a place name, a pasted address) breaks instead of widening the page. */
.guides .g-main { overflow-wrap: anywhere; }
.guides .g-main :is(h1, h2, h3, .g-card-title) { hyphens: auto; }
.g-head > *, .g-body > *, .g-section > *, .g-card-body > *, .g-facts div > *, .g-glance div > * { min-width: 0; }
.guides h1, .guides h2, .guides h3 { color: var(--brand); text-wrap: balance; margin: 0; }
.guides h1, .guides .g-h1 { font-size: var(--t-64); font-weight: 650; letter-spacing: -0.035em; line-height: 1.02; max-width: 18ch; }
.guides h2, .guides .g-h2 { font-size: var(--t-32); font-weight: 650; letter-spacing: -0.022em; line-height: 1.15; }
.guides h3 { font-size: var(--t-20); font-weight: 650; letter-spacing: -0.012em; line-height: 1.25; }
.guides p { margin: 0; }
.guides .g-main a:not(.btn):not(.store-btn), .guides.g-home a:not(.btn) { color: inherit; }
.guides ::selection { background: color-mix(in srgb, var(--accent) 32%, transparent); color: var(--ink); }

/* The header block, the trail above it, and the trail's last crumb */
.g-wrap > .g-crumbs + .g-head { margin-top: calc(-1 * var(--s4)); }
.g-wrap > .g-head + .g-hero { margin-top: calc(-1 * var(--s2)); }
.g-byline > span { white-space: nowrap; }
.g-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 8px; font-size: var(--t-14); color: var(--ink-3); }
.g-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.g-crumbs a { text-decoration: none; padding-block: 10px; display: inline-block; }
.g-crumbs [aria-current] { color: var(--ink-2); display: inline-block; padding-block: 10px; }
.g-head { display: grid; gap: var(--s2); max-width: 48rem; }
.g-lede { font-size: var(--t-20); line-height: 1.5; color: var(--ink-2); max-width: 40rem; text-wrap: pretty; }
.g-byline { font-size: var(--t-14); line-height: 1.6; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.g-byline a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; display: inline-block; padding-block: 4px; }
.g-note { font-size: var(--t-14); color: var(--ink-3); max-width: 40rem; }

/* Photographs: one radius, a credit under each */
.g-hero { margin: 0; display: grid; gap: 8px; }
.g-hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); background: var(--bg-2); }
.g-credit { font-size: var(--t-12); line-height: 1.4; color: var(--ink-3); }
.g-credit a { text-underline-offset: 3px; text-decoration-color: var(--line-2); }

/* Search */
.g-latest { display: grid; gap: var(--s3); }
.g-start { display: grid; gap: var(--s3); justify-items: center; text-align: center; }
.g-search { width: 100%; max-width: 46rem; min-width: 0; margin: 0; }
.g-head-center { max-width: none; justify-items: center; text-align: center; }
.g-head-center .g-lede { margin-inline: auto; }
.guides .g-head-center .g-h1 { max-width: none; }
.g-cards[data-collapsed] > [data-more] { display: none; }
.g-more { display: flex; justify-content: center; }
.g-search label { display: block; }
.g-search input { width: 100%; height: 52px; padding: 0 18px; font: inherit; font-size: var(--t-16); color: var(--ink); background: var(--surface); border: 1px solid var(--field-line); border-radius: var(--r); transition: border-color var(--d-fast) var(--ease); }
.g-search input::placeholder { color: var(--ink-3); }
.g-search input:focus, .guides .g-search input:focus-visible { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); outline: none; }
.g-empty { color: var(--ink-2); padding: var(--s2) 0; }

/* Article cards: the photo, then the title, a line on what it holds, then where and how long */
.guides section > h2 + .g-cards, .guides section > h2 + .g-tiles { margin-top: var(--s3); }
.guides h3.g-h2, .guides h2.g-h1 { margin: 0; color: var(--brand); text-wrap: balance; }
/* The home page: titles in Mocha Green (sage in dark), the header picture close under the bar, and
   the bar showing the logo alone, since the picture carries the wordmark. */
.ds .hm :is(h1, h2) { color: var(--brand); }
.g-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: var(--s5) var(--s3); }
.g-card { min-width: 0; }
.g-card[hidden] { display: none; }
.g-card a { display: grid; gap: var(--s2); align-content: start; text-decoration: none; border-radius: var(--r); }
.g-card-photo { display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; background: var(--bg-2); }
.g-card-photo picture { display: contents; }
.g-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.g-card-body { display: grid; gap: 8px; }
.g-card-title { font-size: var(--t-20); font-weight: 650; letter-spacing: -0.015em; line-height: 1.25; color: var(--ink); text-wrap: balance; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size 275ms var(--ease); justify-self: start; padding-bottom: 2px; }
.g-card-dek { font-size: var(--t-16); line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.g-card-meta { font-size: var(--t-14); color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* A city with no photo yet: its name set on Mocha Green's soft tint, the pink line under it */
.g-card-plain { display: grid; align-content: end; justify-items: start; gap: 10px; padding: var(--s3); background: var(--brand-soft); }
.g-plain-name { font-size: var(--t-44); font-weight: 650; letter-spacing: -0.035em; line-height: 1; color: var(--brand); }
.g-plain-line { width: 40px; height: 2px; background: var(--accent); }

/* Cities as photo tiles, grouped by country */
.g-dest { display: grid; gap: var(--s3); }
.guides .g-dest > h2 + .g-tiles { margin-top: 0; }
.g-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 168px), 1fr)); gap: var(--s3) var(--s2); }
.g-tiles-big { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.g-tile a { display: grid; gap: 4px; text-decoration: none; }
.g-tile-photo { display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--bg-2); margin-bottom: 6px; }
.g-tile-photo picture { display: contents; }
.g-tile-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.g-tile-photo.g-card-plain { padding: var(--s2); }
.g-tile-name { font-size: var(--t-18); font-weight: 650; letter-spacing: -0.012em; line-height: 1.2; color: var(--ink); justify-self: start; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size 275ms var(--ease); padding-bottom: 2px; }
.g-tile-meta { font-size: var(--t-14); color: var(--ink-3); }

/* The article: a reading column beside its contents list */
.g-article { gap: var(--s6); }
.g-article > .g-hero + .g-cols { margin-top: calc(-1 * var(--s2)); }
.g-cols { display: grid; gap: var(--s4); }
.g-body { display: grid; gap: 1.15em; max-width: var(--g-measure); min-width: 0; font-size: var(--t-18); line-height: 1.7; color: var(--ink); text-wrap: pretty; hanging-punctuation: first; }
.g-body > p:first-child { font-size: var(--t-20); line-height: 1.6; }
.g-section { display: grid; gap: 1.15em; margin-top: var(--s5); scroll-margin-top: 96px; }
.g-section > h2 { margin-bottom: 0.1em; }
.g-section > h2::before { content: ""; display: block; width: 32px; height: 2px; background: var(--accent); margin-bottom: var(--s2); }
.g-facts { margin: 0.2em 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: var(--t-16); }
.g-facts div { background: var(--surface); padding: 14px 16px; display: grid; gap: 4px; align-content: start; }
.g-facts dt { font-size: var(--t-14); font-weight: 600; color: var(--ink-3); }
.g-facts dd { margin: 0; line-height: 1.45; color: var(--ink); }

/* At a glance: every plan and what it costs, linked to its section */
.g-glance { margin-top: var(--s2); padding: var(--s3); background: var(--bg-2); border-radius: var(--r); display: grid; gap: var(--s2); }
.g-glance h2 { font-size: var(--t-20); letter-spacing: -0.012em; }
.g-glance dl { margin: 0; display: grid; font-size: var(--t-16); line-height: 1.45; }
.g-glance div { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 4px var(--s2); padding: 12px 0; border-top: 1px solid var(--line); }
.g-glance div:first-child { border-top: 0; padding-top: 0; }
.g-glance dt a { display: inline-block; padding-block: 4px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.g-glance dd { margin: 0; color: var(--ink-2); }

/* Links inside the reading text */
.g-body a:not(.btn) { text-underline-offset: 3px; text-decoration-thickness: 1px; }

.g-toc { font-size: var(--t-16); min-width: 0; }
.g-toc details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.g-toc summary { font-size: var(--t-14); font-weight: 650; color: var(--ink-2); cursor: pointer; padding-block: 14px; min-height: 48px; display: flex; align-items: center; justify-content: space-between; list-style: none; }
.g-toc summary::-webkit-details-marker { display: none; }
.g-toc summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform var(--d) var(--ease); }
.g-toc details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.g-toc ol { margin: 0 0 12px; padding: 0; list-style: none; display: grid; counter-reset: toc; }
.g-toc li { counter-increment: toc; }
.g-toc a { display: block; padding: 8px 0 8px 14px; text-decoration: none; color: var(--ink-2); line-height: 1.35; border-left: 2px solid transparent; transition: color var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease); }
.g-toc a[aria-current="true"] { color: var(--ink); border-left-color: var(--accent); }
/* With the script running, one pink bar marks the section being read and moves with the app's "magnet" pull. */
.g-toc ol { position: relative; }
.g-toc-magnet a[aria-current="true"] { border-left-color: transparent; }
.g-toc-bar, .g-toc-tongue { position: absolute; left: 0; top: 0; height: 1px; background: var(--accent); transform-origin: 0 0; pointer-events: none; will-change: transform; border-radius: 1px; }
.g-toc-bar { width: 2px; }
.g-toc-tongue { width: 1px; left: 0.5px; }

.g-faq { display: grid; }
.g-faq details { border-bottom: 1px solid var(--line); }
.g-faq details:first-child { border-top: 1px solid var(--line); }
.g-faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 600; min-height: 48px; position: relative; list-style: none; line-height: 1.45; }
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after { content: ""; position: absolute; right: 6px; top: 24px; width: 8px; height: 8px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(45deg); transition: transform var(--d) var(--ease); }
.g-faq details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.g-faq p { padding-bottom: 18px; color: var(--ink-2); }

.g-sources { margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--line); display: grid; gap: var(--s2); font-size: var(--t-16); line-height: 1.55; }
.g-sources h2 { font-size: var(--t-20); }
.g-sources ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 2px; color: var(--ink-3); }
.g-sources a { text-underline-offset: 3px; text-decoration-color: var(--line-2); overflow-wrap: anywhere; display: inline-block; padding-block: 5px; }
.g-sources p { font-size: var(--t-14); color: var(--ink-2); }
.g-sources strong { color: var(--ink); font-weight: 650; }

/* A pointer to the city's own events page */
.g-also { padding: var(--s2) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: var(--t-16); color: var(--ink-2); }
.g-also a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; display: inline-block; padding-block: 4px; }

/* What is on: shows from our ticket partners, filled in by js/guides.js */
.g-events { display: grid; gap: var(--s3); }
.g-events[hidden] { display: none; }
.g-eventlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--s2); }
.g-event a { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; text-decoration: none; padding: 8px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color var(--d-fast) var(--ease); }
.g-event img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; background: var(--bg-2); }
.g-event-name { font-weight: 650; line-height: 1.3; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.g-event-meta { font-size: var(--t-14); color: var(--ink-3); display: block; margin-top: 2px; }
.g-events-note { font-size: var(--t-14); color: var(--ink-3); }

/* The app prompt at the foot: the App Store button, and three of the app's screens as small cards */
.g-app { width: 100%; max-width: calc(var(--g-wide) + var(--gutter) * 2); margin: var(--s8) auto 0; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.g-app-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4) var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); }
.g-app-stores { display: flex; flex-wrap: wrap; gap: 10px; }
.g-app-text { display: grid; gap: var(--s2); justify-items: start; flex: 1 1 20rem; min-width: 0; }
.g-app p { color: var(--ink-2); max-width: 34rem; line-height: 1.55; }
.g-app-shots { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; flex: none; }
.g-app-shots li { width: 104px; border-radius: 14px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); box-shadow: 0 10px 24px rgb(12 16 20 / 0.08); }
.g-app-shots li:nth-child(2) { margin-top: 16px; }
.g-app-shots img { display: block; width: 100%; height: auto; }

/* The guides as a part of the home page, and the home page's header picture */
.g-home { padding-block: var(--s6); }
.guides.g-home .g-wrap { gap: var(--s6); }
/* The home page's header: the site bar grows, the wordmark stands large between the logo and
   For business, and the pink wave with its thin gold line runs under it, drawn here (no picture). */
html:has(main.hm) { --nav-h: clamp(68px, 9vw, 112px); }
body:has(main.hm) .site-nav { isolation: isolate; border-bottom: 0; }
body:has(main.hm) .site-nav::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'%3E%3Cpath d='M0 84 C 220 76 430 97 650 89 S 1010 74 1200 81' fill='none' stroke='%23e9c877' stroke-opacity='.55' stroke-width='1' vector-effect='non-scaling-stroke' transform='translate(0 6)'/%3E%3Cpath d='M0 84 C 220 76 430 97 650 89 S 1010 74 1200 81' fill='none' stroke='%23fc75b4' stroke-width='2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
body:has(main.hm) .site-nav .brand { flex: 1 1 auto; min-width: 0; }
body:has(main.hm) .site-nav .brand .brand-word { flex: 1 1 auto; min-width: 0; text-align: center; color: var(--brand); font-size: clamp(0.95rem, 3.4vw, 2.5rem); letter-spacing: 0.16em; padding-bottom: 0.45em; }
body:has(main.hm) .site-nav-main { margin-left: 0; }
/* The facts row under the hero reads in the brand green, like the titles. */
.ds .hm .facts .fact dt, .ds .hm .facts .fact dd { color: var(--brand); }
.ds .hero.hp-hero { padding-block: var(--s4) var(--s3); }
/* The home phone: its panel keeps one size, and the phone is centred in it. The picture has more
   empty room above the phone than below (the phone's middle is 54% down it), so it is lifted 4%. */
.ds .hp-hero .hero-visual { min-height: 0; width: min(358px, 100%); aspect-ratio: 358 / 603; margin-inline: auto; padding: 0; }
.ds .hp-hero .hero-visual::before { inset: 0; border-radius: 24px; }
.ds .hp-hero .hero-visual picture { position: absolute; top: 50%; left: 50%; width: 89.4%; transform: translate(-50%, -54%); }
.ds .hp-hero .hero-visual picture img { width: 100%; }
.ds .section.guides.g-home, .section.guides.g-home { padding-top: var(--s3); }
@media (max-width: 640px) { .g-app-shots li { width: 88px; } }

.guides :is(a, button, input, summary, [tabindex]):focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

@media (hover: hover) and (pointer: fine) {
  .g-card a:hover .g-card-photo img, .g-tile a:hover .g-tile-photo img { transform: scale(1.03); }
  .g-card a:hover .g-card-title, .g-tile a:hover .g-tile-name { background-size: 100% 2px; }
  .g-event a:hover { border-color: var(--line-2); }
  .g-toc a:hover { color: var(--ink); }
  .g-crumbs a:hover, .g-byline a:hover, .g-sources a:hover, .g-glance dt a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
}
@media (min-width: 960px) {
  .g-cols { grid-template-columns: minmax(0, 1fr) 15rem; align-items: start; column-gap: var(--s7); }
  .g-cols .g-toc { order: 2; position: sticky; top: 96px; }
  .g-cols .g-body { order: 1; }
  .g-cols .g-toc details { border: 0; }
  .g-toc summary { pointer-events: none; padding-top: 0; min-height: 0; }
  .g-toc summary::after { display: none; }
  .g-toc ol { border-left: 1px solid var(--line); }
  .g-toc a { margin-left: -1px; }
}
@media (max-width: 640px) {
  .guides .g-main { padding-top: var(--s3); }
  .guides .g-wrap { gap: var(--s6); }
  .g-wrap > .g-crumbs + .g-head { margin-top: calc(-1 * var(--s4)); }
  .g-crumb-here { display: none; }
  .g-head { gap: var(--s1); }
  .g-lede { font-size: var(--t-18); }
  .g-body { font-size: 1.0625rem; line-height: 1.7; }
  .g-body > p:first-child { font-size: var(--t-18); }
  .g-glance { padding: var(--s2) var(--s2) var(--s1); }
  .g-glance div { grid-template-columns: minmax(0, 1fr); }
  .g-cards { gap: var(--s5); }
  .g-plain-name { font-size: var(--t-32); }
}
@media (prefers-reduced-motion: reduce) {
  .guides *, .guides *::after { transition: none !important; }
  .g-card a:hover .g-card-photo img, .g-tile a:hover .g-tile-photo img { transform: none; }
}
/* Small stand-alone links get a taller tap area */
.g-credit a { display: inline-block; padding-block: 6px; }

/* An activity's photos (1 to 3). One is wide; two sit side by side; three are one
   large and two beside it. On a phone two or three become a row to swipe. */
.g-shots { display: grid; gap: 8px; margin: 0.2em 0; min-width: 0; }
.g-shots figure { margin: 0; position: relative; min-width: 0; border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.g-shots img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.g-shots .g-credit { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 14px 10px 0; font-size: 0.6875rem; line-height: 1.3; color: rgb(255 255 255 / 0.92); background: linear-gradient(transparent, rgb(12 16 20 / 0.66)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-shots .g-credit a { color: inherit; padding-block: 6px; text-decoration-color: rgb(255 255 255 / 0.5); }
.g-shots[data-n="1"] img { aspect-ratio: 16 / 9; }
.g-shots[data-n="2"] { grid-template-columns: 1fr 1fr; }
.g-shots[data-n="3"] { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.g-shots[data-n="3"] figure:first-child { grid-row: 1 / 3; }
.g-shots[data-n="3"] figure:not(:first-child) img { aspect-ratio: auto; position: absolute; inset: 0; }
.g-shots[data-n="3"] figure:not(:first-child) { min-height: 0; }
.g-shots:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: var(--r); }
@media (max-width: 700px) {
  .g-shots[data-n="2"], .g-shots[data-n="3"] { display: flex; grid-template: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .g-shots[data-n="2"]::-webkit-scrollbar, .g-shots[data-n="3"]::-webkit-scrollbar { display: none; }
  .g-shots[data-n="2"] figure, .g-shots[data-n="3"] figure { flex: 0 0 82%; scroll-snap-align: start; }
  .g-shots[data-n="3"] figure:not(:first-child) img { position: static; aspect-ratio: 3 / 2; }
}

/* Moving between guide pages: a short cross-fade where the browser supports it
   (Chrome, Edge, Safari 18.2+); others just load the page. None under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); }
}

/* The home page's real shows (js/guides.js): the name, when and where, and who sells the ticket */
[data-home-events][data-live] .photo img { width: 100%; height: 100%; object-fit: cover; }
.g-tile-show { align-items: start; }
.g-tile-show > span { display: grid; gap: 2px; min-width: 0; text-align: left; }
.g-show-name { font-weight: 650; line-height: 1.25; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.g-show-sub, .g-show-via { font-size: var(--t-14); font-weight: 400; color: var(--ink-3); }
.g-show-via { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; justify-self: start; }

/* A section's partner ticket: one quiet line under its facts */
.g-book { font-size: var(--t-16); line-height: 1.5; color: var(--ink-2); padding: 12px 16px; background: var(--bg-2); border-radius: var(--r); }
.g-book[hidden] { display: none; }
.g-book a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.g-book-via { color: var(--ink-3); font-size: var(--t-14); }
.g-event a { min-height: 56px; padding: 12px 14px; }

/* The hero's phone (Lorenzo, 2026-12-04): a frame with a see-through screen over the app's screenshot, light or
   dark by the site's theme; both screenshots are set on the admin page. */
.ds .hp-hero .hero-visual .hp-phone { position: absolute; top: 50%; left: 50%; width: 89.4%; aspect-ratio: 472 / 1024; transform: translate(-50%, -54%); }
.ds .hp-hero .hero-visual .hp-phone > picture { position: absolute; transform: none; }
.ds .hp-hero .hero-visual .hp-phone > picture.hp-phone-frame { inset: 0; width: 100%; height: 100%; }
.ds .hp-hero .hero-visual .hp-phone > picture.hp-phone-frame img { width: 100%; height: 100%; filter: drop-shadow(0 24px 40px rgba(40, 36, 24, 0.18)); }
.ds .hp-hero .hero-visual .hp-phone > picture.hp-phone-screen { left: 8.47%; top: 14.75%; width: 82.84%; height: 78.52%; overflow: hidden; border-radius: 15.5% / 7.6%; }
.ds .hp-hero .hero-visual .hp-phone > picture.hp-phone-screen img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.ds .hp-hero .hero-visual .hp-phone > picture.hp-phone-dark { display: none; }
[data-theme="dark"] .ds .hp-hero .hero-visual .hp-phone > picture.hp-phone-dark { display: block; }
[data-theme="dark"] .ds .hp-hero .hero-visual .hp-phone > picture.hp-phone-light { display: none; }
