/* M2b.4 (D20): the showcase ribbon (src/components/ShowcaseRibbon.astro), a slim full-width strip above the header in
   the footer pair (--color-footer-bg / --color-footer-text), which check.sh holds at the text minimum (4.5:1) in every
   palette; a "colors" theme falls back to base and bg, like the footer. Linked only in a site.json "showcase" build. */
.showcase-ribbon { margin: 0; padding: 0.375rem 1rem; background: var(--color-footer-bg, var(--color-base));
  color: var(--color-footer-text, var(--color-bg)); font-size: 0.875rem; font-weight: 600; line-height: 1.4; text-align: center; }
.showcase-ribbon a { color: inherit; text-decoration: underline; text-underline-offset: 0.15em; }

/* M2b.4 step 2 (D20): theme.json "style" tokens. src/layouts/Page.astro sets data-hero, data-cards, data-headings,
   data-gallery (and, M2b.4 polish D23, data-header, data-footer, data-hero-edge, data-eyebrow) on <html> and links this
   file only when theme.json has "style"; the asset hook in astro.config.mjs removes it from every other dist/.
   Unlayered, so it wins over the Tailwind layers of global.css. Only kit classes are targeted: .section-hero /
   .hero-grid, .card, .card-list, h1-h3, .eyebrow, and a gallery is the .card-list whose items hold a <figure>.
   Text on a coloured panel uses the footer pair (--color-footer-bg/-text), which check.sh holds at >= 4.5:1 in every
   palette. Review 2026-11-03 chunks 1-2: the overlay panel is opaque (M2), the title accent, the outline button and
   the focus ring follow the panel's text colour (M3), and the hero rules leave a leaking-tap hero alone (L4). */

/* ---------- Hero layouts (never a hero with the leaking tap: .hero-has-tap) ---------- */
[data-hero] .section-hero:not(.hero-has-tap) .hero-grid > :last-child:not(:first-child):where(img, .img-placeholder, .img-sample) { border-radius: var(--radius); }
[data-hero] .section-hero:not(.hero-has-tap) .hero-grid > :last-child:not(:first-child):is(img, .img-sample) { display: block; width: 100%; object-fit: cover; }
[data-hero] .section-hero:not(.hero-has-tap) .hero-grid > .img-sample > img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* split: text and photo side by side from md, the photo a little narrower. */
@media (min-width: 768px) {
  [data-hero="split"] .section-hero .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; }
}

/* overlay: phone first the photo across the width with the text below it on the page colour (no box over the photo);
   from md the photo fills the hero and the text sits on an opaque panel of the footer pair in the middle of it. An
   overlay hero without a photo is a plain hero (review L5). */
[data-hero="overlay"] .section-hero:not(.hero-has-tap) { padding-block: 0; }
[data-hero="overlay"] .section-hero:not(.hero-has-tap) .hero-grid:has(> :nth-child(2)) { max-width: none; padding-inline: 0; grid-template-columns: 1fr; gap: 0; }
[data-hero="overlay"] .section-hero:not(.hero-has-tap) .hero-grid > :last-child:not(:first-child) { order: -1; aspect-ratio: 4 / 3; height: auto; border-radius: 0; }
[data-hero="overlay"] .section-hero:not(.hero-has-tap) .hero-grid > :first-child:not(:last-child) { padding: 1.5rem 1rem 2rem; }
@media (min-width: 768px) {
  [data-hero="overlay"] .section-hero:not(.hero-has-tap) .hero-grid > * { grid-area: 1 / 1; }
  [data-hero="overlay"] .section-hero:not(.hero-has-tap) .hero-grid > :last-child:not(:first-child) { aspect-ratio: auto; height: 100%; min-height: 30rem; }
  [data-hero="overlay"] .section-hero:not(.hero-has-tap) .hero-grid > :first-child:not(:last-child) { position: relative; z-index: 1;
    align-self: center; justify-self: center; margin: 3rem 1.5rem; max-width: 38rem; padding: 2rem 2.25rem; text-align: center;
    border-radius: var(--radius); background: var(--color-footer-bg, var(--color-base)); color: var(--color-footer-text, var(--color-bg)); }
  [data-hero="overlay"] .section-hero:not(.hero-has-tap) .hero-grid > :first-child:not(:last-child) :is(.cta-row, .badges) { justify-content: center; }
}
@media (min-width: 1024px) {
  [data-hero="overlay"] .section-hero:not(.hero-has-tap) .hero-grid > :last-child:not(:first-child) { min-height: 36rem; }
}

/* bleed (M2b.4 polish): the text on the page colour at the left, the photo running to the right edge of the window over
   the full hero height with a soft fade into the page; phone first the text, then the photo across the width. */
[data-hero="bleed"] .section-hero:not(.hero-has-tap) { padding-block: 0; }
[data-hero="bleed"] .section-hero:not(.hero-has-tap) .hero-grid { max-width: none; padding-inline: 0; gap: 0; }
[data-hero="bleed"] .section-hero:not(.hero-has-tap) .hero-grid > :first-child { padding: 2rem 1rem 1.5rem; }
[data-hero="bleed"] .section-hero:not(.hero-has-tap) .hero-grid > :last-child:not(:first-child) { aspect-ratio: 4 / 3; border-radius: 0; }
@media (min-width: 768px) {
  [data-hero="bleed"] .section-hero:not(.hero-has-tap) .hero-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: stretch; }
  [data-hero="bleed"] .section-hero:not(.hero-has-tap) .hero-grid > :first-child { align-self: center;
    padding: 4rem 2rem 5rem max(2rem, calc((100vw - 72rem) / 2 + 2.5rem)); }
  [data-hero="bleed"] .section-hero:not(.hero-has-tap) .hero-grid > :last-child:not(:first-child) { aspect-ratio: auto; height: 100%; min-height: 30rem;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 22%); mask-image: linear-gradient(to right, transparent, #000 22%); }
}

/* stacked: text first, then a wide photo across the whole content width. */
[data-hero="stacked"] .section-hero .hero-grid { grid-template-columns: 1fr; text-align: center; }
[data-hero="stacked"] .section-hero .hero-grid > :first-child { max-width: 46rem; margin-inline: auto; }
[data-hero="stacked"] .section-hero .cta-row, [data-hero="stacked"] .section-hero .badges { justify-content: center; }
[data-hero="stacked"] .section-hero:not(.hero-has-tap) .hero-grid > :last-child:not(:first-child) { aspect-ratio: 21 / 9; height: auto; }

/* framed: an arched photo inside a thin accent frame. */
[data-hero="framed"] .section-hero:not(.hero-has-tap) .hero-grid > :last-child:not(:first-child) { aspect-ratio: 4 / 5; max-width: 26rem; justify-self: center;
  border-radius: 999px 999px var(--radius) var(--radius); outline: 2px solid var(--color-accent); outline-offset: 0.6rem; }

/* collage: the photo tilted on an accent block. */
[data-hero="collage"] .section-hero:not(.hero-has-tap) .hero-grid > :last-child:not(:first-child) { transform: rotate(-2.5deg); box-shadow: 1rem 1rem 0 var(--color-accent);
  margin: 0.5rem 1.5rem 1.5rem 0.5rem; }

/* block: a plain, bold coloured block; the hero renders no photo (review L5). */
[data-hero="block"] .section-hero { background: var(--color-footer-bg, var(--color-base)); color: var(--color-footer-text, var(--color-bg)); }
[data-hero="block"] .section-hero :is(h1, .lead) { color: inherit; }
[data-hero="block"] .section-hero h1 { font-size: clamp(2rem, 7vw, 3.75rem); font-weight: 900; }
[data-hero="block"] .section-hero .hero-grid { grid-template-columns: 1fr; }

/* overlay panel and block: the text stands on the footer pair, so the title accent, eyebrow, outline button and focus ring
   take that text colour (review M3), and the badges keep the page text colour on their own light fill. */
@media (min-width: 768px) {
  [data-hero="overlay"] .section-hero:not(.hero-has-tap) .hero-grid > :first-child:not(:last-child) :is(h1, .lead, .eyebrow, .hero-title-accent, a:not(.btn)) { color: inherit; }
  [data-hero="overlay"] .section-hero:not(.hero-has-tap) .hero-grid > :first-child:not(:last-child) .btn-secondary { color: inherit; border-color: currentColor; background: transparent; }
  [data-hero="overlay"] .section-hero:not(.hero-has-tap) .hero-grid > :first-child:not(:last-child) :focus-visible { outline-color: currentColor;
    box-shadow: 0 0 0 5px var(--color-footer-bg, var(--color-base)); }
}
[data-hero="block"] .section-hero :is(.eyebrow, .hero-title-accent, a:not(.btn)) { color: inherit; }
[data-hero="block"] .section-hero .hero-title-accent { text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.12em; }
[data-hero="block"] .section-hero .btn-secondary { color: inherit; border-color: currentColor; background: transparent; }
[data-hero="block"] .section-hero :focus-visible { outline-color: currentColor; box-shadow: 0 0 0 5px var(--color-footer-bg, var(--color-base)); }
:is([data-hero="overlay"], [data-hero="block"]) .section-hero .badges li { color: var(--color-text); }

/* ---------- Hero edge (M2b.4 polish): an inline SVG wave or curve in the page colour over the lower edge ---------- */
[data-hero-edge] .section-hero { position: relative; }
.hero-edge { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; display: block; width: 100%;
  height: clamp(1.5rem, 5vw, 4.5rem); pointer-events: none; }
.hero-edge path { fill: var(--color-bg); }

/* ---------- Card shapes ---------- */
[data-cards] .card { --card-pad: 1.25rem; }
[data-cards] .card :is(img, .img-placeholder, .img-sample) { border-radius: calc(var(--radius) * 0.6); }
[data-cards="soft"] .card { border-radius: calc(var(--radius) * 1.5); box-shadow: 0 0.5rem 1.5rem rgb(0 0 0 / 0.06); }
[data-cards="pill"] .card { --card-pad: 1.5rem; border-radius: 2rem; text-align: center; padding: 1.5rem; }
[data-cards="pill"] .card :is(img, .img-placeholder, .img-sample) { border-radius: 1.5rem; }
[data-cards="outline"] .card { background: transparent; border: 2px solid var(--color-base); border-radius: 0; }
[data-cards="outline"] .card :is(img, .img-placeholder, .img-sample) { border-radius: 0; }
[data-cards="angled"] .card { border-radius: 0; border-left: 0.3rem solid var(--color-accent);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.25rem), calc(100% - 1.25rem) 100%, 0 100%); }
[data-cards="angled"] .card :is(img, .img-placeholder, .img-sample) { border-radius: 0; }
[data-cards="flat"] .card { background: transparent; border: 1px solid color-mix(in srgb, var(--color-muted) 45%, transparent); }
[data-cards="shadow"] .card { background: var(--color-bg); box-shadow: 0 1px 2px rgb(0 0 0 / 0.08), 0 0.75rem 1.75rem rgb(0 0 0 / 0.1); }
[data-cards] .card > h3 { margin-block: 0.25rem 0.375rem; }
[data-cards] .card > p { margin-block: 0.25rem; }

/* M2b.4 polish: a card that starts with its photo shows it edge to edge across the top (phone: at the left). */
[data-cards] .card:has(> :first-child:is(img, .img-sample)) { padding-top: 0; overflow: hidden; }
[data-cards] .card > :first-child:is(img, .img-sample) { display: block; width: calc(100% + 2 * var(--card-pad)); max-width: none;
  margin: 0 calc(-1 * var(--card-pad)) 0.875rem; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; }
[data-cards] .card > .img-sample:first-child > img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
@media (max-width: 47.99rem) {
  [data-cards] .card-list > .card:has(> img:first-child) { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr);
    column-gap: 1rem; row-gap: 0; align-content: center; padding: 0 1rem 0 0; }
  [data-cards] .card-list > .card > img:first-child { grid-row: span 6; align-self: stretch; width: 100%; height: 100%;
    min-height: 6.5rem; margin: 0; aspect-ratio: auto; }
  [data-cards] .card-list > .card:has(> img:first-child) > :nth-child(2) { margin-top: 0.75rem; }
  [data-cards] .card-list > .card:has(> img:first-child) > :last-child { margin-bottom: 0.75rem; }
}

/* M2b.4 polish: the card grid follows the number of cards (3 cards: 3 columns from md; 2: 2; 6 or 9: 3 from lg). */
@media (min-width: 768px) {
  [data-cards] .card-list:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  [data-cards] .card-list:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-cards] .card-list:is(:has(> li:nth-child(6):last-child), :has(> li:nth-child(9):last-child)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Heading styles ---------- */
[data-headings="upper"] :is(h1, h2, h3) { text-transform: uppercase; letter-spacing: 0.04em; }
[data-headings="italic"] :is(h1, h2) { font-style: italic; }
[data-headings="light"] :is(h1, h2) { font-weight: 300; letter-spacing: -0.01em; }
[data-headings="light"] h1 { font-size: clamp(2rem, 6vw, 3.25rem); }
/* bold (M2b.4 polish): heavy display headings, as a bold serif or a rounded sans. */
[data-headings="bold"] :is(h1, h2, h3) { font-weight: 700; letter-spacing: -0.01em; }
[data-headings="bold"] h1 { font-weight: 800; font-size: clamp(2.25rem, 6.5vw, 3.75rem); line-height: 1.08; }
[data-headings="bold"] h2 { font-size: clamp(1.625rem, 3.6vw, 2.375rem); margin-block: 0 0.5rem; }
[data-headings="bold"] h3 { font-size: 1.3rem; }
[data-headings="bold"] .section-hero h1 + .lead { margin-top: 1rem; }

/* ---------- Eyebrow (M2b.4 polish): the short line above a title ---------- */
[data-eyebrow] .eyebrow { margin: 0 0 0.25rem; color: var(--color-base); }
[data-eyebrow] .eyebrow { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
/* script: the accent (handwritten) font from 768 px. A phone keeps the small capitals, so it never downloads the accent
   font (Caveat is about 150 KB for latin + cyrillic; it cost the café demo 16 points of Lighthouse mobile performance). */
@media (min-width: 768px) {
  [data-eyebrow="script"] .eyebrow { font-family: var(--font-accent, inherit); font-size: 1.875rem; font-weight: 600; line-height: 1.1;
    letter-spacing: 0; text-transform: none; }
}

/* ---------- Gallery variants ---------- */
[data-gallery="masonry"] .card-list:has(> li > figure) { display: block; columns: 1; column-gap: 1rem; }
[data-gallery="masonry"] .card-list:has(> li > figure) > li { break-inside: avoid; margin-bottom: 1rem; }
@media (min-width: 768px) { [data-gallery="masonry"] .card-list:has(> li > figure) { columns: 2; } }
@media (min-width: 1024px) { [data-gallery="masonry"] .card-list:has(> li > figure) { columns: 3; } }
/* strip: tight tiles in one row from md (two columns on a phone), no gap between photos and no scrolling, so the page
   never scrolls sideways and check.sh finds no clipped element. */
[data-gallery="strip"] .card-list:has(> li > figure) { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem; }
@media (min-width: 768px) {
  [data-gallery="strip"] .card-list:has(> li > figure) { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }
}
[data-gallery="strip"] .card-list:has(> li > figure) :is(img, .img-placeholder) { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 0; }
[data-gallery]:not([data-gallery="strip"]) .card-list:has(> li > figure) img { border-radius: var(--radius); }
/* grid (M2b.4 polish): even tiles, three across (also on a phone, as small tiles) when there are 3, 6 or 9 photos. */
[data-gallery="grid"] .card-list:has(> li > figure) img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
[data-gallery="grid"] .card-list:is(:has(> li:nth-child(3):last-child), :has(> li:nth-child(6):last-child), :has(> li:nth-child(9):last-child)):has(> li > figure) {
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
@media (min-width: 768px) {
  [data-gallery="grid"] .card-list:is(:has(> li:nth-child(3):last-child), :has(> li:nth-child(6):last-child), :has(> li:nth-child(9):last-child)):has(> li > figure) { gap: 1rem; }
}

/* M2b.4 polish (D23): one stylesheet for the polish parts, so a page loads one file in place of four (render-blocking
   requests cost Lighthouse performance on a slow phone connection). Linked by src/layouts/Page.astro and kept in dist/
   by astro.config.mjs only when one part is used (src/lib/polish.ts usesPolish): the header and footer navigation,
   section bands, the location section, sample reviews. Each part below says what it styles. */

/* M2b.4 polish (D23): theme.json style.header / style.footer "nav" in the default look (src/layouts/Page.astro).
   Header: the section links inline from 1024 px; below that a menu button (a <details> element, no script) after the
   call button that opens the same links under the header. Footer: name, links, phone and profiles. Linked and kept in
   dist/ only with one of the two tokens (src/lib/polish.ts). */
.site-header:has(.head-nav) { position: sticky; }
@media (min-width: 768px) { .site-header:has(.head-nav) { position: relative; } }
.site-header:has(.head-nav) .site-name { font-family: var(--font-heading, inherit); font-size: 1.25rem; line-height: 1.15; }
.head-nav { order: 5; }
.head-nav-list { display: none; }
.head-menu > summary { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
  border-radius: var(--radius); color: var(--color-base); cursor: pointer; list-style: none; }
.head-menu > summary::-webkit-details-marker { display: none; }
.head-menu[open] > summary { background: color-mix(in srgb, var(--color-base) 12%, transparent); }
.head-menu:not([open]) > ul { display: none; }
.head-menu > ul { position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 0.5rem 1rem 1rem; list-style: none;
  background: var(--color-bg); border-bottom: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent);
  box-shadow: 0 0.75rem 1.5rem rgb(0 0 0 / 0.08); }
.head-menu > ul a { display: flex; align-items: center; min-height: 44px; padding-inline: 0.5rem; font-weight: 600; text-decoration: none; }
@media (min-width: 1024px) {
  .head-nav { order: 0; margin-inline: auto; }
  .head-menu { display: none; }
  .head-nav-list { display: flex; flex-wrap: wrap; gap: 0 1.75rem; margin: 0; padding: 0; list-style: none; }
  .head-nav-list a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-text); font-weight: 600;
    font-size: 0.9375rem; text-decoration: none; }
  .head-nav-list a:hover { color: var(--color-base); text-decoration: underline; }
}

.site-footer-nav { padding-block: 2.5rem 2rem; }
.footer-nav-grid { display: grid; gap: 1rem; }
.site-footer-nav .footer-nav-name { color: inherit; font-family: var(--font-heading, inherit); font-size: 1.5rem; font-weight: 700; text-decoration: none; }
.footer-nav-links ul, .footer-nav-contact { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: 0; padding: 0; list-style: none; }
.footer-nav-links a, .footer-nav-contact :is(a, span) { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; }
.footer-nav-meta { padding-top: 1rem; font-size: 0.875rem; border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
.footer-nav-meta p { margin: 0.25rem 0; }
@media (min-width: 1024px) {
  .footer-nav-grid { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 2.5rem; }
  .footer-nav-links ul { justify-content: center; }
  .footer-nav-contact { flex-direction: column; align-items: flex-start; gap: 0; }
  .footer-nav-contact :is(a, span) { min-height: 36px; }
  .footer-nav-meta { grid-column: 1 / -1; }
}

/* M2b.4 polish (D23): content "band" draws a section as a full-width coloured band (src/pages/index.astro wraps it in
   div.band). Linked and kept in dist/ only when a section has "band" (src/lib/polish.ts). Every pair is one that
   check.sh holds at >= 4.5:1: accent = accentText on accent; dark = the footer pair; soft = text, muted and base on
   surface. A "colors" theme (no accentText, surface or footer pair) falls back to the same roles as the footer. */
.band { padding-block: 0.5rem; }
.band + .band { margin-top: 0; }
/* A band as the last section meets the footer without a strip of page colour between them. */
body:has(main > .band:last-child) .site-footer { margin-top: 0; }
.band-accent { background: var(--color-accent); color: var(--color-accent-text, var(--color-text)); }
.band-dark { background: var(--color-footer-bg, var(--color-base)); color: var(--color-footer-text, var(--color-bg)); }
.band-soft { background: var(--color-surface, color-mix(in srgb, var(--color-base) 5%, var(--color-bg))); }
:is(.band-accent, .band-dark) :is(h1, h2, h3, p, li, dt, dd, .eyebrow, .lead, .muted, a:not(.btn)) { color: inherit; }
:is(.band-accent, .band-dark) .btn-secondary { color: inherit; border-color: currentColor; background: transparent; }
.band-accent .btn-primary { background: var(--color-accent-text, var(--color-bg)); color: var(--color-accent);
  border-color: var(--color-accent-text, var(--color-bg)); }
.band-accent :focus-visible { outline-color: currentColor; box-shadow: 0 0 0 5px var(--color-accent); }
.band-dark :focus-visible { outline-color: currentColor; box-shadow: 0 0 0 5px var(--color-footer-bg, var(--color-base)); }

/* A contact section in a band: the title and text at the left, the buttons at the right from md (a call-to-action band). */
@media (min-width: 768px) {
  .band .section-contact > .container-kit { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 2.5rem; align-items: center; }
  .band .section-contact > .container-kit > :not(.cta-row) { grid-column: 1; margin-block: 0.25rem; }
  .band .section-contact > .container-kit > .cta-row { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
}

/* M2b.4 polish (D23): the location section (src/sections/location/): opening hours and "find us" side by side, with an
   optional stylised map tile. Linked and kept in dist/ only when a location section renders (src/lib/polish.ts).
   Text uses text, muted and base on the page colour (checked by check.sh); the icons and the tile are decoration. */
.location-grid { display: grid; gap: 2rem; }
.location-grid h2 { display: flex; align-items: center; gap: 0.5rem; margin-top: 0; font-size: clamp(1.375rem, 2.6vw, 1.75rem); }
.location-icon { flex: none; color: var(--color-accent); }
.hours-list { display: grid; gap: 0.375rem; margin: 1rem 0 0; }
.hours-row { display: grid; grid-template-columns: minmax(7.5rem, max-content) minmax(0, 1fr); gap: 1.5rem; }
.hours-row dd { margin: 0; font-weight: 600; }
.location-address { font-weight: 600; }
.location-map-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.location-tile { display: block; width: 100%; max-width: 30rem; height: auto; }
.tile-land { fill: color-mix(in srgb, var(--color-base) 9%, var(--color-surface, var(--color-bg))); }
.tile-water { fill: #b9d9e8; }
.tile-park { fill: color-mix(in srgb, #8fb46e 40%, var(--color-surface, var(--color-bg))); }
.tile-road, .tile-street { fill: none; stroke: var(--color-surface, #ffffff); stroke-linecap: round; }
.tile-road { stroke-width: 7; }
.tile-street { stroke-width: 3.5; }
.tile-pin { fill: var(--color-accent); }
.tile-pin-dot { fill: var(--color-accent-text, #ffffff); }
@media (min-width: 768px) {
  .location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .location-hours { padding-inline-end: 2rem; border-inline-end: 1px solid color-mix(in srgb, var(--color-muted) 35%, transparent); }
  .location-has-map .location-tile { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .location-has-map .location-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
  .location-has-map .location-tile { grid-column: auto; }
}

/* M2b.4 polish (D23): a reviews section with "sample": true (showcase sites only, src/lib/content.ts): the visible note
   that the quotes are examples, and quote cards with a quote mark and the stars. Linked and kept in dist/ only then. */
.review-sample-note { display: inline-block; margin: 0.25rem 0 0.75rem; padding: 0.25rem 0.75rem; border-radius: 999px;
  background: var(--color-surface, var(--color-bg)); color: var(--color-muted); font-size: 0.875rem; font-weight: 600;
  border: 1px solid color-mix(in srgb, var(--color-muted) 35%, transparent); }
.reviews-sample .review { display: flex; flex-direction: column; }
.reviews-sample .review blockquote { margin: 0; }
.reviews-sample .review blockquote::before { content: "\201C"; display: block; height: 1.75rem; color: var(--color-base);
  font-family: var(--font-heading, inherit); font-size: 3rem; font-weight: 700; line-height: 1; }
.reviews-sample .review-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; margin: auto 0 0; padding-top: 0.5rem; }
.reviews-sample .review-stars { color: var(--color-accent); letter-spacing: 0.15em; }
.reviews-sample .review-name { font-weight: 600; }
.reviews-sample .review-place { color: var(--color-muted); }

/* M2b.4 step 6 (D20): the language switch in the header (src/layouts/Page.astro) of a site with site.json "altLangs".
   Linked and kept in dist/ only then. The active language is marked with aria-current and not underlined. Phone first:
   compact (32 px wide, 40 px high); from md the full 44 px target. */
.lang-switch { display: flex; flex-shrink: 0; margin-inline-start: auto; font-size: 0.875rem; font-weight: 700; }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 2rem; min-height: 2.5rem;
  padding-inline: 0.25rem; border-radius: var(--radius, 0.5rem); color: var(--color-base); text-decoration: underline;
  text-underline-offset: 0.2em; }
.lang-switch a[aria-current] { text-decoration: none; color: var(--color-text); background: color-mix(in srgb, var(--color-base) 12%, transparent); }
/* Below md the header has no room for name, switch and number: the call button after the switch shows its icon only
   (its aria-label keeps the number; the hero and contact buttons show it in full). check.sh overflow 320 px holds. */
@media (max-width: 47.99rem) {
  .lang-switch + a { font-size: 0; gap: 0; }
}
@media (min-width: 48rem) {
  .lang-switch { gap: 0.25rem; }
  .lang-switch a { min-width: 2.75rem; min-height: 2.75rem; padding-inline: 0.5rem; }
}
