/* Süfrə — стили */
:root {
  --bg: #FAF7F2;
  --bg-soft: #F2EDE3;
  --bg-card: #FFFFFF;
  --ink: #1A1A1A;
  --ink-2: #4A4842;
  --ink-3: #8A8780;
  --ink-4: #C5C0B4;
  --line: #E8E2D5;
  --line-2: #D8D1C0;
  --accent-emerald: #0E5B4A;
  --accent-emerald-soft: #1F7A65;
  --accent-rust: #C8472B;
  --accent-rust-soft: #DD6448;
  --gold: #B8924A;
  --shadow-sm: 0 1px 2px rgba(26,26,26,.04), 0 1px 0 rgba(26,26,26,.02);
  --shadow-md: 0 4px 16px rgba(26,26,26,.06), 0 1px 3px rgba(26,26,26,.04);
  --shadow-lg: 0 16px 48px rgba(26,26,26,.10), 0 4px 12px rgba(26,26,26,.05);
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 20px;
  --serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
button { font-family: inherit; cursor: default; }
a { color: inherit; text-decoration: none; }

/* ─── Layout ─── */
.app { min-height: 100vh; display: flex; flex-direction: column; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; width: 100%; }
.container.narrow { max-width: 1100px; }

/* ─── Top bar ─── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,.92);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: baseline; gap: 6px; cursor: default; }
.logo-mark { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: -0.02em; color: var(--accent-emerald); }
.logo-mark .accent { color: var(--accent-rust); }
.logo-sub { font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; text-transform: uppercase; padding-left: 10px; border-left: 1px solid var(--line); margin-left: 4px; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-link { padding: 8px 14px; font-size: 14px; color: var(--ink-2); border-radius: var(--r-sm); cursor: default; transition: all 120ms; }
.nav-link:hover { background: var(--bg-soft); color: var(--ink); }
.nav-link.active { color: var(--accent-emerald); font-weight: 600; }
.topbar-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid transparent; background: transparent; color: var(--ink-2); cursor: default; transition: all 150ms; }
.icon-btn:hover { background: var(--bg-soft); color: var(--ink); }
.icon-btn.fav-on { color: var(--accent-rust); }
.lang-switch { display: inline-flex; align-items: center; gap: 0; background: var(--bg-soft); border-radius: 999px; padding: 3px; }
.lang-switch button { border: 0; background: transparent; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-3); cursor: default; }
.lang-switch button.on { background: white; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--ink); color: white; border: 0; padding: 10px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: default; transition: all 150ms; display: inline-flex; align-items: center; gap: 6px; }
.btn-primary:hover { background: var(--accent-emerald); }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--line-2); padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; cursor: default; }
.btn-secondary:hover { background: var(--bg-card); border-color: var(--ink-3); }
.btn-ghost { background: transparent; border: 0; color: var(--accent-emerald); font-size: 13px; font-weight: 600; cursor: default; padding: 6px 0; display: inline-flex; align-items: center; gap: 4px; }
.btn-ghost:hover { color: var(--accent-emerald-soft); }

/* ─── Search bar in nav ─── */
.search-pill { display: flex; align-items: center; gap: 8px; background: var(--bg-soft); border: 1px solid transparent; border-radius: 999px; padding: 8px 14px; min-width: 280px; transition: all 150ms; cursor: text; }
.search-pill:focus-within { background: white; border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.search-pill input { border: 0; background: transparent; outline: 0; flex: 1; font-size: 13px; font-family: inherit; color: var(--ink); }
.search-pill input::placeholder { color: var(--ink-3); }

/* ─── Hero ─── */
.hero { padding: 56px 0 24px; position: relative; }
.hero-eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-emerald); font-weight: 600; margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.hero-eyebrow::before, .hero-eyebrow::after { content: ''; display: block; width: 24px; height: 1px; background: currentColor; opacity: 0.4; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 76px); line-height: 1.02; margin: 0 0 20px; letter-spacing: -0.025em; max-width: 16ch; }
.hero h1 em { font-style: italic; color: var(--accent-rust); font-weight: 400; }
.hero-lead { font-size: 17px; color: var(--ink-2); max-width: 52ch; line-height: 1.55; margin-bottom: 36px; }
.hero-search { display: flex; align-items: center; background: white; border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 22px; max-width: 640px; box-shadow: var(--shadow-md); }
.hero-search input { border: 0; outline: 0; flex: 1; font-size: 15px; font-family: inherit; padding: 12px 8px; background: transparent; }
.hero-search input::placeholder { color: var(--ink-3); }
.hero-search button { background: var(--accent-emerald); color: white; border: 0; padding: 12px 22px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: default; display: inline-flex; align-items: center; gap: 6px; }
.hero-search button:hover { background: var(--accent-emerald-soft); }
.hero-stats { display: flex; gap: 56px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.hero-stat-num { font-family: var(--serif); font-size: 36px; line-height: 1; color: var(--ink); }
.hero-stat-lbl { font-size: 12px; color: var(--ink-3); margin-top: 6px; letter-spacing: 0.04em; text-transform: uppercase; }

/* ─── Categories strip ─── */
.cats { padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.cats-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px; border-radius: var(--r-md); cursor: default; transition: all 150ms; text-align: center; }
.cat-tile:hover { background: white; box-shadow: var(--shadow-sm); }
.cat-tile.on { background: white; box-shadow: var(--shadow-sm); color: var(--accent-emerald); }
.cat-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); }
.cat-tile.on .cat-icon { color: var(--accent-emerald); }
.cat-label { font-size: 12px; line-height: 1.3; color: inherit; font-weight: 500; }

/* ─── Section header ─── */
.section { padding: 64px 0; }
.section.tight { padding: 36px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; gap: 24px; }
.section-eyebrow { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-rust); font-weight: 700; margin-bottom: 8px; }
.section-title { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 44px); margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 400; }
.section-title em { font-style: italic; color: var(--accent-emerald); }
.section-lead { font-size: 15px; color: var(--ink-2); max-width: 56ch; margin-top: 14px; line-height: 1.6; }

/* ─── Grid ─── */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid.dense { gap: 12px; }
.grid.editorial { gap: 32px; grid-template-columns: repeat(2, 1fr); }

/* ─── Restaurant card ─── */
.resto-card { background: var(--bg-card); border-radius: var(--r-lg); overflow: hidden; cursor: default; position: relative; transition: all 200ms; border: 1px solid var(--line); display: flex; flex-direction: column; }
.resto-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.resto-card.minimal { border: 1px solid var(--line); box-shadow: none; background: transparent; }
.resto-card.minimal:hover { background: var(--bg-card); }
.resto-card.shadow { border: 1px solid transparent; box-shadow: var(--shadow-md); }
.resto-card.shadow:hover { box-shadow: var(--shadow-lg); }
.resto-card.editorial { background: transparent; border: 0; border-radius: 0; }
.resto-card.editorial:hover { transform: none; box-shadow: none; }
.resto-card.editorial .resto-body { padding: 20px 0 0; }
.resto-card.editorial .photo-ph { border-radius: var(--r-md); }
.resto-card.editorial .resto-name { font-size: 28px; }

.resto-rank { position: absolute; top: 14px; left: 14px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 16px; font-weight: 500; box-shadow: var(--shadow-sm); }
.resto-fav { position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink-2); border: 0; display: inline-flex; align-items: center; justify-content: center; cursor: default; transition: all 150ms; }
.resto-fav:hover { background: white; color: var(--accent-rust); }
.resto-fav .stars-num { display: none; }
.resto-fav svg { width: 16px; height: 16px; }
.resto-card .resto-fav svg[fill="currentColor"] { color: var(--accent-rust); }
.resto-badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--ink); color: white; }
.resto-badge.editor { background: var(--accent-emerald); }
.resto-badge.top { background: var(--gold); color: white; }
.resto-rank + .resto-badge { left: 56px; }

.resto-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.resto-card.d-compact .resto-body { padding: 12px 14px 14px; }
.resto-meta { font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.resto-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-4); }
.resto-name { font-family: var(--serif); font-size: 22px; font-weight: 400; margin: 0; letter-spacing: -0.01em; line-height: 1.2; }
.resto-card.d-compact .resto-name { font-size: 18px; }
.resto-desc { font-size: 13.5px; color: var(--ink-2); margin: 0; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.resto-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.resto-reviews { font-size: 12px; color: var(--ink-3); }

/* ─── Stars ─── */
.stars-row { display: inline-flex; align-items: center; gap: 2px; color: var(--star-color, var(--accent-rust)); }
.star { position: relative; display: inline-block; }
.star-bg { color: var(--ink-4); position: absolute; inset: 0; }
.star-fill { position: absolute; left: 0; top: 0; height: 100%; overflow: hidden; }
.stars-num { margin-left: 8px; font-size: 13px; font-weight: 600; color: var(--ink); }

/* ─── Photo placeholder ─── */
.photo-ph { width: 100%; position: relative; overflow: hidden; }
.photo-ph .photo-label { position: absolute; bottom: 10px; left: 12px; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 10px; letter-spacing: 0.04em; color: rgba(255,255,255,.85); background: rgba(0,0,0,.32); padding: 3px 8px; border-radius: 4px; backdrop-filter: blur(4px); }

/* ─── Price ─── */
.price-level { display: inline-flex; gap: 1px; font-size: 12px; font-weight: 600; }
.price-level .on { color: var(--ink); }
.price-level .off { color: var(--ink-4); }

/* ─── Rankings page ─── */
.page-head { padding: 40px 0 28px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: 12px; color: var(--ink-3); margin-bottom: 14px; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.crumbs span.sep { margin: 0 6px; color: var(--ink-4); }
.page-title { font-family: var(--serif); font-size: clamp(36px, 5vw, 56px); margin: 0; font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; }
.page-lead { font-size: 16px; color: var(--ink-2); max-width: 64ch; margin-top: 16px; line-height: 1.6; }

.layout-2col { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding: 40px 0 80px; }
.sidenav { position: sticky; top: 92px; align-self: start; }
.sidenav-title { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin-bottom: 14px; padding: 0 12px; }
.sidenav-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1px; }
.sidenav-list button { width: 100%; text-align: left; border: 0; background: transparent; padding: 9px 12px; border-radius: var(--r-sm); font-size: 13.5px; color: var(--ink-2); cursor: default; font-family: inherit; }
.sidenav-list button:hover { background: var(--bg-soft); color: var(--ink); }
.sidenav-list button.on { background: var(--ink); color: white; font-weight: 500; }

/* ─── Ranking row (alternative list view) ─── */
.rank-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.rank-row { display: grid; grid-template-columns: 60px 200px 1fr auto; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); cursor: default; transition: background 150ms; }
.rank-row:hover { background: var(--bg-soft); margin: 0 -16px; padding: 24px 16px; }
.rank-num { font-family: var(--serif); font-size: 36px; color: var(--ink-3); line-height: 1; }
.rank-row .photo-ph { border-radius: var(--r-md); aspect-ratio: 4/3; }
.rank-info h3 { font-family: var(--serif); font-size: 22px; margin: 0 0 4px; font-weight: 400; }
.rank-info p { font-size: 13px; color: var(--ink-2); margin: 0 0 8px; max-width: 60ch; }
.rank-info .resto-meta { font-size: 12px; }
.rank-score { text-align: right; }
.rank-score-num { font-family: var(--serif); font-size: 32px; color: var(--accent-emerald); line-height: 1; font-weight: 500; }
.rank-score-lbl { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

/* ─── Restaurant detail ─── */
.detail-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; height: 480px; margin-top: 24px; border-radius: var(--r-lg); overflow: hidden; }
.detail-gallery .photo-ph:first-child { grid-row: 1 / span 2; }
.detail-gallery .photo-ph { border-radius: 0; height: 100%; aspect-ratio: auto; }
.detail-photos-btn { position: absolute; right: 16px; bottom: 16px; background: rgba(255,255,255,.95); border: 0; padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; cursor: default; box-shadow: var(--shadow-sm); display: inline-flex; align-items: center; gap: 6px; }
.detail-header { padding: 32px 0 0; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.detail-title { font-family: var(--serif); font-size: clamp(38px, 5vw, 56px); margin: 0 0 12px; font-weight: 400; line-height: 1; letter-spacing: -0.02em; }
.detail-meta { display: flex; align-items: center; gap: 16px; color: var(--ink-2); font-size: 14px; flex-wrap: wrap; }
.detail-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-4); }
.detail-actions { display: flex; gap: 10px; }
.score-card { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--accent-emerald); color: white; border-radius: var(--r-md); }
.score-card-num { font-family: var(--serif); font-size: 36px; line-height: 1; font-weight: 500; }
.score-card-lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.85; }
.score-card-val { font-size: 14px; font-weight: 600; }

/* ─── Tabs ─── */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin: 32px 0 0; gap: 4px; }
.tab { padding: 14px 18px; background: transparent; border: 0; font-size: 14px; font-weight: 500; color: var(--ink-3); cursor: default; border-bottom: 2px solid transparent; margin-bottom: -1px; font-family: inherit; }
.tab:hover { color: var(--ink); }
.tab.on { color: var(--accent-emerald); border-bottom-color: var(--accent-emerald); font-weight: 600; }

.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 56px; padding: 40px 0 80px; }
.about-section { margin-bottom: 40px; }
.about-section h3 { font-family: var(--serif); font-size: 22px; margin: 0 0 12px; font-weight: 400; }
.about-section p { color: var(--ink-2); line-height: 1.7; margin: 0 0 12px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; margin-top: 16px; }
.feat { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.feat svg { color: var(--accent-emerald); flex-shrink: 0; }

.info-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; position: sticky; top: 92px; align-self: start; }
.info-card h4 { font-family: var(--serif); font-size: 18px; margin: 0 0 16px; font-weight: 500; }
.info-row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.info-row:last-child { border-bottom: 0; }
.info-row svg { color: var(--ink-3); flex-shrink: 0; margin-top: 2px; }
.info-row-label { color: var(--ink-3); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px; }
.info-row-value { color: var(--ink); font-size: 14px; }
.book-btn { width: 100%; background: var(--accent-emerald); color: white; border: 0; padding: 14px; border-radius: var(--r-md); font-size: 14px; font-weight: 600; cursor: default; margin-top: 16px; transition: background 150ms; }
.book-btn:hover { background: var(--accent-emerald-soft); }
.call-btn { width: 100%; background: white; color: var(--ink); border: 1px solid var(--line-2); padding: 14px; border-radius: var(--r-md); font-size: 14px; font-weight: 500; cursor: default; margin-top: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }

/* ─── Menu ─── */
.menu-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.menu-cat { padding: 8px 16px; border-radius: 999px; background: var(--bg-soft); border: 0; font-size: 13px; font-weight: 500; color: var(--ink-2); cursor: default; font-family: inherit; }
.menu-cat.on { background: var(--ink); color: white; }
.menu-section { margin-bottom: 40px; }
.menu-section-title { font-family: var(--serif); font-size: 26px; margin: 0 0 20px; font-weight: 400; display: flex; align-items: baseline; gap: 16px; }
.menu-section-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.menu-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.menu-item { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; }
.menu-item-name { font-family: var(--serif); font-size: 17px; font-weight: 400; margin: 0 0 4px; }
.menu-item-desc { font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.menu-item-price { font-family: var(--serif); font-size: 17px; color: var(--accent-emerald); white-space: nowrap; font-weight: 500; }

/* ─── Reviews ─── */
.review-summary { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 24px; background: var(--bg-soft); border-radius: var(--r-lg); margin-bottom: 32px; }
.review-big { text-align: center; }
.review-big-num { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--accent-emerald); font-weight: 500; }
.review-big-lbl { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 8px; }
.review-bars { display: flex; flex-direction: column; gap: 8px; }
.review-bar { display: grid; grid-template-columns: 80px 1fr 40px; align-items: center; gap: 12px; font-size: 13px; }
.review-bar-track { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.review-bar-fill { height: 100%; background: var(--accent-emerald); border-radius: 3px; }
.review-item { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr auto; gap: 20px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-soft); display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 16px; color: var(--ink-2); font-weight: 500; }
.review-author { font-weight: 600; font-size: 14px; }
.review-date { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.review-text { font-size: 14px; line-height: 1.65; color: var(--ink-2); margin-top: 10px; }
.review-score { background: var(--accent-emerald); color: white; padding: 6px 12px; border-radius: var(--r-sm); font-weight: 700; font-size: 14px; }

.review-form { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; margin-top: 32px; }
.review-form h4 { font-family: var(--serif); font-size: 22px; margin: 0 0 8px; font-weight: 400; }
.review-form p { font-size: 13px; color: var(--ink-3); margin: 0 0 20px; }
.star-input { display: inline-flex; gap: 4px; margin-bottom: 16px; cursor: default; }
.star-input button { background: transparent; border: 0; color: var(--ink-4); cursor: default; padding: 4px; }
.star-input button.on, .star-input button:hover { color: var(--accent-rust); }
.star-input button:hover ~ button { color: var(--ink-4); }
.tag-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }
.tag-pick button { padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid transparent; font-size: 12px; cursor: default; color: var(--ink-2); font-family: inherit; }
.tag-pick button.on { background: white; border-color: var(--accent-emerald); color: var(--accent-emerald); font-weight: 600; }
.review-form textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; font-family: inherit; font-size: 14px; resize: vertical; min-height: 100px; outline: 0; background: white; }
.review-form textarea:focus { border-color: var(--accent-emerald); }

/* ─── Map ─── */
.map-layout { display: grid; grid-template-columns: 420px 1fr; height: calc(100vh - 68px); }
.map-list { overflow-y: auto; border-right: 1px solid var(--line); padding: 24px; background: var(--bg); }
.map-list-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.map-list-head h2 { font-family: var(--serif); font-size: 22px; margin: 0; font-weight: 400; }
.map-list-head span { font-size: 12px; color: var(--ink-3); }
.map-list-item { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 14px; border-radius: var(--r-md); cursor: default; margin: 0 -8px; }
.map-list-item:hover, .map-list-item.on { background: var(--bg-card); box-shadow: var(--shadow-sm); }
.map-list-item .photo-ph { aspect-ratio: 1/1; border-radius: var(--r-sm); }
.map-list-item h4 { font-family: var(--serif); font-size: 16px; margin: 0 0 4px; font-weight: 500; }
.map-list-item p { font-size: 12px; color: var(--ink-3); margin: 0; }
.map-canvas { position: relative; background: #E8E4DA; overflow: hidden; }
.map-canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin { position: absolute; transform: translate(-50%, -100%); cursor: default; transition: transform 150ms; }
.map-pin:hover, .map-pin.on { transform: translate(-50%, -100%) scale(1.15); z-index: 5; }
.map-pin-inner { background: var(--accent-emerald); color: white; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.25); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.map-pin.on .map-pin-inner { background: var(--accent-rust); }
.map-pin::after { content: ''; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--accent-emerald); }
.map-pin.on::after { border-top-color: var(--accent-rust); }

/* ─── Events ─── */
.event-card { display: flex; flex-direction: column; gap: 14px; cursor: default; }
.event-card .photo-ph { border-radius: var(--r-md); aspect-ratio: 5/4; }
.event-date { display: inline-flex; flex-direction: column; align-items: center; padding: 8px 14px; background: var(--accent-rust); color: white; border-radius: var(--r-sm); position: absolute; top: 14px; left: 14px; font-family: var(--serif); }
.event-date .day { font-size: 22px; line-height: 1; font-weight: 500; }
.event-date .mon { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }
.event-card h4 { font-family: var(--serif); font-size: 20px; margin: 0; font-weight: 400; line-height: 1.25; }
.event-venue { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; }

/* ─── Filters bar ─── */
.filter-bar { display: flex; align-items: center; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.filter-chip { padding: 7px 14px; border-radius: 999px; background: white; border: 1px solid var(--line); font-size: 13px; cursor: default; font-family: inherit; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.filter-chip:hover { border-color: var(--ink-3); }
.filter-chip.on { background: var(--ink); color: white; border-color: var(--ink); }
.filter-bar .sep { width: 1px; height: 24px; background: var(--line); margin: 0 8px; }
.results-count { font-size: 13px; color: var(--ink-3); margin-left: auto; }

/* ─── Editorial pull-quote ─── */
.pull { padding: 56px 64px; background: var(--ink); color: var(--bg); border-radius: var(--r-lg); position: relative; overflow: hidden; margin: 32px 0; }
.pull-q { font-family: var(--serif); font-size: 32px; line-height: 1.3; font-weight: 400; max-width: 28ch; }
.pull-q em { color: var(--accent-rust-soft); font-style: italic; }
.pull-attr { margin-top: 24px; font-size: 13px; color: var(--ink-4); letter-spacing: 0.06em; text-transform: uppercase; }
.pull .buta-bg { position: absolute; right: 32px; top: 50%; transform: translateY(-50%); opacity: 0.08; pointer-events: none; }

/* ─── Footer ─── */
.footer { background: var(--ink); color: var(--bg); padding: 64px 0 32px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer h5 { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 700; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,.75); }
.footer ul li { cursor: default; }
.footer ul li:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; font-size: 12px; color: rgba(255,255,255,.4); }
.footer .logo-mark { color: white; }
.footer .logo-mark .accent { color: var(--accent-rust-soft); }
.footer-tag { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 12px; max-width: 32ch; }

/* ─── Density modes ─── */
.density-cozy { font-size: 15px; }
.density-cozy .grid { gap: 32px; }
.density-cozy .section { padding: 80px 0; }
.density-compact { font-size: 14px; }
.density-compact .grid { gap: 16px; }
.density-compact .section { padding: 48px 0; }

/* ─── Util ─── */
.hidden { display: none !important; }
.divider { height: 1px; background: var(--line); margin: 32px 0; }
.spacer { height: 24px; }

/* card style override mode */
[data-card-style="dense"] .grid-3 { grid-template-columns: repeat(4, 1fr); }
[data-card-style="editorial"] .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 48px; }
