/* KIM • Coffee&Style: the cafe's own room. Warm plaster walls the colour of the logo's ground, espresso-brown letters,
   mustard chairs, the teal velvet bench, light oak, black iron of the clothing racks and track lights, white marble
   underfoot and chalkboards on a rope. A boutique lookbook that happens to make coffee: calm, airy, wide-tracked
   capitals like the KIM sign, an italic serif for the "style".
   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: "Lari"; src: url("/fonts/lari.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+20BE; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat.woff2") format("woff2"); font-weight: 300 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+0400-045F, U+2000-206F, U+2116, U+2190-2193, U+2212; }
@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant-italic.woff2") format("woff2"); font-style: italic; font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0400-045F, U+2000-206F; }
@font-face { font-family: "Pangolin"; src: url("/fonts/pangolin.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0400-045F, U+2000-206F, U+2116; }
@font-face { font-family: "Noto Sans Georgian"; src: url("/fonts/noto-sans-georgian.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+10A0-10FF, U+2D00-2D2F; }

:root {
  --plaster: #d3cac1; --plaster-lt: #e4ddd5; --paper: #efeae3; --wall: #dcc9ad; --cream: #f6f2ec;
  --espresso: #251c17; --ink-2: #4a3b32; --muted: #5a4c42; --line: rgba(37, 28, 23, .16);
  --mustard: #e2b53a; --mustard-hi: #edc659; --mustard-dk: #b88a1e; --velvet: #1f6b78; --velvet-dk: #154f59; --velvet-lt: #2e8593;
  --terra: #b8603e; --oak: #c39566; --iron: #1c1816; --chalk: #2b2927; --chalk-ink: #efeae2; --chalk-gold: #f0d27e;
  --sans: "Lari", "Montserrat", "Noto Sans Georgian", "Helvetica Neue", Arial, system-ui, sans-serif;
  --serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --hand: "Lari", "Pangolin", "Noto Sans Georgian", "Comic Sans MS", system-ui, sans-serif;
  --geo: "Lari", "Noto Sans Georgian", system-ui, sans-serif;
  --wrap: 1180px; --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1); --pop: cubic-bezier(.34, 1.45, .55, 1);
  --veins: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='420'%3E%3Cg fill='none' stroke='%23251c17' stroke-opacity='.06' stroke-linecap='round'%3E%3Cpath d='M-10 80C80 60 120 110 210 92S360 40 450 70 600 120 650 96' stroke-width='1.4'/%3E%3Cpath d='M120 92C150 140 140 190 190 230S260 300 250 360' stroke-width='1'/%3E%3Cpath d='M-10 300C70 290 130 330 230 310S420 250 520 290 620 330 650 320' stroke-width='1.2'/%3E%3Cpath d='M450 70C470 120 520 140 530 200' stroke-width='.8'/%3E%3C/g%3E%3C/svg%3E");
  --dots: radial-gradient(rgba(37, 28, 23, .05) 1px, transparent 1.2px) 0 0 / 7px 7px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1rem; background: var(--plaster); }
body { margin: 0; color: var(--espresso); background: var(--plaster); font: 400 1rem/1.7 var(--sans); overflow-x: clip; }
body.lang-ka { font-family: var(--geo); }
img, svg { max-width: 100%; }
main { display: block; overflow-x: clip; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(37, 28, 23, .45); }
a:hover { text-decoration-color: var(--mustard-dk); }
:focus-visible { outline: 3px solid var(--velvet); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--espresso); color: var(--cream); padding: .6rem 1rem; border-radius: 99px; z-index: 50; font-weight: 600; }
.skip:focus { top: 8px; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 400; }
em { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.14em; letter-spacing: 0; color: var(--velvet); }
.lang-ka em { font-family: inherit; font-style: normal; font-size: 1em; font-weight: 600; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* titles: light wide sans like the logo's "Coffee & Style" line, the italic serif for the style word */
.display { font-weight: 300; font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.01em; line-height: 1.08; }
.lang-ka .display { font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.25; letter-spacing: 0; }
.eyebrow, .duo-kicker, .side-title { font-weight: 600; font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.lang-ka .eyebrow, .lang-ka .side-title { letter-spacing: .04em; font-size: .85rem; }

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

/* ---------- header ---------- */
.site-header { position: relative; z-index: 5; display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.8rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--espresso); }
.logo .logo-mark { display: block; width: 148px; height: auto; transition: transform .5s var(--pop); }
.logo:hover .logo-mark { transform: translateY(-1px) scale(1.03); }
.nav { display: flex; gap: 1.8rem; margin-inline-start: auto; font-weight: 500; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.lang-ka .nav { letter-spacing: .02em; text-transform: none; font-size: .95rem; }
.nav a { text-decoration: none; padding: .4rem 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--espresso); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: none; }
.nav a[aria-current="page"]::after { background: var(--mustard-dk); }
.lang { display: flex; gap: .15rem; font-weight: 600; font-size: .74rem; letter-spacing: .12em; }
.lang a { text-decoration: none; padding: .35rem .55rem; border-radius: 99px; }
.lang a[aria-current="true"] { background: var(--espresso); color: var(--cream); }
@media (max-width: 860px) {
  .site-header { column-gap: .6rem; }
  .site-header .head-call { display: none; }
  .logo { flex: 1 0 auto; }
  .logo .logo-mark { width: 120px; }
  .nav { order: 3; flex: 1 0 100%; margin: 0; gap: 1rem; justify-content: space-between; font-size: .72rem; letter-spacing: .14em; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .7rem 1.5rem;
  font: 600 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  color: var(--espresso); background: none; border: 1.5px solid transparent; border-radius: 999px;
  transition: transform .3s var(--pop), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.lang-ka .btn { letter-spacing: .02em; text-transform: none; font-size: .9rem; }
.btn .ico { width: 1.15rem; height: 1.15rem; }
.btn-sm { min-height: 42px; padding: .5rem 1.1rem; }
.btn-mustard { background: var(--mustard); box-shadow: 0 6px 18px -10px rgba(184, 138, 30, .9); }
.btn-mustard:hover { background: var(--mustard-hi); transform: translateY(-2px); }
.btn-line { border-color: rgba(37, 28, 23, .55); }
.btn-line:hover { border-color: var(--espresso); background: rgba(255, 255, 255, .3); transform: translateY(-2px); }
.btn-dark { color: var(--cream); background: var(--espresso); }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.cta-row.center, .center { justify-content: center; text-align: center; }

/* ---------- hero: the shop front ---------- */
.hero { position: relative; background: radial-gradient(55% 60% at 74% 38%, rgba(255, 248, 236, .55), transparent 70%), var(--plaster); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 5rem); }
.hero-copy .eyebrow { margin-bottom: 1.4rem; }
.hero h1 { display: flex; flex-direction: column; gap: .9rem; margin-bottom: 1.4rem; }
.h1-brand { font-weight: 600; font-size: .95rem; letter-spacing: .26em; }
.h1-city { font-weight: 500; color: var(--muted); }
.lang-ka .h1-brand { letter-spacing: .2em; }
.h1-sub { font-weight: 300; font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.02em; }
.lang-ka .h1-sub { font-weight: 500; font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.2; letter-spacing: 0; }
.lede { font-size: 1.08rem; color: var(--ink-2); max-width: 36em; }
.hero .lede { margin-bottom: 1.8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; font-size: .84rem; font-weight: 500; background: rgba(246, 242, 236, .55); border: 1px solid var(--line); border-radius: 99px; }
.chips .ico { color: var(--velvet); }
.hero-art { justify-self: center; width: min(100%, 540px); }
.storefront { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(37, 28, 23, .18)); }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { width: min(100%, 440px); order: -1; }
}

/* ---------- sections ---------- */
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section > .display, .section-intro { max-width: 34em; }
.section-intro { color: var(--ink-2); font-size: 1.06rem; margin: 1rem 0 2.4rem; }
.band { background: var(--paper); }

/* coffee & style: two columns of a lookbook spread joined by the bean with its ampersand */
.duo { width: auto; max-width: none; padding-inline: max(var(--gutter), (100% - var(--wrap)) / 2); background: var(--veins) center / 640px auto, var(--paper); }
.duo-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(1rem, 3vw, 2.5rem); align-items: start; }
.duo-col { text-align: center; }
.duo-art { position: relative; width: min(100%, 360px); margin: 0 auto 1.4rem; aspect-ratio: 1; border-radius: 50%; background: var(--plaster-lt); display: grid; place-items: center; }
.duo-art svg { width: 88%; height: auto; }
.duo-kicker { margin: 0 0 .3rem; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 2rem; letter-spacing: 0; text-transform: none; color: var(--velvet); }
.duo-col h3 { font-weight: 600; font-size: .82rem; letter-spacing: .26em; text-transform: uppercase; margin-bottom: .8rem; }
.lang-ka .duo-col h3 { letter-spacing: .03em; text-transform: none; font-size: 1rem; }
.duo-col p { color: var(--ink-2); max-width: 30em; margin-inline: auto; }
.duo-amp { align-self: center; margin-top: -4rem; color: var(--espresso); --bean-amp: var(--paper); }
.duo-amp .bean-mark { width: clamp(64px, 8vw, 110px); height: auto; display: block; }
@media (max-width: 860px) {
  .duo-grid { grid-template-columns: 1fr; }
  .duo-art { width: min(100%, 300px); }
  .duo-amp { margin: -1rem auto; }
}

/* chalkboards on a rope, on the warm plaster wall */
.chalk { width: auto; max-width: none; padding-inline: max(var(--gutter), (100% - var(--wrap)) / 2); background: var(--dots), var(--wall); }
.chalk-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.sweet { display: flex; gap: 1.2rem; align-items: center; margin: 0 0 2rem; }
.sweet .dome { width: 120px; flex: none; height: auto; }
.sweet h3 { font-weight: 600; font-size: .82rem; letter-spacing: .24em; text-transform: uppercase; margin-bottom: .35rem; }
.lang-ka .sweet h3 { letter-spacing: .03em; text-transform: none; font-size: 1rem; }
.sweet p { margin: 0; color: var(--ink-2); }
.more { margin: 0; }
.board-wrap { position: relative; padding-top: 52px; max-width: 560px; justify-self: center; width: 100%; }
.rope { position: absolute; top: 0; left: 8%; width: 84%; height: 60px; }
.board {
  position: relative; padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.2rem, 3vw, 2.2rem) clamp(1.6rem, 3vw, 2.4rem); color: var(--chalk-ink); border-radius: 6px;
  background: radial-gradient(60% 40% at 30% 20%, rgba(255, 255, 255, .06), transparent 70%), radial-gradient(50% 50% at 80% 90%, rgba(255, 255, 255, .04), transparent 70%), var(--chalk);
  box-shadow: 0 0 0 5px #171412, 0 24px 40px -18px rgba(37, 28, 23, .55); transform-origin: 50% -52px;
}
.board-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .8rem; margin: 0 0 1.2rem; font-family: var(--hand); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; color: #fff; }
.board-title .ico { align-self: center; color: var(--chalk-gold); width: 1.6rem; height: 1.6rem; }
.board-alt { font-size: .62em; color: rgba(239, 234, 226, .65); }
.dishes { list-style: none; margin: 0; padding: 0; }
.dish { padding: .38rem 0; }
.dish-line { display: flex; align-items: baseline; gap: .6rem; font-family: var(--hand); font-size: 1.24rem; line-height: 1.25; }
.dish-name { flex: 0 1 auto; }
.dots { flex: 1 1 1rem; min-width: 1rem; border-bottom: 2px dotted rgba(239, 234, 226, .35); transform: translateY(-.3em); }
.dish-price { flex: none; color: var(--chalk-gold); white-space: nowrap; }
.dish-alt, .dish-note { margin: .05rem 0 0; font-size: .82rem; color: rgba(239, 234, 226, .62); }
.dish-sig .dish-name::after { content: "★"; margin-inline-start: .4rem; color: var(--chalk-gold); font-size: .8em; }
.board-sticker { position: absolute; right: 14px; bottom: 12px; width: 46px; height: 46px; }
.board-sticker svg { width: 100%; height: 100%; display: block; }
@media (max-width: 860px) {
  .chalk-grid { grid-template-columns: 1fr; }
}

/* what guests praise most: the teal velvet of the bench, the rating as a round window sign */
.praise-sec { width: auto; max-width: none; padding-inline: max(var(--gutter), (100% - var(--wrap)) / 2); background: var(--velvet); color: var(--cream); }
.praise-sec em { color: var(--mustard); }
.praise-sec .section-intro { color: rgba(246, 242, 236, .86); }
.praise-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.praise { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.praise-item { display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1.1rem .6rem .8rem; border-radius: 99px; background: var(--velvet-dk); font-weight: 500; }
.praise-item .ico { color: var(--mustard); width: 1.4rem; height: 1.4rem; }
.rating {
  justify-self: center; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .2rem;
  width: min(100%, 320px); aspect-ratio: 1; border-radius: 50%; padding: 2rem; text-decoration: none; color: var(--espresso); background: var(--cream);
  box-shadow: 0 0 0 10px rgba(246, 242, 236, .14), 0 30px 50px -24px rgba(0, 0, 0, .5); transition: transform .4s var(--pop);
}
.rating:hover { transform: rotate(-3deg) scale(1.02); }
.rating-num { font-weight: 300; font-size: 4.4rem; line-height: 1; letter-spacing: -.03em; }
.rating-src { font-weight: 600; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-top: .4rem; }
.lang-ka .rating-src { letter-spacing: .02em; text-transform: none; font-size: .95rem; }
.rating-count { color: var(--muted); font-size: .92rem; }
.rating-open { display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1.5px solid var(--mustard-dk); }
.lang-ka .rating-open { letter-spacing: .02em; text-transform: none; font-size: .9rem; }
.stars { position: relative; display: inline-flex; margin-top: .5rem; color: var(--mustard-dk); }
.stars .ico { width: 1.3rem; height: 1.3rem; }
.stars-off { display: inline-flex; opacity: .3; }
.stars-on { position: absolute; inset: 0 auto 0 0; display: inline-flex; overflow: hidden; width: var(--v); transition: width 1.4s var(--ease) .3s; }
.stars-on .ico { fill: currentColor; }
.rating-sec { display: flex; justify-content: center; padding-top: 0; }
.rating-sec .rating { box-shadow: 0 0 0 1px var(--line), 0 30px 50px -28px rgba(37, 28, 23, .5); }
@media (max-width: 860px) {
  .praise-grid { grid-template-columns: 1fr; }
}

/* where */
.where-grid, .contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.4rem 2.4rem; align-items: start; }
.card { padding: clamp(1.3rem, 3vw, 2rem); background: rgba(246, 242, 236, .7); border: 1px solid var(--line); border-radius: 22px; font-style: normal; }
address { font-style: normal; }
.card .display { font-size: 1.5rem; margin-bottom: 1rem; font-weight: 400; }
.card .display.mt { margin-top: 1.8rem; }
.row { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .8rem; }
.row .ico { color: var(--velvet); margin-top: .2rem; }
.addr { font-weight: 600; font-size: 1.08rem; }
.map-links { margin-top: 1.4rem; }
.where .side-title { margin: 1.8rem 0 .8rem; }
.where-map { margin: 0; }
.where-map .map { display: block; aspect-ratio: 420 / 560; max-width: 420px; margin-inline: auto; }
.where-map .map .locmap-tall { display: block; }
.where-map figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; max-width: 420px; margin: .8rem auto 0; }
.where-map .map-credit { margin: 0; }
.soc-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.soc-btn { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.2rem; border-radius: 99px; text-decoration: none; font-weight: 600; background: var(--espresso); color: var(--cream); transition: transform .3s var(--pop), background-color .2s; }
.soc-btn:hover { background: var(--velvet); transform: translateY(-2px); }
.tel { font-weight: 600; white-space: nowrap; }
.tel-big { font-size: 1.5rem; font-weight: 400; letter-spacing: .02em; }
.hours { border-collapse: collapse; font-size: 1.05rem; }
.hours th { text-align: left; font-weight: 500; padding: .3rem 1.4rem .3rem 0; }
.hours td { font-variant-numeric: tabular-nums; font-weight: 600; }
@media (max-width: 760px) {
  .where-grid, .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- inner pages: a track light over the title ---------- */
.page-head { position: relative; overflow: hidden; padding: 0 0 clamp(2rem, 5vw, 3.5rem); background: radial-gradient(60% 80% at 50% 0, rgba(255, 248, 236, .5), transparent 70%), var(--plaster); border-bottom: 1px solid var(--line); }
.track-wrap { position: absolute; inset: 0 0 auto 0; height: 100%; pointer-events: none; }
.track { width: 100%; height: 100%; display: block; }
.page-head-inner { position: relative; padding-top: clamp(4.5rem, 9vw, 7rem); text-align: center; }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 1rem; }
.lang-ka .page-head h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.page-head .lede { margin-inline: auto; }
.jump ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; list-style: none; margin: 1.6rem 0 0; padding: 0; }
.jump a { display: inline-block; padding: .5rem 1.1rem; border-radius: 99px; text-decoration: none; font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; border: 1.5px solid rgba(37, 28, 23, .5); }
.lang-ka .jump a { letter-spacing: .02em; text-transform: none; font-size: .9rem; }
.jump a:hover { background: var(--espresso); color: var(--cream); }

/* menu page: the boards on the wall */
.page-menu main { background: var(--dots), var(--wall); }
.boards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.boards .board-wrap { max-width: none; }
.board-col { display: flex; flex-direction: column; gap: clamp(2rem, 4vw, 3.5rem); }
.boards .sweet-big { margin: 0; }
.sweet-big { flex-direction: column; align-items: flex-start; padding: clamp(1.4rem, 3vw, 2.2rem); background: rgba(246, 242, 236, .6); border-radius: 22px; }
.boards .notes { grid-column: 1 / -1; margin: 0; }
.sweet-big .dome { width: 150px; }
.sweet-big .display { font-size: 1.6rem; margin-bottom: .4rem; }
.notes { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 1.6rem 0 0; padding: 0; }
.notes li { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 99px; background: rgba(246, 242, 236, .6); font-weight: 500; font-size: .92rem; }
.notes .ico { color: var(--velvet); }
@media (max-width: 860px) {
  .boards { display: flex; flex-direction: column; gap: 2.4rem; }
  .board-col { display: contents; }
  .boards #m-sweet { order: 5; }
  .boards .notes { order: 6; }
}

/* contacts: the maps */
.maps { position: relative; }
.map-tabs { display: flex; gap: .5rem; margin-bottom: .9rem; flex-wrap: wrap; }
.map-tab[aria-pressed="true"] { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.map { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); aspect-ratio: 1200 / 620; background: #ddd5cb; }
.map svg, .map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map iframe { display: block; background: #ddd5cb; }
.map .locmap-wide { display: block; }
.map .locmap-tall { display: none; }
@media (max-width: 700px) {
  .map { aspect-ratio: 420 / 560; }
  .map .locmap-wide { display: none; }
  .map .locmap-tall { display: block; }
}
.locmap text { font-family: var(--sans); font-weight: 600; letter-spacing: var(--ls); fill: #4a3b32; paint-order: stroke; stroke: #ddd5cb; stroke-width: 3px; stroke-linejoin: round; }
.locmap .osm-st text { font-weight: 500; text-anchor: middle; dominant-baseline: central; fill: #6a5a4e; stroke: #f3f0eb; stroke-width: 2.4px; }
.locmap .osm-wt text { fill: #12454e; stroke: #8fb8bc; font-style: normal; }
.locmap .osm-lm text.pk { fill: #45502b; stroke: #c4c8a6; }
.locmap .bar-tag rect { fill: var(--espresso); }
.locmap .bar-tag text { fill: var(--cream); stroke: none; text-anchor: middle; font-weight: 600; letter-spacing: .06em; }
.locmap .osm-lm text, .locmap .osm-wt text { text-anchor: middle; }
.locmap .sbar { fill: var(--espresso); stroke: var(--espresso); stroke-width: 1; }
.locmap .sbar text { stroke: none; font-size: 12px; }
.lang-ka .locmap text { font-family: var(--geo); letter-spacing: 0; }
.map-credit { margin: .5rem 0 0; font-size: .78rem; color: var(--muted); text-align: right; }

.contact-grid { padding-bottom: 0; }
.faq-list + .center { padding-top: 0; }

/* faq */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.qa { padding: 1.4rem 1.6rem; background: rgba(246, 242, 236, .6); border: 1px solid var(--line); border-radius: 22px; }
.qa h2 { font-weight: 600; font-size: 1.05rem; line-height: 1.35; margin-bottom: .5rem; }
.qa p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .faq-list { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { width: auto; max-width: none; padding: 3rem max(var(--gutter), (100% - var(--wrap)) / 2) 2rem; background: var(--espresso); color: var(--cream); }
.site-footer a { text-decoration-color: rgba(246, 242, 236, .4); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; align-items: start; }
.footer-brand .logo { color: var(--cream); }
.footer-brand .logo-mark { width: 170px; }
.footer-brand p { margin-top: 1rem; color: rgba(246, 242, 236, .75); max-width: 24em; }
.site-footer address p { margin-bottom: .5rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.soc-link { display: inline-flex; align-items: center; gap: .5rem; }
.footer-meta { margin: 2.4rem 0 0; padding-top: 1.2rem; border-top: 1px solid rgba(246, 242, 236, .15); font-size: .85rem; color: rgba(246, 242, 236, .7); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } .site-footer { padding-bottom: 6rem; } }

/* mobile call bar */
.cta-bar { display: none; }
@media (max-width: 760px) {
  .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: rgba(211, 202, 193, .96); border-top: 1px solid var(--line); transition: transform .45s var(--ease); }
  .cta-bar .btn { flex: 1; padding-inline: .8rem; }
  html.js:not(.no-hide) .cta-bar:not(.show) { transform: translateY(110%); }
  html.js .cta-bar:not(.show):focus-within { transform: none; }
}

/* ---------- root chooser and 404 ---------- */
.chooser, .lost { min-height: 100vh; display: grid; place-items: center; padding: 2rem var(--gutter); text-align: center; background: radial-gradient(50% 50% at 50% 35%, rgba(255, 248, 236, .6), transparent 70%), var(--plaster); }
.chooser-inner { width: min(640px, 100%); }
.chooser-sign, .lost-sign { width: min(300px, 70vw); margin: 0 auto 1.6rem; }
.chooser-sign svg, .lost-sign svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 20px 30px rgba(37, 28, 23, .2)); }
.chooser h1 { display: flex; flex-direction: column; gap: .4rem; font-weight: 600; font-size: 1.05rem; letter-spacing: .26em; margin-bottom: 1.2rem; }
.h1-ka { font-family: var(--geo); letter-spacing: .06em; text-transform: none; font-weight: 500; }
.chooser .lede { margin: 0 auto 1.6rem; }
.chooser [lang="ka"], .lost [lang="ka"] { font-family: var(--geo); }
.lost-code { font-weight: 300; font-size: 4rem; line-height: 1; margin: 0 0 .5rem; }
.lost h1 { font-size: 1.6rem; font-weight: 400; margin-bottom: .6rem; }

/* =================== motion =================== */
/* 1. The shop front lights up: the dim room brightens, the track spotlights switch on one by one along the ceiling,
      then the round KIM sign is stuck onto the glass with a turn, and the clothes on the rail sway. */
.storefront .dim { transition: opacity 1.5s var(--ease) .2s; }
.storefront .beam { transform-box: fill-box; transform-origin: 50% 0; transition: opacity .5s var(--ease) calc(.5s + var(--i) * .17s), transform .9s var(--ease) calc(.5s + var(--i) * .17s); }
.storefront .lens, .track .lens { transition: fill .2s linear calc(.5s + var(--i) * .17s); }
.storefront .glow { transition: opacity 1s var(--ease) .3s; }
.storefront .decal { transform-box: fill-box; transform-origin: 50% 50%; transition: transform 1.1s var(--pop) 1.7s, opacity .35s linear 1.7s; }
.storefront .sheen { transition: transform 1.6s var(--ease) 1.4s; }
html.js:not(.no-hide) .storefront:not(.in) .dim { opacity: .62; }
html.js:not(.no-hide) .storefront:not(.in) .beam { opacity: 0; transform: scaleY(.12); }
html.js:not(.no-hide) .storefront:not(.in) .lens { fill: #3a332e; }
html.js:not(.no-hide) .storefront:not(.in) .glow { opacity: 0; }
html.js:not(.no-hide) .storefront:not(.in) .decal { opacity: 0; transform: rotate(-140deg) scale(.35); }
html.js:not(.no-hide) .storefront:not(.in) .sheen { transform: translateX(-160px); }
.swing { transform-box: fill-box; transform-origin: 50% 0; }
.storefront.in .swing { animation: sway 2.6s var(--ease) calc(2.2s + var(--i) * .1s) both; }
@keyframes sway { 0% { transform: rotate(0); } 18% { transform: rotate(7deg); } 40% { transform: rotate(-4.5deg); } 62% { transform: rotate(2.4deg); } 82% { transform: rotate(-1deg); } 100% { transform: rotate(0); } }
/* loops: steam over the cup and the Edison bulb breathing, running only while .live and the tab is visible */
.storefront .steam path { animation: steam 2.8s ease-in-out infinite paused; }
.storefront .steam .s2 { animation-delay: -1.4s; }
.storefront .glow { animation: breathe 4s ease-in-out infinite paused; }
@keyframes steam { 0% { opacity: 0; transform: translateY(6px); } 35% { opacity: .85; } 100% { opacity: 0; transform: translateY(-14px); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.storefront .glow { transform-box: fill-box; transform-origin: 50% 50%; }

/* 2. The latte is poured: the pitcher tips, a ribbon of milk runs into the cup, the rosetta blooms and the
      line is pulled through it. The final picture is the finished cup. */
.latte .stream { stroke-dasharray: 1; }
.latte .pitcher { transform-box: fill-box; transform-origin: 30% 80%; }
.latte .art { transform-box: fill-box; transform-origin: 50% 85%; transition: transform 1.3s var(--ease) 1.2s, opacity .6s linear 1.2s; }
.latte .art-line { stroke-dasharray: 1; transition: stroke-dashoffset .8s var(--ease) 2.3s; }
.reveal.in .latte .stream { animation: pour 2.6s var(--ease) .4s both; }
.reveal.in .latte .pitcher { animation: tip 2.8s var(--ease) .2s both; }
.latte .pitcher { transition: none; }
@keyframes pour { 0% { opacity: 1; stroke-dashoffset: 1; } 35% { stroke-dashoffset: 0; } 75% { opacity: 1; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: -1; } }
@keyframes tip { 0% { opacity: 0; transform: translate(30px, -20px); } 15% { opacity: 1; transform: none; } 30%, 70% { opacity: 1; transform: rotate(-16deg); } 100% { opacity: 0; transform: translate(30px, -20px); } }
html.js:not(.no-hide) .reveal:not(.in) .latte .art { opacity: 0; transform: scale(.15); }
html.js:not(.no-hide) .reveal:not(.in) .latte .art-line { stroke-dashoffset: 1; }

/* 3. The showroom rail: the hangers swing when the rail comes into view and sway again under the pointer. */
.reveal.in .showroom .swing { animation: sway 2.4s var(--ease) calc(.4s + var(--i) * .09s) both; }
.duo-style .duo-art:hover .showroom .swing { animation: sway-hover 1.8s var(--ease) calc(var(--i) * .05s) both; }
@keyframes sway-hover { 0% { transform: rotate(0); } 25% { transform: rotate(-6deg); } 55% { transform: rotate(3deg); } 80% { transform: rotate(-1deg); } 100% { transform: rotate(0); } }

/* 4. Chalkboards are hung on their nail: they drop onto the rope and swing until they settle. */
.board-wrap.in .board { animation: hang 2s var(--ease) calc(.15s + var(--i, 0) * .12s) both; }
@keyframes hang { 0% { transform: rotate(3.5deg); } 30% { transform: rotate(-2.2deg); } 55% { transform: rotate(1.1deg); } 78% { transform: rotate(-.4deg); } 100% { transform: rotate(0); } }

/* 5. Page titles: the track light over the title switches on spot by spot. */
.track .beam { transform-box: fill-box; transform-origin: 50% 0; transition: opacity .5s var(--ease) calc(.2s + var(--i) * .12s), transform .8s var(--ease) calc(.2s + var(--i) * .12s); }
.track .lens { transition-delay: calc(.2s + var(--i) * .12s); }
html.js:not(.no-hide) .track-wrap:not(.in) .beam { opacity: 0; transform: scaleY(.1); }
html.js:not(.no-hide) .track-wrap:not(.in) .lens { fill: #3a332e; }
.page-head h1, .page-head .lede, .page-head .jump { transition: opacity .8s var(--ease) .5s, transform .8s var(--ease) .5s; }
html.js:not(.no-hide) .page-head:not(:has(.track-wrap.in)) :is(h1, .lede, .jump) { opacity: 0; transform: translateY(14px); }

/* 6. The window sign on the language page and the 404 turns onto the glass. */
.decal-in svg { transition: transform 1.1s var(--pop) .2s, opacity .3s linear .2s; }
html.js:not(.no-hide) .decal-in:not(.in) svg { opacity: 0; transform: rotate(-140deg) scale(.4); }

/* 7. Ratings: the stars fill to the value and the number counts up (app.js). */
html.js:not(.no-hide) .rating:not(.in) .stars-on { width: 0; }

/* 8. The map: the walk from 6 May Park marches along in mustard dots, a teal ring pings around the KIM pin. */
.locmap .route { animation: march 1.4s linear infinite paused; }
.locmap .pin-ring { transform-box: fill-box; transform-origin: 50% 50%; animation: ping 2.4s var(--ease) infinite paused; }
@keyframes march { to { stroke-dashoffset: -22; } }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.live .steam path, .live .glow, .live .locmap .route, .live .locmap .pin-ring { animation-play-state: running; }
html.js.hidden-tab .live * { animation-play-state: paused !important; }

/* Blocks rise into place. Hidden states live only while JS is alive (no-hide guard). */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * .1s); }
html.js:not(.no-hide) .reveal:not(.in) { opacity: 0; transform: translateY(26px); }
html.js:not(.no-hide) .board-wrap.reveal:not(.in) { transform: translateY(-18px); }
.praise-item.reveal { transition-duration: .5s; transition-timing-function: var(--pop); }
html.js:not(.no-hide) .praise-item.reveal:not(.in) { transform: scale(.8); }

/* 9. Between pages: the new page is drawn open like the curtain of a fitting room. */
@view-transition { navigation: auto; }
::view-transition-new(root) { animation: curtain .65s var(--ease) both; }
::view-transition-old(root) { animation: fade-out .45s var(--ease) both; }
@keyframes curtain { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fade-out { to { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  html.js:not(.no-hide) .reveal:not(.in), html.js:not(.no-hide) .board-wrap.reveal:not(.in), html.js:not(.no-hide) .praise-item.reveal:not(.in) { opacity: 1; transform: none; }
  html.js:not(.no-hide) .storefront:not(.in) .dim { opacity: 0; }
  html.js:not(.no-hide) .storefront:not(.in) .beam { opacity: 1; transform: none; }
  html.js:not(.no-hide) .storefront:not(.in) .lens, html.js:not(.no-hide) .track-wrap:not(.in) .lens { fill: #f6f2ec; }
  html.js:not(.no-hide) .storefront:not(.in) .glow { opacity: 1; }
  html.js:not(.no-hide) .storefront:not(.in) .decal { opacity: 1; transform: none; }
  html.js:not(.no-hide) .storefront:not(.in) .sheen { transform: none; }
  html.js:not(.no-hide) .reveal:not(.in) .latte .art { opacity: 1; transform: none; }
  html.js:not(.no-hide) .reveal:not(.in) .latte .art-line { stroke-dashoffset: 0; }
  html.js:not(.no-hide) .track-wrap:not(.in) .beam { opacity: 1; transform: none; }
  html.js:not(.no-hide) .page-head:not(:has(.track-wrap.in)) :is(h1, .lede, .jump) { opacity: 1; transform: none; }
  html.js:not(.no-hide) .decal-in:not(.in) svg { opacity: 1; transform: none; }
  html.js:not(.no-hide) .rating:not(.in) .stars-on { width: var(--v); }
  html.js:not(.no-hide) .cta-bar:not(.show) { transform: none; }
}
