:root {
  --wine: #6b1f2e;
  --wine-dark: #4a1520;
  --wine-light: #8e3a4a;
  --gold: #c9a24b;
  --cream: #faf6ef;
  --cream-dark: #f1e9db;
  --ink: #2b2320;
  --ink-soft: #6b5d55;
  --line: #e4d9c8;
  --card: #ffffff;
  --shadow: 0 2px 10px rgba(43, 35, 32, .08);
  --shadow-lg: 0 12px 40px rgba(43, 35, 32, .18);
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}

h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; line-height: 1.15; }

a { color: var(--wine); }

button { font: inherit; cursor: pointer; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(250, 246, 239, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  text-decoration: none;
  color: var(--wine-dark);
  white-space: nowrap;
}
.site-header nav { display: flex; gap: 18px; flex: 1; }
.site-header nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .92rem;
  white-space: nowrap;
}
.site-header nav a:hover { color: var(--wine); }
.site-header nav a.active { color: var(--wine); font-weight: 700; }
a.tour-toggle { text-decoration: none; }

.tour-toggle {
  background: var(--wine);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 600;
  font-size: .92rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background .15s;
}
.tour-toggle:hover { background: var(--wine-dark); }
.tour-count {
  background: var(--gold);
  color: var(--wine-dark);
  border-radius: 999px;
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  padding: 0 6px;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(201, 162, 75, .25), transparent 60%),
    linear-gradient(160deg, var(--wine-dark) 0%, var(--wine) 55%, #7d2b3c 100%);
  color: #fff;
  padding: 84px 20px 92px;
  text-align: center;
}
.hero-inner { max-width: 780px; margin: 0 auto; }
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 14px;
}
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); margin: 0 0 18px; }
.hero-sub {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, .88);
  max-width: 620px;
  margin: 0 auto 30px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: all .15s;
}
.btn-primary { background: var(--gold); color: var(--wine-dark); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { background: transparent; border-color: currentColor; color: inherit; }
.hero .btn-ghost { color: #fff; }
.explore .btn-ghost, .tour-panel .btn-ghost { color: var(--wine); border-color: var(--wine); }
.btn-ghost:hover { background: rgba(107, 31, 46, .06); }
.btn-sm { padding: 8px 16px; font-size: .85rem; }

/* ---------- Presets ---------- */
.presets { max-width: 1280px; margin: 0 auto; padding: 56px 20px 8px; }
.presets h2 { font-size: 1.9rem; margin: 0 0 6px; color: var(--wine-dark); }
.section-sub { color: var(--ink-soft); margin: 0 0 22px; }
.preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.preset-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.preset-card h3 { margin: 0; font-size: 1.15rem; color: var(--wine-dark); }
.preset-card p { margin: 0; font-size: .9rem; color: var(--ink-soft); flex: 1; }
.preset-card .preset-stops { font-size: .8rem; color: var(--gold); font-weight: 600; }
.preset-card button { align-self: flex-start; margin-top: 6px; }

/* ---------- Filters ---------- */
.explore { max-width: 1280px; margin: 0 auto; padding: 40px 20px 70px; }
.filters { margin-bottom: 22px; }
.filters-row { display: flex; gap: 10px; flex-wrap: wrap; }
.filters-row input[type="search"], .filters-row select {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  font: inherit;
  color: var(--ink);
}
.filters-row input[type="search"] { flex: 1 1 220px; min-width: 180px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.chip {
  border: 1.5px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all .12s;
}
.chip:hover { border-color: var(--wine-light); color: var(--wine); }
.chip.active {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}
.result-count { color: var(--ink-soft); font-size: .85rem; margin: 12px 0 0; }

/* ---------- Explore layout ---------- */
.explore-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 22px;
  align-items: start;
}
.winery-list { display: grid; gap: 16px; }

.winery-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  transition: box-shadow .15s, transform .15s;
}
.winery-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.winery-card .card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.winery-card h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--wine-dark);
  cursor: pointer;
}
.winery-card h3:hover { text-decoration: underline; }
.area-tag {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold);
  white-space: nowrap;
}
.winery-card .styles { margin: 6px 0 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.style-pill {
  background: var(--cream-dark);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--wine);
}
.winery-card .desc { margin: 0 0 12px; font-size: .92rem; color: var(--ink-soft); }
.winery-card .feat-row { display: flex; gap: 10px; flex-wrap: wrap; font-size: .8rem; color: var(--ink-soft); margin-bottom: 14px; }
.winery-card .card-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.add-btn {
  background: var(--wine);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: .86rem;
  transition: background .15s;
}
.add-btn:hover { background: var(--wine-dark); }
.add-btn.in-tour { background: var(--gold); color: var(--wine-dark); }
.link-btn {
  background: none;
  border: none;
  color: var(--wine);
  font-weight: 600;
  font-size: .86rem;
  text-decoration: underline;
  padding: 8px 4px;
}
.no-results {
  padding: 40px;
  text-align: center;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* ---------- Map ---------- */
.map-wrap { position: sticky; top: 76px; }
#map {
  height: min(72vh, 640px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  z-index: 1;
}
.map-note { font-size: .78rem; color: var(--ink-soft); margin: 8px 2px 0; }

.pin {
  background: var(--wine);
  border: 2.5px solid #fff;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  box-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.pin-num {
  background: var(--gold);
  color: var(--wine-dark);
  border: 2.5px solid #fff;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .82rem;
  box-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.leaflet-popup-content { font-family: "Inter", sans-serif; }
.popup-name { font-weight: 700; color: var(--wine-dark); margin-bottom: 2px; }
.popup-area { font-size: .78rem; color: var(--ink-soft); margin-bottom: 8px; }
.popup-add {
  background: var(--wine); color: #fff; border: none; border-radius: 999px;
  padding: 6px 14px; font-size: .8rem; font-weight: 600;
}

/* ---------- Tour panel ---------- */
.tour-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(420px, 100vw);
  background: var(--cream);
  border-left: 1px solid var(--line);
  box-shadow: -12px 0 40px rgba(43, 35, 32, .18);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform .25s ease;
}
.tour-panel.open { transform: translateX(0); }
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(43, 35, 32, .35);
  z-index: 950;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.scrim.show { opacity: 1; pointer-events: auto; }

.tour-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px 10px;
}
.tour-header h2 { margin: 0; font-size: 1.4rem; color: var(--wine-dark); }
.icon-btn {
  background: none; border: none; font-size: 1.1rem; color: var(--ink-soft);
  padding: 6px 10px; border-radius: 8px;
}
.icon-btn:hover { background: var(--cream-dark); color: var(--ink); }

.tour-controls {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  padding: 0 20px 14px;
  border-bottom: 1px solid var(--line);
}
.tour-controls label { font-size: .8rem; font-weight: 600; color: var(--ink-soft); display: grid; gap: 4px; }
.tour-controls input[type="time"] {
  padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff;
}

.tour-body { flex: 1; overflow-y: auto; padding: 14px 20px; }
.tour-empty { color: var(--ink-soft); font-size: .9rem; }

.stop {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 4px 12px;
  align-items: center;
}
.stop-num {
  grid-row: span 2;
  background: var(--wine);
  color: #fff;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem;
}
.stop-name { font-weight: 600; font-size: .95rem; color: var(--wine-dark); }
.stop-time { grid-column: 2; font-size: .8rem; color: var(--ink-soft); }
.stop-side { grid-row: span 2; display: grid; gap: 4px; justify-items: end; }
.stop-side .mini {
  background: none; border: 1px solid var(--line); border-radius: 6px;
  width: 26px; height: 22px; font-size: .7rem; color: var(--ink-soft); line-height: 1;
}
.stop-side .mini:hover:not(:disabled) { border-color: var(--wine); color: var(--wine); }
.stop-side .mini:disabled { opacity: .35; cursor: default; }
.stop-dwell { grid-column: 2 / 4; font-size: .78rem; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.stop-dwell input {
  width: 54px; padding: 3px 6px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: .78rem;
}
.drive-leg {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; color: var(--ink-soft);
  padding: 6px 0 6px 15px;
}
.drive-leg::before { content: ""; border-left: 2px dotted var(--gold); height: 18px; margin-right: 4px; }

.tour-summary {
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  font-size: .86rem;
  color: var(--ink);
}
.tour-summary strong { color: var(--wine-dark); }
.tour-warn { color: #a05516; font-size: .8rem; margin-top: 4px; }

.tour-footer { padding: 0 20px 18px; display: grid; gap: 10px; }
.dd-note { font-size: .76rem; color: var(--ink-soft); margin: 8px 0 0; }
.tour-footer .btn { text-align: center; border: none; }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(43, 35, 32, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal-card {
  background: var(--card);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 28px 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.modal-card h3 { margin: 0 0 2px; font-size: 1.6rem; color: var(--wine-dark); }
.modal-card .modal-close {
  position: absolute; top: 14px; right: 14px;
  background: var(--cream-dark); border: none; border-radius: 50%;
  width: 32px; height: 32px; font-size: .95rem; color: var(--ink-soft);
}
.modal-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .9rem; margin: 16px 0; }
.modal-card dt { font-weight: 600; color: var(--ink-soft); }
.modal-card dd { margin: 0; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--wine-dark);
  color: rgba(255,255,255,.75);
  text-align: center;
  padding: 34px 20px;
  font-size: .84rem;
}
.site-footer p { max-width: 700px; margin: 4px auto; }

/* ---------- Print ---------- */
.print-itinerary { display: none; }

@media print {
  body > *:not(.print-itinerary) { display: none !important; }
  .print-itinerary { display: block; font-size: 12pt; color: #000; }
  .print-itinerary h1 { font-size: 20pt; margin-bottom: 2pt; }
  .print-itinerary .print-sub { color: #555; margin-top: 0; }
  .print-itinerary table { width: 100%; border-collapse: collapse; margin-top: 12pt; }
  .print-itinerary th, .print-itinerary td { text-align: left; padding: 6pt 8pt; border-bottom: 1px solid #ccc; vertical-align: top; }
  .print-itinerary .print-note { margin-top: 14pt; font-size: 9pt; color: #555; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .explore-layout { grid-template-columns: 1fr; }
  .map-wrap { position: static; order: -1; }
  #map { height: 320px; }
  .header-inner { flex-wrap: wrap; row-gap: 4px; }
  .site-header nav {
    order: 3;
    flex-basis: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
    gap: 14px;
  }
}

/* ---------- Sub-pages (tours / stay / eat / plan) ---------- */
.page-hero {
  background:
    radial-gradient(900px 380px at 85% -10%, rgba(201, 162, 75, .25), transparent 60%),
    linear-gradient(160deg, var(--wine-dark) 0%, var(--wine) 60%, #7d2b3c 100%);
  color: #fff;
  padding: 54px 20px 58px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin: 0 0 10px; }
.page-hero .hero-kicker { margin-bottom: 10px; }
.page-hero .hero-sub { max-width: 640px; margin: 0 auto; color: rgba(255,255,255,.88); }

.page { max-width: 1100px; margin: 0 auto; padding: 20px 20px 70px; }

.listing-section { margin-top: 44px; }
.listing-section > h2 {
  font-size: 1.7rem;
  color: var(--wine-dark);
  margin: 0 0 6px;
}
.listing-section > .section-sub { margin-bottom: 20px; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.info-card .card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.info-card h3 { margin: 0; font-size: 1.15rem; color: var(--wine-dark); }
.info-card .desc { margin: 0; font-size: .9rem; color: var(--ink-soft); flex: 1; }
.info-card .feat-row { display: flex; gap: 10px; flex-wrap: wrap; font-size: .8rem; color: var(--ink-soft); }
.info-card .card-links { margin-top: 4px; }
.info-card .card-links a { font-size: .85rem; font-weight: 600; }

.tip-box {
  background: var(--cream-dark);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 28px;
}
.tip-box h3 { margin: 0 0 10px; color: var(--wine-dark); font-size: 1.2rem; }
.tip-box ul { margin: 0; padding-left: 20px; font-size: .92rem; color: var(--ink); }
.tip-box li { margin: 6px 0; }

.plain-table { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.plain-table th, .plain-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.plain-table th { background: var(--cream-dark); color: var(--wine-dark); font-weight: 700; }
.plain-table tr:last-child td { border-bottom: none; }

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
.faq summary { font-weight: 600; color: var(--wine-dark); cursor: pointer; }
.faq p { margin: 10px 0 2px; font-size: .92rem; color: var(--ink-soft); }

.cta-strip {
  margin-top: 48px;
  background: linear-gradient(150deg, var(--wine-dark), var(--wine));
  border-radius: var(--radius);
  color: #fff;
  text-align: center;
  padding: 36px 24px;
}
.cta-strip h2 { margin: 0 0 8px; }
.cta-strip p { margin: 0 auto 20px; max-width: 520px; color: rgba(255,255,255,.85); }

/* Cross-link cards on home page */
.more-links { max-width: 1280px; margin: 0 auto; padding: 0 20px 64px; }
.more-links h2 { font-size: 1.9rem; margin: 0 0 6px; color: var(--wine-dark); }
.link-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.link-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: box-shadow .15s, transform .15s;
}
.link-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.link-card .link-emoji { font-size: 1.8rem; }
.link-card h3 { margin: 8px 0 4px; color: var(--wine-dark); font-size: 1.15rem; }
.link-card p { margin: 0; font-size: .86rem; color: var(--ink-soft); }
.link-card .go { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--wine); font-size: .86rem; }

.footer-nav { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
.footer-nav a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--gold); }

/* ==========================================================
   Design system v2 — editorial type, photo heroes, motion
   ========================================================== */
:root {
  --font-display: "Fraunces", "Playfair Display", Georgia, serif;
  --ease-out: cubic-bezier(.2, .6, .2, 1);
}

h1, h2, h3, .logo { font-family: var(--font-display); }
h1 em, h2 em { font-style: italic; }
h2 em { color: var(--wine-light); }

/* --- Fixed header: transparent over hero, solid on scroll --- */
html.js body { padding-top: 0; }
html.js .site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transition: background .35s var(--ease-out), border-color .35s, box-shadow .35s;
}
html.js .site-header.scrolled {
  background: rgba(250, 246, 239, .94);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(43, 35, 32, .06);
}
html.js .site-header:not(.scrolled) .logo { color: #fff; }
html.js .site-header:not(.scrolled) nav a { color: rgba(255, 255, 255, .82); }
html.js .site-header:not(.scrolled) nav a:hover { color: #fff; }
html.js .site-header:not(.scrolled) nav a.active { color: #fff; }
html.js .site-header nav a.active { box-shadow: inset 0 -2px 0 var(--gold); padding-bottom: 3px; }
html.js .site-header:not(.scrolled) .tour-toggle {
  background: rgba(255, 255, 255, .14);
  border: 1.5px solid rgba(255, 255, 255, .55);
  backdrop-filter: blur(6px);
}
html.js .site-header:not(.scrolled) .tour-toggle:hover { background: rgba(255, 255, 255, .24); }

/* --- Photo heroes --- */
.hero--img, .page-hero--img { position: relative; overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-position: center 42%;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.1);
  will-change: transform;
}
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(28, 9, 14, .58) 0%, rgba(46, 15, 23, .38) 45%, rgba(38, 12, 19, .82) 100%);
}
.hero--img > .hero-inner, .page-hero--img > .page-hero-inner { position: relative; z-index: 2; }

.hero--img {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 130px 20px 110px;
}
.hero--img h1 {
  font-size: clamp(2.7rem, 6.5vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  font-weight: 600;
  margin: 0 0 20px;
}
.hero--img h1 em { color: var(--gold); }
.hero--img .hero-sub { font-size: 1.14rem; }

.page-hero--img {
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 130px 20px 70px;
}
.page-hero--img h1 { font-weight: 600; letter-spacing: -.01em; }

.scroll-cue {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, .72);
  font-size: .68rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  display: grid;
  justify-items: center;
  gap: 9px;
}
.scroll-cue::after {
  content: "";
  width: 1.5px; height: 36px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: cue 1.9s ease-in-out infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Hero stats --- */
.hero-stats {
  display: flex;
  gap: 46px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 46px;
}
.stat { display: grid; gap: 3px; justify-items: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}

/* --- Marquee ribbon --- */
.marquee {
  background: var(--wine-dark);
  color: var(--gold);
  overflow: hidden;
  padding: 13px 0;
  border-top: 1px solid rgba(201, 162, 75, .28);
  border-bottom: 1px solid rgba(201, 162, 75, .28);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.02rem;
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- Editorial split --- */
.split {
  max-width: 1280px;
  margin: 72px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: center;
}
.split-media {
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-media img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform .9s var(--ease-out);
}
.split-media:hover img { transform: scale(1.05); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 12px;
}
.split-copy h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  line-height: 1.1;
  color: var(--wine-dark);
  margin: 0 0 16px;
}
.split-copy p { color: var(--ink-soft); font-size: 1rem; margin: 0 0 14px; }

/* --- Motion polish --- */
.btn { transition: transform .18s var(--ease-out), box-shadow .18s, filter .18s, background .18s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(201, 162, 75, .35); filter: none; }
.add-btn, .tour-toggle { transition: transform .16s var(--ease-out), background .16s, box-shadow .16s; }
.add-btn:hover { transform: translateY(-1px); }
.winery-card, .info-card, .preset-card, .link-card {
  transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out), border-color .3s;
}
.winery-card:hover, .info-card:hover, .preset-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: #d9c9ae;
}
.link-card:hover { transform: translateY(-4px); }

@media (max-width: 940px) {
  .split { grid-template-columns: 1fr; gap: 26px; margin-top: 52px; }
  .hero--img { min-height: 86vh; padding-top: 150px; }
  .hero-stats { gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .scroll-cue::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================
   Producer types — tabs, pins, legend
   ========================================================== */
.pin--beer   { background: #b07d2b; }
.pin--spirit { background: #4a3728; }
.pin--cider  { background: #6f9e3f; }
.pin--food   { background: #c2612e; }

.type-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.type-tab {
  border: 1.5px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all .12s;
}
.type-tab:hover { border-color: var(--wine-light); color: var(--wine); }
.type-tab.active { background: var(--wine); border-color: var(--wine); color: #fff; }
.type-count {
  display: inline-block;
  background: rgba(107, 31, 46, .1);
  color: var(--wine);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  padding: 1px 7px;
  margin-left: 2px;
}
.type-tab.active .type-count { background: rgba(255, 255, 255, .22); color: #fff; }

.type-pill {
  display: inline-block;
  background: var(--cream-dark);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: .7rem;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: .02em;
  text-transform: none;
}

.map-legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 10px 2px 0;
  font-size: .76rem;
  color: var(--ink-soft);
}
.map-legend span { display: inline-flex; align-items: center; gap: 5px; }
.map-legend i {
  display: inline-block;
  width: 11px; height: 11px;
  border-radius: 50%;
  border: none;
  box-shadow: none;
}
.map-legend .pin-act-swatch {
  background: #2e6e4e;
  border-radius: 3px;
  transform: rotate(45deg);
  width: 9px; height: 9px;
}
.map-legend .pin-featured-swatch {
  background: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 162, 75, .4);
}

/* ==========================================================
   v3 — winery pages, reviews, featured pins, seasonal events
   ========================================================== */

/* --- Featured badge & pins --- */
.badge-featured {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(120deg, var(--gold), #dcb75f);
  color: var(--wine-dark);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}
.pin-featured {
  background: var(--gold);
  border: 2.5px solid #fff;
  border-radius: 50%;
  width: 100%; height: 100%;
  box-shadow: 0 0 0 3px rgba(201, 162, 75, .45), 0 1px 6px rgba(0,0,0,.4);
}
.pin-act {
  background: #2e6e4e;
  border: 2px solid #fff;
  border-radius: 4px;
  transform: rotate(45deg);
  width: 100%; height: 100%;
  box-shadow: 0 1px 5px rgba(0,0,0,.4);
}

/* --- Seasonal strip (home) & events page --- */
.season { max-width: 1280px; margin: 0 auto; padding: 64px 20px 8px; }
.season h2 { font-size: 1.9rem; margin: 0 0 6px; color: var(--wine-dark); }
.event-card { position: relative; }
.event-icon { font-size: 1.7rem; line-height: 1; }
.event-when {
  display: inline-block;
  background: #eaf2ec;
  color: #2e6e4e;
  border-radius: 999px;
  padding: 3px 11px;
  font-size: .74rem;
  font-weight: 700;
}
.event-when.now { background: #2e6e4e; color: #fff; }
.event-type { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }
.season-link { margin-top: 18px; }

/* --- Winery detail page --- */
.w-hero { min-height: 54vh; }
.w-hero .badge-featured { margin-bottom: 14px; }
.breadcrumb {
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255,255,255,.9); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--gold); }
.w-hero .styles { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.w-hero .style-pill { background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(4px); }

.w-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 26px;
  align-items: start;
  margin-top: 34px;
}
.w-main { display: grid; gap: 34px; }
.w-aside { position: sticky; top: 86px; display: grid; gap: 16px; }
.w-info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
}
.w-info-card h3 { margin: 0 0 12px; color: var(--wine-dark); font-size: 1.1rem; }
.w-info-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: .89rem; margin: 0; }
.w-info-card dt { font-weight: 600; color: var(--ink-soft); }
.w-info-card dd { margin: 0; }
.w-info-card .card-actions { margin-top: 16px; display: grid; gap: 8px; }
.w-info-card .card-actions .btn, .w-info-card .card-actions .add-btn { text-align: center; width: 100%; }
#w-minimap { height: 220px; border-radius: 12px; border: 1px solid var(--line); z-index: 1; }

/* --- Gallery + lightbox --- */
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-auto-rows: 190px; gap: 10px; }
.gallery button {
  border: none; padding: 0; border-radius: 12px; overflow: hidden;
  cursor: zoom-in; background: var(--cream-dark);
}
.gallery button:first-child { grid-row: span 2; }
.gallery img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .7s var(--ease-out);
}
.gallery button:hover img { transform: scale(1.06); }
.gallery-note { font-size: .76rem; color: var(--ink-soft); margin: 8px 2px 0; }

.lightbox {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(20, 8, 12, .92);
  display: flex; align-items: center; justify-content: center;
  padding: 30px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; border-radius: 10px; box-shadow: 0 20px 80px rgba(0,0,0,.5); }
.lightbox .lb-btn {
  position: absolute; background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.3); border-radius: 50%;
  width: 44px; height: 44px; font-size: 1.1rem; backdrop-filter: blur(4px);
}
.lightbox .lb-btn:hover { background: rgba(255,255,255,.24); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* --- Reviews --- */
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }
.stars .off { color: var(--line); }
.rating-summary { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rating-big { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--wine-dark); line-height: 1; }
.rating-count { font-size: .85rem; color: var(--ink-soft); }
.review {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 12px;
}
.review-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.review-name { font-weight: 700; color: var(--wine-dark); }
.review-date { font-size: .76rem; color: var(--ink-soft); }
.review p { margin: 8px 0 0; font-size: .9rem; color: var(--ink); }
.review.mine { border-color: var(--gold); }

.review-form {
  background: var(--cream-dark);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-top: 20px;
  display: grid;
  gap: 12px;
}
.review-form h3 { margin: 0; color: var(--wine-dark); font-size: 1.1rem; }
.review-form input[type="text"], .review-form textarea {
  padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; background: #fff; width: 100%;
}
.review-form textarea { min-height: 90px; resize: vertical; }
.star-input { display: flex; gap: 4px; }
.star-input button {
  background: none; border: none; font-size: 1.5rem; color: var(--line);
  padding: 2px; transition: transform .12s, color .12s;
}
.star-input button.on { color: var(--gold); }
.star-input button:hover { transform: scale(1.18); }
.review-form .btn { justify-self: start; border: none; }
.form-note { font-size: .74rem; color: var(--ink-soft); margin: 0; }

/* --- Nearby wineries --- */
.nearby-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.nearby-card {
  display: block; background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease-out), box-shadow .25s;
}
.nearby-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.nearby-card h4 { margin: 0 0 3px; font-family: var(--font-display); color: var(--wine-dark); font-size: 1rem; }
.nearby-card span { font-size: .78rem; color: var(--ink-soft); }

/* --- Toast --- */
.toast {
  position: fixed;
  left: 50%; bottom: 26px;
  transform: translate(-50%, 120%);
  background: var(--wine-dark);
  color: #fff;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: .9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 1300;
  transition: transform .35s var(--ease-out);
  display: flex; gap: 14px; align-items: center;
}
.toast.show { transform: translate(-50%, 0); }
.toast a { color: var(--gold); text-decoration: none; }

/* winery card title link */
.winery-card h3 a { color: inherit; text-decoration: none; }
.winery-card h3 a:hover { text-decoration: underline; }

@media (max-width: 940px) {
  .w-layout { grid-template-columns: 1fr; }
  .w-aside { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery button:first-child { grid-column: span 2; grid-row: span 1; }
}
