/* Тбилиси по тредам — белый, красный флага Грузии, почти чёрный текст */
:root {
  --bg: #ffffff;
  --ink: #141210;
  --ink-2: #3a3632;
  --muted: #8a837b;
  --line: #ece7e1;
  --line-2: #dcd5cc;
  --red: #e8112d;
  --red-soft: #fdecee;
  --serif: "Cormorant", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ka: "Noto Serif Georgian", serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-spring: cubic-bezier(.5, 1.6, .4, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.6 var(--sans);
  overflow-x: hidden;
}
a { color: inherit; }
::selection { background: var(--red); color: #fff; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.ka { font-family: var(--ka); }

/* ——— шапка ——— */
.masthead {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.masthead.is-stuck { border-bottom-color: var(--line); }
.masthead-row { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: .01em; }
.brand-cross { width: 16px; height: 16px; fill: var(--red); transition: transform .8s var(--ease); }
.brand:hover .brand-cross { transform: rotate(90deg); }
.masthead-ka { color: var(--muted); font-size: 13px; letter-spacing: .12em; }
.masthead-end { display: flex; align-items: center; gap: 18px; }
@media (max-width: 560px) { .masthead-ka { display: none; } }

/* ——— языки ——— */
.lang { position: relative; }
.flag { display: inline-block; width: 20px; height: 14px; border-radius: 2px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px rgba(20, 18, 16, .1); }
.flag svg { display: block; width: 100%; height: 100%; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px 0 8px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
  font: 500 13px/1 var(--sans); cursor: pointer; transition: border-color .2s, box-shadow .3s var(--ease);
}
.lang-btn:hover, .lang.is-open .lang-btn { border-color: var(--line-2); box-shadow: 0 6px 18px -10px rgba(20, 18, 16, .35); }
.lang-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.chev { width: 12px; height: 12px; fill: none; stroke: var(--muted); stroke-width: 1.5; transition: transform .35s var(--ease); }
.lang.is-open .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; margin: 0; padding: 6px; list-style: none; min-width: 180px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(20, 18, 16, .04), 0 18px 40px -16px rgba(20, 18, 16, .28);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right;
  transition: opacity .2s, transform .35s var(--ease), visibility 0s .35s;
}
.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .35s var(--ease); }
.lang-menu li {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px;
  font-size: 14px; cursor: pointer; outline: none; position: relative;
}
.lang-menu li:hover, .lang-menu li:focus-visible { background: #faf8f5; }
.lang-menu li[aria-selected="true"] { font-weight: 600; }
.lang-menu li[aria-selected="true"]::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; margin-top: -3px;
  background: var(--red); transform: rotate(45deg);
}
@media (prefers-reduced-motion: reduce) { .lang-menu, .chev { transition: none; } }

/* ——— герой ——— */
.hero { position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1fr; align-items: center;
  padding-top: 24px; padding-bottom: 48px; position: relative;
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 24px; min-height: min(560px, 78vh); } }
.hero-text { position: relative; z-index: 2; }

.overline {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.overline .ka { color: var(--red); letter-spacing: .08em; text-transform: none; font-size: 15px; }
.overline .dot { width: 4px; height: 4px; background: var(--red); transform: rotate(45deg); }

.title {
  margin: 0; font-family: var(--serif); font-weight: 500;
  font-size: clamp(54px, 10vw, 112px); line-height: .92; letter-spacing: -.02em;
}
.title em { font-style: italic; color: var(--red); }
.title .w { display: block; overflow: hidden; padding-bottom: .06em; }
.title .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.title .w:nth-child(2) > span { transition-delay: .12s; }
.is-ready .title .w > span { transform: none; }

.lead { max-width: 30em; margin: 26px 0 0; color: var(--ink-2); font-size: 16px; }

.figures { display: flex; gap: 36px; margin: 34px 0 0; }
.figures div { position: relative; padding-left: 14px; }
.figures div::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 6px; width: 1px; background: var(--line-2); }
.figures dt { font-family: var(--serif); font-size: 40px; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.figures dd { margin: 4px 0 0; font-size: 12px; color: var(--muted); letter-spacing: .04em; }

/* медальон с лозой: стебель растёт, листья раскрываются, ягоды наливаются, потом всё дышит */
.sun {
  position: absolute; z-index: 1; right: -110px; top: -30px; width: 300px; aspect-ratio: 1;
  opacity: .35; pointer-events: none;
}
@media (min-width: 600px) { .sun { right: -70px; top: -10px; width: 380px; opacity: .5; } }
@media (min-width: 900px) {
  .sun { position: relative; right: auto; top: auto; width: 100%; max-width: 470px; justify-self: end; opacity: 1;
         transform: translateY(calc(var(--scroll-y, 0) * -0.08px)); }
}
.hero-vine { width: 100%; height: 100%; overflow: visible; }
.hero-vine .halo { fill: none; stroke: var(--line-2); stroke-width: .5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hero-vine .stem, .hero-vine .tendril, .hero-vine .stalk, .hero-vine .leaf-vein {
  fill: none; stroke: var(--red); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1;
}
.hero-vine .stem { stroke-width: 1.3; }
.hero-vine .tendril { stroke-width: .8; }
.hero-vine .stalk { stroke-width: .9; }
.hero-vine .leaf-vein { stroke-width: .5; }
.hero-vine .leaf-blade { fill: var(--red); fill-opacity: .07; stroke: var(--red); stroke-width: .9; stroke-linejoin: round; }
.hero-vine .leaf-in { transform-box: view-box; transform-origin: 0 0; transform: scale(0) rotate(-50deg); }
.hero-vine .leaf-sway { transform-box: view-box; transform-origin: 0 0; }
.hero-vine .cluster-swing { transform-box: view-box; transform-origin: 0 -10px; }
.hero-vine .berry { fill: #fff; stroke: var(--red); stroke-width: .8; transform-box: fill-box; transform-origin: center; transform: scale(0); }

.is-ready .hero-vine .halo { animation: v-draw 2.6s var(--ease) .3s forwards; }
.is-ready .hero-vine .stem { animation: v-draw 1.6s cubic-bezier(.45,.05,.3,1) forwards; animation-delay: calc(.2s + var(--s) * 1.1s); }
.is-ready .hero-vine .leaf-in { animation: v-unfold 1.1s var(--ease-spring) forwards; animation-delay: calc(.9s + var(--i) * .38s); }
.is-ready .hero-vine .leaf-vein { animation: v-draw .9s ease forwards; animation-delay: calc(1.5s + var(--i) * .38s); }
.is-ready .hero-vine .leaf-sway { animation: v-sway 5.5s ease-in-out infinite alternate; animation-delay: calc(3.4s + var(--i) * -1.3s); }
.is-ready .hero-vine .tendril { animation: v-draw 1.4s cubic-bezier(.3,.6,.2,1) forwards; animation-delay: calc(2.5s + var(--t) * .3s); }
.is-ready .hero-vine .stalk { animation: v-draw .5s ease forwards 2.3s; }
.is-ready .hero-vine .berry { animation: v-berry .7s cubic-bezier(.5,1.8,.4,1) forwards, v-ripe 1.2s ease forwards; animation-delay: calc(2.5s + var(--b) * .06s), calc(3.4s + var(--b) * .06s); }
.is-ready .hero-vine .cluster-swing { animation: v-swing 4.8s ease-in-out 3.6s infinite alternate; }

@keyframes v-draw { to { stroke-dashoffset: 0; } }
@keyframes v-unfold { to { transform: none; } }
@keyframes v-berry { to { transform: scale(1); } }
@keyframes v-ripe { to { fill: var(--red-soft); } }

/* орнамент — ромбы на нити, раскрывается от центра */
.ornament {
  height: 14px; margin: 0 auto; max-width: 1160px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Cpath d='M0 7H28' stroke='%23e8112d' stroke-width='.7'/%3E%3Cpath d='M14 2.5L18.5 7L14 11.5L9.5 7Z' fill='none' stroke='%23e8112d' stroke-width='.9'/%3E%3Ccircle cx='14' cy='7' r='1.2' fill='%23e8112d'/%3E%3C/svg%3E") center / 28px 14px repeat-x;
  -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent) center / 0% 100% no-repeat;
  mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent) center / 0% 100% no-repeat;
  transition: -webkit-mask-size 2s var(--ease) .6s, mask-size 2s var(--ease) .6s;
}
.is-ready .ornament { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.ornament-thin { opacity: .45; }

/* ——— раскрытие при прокрутке ——— */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal { transform: translateY(var(--lift, 0px)); translate: 0 22px; transition: opacity .9s var(--ease), translate .9s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease); transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s; }
.card.reveal.in { translate: 0 0; }
.hero .reveal { transition-delay: .5s; }
.hero .lead.reveal { transition-delay: .65s; }
.hero .figures.reveal { transition-delay: .8s; }

/* ——— баннер, вкладки, поиск ——— */
.banner {
  display: flex; gap: 10px; align-items: center; margin: 36px 0 0; padding: 12px 16px;
  border: 1px solid var(--red-soft); background: linear-gradient(90deg, var(--red-soft), #fff 70%);
  font-size: 13px; color: var(--ink-2);
}
.banner svg { width: 12px; height: 12px; fill: var(--red); flex: none; }

.tabs { position: relative; display: flex; gap: 28px; margin-top: 40px; border-bottom: 1px solid var(--line); }
.tab {
  background: none; border: 0; padding: 0 0 12px; cursor: pointer;
  font: 500 26px/1.1 var(--serif); color: var(--muted); transition: color .3s;
}
.tab.is-active, .tab:hover { color: var(--ink); }
.ink {
  position: absolute; bottom: -1px; left: 0; height: 2px; width: 0; background: var(--red);
  transition: transform .55s var(--ease-spring), width .55s var(--ease-spring);
}

.controls { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.search { position: relative; flex: 1 1 260px; min-width: 0; }
.search svg { position: absolute; left: 0; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 1.6; }
.search input {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 0 12px 30px;
  border: 0; border-bottom: 1px solid var(--line-2); background: transparent; color: var(--ink); outline: none;
  transition: border-color .3s;
}
.search input:focus { border-bottom-color: var(--red); }
#sort {
  font: inherit; font-size: 14px; padding: 12px 28px 12px 0; border: 0; border-bottom: 1px solid var(--line-2);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23e8112d' stroke-width='1.4'/%3E%3C/svg%3E") right center no-repeat;
  color: var(--ink); appearance: none; -webkit-appearance: none; cursor: pointer; outline: none; border-radius: 0;
}

/* категории — горизонтальная лента, под активной скользит красная черта */
.chips-scroll { overflow-x: auto; margin: 22px -16px 30px; padding: 0 16px; scrollbar-width: none; }
.chips-scroll::-webkit-scrollbar { display: none; }
.chips { position: relative; display: flex; gap: 22px; width: max-content; padding-bottom: 10px; }
.chip {
  background: none; border: 0; padding: 4px 0; cursor: pointer; white-space: nowrap;
  font: inherit; font-size: 14px; color: var(--muted); transition: color .3s;
}
.chip:hover, .chip.is-active { color: var(--ink); }
.chip sup { color: var(--red); font-size: 10px; margin-left: 3px; }
.chips .ink { bottom: 2px; height: 2px; }

/* ——— карточки ——— */
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 28px;
}
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 26px 24px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
  box-shadow:
    0 1px 1px rgba(20, 18, 16, .03),
    0 4px 10px -4px rgba(20, 18, 16, .06),
    0 18px 36px -22px rgba(20, 18, 16, .18);
  transform: translateY(var(--lift, 0px));
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.card:hover {
  --lift: -3px;
  box-shadow:
    0 2px 2px rgba(20, 18, 16, .03),
    0 12px 22px -8px rgba(20, 18, 16, .10),
    0 34px 60px -28px rgba(140, 10, 28, .30);
}
/* блик, который ползёт за курсором */
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(232, 17, 45, .06), transparent 45%);
  transition: opacity .4s;
}
.card:hover::before { opacity: 1; }
.card::after {
  content: ""; position: absolute; inset: -1px; border: 1px solid var(--red); border-radius: inherit; pointer-events: none;
  clip-path: inset(0 100% 100% 0); transition: clip-path .6s var(--ease);
}
.card:hover::after { clip-path: inset(0 0 0 0); }
.card-top { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); letter-spacing: .03em; }
.idx { font: italic 500 18px/1 var(--serif); color: var(--red); }
.card-mark { width: 14px; height: 14px; margin-left: auto; fill: var(--red); opacity: 0; transform: rotate(-90deg) scale(.4); transition: opacity .4s, transform .7s var(--ease-spring); }
.card:hover .card-mark { opacity: 1; transform: none; }
.card h3 { margin: 0; font: 500 28px/1.08 var(--serif); letter-spacing: -.01em; overflow-wrap: anywhere; }
.card h3 a { text-decoration: none; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.card h3 a:hover { background-size: 100% 1px; }
.summary { margin: 0; color: var(--ink-2); font-size: 14px; }
.tags { font-size: 12px; color: var(--muted); }
.tags span + span::before { content: " · "; color: var(--red); }

.score { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.score .num { font: 500 26px/1 var(--serif); color: var(--ink); margin-right: 2px; }
.bar { flex: 1; display: flex; gap: 2px; height: 3px; min-width: 60px; }
.bar span { display: block; transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease) calc(var(--d, 0s) + .25s); }
.in .bar span, .sheet .bar span { transform: scaleX(1); }
.bar .pos { background: var(--ink); }
.bar .neu { background: var(--line-2); }
.bar .neg { background: var(--red); }
.pm { white-space: nowrap; }
.pm .p { color: var(--ink); }
.pm .n { color: var(--red); }
.g-badge { font-size: 12px; color: var(--muted); }
.g-badge b { color: var(--ink); font-weight: 600; }

.quotes { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.quote { position: relative; padding-left: 16px; font-size: 14px; }
.quote::before { content: ""; position: absolute; left: 0; top: .45em; width: 5px; height: 5px; transform: rotate(45deg); background: var(--line-2); }
.quote.positive::before { background: var(--ink); }
.quote.negative::before { background: var(--red); }
.quote p { margin: 0 0 3px; font-family: var(--serif); font-size: 18px; line-height: 1.3; overflow-wrap: anywhere; }
.by { font-size: 12px; color: var(--muted); }
/* переведённая цитата: перевод, а по кнопке — оригинал */
.quote .q-orig, .quote.show-orig .q-tr { display: none; }
.quote.show-orig .q-orig { display: block; }
.is-soon { cursor: default; }
.ai-note { margin: 6px 0 0; font-size: 12px; color: var(--muted); font-style: italic; }
.owner-note { margin: 36px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.owner-note .owner-link, .by .report { color: var(--muted); border-bottom: 1px dashed var(--line-2); text-decoration: none; }
.owner-note a.owner-link:hover, .by a.report:hover { color: var(--red); border-color: var(--red); }
/* «весь пост»: фрагмент остаётся, ниже раскрывается весь текст */
.quote.show-full > p:not(.q-full):not([hidden]) { opacity: .55; font-size: 15px; }
.quote .q-full { margin-top: 6px; }
.full-toggle { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; border-bottom: 1px dashed var(--line-2); }
.full-toggle:hover { color: var(--red); border-color: var(--red); }
.tr-toggle { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.tr-toggle u { text-decoration: none; border-bottom: 1px dashed var(--line-2); }
.tr-toggle:hover u { color: var(--red); border-color: var(--red); }
.by a { text-decoration: none; border-bottom: 1px solid var(--line-2); }
.by a:hover { color: var(--red); border-color: var(--red); }
.reply-mark { color: var(--red); white-space: nowrap; }
.more, .open { font: inherit; font-size: 13px; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; color: var(--muted); }
.more:hover { color: var(--ink); }
.open { margin-top: auto; padding-top: 6px; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.open i { display: inline-block; width: 22px; height: 1px; background: var(--red); position: relative; transition: width .4s var(--ease); }
.open i::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid var(--red); border-right: 1px solid var(--red); transform: rotate(45deg); }
.open:hover i { width: 36px; }

.empty, .hint { color: var(--muted); }

/* ——— авторы ——— */
.authors { list-style: none; padding: 0; margin: 20px 0 0; counter-reset: a; }
.author { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); counter-increment: a; flex-wrap: wrap; }
.author::before { content: counter(a, decimal-leading-zero); font: italic 500 18px var(--serif); color: var(--red); width: 28px; }
.author a { font: 500 22px var(--serif); text-decoration: none; }
.author a:hover { color: var(--red); }
.author .num { margin-left: auto; font-size: 13px; color: var(--muted); }

/* ——— подвал ——— */
.foot { margin-top: 80px; padding-bottom: 40px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 20px; font-size: 12px; color: var(--muted); }

/* ——— карточка заведения: раскрывается кругом из точки клика ——— */
dialog#place {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: hidden;
}
dialog#place:focus { outline: none; }
dialog#place::backdrop { background: rgba(20, 18, 16, 0); transition: background .5s var(--ease); }
dialog#place.is-open::backdrop { background: rgba(20, 18, 16, .28); }
.sheet {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(620px, 100%);
  background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
  padding: 64px 24px 48px;
  clip-path: circle(0px at var(--ox, 50%) var(--oy, 50%));
  transition: clip-path .75s var(--ease);
}
@media (min-width: 720px) { .sheet { padding: 72px 48px 56px; border-left: 1px solid var(--line); } }
dialog#place.is-open .sheet { clip-path: circle(var(--or, 150%) at var(--ox, 50%) var(--oy, 50%)); }
.sheet > div > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
dialog#place.is-open .sheet > div > * { opacity: 1; transform: none; }
dialog#place.is-open .sheet > div > *:nth-child(1) { transition-delay: .25s; }
dialog#place.is-open .sheet > div > *:nth-child(2) { transition-delay: .3s; }
dialog#place.is-open .sheet > div > *:nth-child(3) { transition-delay: .35s; }
dialog#place.is-open .sheet > div > *:nth-child(4) { transition-delay: .4s; }
dialog#place.is-open .sheet > div > *:nth-child(n+5) { transition-delay: .45s; }

.close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; z-index: 2; }
.close span { position: absolute; left: 10px; right: 10px; top: 50%; height: 1px; background: var(--ink); transition: transform .5s var(--ease), background .3s; }
.close span:first-child { transform: rotate(45deg); }
.close span:last-child { transform: rotate(-45deg); }
.close:hover span { background: var(--red); }
.close:hover span:first-child { transform: rotate(135deg); }
.close:hover span:last-child { transform: rotate(45deg); }

.sheet .p-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12px; color: var(--muted); letter-spacing: .04em; min-width: 0; }
.sheet .p-top svg { width: 12px; height: 12px; fill: var(--red); }
.sheet h2 { margin: 10px 0 0; font: 500 clamp(38px, 7vw, 54px)/1 var(--serif); letter-spacing: -.02em; overflow-wrap: anywhere; }
.sheet .summary { font: 400 22px/1.35 var(--serif); color: var(--ink); margin-top: 18px; }
.sheet h4 { display: flex; align-items: center; gap: 12px; margin: 36px 0 14px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.sheet h4::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.closed { color: var(--red); font-weight: 600; }
.p-figures { display: grid; grid-template-columns: 1fr 1fr; margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.p-figure { padding: 18px 0; }
.p-figure + .p-figure { padding-left: 20px; border-left: 1px solid var(--line); }
.p-figure .big { font: 500 46px/1 var(--serif); }
.p-figure .big small { font-size: 22px; color: var(--red); }
.p-figure .sub { font-size: 12px; color: var(--muted); margin-top: 6px; }
.p-figure .score { margin-top: 10px; }
.contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.contacts li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; }
.contacts .k { color: var(--muted); }
.contacts a { text-decoration: none; border-bottom: 1px solid var(--line-2); word-break: break-word; }
.contacts a:hover { color: var(--red); border-color: var(--red); }
details.hours { margin-top: 12px; font-size: 14px; }
details.hours summary { cursor: pointer; color: var(--ink); list-style: none; display: inline-flex; gap: 8px; align-items: center; }
details.hours summary::before { content: ""; width: 6px; height: 6px; border-right: 1px solid var(--red); border-bottom: 1px solid var(--red); transform: rotate(-45deg); transition: transform .3s; }
details.hours[open] summary::before { transform: rotate(45deg); }
details.hours ul { margin: 8px 0 0; padding-left: 14px; color: var(--muted); }
.stars { color: var(--red); letter-spacing: 2px; }

/* ——— без анимаций для тех, кто их отключил ——— */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; transition-delay: 0s !important; }
  .hero-vine * { stroke-dashoffset: 0 !important; transform: none !important; }
  .sun { transform: none !important; }
}

/* ——— лоза вдоль страницы ——— */
/* ——— «показать ещё» под сеткой ——— */
.pager {
  display: flex; align-items: center; gap: 8px; margin: 40px auto 0; height: 44px; padding: 0 22px;
  border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink);
  font: 500 14px/1 var(--sans); cursor: pointer; position: relative; z-index: 4;
  transition: border-color .2s, box-shadow .3s var(--ease), transform .3s var(--ease);
}
.pager[hidden] { display: none; }
.pager sup { color: var(--red); font-size: 11px; }
.pager:hover { border-color: var(--ink); box-shadow: 0 10px 24px -14px rgba(20, 18, 16, .4); transform: translateY(-1px); }
.pager:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.vine-rail { display: none; position: absolute; inset: 0; pointer-events: none; z-index: 3; }
@media (min-width: 900px) {
  /* поля под лозу: сетка карточек не ближе 96px к краю окна */
  main.wrap {
    position: relative;
    padding-left: max(32px, calc(96px - max(0px, (100vw - 1160px) / 2)));
    padding-right: max(32px, calc(96px - max(0px, (100vw - 1160px) / 2)));
  }
  .vine-rail { display: block; }
}
.vine-svg { display: block; overflow: visible; }
.vine-stem { fill: none; stroke: var(--red); stroke-width: 1.4; stroke-linecap: round; }
.vine-tendril { fill: none; stroke: var(--red); stroke-width: .8; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease) .3s; }
.vine-tendril.open { stroke-dashoffset: 0; }
.vine-leaf .leaf-in { transform-box: view-box; transform-origin: 0 0; transform: scale(0) rotate(-50deg); transition: transform 1s var(--ease-spring); }
.vine-leaf.open .leaf-in { transform: none; }
.vine-leaf .leaf-sway { transform-box: view-box; transform-origin: 0 0; }
.vine-leaf.near .leaf-sway { animation: v-sway 5.5s ease-in-out infinite alternate; }
.vine-leaf.rustle .leaf-sway { animation: v-rustle .9s ease-in-out 2; }
@keyframes v-rustle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 45% { transform: rotate(10deg); } 70% { transform: rotate(-6deg); } }
.vine-leaf .leaf-blade { fill: var(--red); fill-opacity: .07; stroke: var(--red); stroke-width: .9; stroke-linejoin: round; }
.vine-leaf .leaf-vein { fill: none; stroke: var(--red); stroke-width: .5; }
.vine-cluster { pointer-events: auto; cursor: pointer; outline: none; }
.vine-cluster .cluster-swing { transform-box: view-box; transform-origin: 0 -8px; }
.vine-cluster.open .cluster-swing { animation: v-swing 4.8s ease-in-out infinite alternate; }
.vine-cluster .cluster-stalk { fill: none; stroke: var(--red); stroke-width: .9; }
.vine-cluster .berry { fill: #fff; stroke: var(--red); stroke-width: .8; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .7s var(--ease-spring), fill .3s; }
.vine-cluster.open .berry { transform: scale(1); }
.vine-cluster.open .berry:nth-child(3n) { transition-delay: .08s; }
.vine-cluster.open .berry:nth-child(3n+1) { transition-delay: .16s; }
.vine-cluster:hover .berry, .vine-cluster:focus-visible .berry { fill: var(--red-soft); }
.vine-cluster:focus-visible .cluster-stalk { stroke-width: 1.6; }
.juice-stream { fill: none; stroke: #b30c24; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.juice-drop { fill: #b30c24; }
.vine-glass .glass-bowl { fill: none; stroke: var(--ink); stroke-width: .9; }
.vine-glass .glass-stem { fill: none; stroke: var(--ink); stroke-width: .9; stroke-linecap: round; }
.vine-glass .glass-wine { fill: #8f0a1f; transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
.vine-glass .glass-ripple { fill: none; stroke: #f4b6c0; stroke-width: .6; opacity: 0; transform-box: fill-box; transform-origin: center; }
@keyframes v-sway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@keyframes v-swing { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }

/* переключатель тона: Все · Хвалят · Ругают */
.tone { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; align-self: center; }
.tone button {
  font: inherit; font-size: 13px; padding: 6px 14px; border: 0; border-radius: 999px; background: none; color: var(--muted);
  cursor: pointer; transition: background .3s var(--ease), color .3s;
}
.tone button:hover:not(:disabled):not(.is-active) { color: var(--ink); }
.tone button.is-active { background: var(--ink); color: #fff; }
.tone button[data-tone="neg"].is-active, .tone button[data-tone="negative"].is-active { background: var(--red); }
.tone button:disabled { opacity: .4; cursor: default; }
.tone sup { font-size: 10px; margin-left: 2px; opacity: .7; }
.tone-sm { margin: 0 0 16px; }
.profile a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.profile a:hover { color: var(--red); border-color: var(--red); }

/* вердикт на карточке: хвалят / ругают / вывод */
.verdict { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.verdict b { font-weight: 600; color: var(--ink); margin-left: 2px; }
.verdict .v-neg b { color: var(--red); }
.verdict .v-neg.is-zero b { color: var(--muted); }
.verdict .v-note { flex-basis: 100%; font: italic 500 15px/1.3 var(--serif); color: var(--ink-2); }
.verdict .v-note.is-clean::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 7px; vertical-align: 1px;
  background: var(--red); clip-path: polygon(33% 0, 67% 0, 60% 40%, 100% 33%, 100% 67%, 60% 60%, 67% 100%, 33% 100%, 40% 60%, 0 67%, 0 33%, 40% 40%); }
.p-figure .verdict { margin-top: 10px; }
