/* Як вдома: cross-stitch home. Natural linen, red and black thread, rushnyk borders.
   Motion: the hero bowl is embroidered stitch by stitch with the needle leading; rushnyk bands sew
   themselves as they enter (half stitches out, crosses back, like a hand works a row); steam over the
   soup breathes; dish cards hang on a thread that pulls taut on hover; pages unroll like a towel.
   Rule: the base style is always the FINAL state; animations only describe the way there,
   so reduced motion (and no JS) shows a complete, static page. */

@font-face { font-family: "Kurale"; src: url("/fonts/kurale.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-04FF, U+2000-206F, U+20BD, U+2116, U+2190-2193, U+2212; }
@font-face { font-family: "Lora"; src: url("/fonts/lora.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-04FF, U+2000-206F, U+20BD, U+2116, U+2190-2193, U+2212; }
/* Kurale and Lora have no lari sign: the 2 KB file holds only Noto Serif Georgian's ₾, so prices never fall back to a system font */
@font-face { font-family: "Kurale"; src: url("/fonts/noto-serif-georgian-lari.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+20BE; }
@font-face { font-family: "Lora"; src: url("/fonts/noto-serif-georgian-lari.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+20BE; }
@font-face { font-family: "Noto Serif Georgian"; src: url("/fonts/noto-serif-georgian.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+10A0-10FF, U+1C90-1CBF, U+2D00-2D2F; }

:root {
  --linen: #efe6d6; --linen-2: #e6d9c1; --cloth: #f8f2e6; --ink: #1b1b1b; --muted: #594d41;
  --red: #b3202a; --red-2: #8a1720; --green: #3e6b35; --ochre: #a8721a; --hole: #cfc0a3;
  --display: "Kurale", "Noto Serif Georgian", Georgia, serif;
  --body: "Lora", "Noto Serif Georgian", Georgia, "Times New Roman", serif;
  --wrap: 1160px; --gutter: clamp(16px, 4vw, 36px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1rem; }
body {
  margin: 0; color: var(--ink); font: 400 1.0625rem/1.65 var(--body);
  background-color: var(--linen);
  /* plain weave: fine warp and weft, plus a few thicker slubs like real linen */
  background-image:
    repeating-linear-gradient(0deg, rgba(110, 80, 40, .05) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(110, 80, 40, .045) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(110, 80, 40, .035) 0 2px, transparent 2px 41px),
    repeating-linear-gradient(0deg, rgba(110, 80, 40, .03) 0 2px, transparent 2px 59px);
}
img, svg { max-width: 100%; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: rgba(179, 32, 42, .7); }
a:hover { color: var(--red-2); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--linen); padding: .6rem 1rem; border-radius: 6px; z-index: 50; }
.skip:focus { top: 8px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: .005em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); margin-bottom: .5rem; }
h3 { font-size: 1.55rem; }
h1 [lang="uk"], .chooser h1, .footer-brand, .logo span { color: var(--red); }
.lang-ka h1 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); line-height: 1.25; }
.lang-ka h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.3; }
.lang-ka h3 { font-size: 1.25rem; line-height: 1.3; }
p { margin: 0 0 1rem; }

.site-header, .section, .hero, .page-head, .footer-grid, .footer-meta, .chooser { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- header ---------- */
.site-header { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.4rem; padding: 1rem 0; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--display); font-size: 1.9rem; line-height: 1; }
.logo-mark { width: 46px; height: auto; flex: none; }
.nav { display: flex; gap: 1.3rem; margin-inline-start: auto; font-weight: 600; }
.nav a, .footer-links a { text-decoration: none; padding: .3rem 0; background: no-repeat 0 100% / 0 2px repeating-linear-gradient(90deg, var(--red) 0 7px, transparent 7px 11px); transition: background-size .35s steps(6, end); }
.nav a:hover, .nav a[aria-current="page"], .footer-links a:hover { background-size: 100% 2px; color: var(--ink); }
.lang { display: flex; gap: .15rem; font-size: .85rem; font-weight: 700; }
.lang a { text-decoration: none; padding: .25rem .5rem; border: 1.5px solid transparent; border-radius: 4px; }
.lang a[aria-current="true"] { border: 1.5px dashed var(--red); }
/* phones: two tidy rows, logo with the language switch, then the sections on their own line */
@media (max-width: 760px) {
  .site-header { column-gap: .5rem; row-gap: .35rem; padding: .8rem 0 .6rem; }
  .site-header .head-call { display: none; }
  .logo { flex: 1 1 auto; min-width: 0; gap: .45rem; font-size: 1.55rem; }
  .logo-mark { width: 40px; }
  .lang { order: 2; margin-inline-start: auto; }
  .lang a { padding: .25rem .35rem; }
  .nav { order: 3; flex: 1 0 100%; margin: 0; gap: 1.1rem; font-size: .95rem; }
}

/* ---------- buttons: embroidered patches ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px;
  padding: .75rem 1.45rem; font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  color: #fffaf0; background: var(--red); border: 0; border-radius: 6px;
  box-shadow: 0 2px 0 var(--red-2), 0 8px 16px -10px rgba(80, 10, 10, .7);
  transition: transform .2s var(--ease);
}
.btn::after { content: ""; position: absolute; inset: 5px; border: 1.5px dashed rgba(255, 250, 240, .75); border-radius: 3px; pointer-events: none; }
.btn:hover { color: #fffaf0; transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-ghost { color: var(--ink); background: var(--cloth); box-shadow: 0 2px 0 rgba(27, 27, 27, .3), 0 8px 16px -12px rgba(60, 30, 10, .6); }
.btn-ghost::after { border-color: rgba(27, 27, 27, .5); }
.btn-ghost:hover { color: var(--ink); }
.btn-sm { min-height: 40px; padding: .45rem 1.05rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem 1rem; margin: 1.4rem 0; }
.cta-row.center { justify-content: center; }

/* running-stitch seam under headlines: worked dash by dash on load */
.seam { display: block; width: min(320px, 72%); height: 3px; margin: .9rem 0 1.2rem; background: repeating-linear-gradient(90deg, var(--red) 0 13px, transparent 13px 21px); animation: seam 1s .35s steps(15, end) backwards; }
@keyframes seam { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- hero ---------- */
.hero { display: grid; gap: 1rem 3rem; align-items: center; padding: clamp(.5rem, 3vw, 2.5rem) 0 clamp(1rem, 3vw, 2rem); }
@media (min-width: 900px) { .hero { grid-template-columns: 1.05fr .95fr; } }
.eyebrow { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; color: var(--muted); margin-bottom: .7rem; }
.eyebrow::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-inline-end: .55rem; vertical-align: .05em; background: linear-gradient(45deg, transparent 42%, var(--red) 42% 58%, transparent 58%), linear-gradient(-45deg, transparent 42%, var(--red) 42% 58%, transparent 58%); }
.lede { font-size: 1.18rem; max-width: 33em; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.facts li { padding: .3rem .8rem; border: 1.5px dashed rgba(27, 27, 27, .45); border-radius: 4px; font-weight: 600; font-size: .95rem; background: rgba(248, 242, 230, .75); }
.facts a { text-decoration-color: var(--red); }
.hero-visual { max-width: 520px; width: 100%; justify-self: center; }
@media (max-width: 899px) { .hero-visual { max-width: 360px; } }
.hero-art { display: block; width: 100%; height: auto; overflow: visible; }
.hero-art .motif { filter: drop-shadow(0 .9px .3px rgba(70, 25, 10, .35)); }

/* the hero is embroidered: every cross waits for its turn (--i), "/" leg first, then "\" */
.hero-art .st { stroke-dasharray: 17 18; }
html.js:not(.no-hide) .hero-art:not(.go) .st { opacity: 0; }
.hero-art.go .st { animation: stitch .28s cubic-bezier(.4, 0, .2, 1) backwards; animation-delay: calc(var(--i) * var(--step) + .3s); }
@keyframes stitch { from { stroke-dashoffset: 17.5; } }
.hero-art .steam-g { transition: opacity 1.2s var(--ease); }
html.js:not(.no-hide) .hero-art:not(.done) .steam-g { opacity: 0; }
/* steam: a soft endless breath, paused off screen and in background tabs */
.hero-art .steam { opacity: .7; transform-box: fill-box; transform-origin: 50% 100%; animation: steam 4.5s ease-in-out infinite; animation-delay: calc(var(--i) * -1.5s); }
@keyframes steam {
  0% { opacity: 0; transform: translateY(12px) scaleY(.9); }
  35% { opacity: .85; }
  70% { opacity: .55; }
  100% { opacity: 0; transform: translateY(-16px) scaleY(1.06); }
}
.hero-art.off .steam, html.tab-hidden .hero-art .steam { animation-play-state: paused; }

/* ---------- rushnyk bands ---------- */
.band { position: relative; height: 110px; margin: clamp(.5rem, 2vw, 1.25rem) 0; overflow: hidden; }
.band-zig { height: 80px; }
.band .leg { position: absolute; inset: 0; display: block; }
.band-needle { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.band-needle > span { position: absolute; left: -2px; top: 50%; margin-top: -34px; display: block; }
.band-needle svg { display: block; }
html.js:not(.no-hide) .band:not(.in) .leg { clip-path: inset(0 100% 0 0); }
.band.in .leg-a { animation: sew-out 1.3s steps(36, end) backwards; }
.band.in .leg-b { animation: sew-back 1.3s 1.3s steps(36, end) backwards; }
.band.in .band-needle { animation: ride 2.6s linear; }
.band.in .band-needle > span { animation: pierce .14s steps(2, end) 18; }
@keyframes sew-out { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes sew-back { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes ride { 0% { opacity: 1; transform: translateX(0); } 50% { transform: translateX(100%); } 94% { opacity: 1; } 100% { opacity: 0; transform: translateX(0); } }
@keyframes pierce { 50% { transform: translate(3px, 3px); } }
@media (max-width: 600px) {
  .band { height: 83px; }
  .band-zig { height: 60px; }
  .band .leg { width: 133.4%; max-width: none; height: 133.4%; transform: scale(.75); transform-origin: 0 0; }
}

/* ---------- sections ---------- */
.section { padding: clamp(1.75rem, 4.5vw, 3.25rem) 0; }
.section-tint { width: 100%; max-width: none; padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2)); background: rgba(230, 217, 193, .7); box-shadow: inset 0 1px 0 rgba(27, 27, 27, .08), inset 0 -1px 0 rgba(27, 27, 27, .08); }
.section-intro { font-size: 1.12rem; max-width: 40em; color: #3b332b; }
.page-head { padding: clamp(1.25rem, 4vw, 3rem) 0 .25rem; }
.more { margin-top: 1.5rem; font-weight: 700; }
.small { font-size: .92rem; color: var(--muted); }
.center { text-align: center; }
.nw { white-space: nowrap; }

/* ---------- dish cards: linen patches hung on a thread ---------- */
.cards { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 1.6rem 1.4rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.card {
  position: relative; isolation: isolate; padding: 1.5rem 1.3rem 1.3rem; background: var(--cloth); border-radius: 3px;
  transform-origin: 50% 0; transition: transform .5s var(--ease), opacity .6s var(--ease);
  transition-delay: 0s, calc(var(--i, 0) * .08s);
}
.card::before { content: ""; position: absolute; inset: 7px; border: 1.5px dashed rgba(179, 32, 42, .5); border-radius: 2px; pointer-events: none; }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 3px; box-shadow: 0 16px 26px -16px rgba(70, 35, 10, .55); opacity: .4; transition: opacity .5s var(--ease); pointer-events: none; }
.card-thread { position: absolute; left: 14px; top: -6px; width: calc(100% - 28px); height: 14px; overflow: visible; }
.card-thread path { fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 9 6; vector-effect: non-scaling-stroke; transform-box: view-box; transform-origin: 0 5px; transition: transform .5s var(--ease); }
.card h3 { margin-top: .5rem; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card is the link target */
.card p { margin: .4rem 0 0; color: #3b332b; }
.card .dish-meta { margin-top: .7rem; font-weight: 700; color: var(--ink); }
.price { color: var(--red); font-family: var(--display); font-size: 1.35rem; }
.patch { display: block; }
.motif-x { display: block; height: auto; }
.cards .motif-x { width: auto; height: 74px; }
@media (hover: hover) {
  .card:hover { transform: perspective(800px) rotateX(5deg) translateY(-6px); }
  .card:hover::after { opacity: 1; }
  .card:hover .card-thread path { transform: scaleY(.04); }
}
.card:focus-within::after { opacity: 1; }
@media (max-width: 600px) {
  .cards { gap: 1.3rem; }
  .card { display: grid; grid-template-columns: 84px 1fr; column-gap: 1rem; align-items: start; padding: 1.3rem 1.1rem 1.15rem; }
  .card .patch { grid-row: 1 / span 3; padding-top: .35rem; }
  .card h3 { margin-top: 0; }
  .cards .motif-x { width: 84px; height: auto; }
}
/* cards: the patch is worked row by row as the card comes into view */
html.js:not(.no-hide) .card:not(.in) { opacity: 0; transform: translateY(18px); }
html.js:not(.no-hide) .card:not(.in) .motif-x { clip-path: inset(0 0 100% 0); }
.card.in .motif-x { animation: rows 1s .25s steps(var(--rows, 12), end) backwards; }
@keyframes rows { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- praise: a sampler of topic rows ---------- */
.praise { list-style: none; padding: 1.4rem clamp(1rem, 3vw, 1.8rem); margin: 1.5rem 0 0; display: grid; gap: .65rem; max-width: 820px; background: var(--cloth); position: relative; border-radius: 3px; }
.praise::before { content: ""; position: absolute; inset: 7px; border: 1.5px dashed rgba(27, 27, 27, .3); border-radius: 2px; pointer-events: none; }
.topic { display: grid; grid-template-columns: minmax(6.5rem, 10rem) 1fr 3.6rem; align-items: center; gap: .9rem; }
.topic-name { font-family: var(--display); font-size: 1.3rem; line-height: 1.2; }
.lang-ka .topic-name { font-size: 1.05rem; }
.topic-bar { display: block; }
.bar { display: block; width: 100%; height: auto; }
.topic-pct { font-weight: 700; text-align: end; font-variant-numeric: tabular-nums; }
.bar-st { stroke-dasharray: 1 2; transition: stroke-dashoffset 1.2s cubic-bezier(.45, 0, .55, 1); transition-delay: calc(var(--i, 0) * .13s + .1s); }
html.js:not(.no-hide) .praise:not(.in) .bar-st { stroke-dashoffset: 1.01; }
@media (max-width: 520px) {
  .topic { grid-template-columns: 1fr auto; gap: .2rem .8rem; }
  .topic-bar { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- name + rating ---------- */
.split { display: grid; gap: 1.5rem; align-items: stretch; }
@media (min-width: 820px) { .split { grid-template-columns: 1.3fr 1fr; } }
.name-card, .rating, .where-card, .contact-card, .qa, .qa-full { position: relative; background: var(--cloth); border-radius: 3px; }
.name-card::before, .rating::before, .where-card::before, .contact-card::before, .qa-full::before { content: ""; position: absolute; inset: 7px; border: 1.5px dashed rgba(179, 32, 42, .45); border-radius: 2px; pointer-events: none; }
.name-card { padding: 1.6rem clamp(1.2rem, 3vw, 2rem); }
.name-card p { font-size: 1.12rem; margin: 0; max-width: 32em; }
.patch-lg .motif-x { width: auto; height: 84px; margin-bottom: .6rem; }
.rating { display: grid; justify-items: start; align-content: center; gap: .25rem; padding: 1.6rem 1.8rem; text-decoration: none; transition: transform .25s var(--ease); }
.rating:hover { color: var(--ink); transform: translateY(-3px); }
.rating-src { font-weight: 700; letter-spacing: .07em; text-transform: uppercase; font-size: .8rem; color: var(--muted); }
.rating-num { font-family: var(--display); font-size: clamp(4rem, 9vw, 5.4rem); line-height: .95; color: var(--red); }
.rating-count { font-weight: 600; }
.count { font-variant-numeric: tabular-nums; }
.rating-open { margin-top: .4rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--red); text-decoration-style: dashed; text-underline-offset: 5px; }
.stars { display: block; width: 150px; height: auto; margin: .2rem 0; }

/* ---------- where ---------- */
.where { display: grid; gap: 1.5rem 3rem; align-items: center; }
@media (min-width: 820px) { .where { grid-template-columns: 1.1fr 1fr; } }
.where-card, .contact-card { font-style: normal; padding: 1.5rem 1.7rem; }
.where-card p { margin: 0 0 .7rem; }
.where-card p:last-child { margin: 0; }
.tel { font-weight: 700; font-size: 1.12rem; white-space: nowrap; }

/* ---------- FAQ ---------- */
.qa-list { display: grid; gap: .8rem; max-width: 52em; margin-top: 1.25rem; }
.qa { padding: .2rem 1.2rem; box-shadow: 0 1px 0 rgba(27, 27, 27, .12); }
.qa summary { cursor: pointer; font-weight: 700; padding: .85rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.qa summary::-webkit-details-marker { display: none; }
/* closed: "+", open: the same two threads turn into a cross stitch */
.qa summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(var(--red), var(--red)) 50% / 100% 2.5px no-repeat, linear-gradient(var(--red), var(--red)) 50% / 2.5px 100% no-repeat; transition: transform .3s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa[open] p { animation: qa-open .35s var(--ease); }
@keyframes qa-open { from { opacity: 0; transform: translateY(-6px); } }
.faq-list { display: grid; gap: 1.2rem; max-width: 52em; counter-reset: q; }
.qa-full { padding: 1.3rem 1.5rem 1.3rem 4.2rem; counter-increment: q; }
.qa-full::after { content: counter(q); position: absolute; left: 1.4rem; top: 1.05rem; font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--red); }
.qa-full h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); }
.lang-ka .qa-full h2 { font-size: 1.2rem; }
.qa-full p { margin: .4rem 0 0; }

/* ---------- menu: a towel with woven stripes and a fringe ---------- */
.towel {
  position: relative; max-width: 900px; margin: 1rem auto 3.5rem; padding: 3.2rem clamp(1rem, 4vw, 3rem) 2.6rem;
  background:
    linear-gradient(var(--red), var(--red)) 0 16px / 100% 4px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 25px / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 calc(100% - 25px) / 100% 2px no-repeat,
    linear-gradient(var(--red), var(--red)) 0 calc(100% - 16px) / 100% 4px no-repeat,
    #faf5ea;
  box-shadow: 0 22px 40px -28px rgba(70, 35, 10, .6);
}
.towel::after { content: ""; position: absolute; left: 6px; right: 6px; top: 100%; height: 22px; background: repeating-linear-gradient(90deg, #e9dcc2 0 2px, transparent 2px 4px, var(--red) 4px 6px, transparent 6px 9px); -webkit-mask: linear-gradient(#000, rgba(0, 0, 0, .25)); mask: linear-gradient(#000, rgba(0, 0, 0, .25)); }
.menu-part + .menu-part { margin-top: 2.2rem; }
.menu-part h2 { text-align: center; }
.cards-menu { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.outro { margin: 2.4rem 0 0; text-align: center; font-size: 1.1rem; }

/* ---------- contacts ---------- */
.contact-grid { display: grid; gap: 1.5rem; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-card h2 { font-size: 2rem; }
.contact-card h2.mt { margin-top: 1.4rem; }
.contact-card h2[lang="uk"] { color: var(--red); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: start; padding: .4rem 0; border-bottom: 1.5px dashed rgba(27, 27, 27, .25); font-weight: 500; }
.hours td { text-align: end; font-weight: 700; }
.link-list { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .1rem; font-weight: 600; }
.link-list a { display: inline-block; padding-block: .35rem; }
/* two maps: Yandex and Google tabs over one hoop-like stage; the open links under it work without JS */
.maps { margin-top: 1.5rem; }
.map-tabs { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: .9rem; }
.map-tab[aria-pressed="true"] { color: #fffaf0; background: var(--red); box-shadow: 0 2px 0 var(--red-2), 0 8px 16px -10px rgba(80, 10, 10, .7); }
.map-tab[aria-pressed="true"]::after { border-color: rgba(255, 250, 240, .75); }
.map { position: relative; display: grid; justify-items: center; align-content: center; gap: .9rem; min-height: 340px; padding: 1.5rem; border-radius: 3px; overflow: hidden; background: radial-gradient(circle, var(--hole) 1.2px, transparent 1.6px) 0 0 / 12px 12px, #f3ead8; }
.map > .motif-x { width: auto; height: 110px; }
.map-hint { margin: 0; color: var(--muted); font-weight: 600; text-align: center; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map.loaded > .motif-x, .map.loaded > .map-hint { visibility: hidden; }
html:not(.js) .map-tabs, html:not(.js) .map { display: none; }
.maps .cta-row { margin-bottom: 0; }
.where-card .map-open { display: flex; flex-wrap: wrap; gap: .6rem; margin: -.1rem 0 1rem; }

/* ---------- footer ---------- */
.site-footer { padding: .5rem 0 2.5rem; }
.footer-grid { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 1.2fr 1fr; } }
.footer-brand { font-family: var(--display); font-size: 2.3rem; line-height: 1; margin-bottom: .4rem; }
address { font-style: normal; }
.site-footer address p { margin: 0 0 .3rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; font-weight: 600; }
.footer-links a, .footer-meta a { display: inline-block; padding-block: .35rem; }
.footer-meta { margin-top: 1.5rem; color: var(--muted); font-size: .92rem; }

/* mobile call bar slides up after the first screen */
.cta-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 5.5rem; }
  .cta-bar { position: fixed; z-index: 20; inset: auto 0 0 0; display: flex; gap: .7rem; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: var(--linen); box-shadow: 0 -1px 0 rgba(27, 27, 27, .15), 0 -10px 24px -18px rgba(60, 30, 10, .6); transition: transform .45s var(--ease); }
  .cta-bar .btn { flex: 1; }
  html.js:not(.no-hide) .cta-bar:not(.show) { transform: translateY(110%); }
  html.js .cta-bar:not(.show):focus-within { transform: none; }
  html { scroll-padding-bottom: 6rem; }
}

/* ---------- root language chooser and 404 ---------- */
.chooser { display: grid; justify-items: center; gap: .3rem; text-align: center; padding: clamp(1.5rem, 5vw, 3.5rem) 0; min-height: 100svh; align-content: center; }
.chooser .hero-visual { max-width: 400px; }
.chooser h1 { font-size: clamp(3rem, 8vw, 5rem); line-height: 1; margin-top: .5rem; }
.chooser .seam { margin-inline: auto; }
.chooser .lede { margin-inline: auto; font-size: 1.05rem; }
.pick { color: var(--muted); font-weight: 600; margin: 0; }
.pick span { display: inline-block; } /* each language's phrase wraps as a whole, never mid-phrase */
.page-404 .chooser h1 { color: var(--red); }

/* scroll reveals: a gentle rise; cards and bands have their own stitching */
.reveal { transition: opacity .6s var(--ease), transform .7s var(--ease), clip-path .8s var(--ease); transition-delay: calc(var(--i, 0) * .09s); }
.rating.reveal { transition: opacity .6s var(--ease), transform .25s var(--ease), clip-path .8s var(--ease); }
/* Not inset(... 100%): Chromium's IntersectionObserver honours the target's own clip-path, so a fully clipped block never intersects and never reveals. */
html.js:not(.no-hide) .reveal:not(.in) { opacity: 0; transform: translateY(14px); clip-path: inset(0 0 96% 0); }
html.js .reveal.in { clip-path: inset(-20px -30px -30px -30px); }

/* page transitions (Chromium/Safari): the next page unrolls from the top like a towel */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: unroll .6s cubic-bezier(.65, 0, .25, 1) both; }
@keyframes unroll { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js:not(.no-hide) .reveal:not(.in), html.js:not(.no-hide) .card:not(.in) { opacity: 1; transform: none; clip-path: none; }
  html.js:not(.no-hide) .card:not(.in) .motif-x, html.js:not(.no-hide) .band:not(.in) .leg { clip-path: none; }
  html.js:not(.no-hide) .hero-art:not(.go) .st, html.js:not(.no-hide) .hero-art:not(.done) .steam-g { opacity: 1; }
  html.js:not(.no-hide) .praise:not(.in) .bar-st { stroke-dashoffset: 0; }
  html.js:not(.no-hide) .cta-bar:not(.show) { transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
