/* Place page (G), shared by place.html and place-nophoto.html.
   Wide screens: the place's own photos as one mosaic across the container, the name on a sheet that the gallery slides
   under, the reading on the left and a held card on the right with the score, the seal and the two ways to go on. */
.place-top { padding-top: 84px; }
.gallery { position: relative; display: grid; gap: 8px; height: clamp(420px, 64vh, 700px); border-radius: var(--r-card); overflow: hidden; isolation: isolate; background: var(--surface); }
.gallery figure.g0, .gallery.map { view-transition-name: place-hero; }
.gallery figure { margin: 0; position: relative; overflow: hidden; min-height: 0; background: var(--surface); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figure::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--photo-edge); pointer-events: none; }
/* One big photo and up to four beside it; fewer photos, fewer cells. */
.gallery[data-n="1"] { grid-template-columns: 1fr; }
.gallery[data-n="2"], .gallery[data-n="3"] { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery[data-n="2"] .g0, .gallery[data-n="3"] .g0 { grid-row: span 2; }
.gallery[data-n="2"] .g1 { grid-row: span 2; }
.gallery[data-n="4"], .gallery[data-n="5"] { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery[data-n="4"] .g0, .gallery[data-n="5"] .g0 { grid-row: span 2; }
.gallery[data-n="4"] .g3 { grid-column: span 2; }
.gbar { position: absolute; z-index: 3; top: 16px; left: 16px; right: 16px; display: flex; gap: 8px; pointer-events: none; }
.gbar > * { pointer-events: auto; }
.gbar .sp { flex: 1; }
.gnav { display: none; }
.gcredit { font-size: 13px; line-height: 1.45; color: var(--muted); text-wrap: balance; }
.gcredit a { color: var(--ink); }
/* No photo: the still map is the picture (dark, like the results map); if it cannot load, the plate and caption stay. */
.gallery.map { display: block; background: var(--map-bg); }
.mapframe { position: absolute !important; inset: 0; }
.gallery.nomap .mapframe { display: none; }
.gallery.nomap::before { content: 'No photo yet'; position: absolute; left: 24px; bottom: 96px; font: 600 clamp(24px, 3vw, 40px)/1 var(--display); color: var(--dk-muted); }
.herepin { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, color-mix(in srgb, var(--dk-accent) 40%, transparent), transparent 70%); --accent: var(--dk-accent); }
.herepin .vring, .herepin .seal { width: 40px; height: 40px; background: var(--dk-bg); }
.herepin .vring svg { width: 18px; height: 18px; }
.herepin .ldot { width: 18px; height: 18px; background: var(--dk-ink); box-shadow: 0 0 0 4px var(--dk-bg); }
.notfound { max-width: 720px; margin: 0 auto; padding: 160px var(--g) 80px; display: grid; gap: 16px; justify-items: start; }
.notfound h1 { font-size: clamp(32px, 5vw, 52px); }
.notfound p { color: var(--muted); }

/* The two columns: reading on the left, the held card on the right. */
.cols { --bw: clamp(340px, 26vw, 420px); --cg: clamp(40px, 5vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr) var(--bw); gap: 48px var(--cg); align-items: start; }
.cols > .main > * + * { margin-top: 56px; }
/* The name sits on a sheet that the gallery slides under. Its top half overlaps the photos; no score sits here. */
/* 1024 and up the sheet's cap (the 88px that overlap the photos) is a strip across the whole gallery, so the gallery ends in one
   straight line; the name and the identity row stay in the reading column, the credit sits in the cap at the right. */
.titlesheet { position: relative; z-index: 4; margin-top: -88px; padding: 32px 0 8px; }
.titlesheet::before { content: ''; position: absolute; z-index: -1; top: 0; left: 0; right: calc(-1 * (var(--bw) + var(--cg))); height: 89px; background: var(--bg); border-radius: var(--r-sheet) var(--r-sheet) 0 0; }
.titlesheet .gcredit { position: absolute; top: 30px; right: calc(-1 * (var(--bw) + var(--cg))); width: var(--bw); margin: 0; text-align: right; }
.titlesheet h1 { font-size: var(--fs-h1, clamp(40px, 4.4vw, 72px)); letter-spacing: -0.04em; text-wrap: balance; }
.titlesheet .meta { color: var(--muted); margin-top: 16px; font-size: 17px; }
.titlesheet .meta a { color: var(--ink); font-weight: 500; display: inline-flex; min-height: 44px; align-items: center; margin: -9px 0 -9px 6px; } /* 44px target, line box stays one line */
@media (max-width: 599px) { .titlesheet .meta a { display: flex; width: fit-content; margin: 2px 0 0; } }
.cols h2 { font-size: var(--fs-h3, clamp(22px, 1.8vw, 28px)); }
.about p { font-size: 18px; line-height: 1.6; max-width: 64ch; margin-top: 16px; }

/* Eight lines: a name and one word. Each row opens its sources. */
.pws { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); }
.pws li { border-bottom: 1px solid var(--line); }
@media (min-width: 1200px) { .pws { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 0; } .pws li:nth-child(-n+2) { border-top: 1px solid var(--line); } }
.pw-btn { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; gap: 16px; align-items: center; min-height: 58px; padding: 8px 0; background: none; border: 0; text-align: left; cursor: pointer; border-radius: var(--r-photo); }
.pw-btn:hover .t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pw-btn:active { transform: scale(.99); }
.pw-btn .t { font: 500 17px/1.2 var(--body); }
/* The chevron glyph stops 6px short of its box; the margin puts its tip on the hairline's right edge. */
.pw-btn svg.i { color: var(--muted); width: 18px; height: 18px; justify-self: end; margin-right: -6px; transition: color var(--dur-fast); }
.pw-btn:hover svg.i { color: var(--ink); }

/* How we checked: one fold for who, when, the words, and the gaps. */
.howchk { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.howchk summary { cursor: pointer; list-style: none; min-height: 60px; display: flex; align-items: center; justify-content: space-between; font: 600 19px/1.2 var(--display); letter-spacing: -0.01em; padding: 0; }
.howchk summary::-webkit-details-marker { display: none; }
.howchk summary::after { content: ''; width: 8px; height: 8px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: translateY(-3px) rotate(45deg); transition: transform var(--dur-fast); margin-right: 2px; }
.howchk[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.howchk dl { margin: 0 0 8px; padding: 0; }
.howchk dl > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 6px 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.howchk dt { color: var(--muted); font-size: 14px; font-weight: 600; }
.howchk dd { margin: 0; font-size: 15px; line-height: 1.55; display: grid; gap: 8px; }
.words { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.words .vword { font-size: 15px; margin-right: 4px; }
.howchk .fix { padding: 4px 0 16px; }
.howchk .fix a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 500; }

/* The held card: score and seal side by side, the rank tag, one plain line, then the two ways to go on. */
.book { --disc: var(--surface); position: sticky; top: 92px; margin-top: 24px; background: var(--surface); border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--edge), var(--float); padding: 24px; display: grid; gap: 16px; }
.pair { display: flex; align-items: flex-start; gap: 20px; }
.pair .badge { margin: 0; display: grid; justify-items: center; text-align: center; gap: 8px; text-decoration: none; color: inherit; border-radius: var(--r-tile); }
.pair .cap { justify-self: center; font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--ink); text-align: center; line-height: 1.3; text-wrap: balance; }
.pair .score.num { --s: 88px; --t: 4px; display: grid; align-content: center; justify-items: center; gap: 2px; }
.identity .score.num { --dd: 540ms; } /* after the name sheet has risen (120 ms delay + most of its rise) */
.pair .score.num b { font-size: 30px; letter-spacing: -0.04em; }
.pair .score.num small { position: relative; font-size: 12px; color: var(--muted); }
.pair .seal.lg, .pair .vring.lg { width: 88px; height: 88px; }
.pair .vring.lg svg { width: 36px; height: 36px; }
.pair a.badge .seal.lg, .pair a.badge .vring.lg { transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.pair a.badge:hover .seal.lg, .pair a.badge:focus-visible .seal.lg { transform: scale(1.04); box-shadow: 0 0 0 4px var(--track); }
.pair .notyet { font: 600 22px/1.1 var(--display); }
.book .why { font-size: 15px; line-height: 1.5; }
.book .tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.book .acts { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.book .btn { width: 100%; }
.partner-row { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.book .fine { font-size: 13px; color: var(--muted); text-align: center; }
.mbar { display: none; }

/* Identity row under the name: score and seal side by side, the rank tag and one plain line beside them. */
.identity { --dial: 88px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 32px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.identity .id-aside { display: grid; gap: 8px; justify-items: start; align-content: center; flex: 1 1 240px; min-height: var(--dial); } /* centred on the dials, not the captions */
.identity .why { font-size: 16px; line-height: 1.5; max-width: 40ch; }
/* The held card leads with a compact score line, then the two actions. */
.book-h { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.book-h .score.num { --s: 40px; }
.book-h .score.num b { font-size: 14px; }
.book-h .seal, .book-h .vring { width: 22px; height: 22px; }
.book-h .vring svg { width: 10px; height: 10px; }
.book-h .labels { display: grid; line-height: 1.25; min-width: 0; }
.book-h .labels b { color: var(--ink); font-weight: 600; }
.book .acts { padding-top: 0; border-top: 0; }
/* What's around: nearest places we have read, each a row with its photo and score. */
.around { container-type: inline-size; }
.near { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 16px; }
/* One column while the reading column is under 720px, two once it is wider. */
@container (min-width: 720px) { .near { grid-template-columns: 1fr 1fr; } }
.nr a { --disc: var(--surface); display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 8px; border-radius: var(--r-tile); background: var(--surface); box-shadow: inset 0 0 0 1px var(--edge); text-decoration: none; transition: background-color var(--dur-fast); }
.nr a:hover { background: var(--wash); }
.nr img, .nr .nph { width: 72px; height: 72px; border-radius: var(--r-small); /* nested: tile 16 minus 8 padding */ object-fit: cover; background: color-mix(in srgb, var(--accent) 9%, var(--bg)); }
.nr .nph { display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.nr .nt { display: grid; gap: 2px; min-width: 0; }
.nr .nt b { font-weight: 600; }
.nr .nt span { color: var(--muted); font-size: 14px; text-wrap: balance; }
.nr .score.num { --s: 40px; }
.nr .score.num b { font-size: 14px; }
/* In their own words: a quote set as theirs, with its source. */
.words-own blockquote { margin: 8px 0 0; padding: 0; }
.words-own blockquote p { font: 400 var(--fs-h3)/1.35 var(--display); letter-spacing: -0.02em; max-width: 40ch; text-wrap: pretty; text-indent: -0.212em; } /* hangs the opening mark in the margin: the first letter sits on the content edge (mark is 0.212em wide in Bricolage) */
.words-own footer { margin-top: 16px; color: var(--muted); font-size: 14px; text-wrap: balance; }
.words-own footer a { color: var(--ink); }

/* Richer reading (29 Oct, Jordan: the place page may carry more visual material). All of it from the place's own record. */
/* A photo band: one of the place's own photos set wide in the reading column, credited under it. */
.band { margin: 0; }
.band img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
/* Edge rule (d.css): the band dissolves top and bottom into a land of its own hue on the reading ground. The zone is capped
   at 28% of the band so a 16:9 photo keeps its middle. */
.bandimg { --zt: min(var(--dz), 22%); --zb: min(var(--dz), 22%); background: none; } /* in the column: no land box, so no tinted rectangle shows at the sides */
.band figcaption { margin-top: 8px; font-size: var(--fs-micro); color: var(--muted); text-wrap: balance; }
.band figcaption a { color: var(--ink); }
/* What it says, line by line: up to four quotes from its own site. The first is set large across the column. */
.qgrid { display: grid; gap: 32px 40px; margin-top: 24px; container-type: inline-size; }
.q { margin: 0; padding-top: 16px; border-top: 1px solid var(--edge); display: grid; gap: 8px; align-content: start; }
.q .qk { font-size: 14px; font-weight: 600; color: var(--accent); }
.q blockquote { margin: 0; }
.q blockquote p { font: 400 clamp(20px, 1.6vw, 24px)/1.35 var(--display); letter-spacing: -0.015em; text-wrap: pretty; text-indent: -0.212em; }
.q:first-child blockquote p { font-size: clamp(26px, 2.6vw, 40px); line-height: 1.2; letter-spacing: -0.025em; max-width: 30ch; }
.q .qs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }
.q .qs a { color: var(--ink); }
.q .qb { min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; cursor: pointer; }
@media (min-width: 760px) { .qgrid { grid-template-columns: 1fr 1fr; } .q:first-child { grid-column: 1 / -1; } }
/* The still map in What's around: here as its seal, the nearby places as plain points. */
.around-map { position: relative; height: clamp(280px, 32vw, 400px); margin-top: 24px; border-radius: var(--r-card); overflow: hidden; background: var(--map-bg); }
.around-map.nomap { display: none; }
.map-cap { margin-top: 8px; font-size: var(--fs-micro); color: var(--muted); }
.nearpin { width: 16px; height: 16px; border-radius: 50%; background: var(--dk-ink); box-shadow: 0 0 0 4px var(--dk-bg); }

/* The signature, part one: the sheet and the card rise as the page arrives, so the gallery ends up under them. */
.titlesheet, .book { animation: rise-sheet var(--dur-slow) var(--ease-entrance) 120ms both; }
.book { animation-delay: 220ms; }
@keyframes rise-sheet { from { transform: translateY(40px); opacity: 0; } }
/* Part two: as you scroll, the photos drift slower than the page, so the gallery slides on under the name. Chromium only;
   elsewhere the photos simply sit still. The drift is 12% of the cell, inside the cell, never on text. */
@supports (animation-timeline: view()) {
  .gallery figure img { transform: scale(1.12); animation: drift linear both; animation-timeline: view(); animation-range: exit -20% exit 100%; }
  @keyframes drift { from { transform: scale(1.12) translateY(0); } to { transform: scale(1.12) translateY(9%); } }
}

.rlink { display: none; }
@media (max-width: 1023px) {
  .place-top { padding-top: 68px; }
  .place-top.box { padding-inline: 0; }
  .gallery { border-radius: 0; height: 56vh; min-height: 360px; max-height: 620px; display: block; }
  .gallery figure { display: none; height: 100%; }
  .gallery figure.g0 { display: block; }
  .gnav { display: flex; position: absolute; z-index: 3; bottom: 56px; right: var(--g); gap: 8px; align-items: center; }
  .gnav .ct { background: var(--ph-plate); color: var(--ph-ink); border-radius: 999px; padding: 0 16px; min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 500; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .gbar { left: var(--g); right: var(--g); }
  .titlesheet .gcredit { position: static; width: auto; text-align: left; margin-top: 6px; padding: 0; }
  .titlesheet::before { display: none; }
  .cols { grid-template-columns: 1fr; gap: 32px; }
  .titlesheet { margin-top: -64px; padding: 24px var(--g) 4px; margin-inline: calc(var(--g) * -1); background: var(--bg); border-radius: var(--r-sheet) var(--r-sheet) 0 0; }
  .gallery.map { height: 46vh; min-height: 300px; }
  .book { display: none; }
  .rlink { display: inline-block; padding-block: 10px; margin-top: -2px; font-weight: 600; } /* the held card is hidden here, so its retreats link sits under the name */
  .cols > .main { display: contents; }
  .cols > .main > * + * { margin-top: 0; }
  .cols > .main > .titlesheet { order: -2; }
  /* Phones and tablets: Ask full width at the thumb; the partner link is a ghost row under it. */
  .mbar { display: grid; grid-template-columns: 1fr; gap: 8px; align-items: center; position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; padding: 8px var(--g) calc(8px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 -1px 0 var(--line); }
  .mbar.solo { grid-template-columns: 1fr; }
  .mbar .btn { min-height: 48px; padding: 0 16px; font-size: 15px; white-space: nowrap; }
  .mbar .btn svg.i { width: 18px; height: 18px; }
  .mbar .own { display: flex; align-items: center; justify-content: center; gap: 8px; line-height: 1.15; }
  .mbar .own span:first-child { display: inline-flex; align-items: center; gap: 6px; }
  .mbar .own svg.i { width: 16px; height: 16px; }
  .mbar .own .pl { font-size: 13px; font-weight: 500; color: var(--muted); }
  body.has-mbar .foot { padding-bottom: 168px; }
  .mbar .btn.ghost { min-height: 44px; background: none; box-shadow: inset 0 0 0 1px var(--edge); color: var(--ink); }
  .toast { bottom: 152px; }
}
@media (min-width: 601px) and (max-width: 1023px) { .mbar { grid-template-columns: 360px; justify-content: end; } }
@media (max-width: 600px) {
  .identity { --dial: 76px; gap: 16px 20px; margin-top: 16px; padding-top: 16px; }
  .nr a { grid-template-columns: 56px minmax(0, 1fr) auto; } .nr img, .nr .nph { width: 56px; height: 56px; }
  .gallery { height: 52vh; min-height: 320px; }
  .titlesheet h1 { font-size: clamp(32px, 9vw, 44px); }
  .titlesheet { margin-top: -48px; padding-top: 24px; }
  .about p { font-size: 17px; }
  .book { padding: 20px; }
  .pair { gap: 16px; }
  .pair .score.num, .pair .seal.lg, .pair .vring.lg { --s: 76px; width: 76px; height: 76px; }
  .pair .score.num b { font-size: 26px; }
  .pair .vring.lg svg { width: 30px; height: 30px; }
  .howchk dl > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 359px) {
  .mbar .btn { padding: 0 8px; font-size: 14px; }
  .identity { --dial: 72px; }
  .pair .score.num, .pair .seal.lg, .pair .vring.lg { --s: 72px; width: 72px; height: 72px; }
  .pair .score.num b { font-size: 24px; }
  .pair .cap { font-size: 12px; } /* 12 is the floor (mobile QA, 29 Oct) */
}
@media (prefers-reduced-motion: reduce) { .gallery figure img { animation: none; transform: none; } }

/* Mobile QA (29 Oct). The place's own save says so in words, so it never reads as a second copy of the header's Saved
   heart. The booking bar is one clean button: no underlines inside it. The map credit drops to its own quiet line. */
@media (max-width: 600px) {
  .gbar .save-top { width: auto; gap: 6px; padding: 0 16px 0 12px; border-radius: 999px; display: inline-flex; align-items: center; font: 600 15px/1 var(--display, inherit); }
  .gbar .save-top::after { content: 'Save'; }
  .gbar .save-top[aria-pressed="true"]::after { content: 'Saved'; }
}
.mbar .own, .mbar .own span { text-decoration: none; }
.mbar .own .pl { font-size: 12px; }
.gcredit .mcred { display: block; margin-top: 4px; font-size: 12px; }

/* What's here (30 Oct): what sets the place apart, what a stay includes, what is on site. */
.here { display: grid; gap: 20px; }
.hx-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.hx { display: grid; align-content: start; gap: 6px; padding: 16px; border-radius: var(--r-tile); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.hx b { font: 600 17px/1.3 var(--display); letter-spacing: -0.01em; }
.hx p { margin: 0; font-size: 15px; line-height: 1.5; }
.here .hs { font-size: 13px; color: var(--muted); margin: 0; }
.here .hs a { color: inherit; }
.here h3 { font-size: 17px; margin: 0 0 10px; }
.hx-inc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hx-inc li { display: grid; gap: 2px; padding: 12px 16px; border-radius: var(--r-tile); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; }
.hx-inc li .hs { font-weight: 400; }
.hx-site ul { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hx-site li { display: flex; }
.hx-site li > * , .hx-site li { font-size: 14px; }
.hx-site li a, .hx-site li:not(:has(a)) { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: inherit; text-decoration: none; }
.hx-site li a:hover { background: var(--surface); }
@media (max-width: 600px) {
  .hx-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--g, 20px) * -1); padding-inline: var(--g, 20px); scroll-padding-inline: var(--g, 20px); }
  .hx-grid::-webkit-scrollbar { display: none; }
  .hx { scroll-snap-align: start; }
}

/* What's here, Airbnb style (30 Oct): a small mark and a short phrase, two columns, no boxes. */
.hx-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
.hx-list .hx { display: flex; align-items: flex-start; gap: 14px; padding: 0; background: none; box-shadow: none; }
.hx-i { flex: none; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.hx-list .hx > span { display: grid; gap: 2px; }
.hx-list .hx b { font: 500 17px/1.35 var(--body, inherit); letter-spacing: 0; }
@media (max-width: 600px) { .hx-list { grid-template-columns: 1fr; gap: 16px; } }

/* Retreats here (30 Oct): the next dates as small tiles, each to its retreat page. */
.p-retreats { display: grid; gap: 14px; }
.pr-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px; }
.pr-list a { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: var(--r-tile); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: inherit; text-decoration: none; height: 100%; }
.pr-d { flex: none; width: 52px; display: grid; justify-items: center; padding: 8px 0; border-radius: 12px; background: color-mix(in srgb, var(--accent) 10%, transparent); line-height: 1; }
.pr-d b { font: 600 22px/1 var(--display); } .pr-d span { font-size: 12px; color: var(--muted); margin-top: 4px; }
.pr-t { display: grid; gap: 3px; min-width: 0; } .pr-t b { font-weight: 600; line-height: 1.3; } .pr-t span { font-size: 13px; color: var(--muted); }
.hx-list .hx b a, .hx-inc li a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.hx-list .hx { align-items: center; }

/* Photo viewer (30 Oct): every photo large, one at a time. */
#gallery figure img { cursor: zoom-in; }
.gall { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; font: 600 14px/1 var(--body, inherit); color: #111; background: rgba(255, 255, 255, 0.92); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18); cursor: pointer; }
.gall:hover { background: #fff; } .gall .i { width: 16px; height: 16px; }
.lb { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 10, 12, 0.96); color: #fff; }
.lb::backdrop { background: rgba(0, 0, 0, 0.6); }
.lb[open] { display: grid; grid-template-rows: auto 1fr; }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; font-size: 14px; }
.lb-fig { margin: 0; display: grid; grid-template-rows: 1fr auto; gap: 10px; padding: 0 clamp(16px, 7vw, 96px) 20px; min-height: 0; }
.lb-fig img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.lb-fig figcaption { text-align: center; font-size: 13px; color: rgba(255, 255, 255, 0.75); } .lb-fig figcaption a { color: inherit; }
.lb-prev, .lb-next { position: absolute; top: 50%; translate: 0 -50%; } .lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb .icon-btn { color: #fff; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 64px; translate: none; } }
@media (max-width: 1023px) { .gall { display: none; } } /* phones and tablets: the photo's own arrows and counter sit there; a tap opens the viewer */
.gall { bottom: 104px; z-index: 5; } /* clear of the title sheet, which rises 88px over the photos on wide screens */
/* Floating viewer (30 Oct, Jordan: "not a full page pop-up, mostly the whole page like a floating box"). */
.lb { width: min(1200px, calc(100vw - 48px)); height: calc(100dvh - 64px); margin: auto; border-radius: 20px; background: #0d1012; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); overflow: hidden; }
.lb::backdrop { background: rgba(6, 8, 10, 0.72); backdrop-filter: blur(6px); }
@media (max-width: 600px) { .lb { width: calc(100vw - 20px); height: calc(100dvh - 40px); border-radius: 16px; } }

/* Watch our visit (30 Oct): the channel's film, loaded on a tap. */
.film { display: grid; gap: 12px; }
.film-box { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-tile); overflow: hidden; background: #000; }
.film-box iframe, .film-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: none; cursor: pointer; }
.film-play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-btn { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); }
.film-btn::after { content: ''; position: absolute; left: 29px; top: 23px; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent #111; }
.film-play:hover .film-btn { background: #fff; } .film-play:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.film-cap { margin: 0; font-size: 13px; color: var(--muted); } .film-cap a { color: inherit; }
