:root {
  --ink: #ece6d8;
  --muted: #9c978b;
  --burgundy: #d9c8a0;          /* primary accent: warm sand */
  --burgundy-deep: #f3e8cc;     /* accent hover */
  --gold: #b8975a;
  --gold-soft: #cdb98a;
  --cream: #161914;             /* alternate surface */
  --paper: #0d0f0c;             /* page background */
  --card: #141713;
  --field: #1b1e19;
  --line: #2b2e27;
  --olive: #8fa58a;
  --on-accent: #14110b;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.25);
  --radius: 6px;
  --wine: var(--burgundy);
  --ph-a: #3a3326;
  --ph-b: #12130f;
  --serif: "Cormorant Garamond", Georgia, serif;
  color-scheme: dark;
}[id] { scroll-margin-top: 148px; }
* { box-sizing: border-box; }
input, select, textarea, button { color: var(--ink); }
input::placeholder, textarea::placeholder { color: #7d796e; }
.btn { color: var(--on-accent); }
select option { background: #1b1e19; color: var(--ink); }
::selection { background: rgba(217, 200, 160, 0.3); }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
}
h1, h2, h3, .brand strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.12;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin: 0 0 0.4em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
a { color: var(--burgundy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--burgundy-deep); }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.skip {
  position: absolute; left: -999px; top: 8px;
}
.skip:focus { left: 8px; background: var(--field); padding: 8px 12px; z-index: 20; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 15, 12, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 20px;
  padding: 12px 0;
}
.brand { display: flex; gap: 10px; align-items: center; color: inherit; text-decoration: none; }
.brand-mark-unused {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--burgundy); color: var(--gold-soft);
  display: grid; place-items: center;
  font-family: "Cormorant Garamond", serif; font-size: 1.3rem;
}
.brand strong { display: block; font-size: 1.7rem; font-weight: 500; letter-spacing: -0.01em; }
.brand em { display: none; }
.nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 16px; }
.nav a {
  color: var(--ink); text-decoration: none; font-size: 0.88rem; padding: 6px 0; cursor: pointer; opacity: 0.86;
}
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; color: var(--burgundy); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
.head-tools { display: flex; align-items: center; gap: 10px; }
.head-near { white-space: nowrap; }
.head-search input {
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--ink); border-radius: 4px;
  padding: 8px 14px; width: 210px; max-width: 100%; font: inherit;
}
.hero {
  padding: 72px 0 48px;
  background:
    radial-gradient(900px 320px at 10% -10%, rgba(184, 151, 90, 0.10), transparent),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero h1 { font-weight: 400; }
.hero.compact { padding: 40px 0 24px; }
.kicker {
  color: var(--gold-soft); letter-spacing: 0.2em; text-transform: uppercase;
  font-size: 0.72rem; font-weight: 500; margin: 0 0 14px;
}
.lede { font-size: 1.2rem; max-width: 46rem; color: var(--muted); }
.section { padding: 64px 0; }
.section.alt { background: var(--cream); }
.section.flush { padding-top: 22px; }
.stack-list { list-style: none; padding: 0; margin: 0; }
.stack-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.stack-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.section.no-top { padding-top: 0; }
.section-head { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 10px; margin-bottom: 28px; }
.lede, .section-sub, .section-note { margin-inline: auto; }
.hero > .wrap, .hero-farm > .wrap { text-align: center; }
.hero > .wrap.prose { text-align: left; }
.hero > .wrap.prose > .kicker,
.hero > .wrap.prose > h1,
.hero > .wrap.prose > .lede { text-align: center; margin-inline: auto; }
.meta-row, .visit-actions, .filters, .pager, .hero-actions, .trip-links, .plan-switch, .trip-row { justify-content: center; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card, .farm-card, .region-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: none; color: inherit; text-decoration: none; display: block;
}
.farm-card {
  display: flex; flex-direction: column; height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.farm-card-main {
  color: inherit; text-decoration: none; display: flex; flex-direction: column; flex: 1;
}
.farm-card .badges {
  padding: 0 18px 16px;
  margin-top: auto;
}
.farm-card .card-body {
  padding-bottom: 10px;
}
.farm-card .badge {
  text-decoration: none;
}
.farm-card .badge[href]:hover {
  border-color: var(--wine); color: var(--wine);
}
.region-card { min-width: 0; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.farm-card:hover, .region-card:hover { transform: translateY(-2px); border-color: #4a4a3e; box-shadow: var(--shadow); }
.event-card .card-brief { margin: 6px 0 4px; }
.event-card .cost-line { font-weight: 600; }
.event-card:hover { transform: none; box-shadow: none; }
.event-card .book-now { margin: 0 18px 16px; align-self: flex-start; }
.thumb {
  aspect-ratio: 16/10; background: var(--cream);
  position: relative; overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.farm-card:hover .thumb img { transform: scale(1.03); }
.thumb.is-logo { background: #fff; border-bottom: 1px solid var(--line); }
.thumb.is-logo img { object-fit: contain; padding: 5% 8%; }
.farm-card:hover .thumb.is-logo img { transform: none; }
.thumb.ph { background: linear-gradient(160deg, var(--ph-a), var(--ph-b)); }
.thumb.ph::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/hills.svg") center bottom / cover no-repeat;
}
.thumb.ph-flip::before { transform: scaleX(-1); }
.ph-label {
  position: absolute; left: 14px; top: 12px;
  color: rgba(255, 246, 228, 0.82); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.ph-coastal-region { --ph-a: #7a2430; --ph-b: #3d1014; }
.ph-cape-south-coast { --ph-a: #4b7c84; --ph-b: #1f3c45; }
.ph-breede-river-valley { --ph-a: #6a8650; --ph-b: #2f4426; }
.ph-klein-karoo { --ph-a: #b8703f; --ph-b: #6a3420; }
.ph-olifants-river { --ph-a: #a88a3e; --ph-b: #5c4620; }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.place { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
.card-body h3 { margin: 6px 0 8px; font-size: 1.5rem; font-weight: 500; overflow-wrap: anywhere; }
.card-body p { margin: 0; color: var(--muted); }
.card-meta { font-size: 0.9rem; margin: 0 0 8px !important; }
.card-meta.wine-match { color: var(--burgundy); font-weight: 500; }
.card-meta.tasting-offer, .visit-offer { color: var(--burgundy); font-weight: 600; }
.visit-offer { margin: 12px 0 0; }
.card-brief {
  margin: 6px 0 0; color: var(--muted); font-size: 0.92rem; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.card-reasons { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 4px; }
.card-reasons li { font-size: 0.9rem; line-height: 1.4; color: var(--ink); padding-left: 14px; position: relative; }
.card-reasons li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--burgundy);
}
.hours-line {
  font-size: 0.82rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto !important; padding-top: 10px; }
.badge {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 3px; padding: 2px 8px; color: var(--muted); background: transparent;
}
.wine-list { columns: 2 260px; column-gap: 28px; padding-left: 1.1em; }
.wine-list li { break-inside: avoid; margin-bottom: 10px; }
.wine-title { display: block; }
.wine-sensory {
  display: block; margin-top: 3px; color: var(--burgundy); font-size: 0.84rem; letter-spacing: 0.01em;
}
.tag-link { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; }
.tag-link:hover { color: var(--ink); border-bottom-style: solid; }
.wine-sensory .tag-link + .tag-link::before { content: " · "; display: inline-block; margin: 0 2px; border-bottom: 0; }
.taste-picker { margin-top: 14px; }
.taste-picker fieldset { border: 0; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.taste-centered .taste-picker { text-align: center; }
.taste-centered .taste-tags,
.taste-centered .taste-kinds { justify-content: center; }
.taste-centered .taste-tags { margin-bottom: 2.6rem; }
.taste-centered .taste-kinds legend.chip-label { float: none; width: 100%; text-align: center; margin: 0 0 10px; }
.taste-picker legend.chip-label { float: left; margin-right: 8px; padding: 0; }
.tag-pick { position: relative; cursor: pointer; }
.tag-pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tag-pick span {
  display: inline-block; border: 1px solid var(--line); border-radius: 4px; padding: 6px 14px;
  background: var(--field); font-size: 0.92rem; text-transform: capitalize;
}
.tag-pick:hover span { border-color: var(--burgundy); color: var(--burgundy); }
.tag-pick input:checked + span { background: var(--burgundy); border-color: var(--burgundy); color: var(--on-accent); }
.tag-pick input:focus-visible + span { outline: 2px solid var(--burgundy); outline-offset: 2px; }
.taste-section .section-sub { margin: 4px 0 0; color: var(--muted); max-width: 40rem; }
.wine-card { border: 1px solid var(--line); border-radius: 14px; background: var(--field); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.wine-card h3 { margin: 0; font-size: 1.35rem; overflow-wrap: anywhere; }
.wine-card .place { margin: 0; }
.wine-grape { color: var(--muted); font-size: 1rem; font-weight: 400; }
.wine-farm { margin: 0; color: var(--muted); }
.wine-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
.wine-tags .tag-link { border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-size: 0.82rem; color: var(--ink); }
.wine-tags .tag-link.is-on { background: var(--burgundy); border-color: var(--burgundy); color: var(--on-accent); }
.wine-like { margin: 6px 0 0; font-size: 0.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.trip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.trip-row .chip { background: var(--field); }
.trip-row .chip span { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.map-shell {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  height: calc(100dvh - 74px);
}
.map-stage { flex: 1; min-height: 280px; }
.map-bar {
  z-index: 20;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 10px 16px;
}
.map-bar select, .map-bar input {
  border: 1px solid var(--line);
  background: var(--field);
  border-radius: 4px;
  font: inherit;
  padding: 8px 12px;
  min-width: 0;
  flex: 1 1 150px;
  max-width: 280px;
}
.map-bar .btn { flex: 0 0 auto; padding: 8px 14px; }
.btn[aria-busy="true"] { opacity: 0.75; pointer-events: none; }
.btn, .btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 4px; padding: 11px 20px; font: inherit; font-size: 0.92rem; font-weight: 500; cursor: pointer;
  text-decoration: none;
}
.btn { background: var(--burgundy); color: var(--on-accent); border: 0; }
.btn:hover { background: var(--burgundy-deep); color: var(--on-accent); }
.btn-ghost:hover { border-color: var(--burgundy); color: var(--burgundy); background: rgba(255, 255, 255, 0.04); }
.btn:focus-visible, .btn-ghost:focus-visible, .chip:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.btn-ghost { background: transparent; border: 1px solid #44463d; color: var(--ink); }
.filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 0;
}
.filters.toolbar input,
.filters.toolbar select { flex: 1 1 150px; min-width: 0; }
.filters.chips { margin-top: 12px; }
.common-searches { margin-bottom: 32px; }
.filters select, .filters input {
  border: 1px solid var(--line); border-radius: 4px; padding: 8px 12px; font: inherit; background: var(--field);
}
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; text-decoration: none; color: var(--ink); font-size: 0.88rem; }
.chip:hover { border-color: var(--burgundy); color: var(--burgundy); }
.chip.is-on { background: var(--burgundy); color: var(--on-accent); border-color: var(--burgundy); }
.chip.is-on:hover { color: var(--on-accent); }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: inherit; }
.hero-farm { padding: 28px 0 20px; }
.farm-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin-bottom: 22px; text-align: left;
}
.farm-top .crumbs { margin: 0; flex: 1 1 auto; min-width: 0; }
.farm-top .visit-actions { margin: 0 0 0 auto; flex: 0 0 auto; justify-content: flex-end; }
.farm-top .btn, .farm-top .btn-ghost { padding: 7px 14px; font-size: 0.88rem; }
@media (max-width: 860px) {
  .farm-top { flex-wrap: wrap; align-items: flex-start; }
  .farm-top .crumbs { flex-basis: 100%; }
  .farm-top .visit-actions { width: 100%; justify-content: flex-end; }
}
.prose.story { display: flex; flex-direction: column; }
.story-photo { order: 1; }
.story-about { order: 2; }
.farm-aside { order: 2; }
.story-part { order: 5; }
.story-part.is-lead { order: 3; }
.story-faq { order: 6; }
.story-late { order: 7; }
.story-background { order: 8; }
.farm-aside .panel h2 { font-size: 1.5rem; margin: 0 0 12px; }
.farm-aside .kv { grid-template-columns: 76px minmax(0, 1fr); }
.farm-aside .panel > .caption:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .farm-body { display: flex; flex-direction: column; gap: 0; }
  .farm-body > .prose.story { display: contents; }
  .farm-aside { margin: 8px 0 12px; }
}
.meta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.pill {
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 0.82rem; background: var(--field);
}
.split { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 28px; align-items: start; }
.aside-stack { display: grid; gap: 16px; }
.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.panel h2 { margin-top: 0; font-size: 1.4rem; }
.kv { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px 12px; font-size: 0.95rem; }
.kv dt, .kv dd { margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { overflow-wrap: anywhere; }
.prose p { max-width: 46rem; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.1em; }
.prose figure { margin: 0 0 1.4em; }
.prose figure img { width: 100%; border-radius: 16px; max-height: 420px; object-fit: cover; display: block; }
.prose ul { max-width: 46rem; padding-left: 1.2rem; }
.prose table { width: 100%; max-width: 46rem; border-collapse: collapse; margin: 0.6em 0 1.2em; font-size: 0.95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); text-align: left; padding: 8px 10px; vertical-align: top; }
.prose th { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.prose blockquote { margin: 0.8em 0 1.2em; padding: 2px 0 2px 16px; border-left: 3px solid var(--gold); max-width: 46rem; }
.prose blockquote p { margin: 0; }
.caption { color: var(--muted); font-size: 0.85rem; margin-top: 8px; }
.nearby-towns { margin: 0 0 28px; max-width: 46rem; }
.nearby-towns .lede { margin-bottom: 14px; }
.chip-meta { display: block; font-size: 0.78rem; color: var(--muted); font-weight: 400; margin-top: 2px; }
.section-title { font-size: 1.45rem; margin: 8px 0 18px; }
.video-grid { display: grid; gap: 16px; margin: 0 0 12px; }
.video-card { margin: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 720px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
}
.empty { color: var(--muted); }
.grid > .empty { grid-column: 1 / -1; }
.map-embed { height: 320px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.tour-day {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) 1.1fr;
  gap: 22px;
  align-items: start;
}
.tour-day-list { grid-template-columns: 1fr; }
.route-map {
  margin: 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  position: sticky;
  top: 88px;
}
.route-map svg { display: block; width: 100%; height: auto; }
.route-map figcaption { margin: 0; padding: 10px 14px 14px; color: var(--muted); font-size: 0.88rem; }
.route-stops { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.route-stop {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  text-decoration: none;
  color: inherit;
}
.route-stop.has-photo { grid-template-columns: 72px 36px 1fr; }
.route-photo {
  width: 72px; height: 72px; object-fit: cover; border-radius: 10px; display: block;
}
.route-stop:hover { border-color: var(--burgundy); }
.route-stop h3 { margin: 0 0 2px; font-size: 1.45rem; }
.route-stop .place { margin: 0 0 4px; }
.route-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--burgundy); color: var(--on-accent);
  display: grid; place-items: center; font-weight: 600;
}
#company .prose ul { margin: 12px 0 0; padding-left: 1.1rem; }
#company .panel .kv { margin-bottom: 16px; }
.operator-tours { display: flex; flex-direction: column; gap: 28px; }
.operator-tour h3 { margin: 0 0 6px; font-size: 2rem; }
.operator-tour h3 a { color: inherit; text-decoration: none; }
.operator-tour h3 a:hover { color: var(--burgundy); }
.operator-tour .route-stops { margin-top: 12px; }
.wine-pin { background: none; border: none; }
.wine-pin-dot {
  display: block; width: 14px; height: 14px; border-radius: 50%;
  background: var(--burgundy); border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px rgba(60, 28, 20, 0.35);
}
.leaflet-popup-content a { color: #6e1d24; font-weight: 600; }
.tour-book { margin-top: 28px; padding-top: 8px; }
.tour-price { margin: 0 0 12px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.8rem; line-height: 1.1; }
@media (max-width: 800px) {
  .tour-day { grid-template-columns: 1fr; }
  .route-map { position: static; }
}
.faq details {
  border-bottom: 1px solid var(--line); padding: 12px 0;
}
.faq { max-width: 46rem; }
.faq summary {
  cursor: pointer; font-weight: 500; list-style: none;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--burgundy); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--burgundy); }
.faq details p { margin: 8px 0 0; color: var(--muted); }
.pager { display: flex; align-items: center; gap: 12px; margin: 28px 0; }
.reveal-farms { margin: 8px 0 36px; }
.more-slot { display: contents; }
.more-slot.is-hidden { display: none; }
.site-footer {
  background: #080907; color: var(--muted); padding: 56px 0 24px; margin-top: 40px; border-top: 1px solid var(--line);
}
.site-footer a { color: var(--ink); text-decoration-color: var(--line); }
.site-footer a:hover { color: var(--burgundy); }
.footer-grid strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer-grid h2 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); font-family: Inter, system-ui, sans-serif; font-weight: 500; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 6px 0; }
.fineprint { opacity: 0.7; font-size: 0.82rem; margin-top: 28px; }
.mono { font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
body.map-mode { min-height: 100dvh; display: flex; flex-direction: column; }
body.map-mode main { flex: 1; display: flex; flex-direction: column; min-height: 0; }
body.map-mode .map-shell { flex: 1; height: auto; min-height: 0; }
@media (max-width: 1040px) {
  .head-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand search" "nav nav";
  }
  .brand { grid-area: brand; }
  .nav {
    grid-area: nav;
    justify-content: center;
    gap: 6px 16px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }
  .head-tools { grid-area: search; }
  .head-search { grid-area: auto; }
}
@media (max-width: 900px) {
  .grid-3, .grid-2, .split, .footer-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  h1 { font-size: 2.2rem; }
  .kv { grid-template-columns: 92px minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .head-inner { grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; padding: 10px 0 0; }
  .head-search input { width: 100%; padding: 7px 12px; }
  .brand em { display: none; }
  .brand strong { font-size: 1.2rem; }
  .brand-mark-unused { width: 32px; height: 32px; }
  .nav {
    flex-wrap: wrap; overflow: visible; gap: 6px 16px; padding: 4px 0 8px;
    mask-image: none;
  }
  .nav a { white-space: nowrap; padding: 8px 0; }
  .map-bar select, .map-bar input { max-width: none; }
  .hero { padding: 44px 0 32px; }
  .section { padding: 44px 0; }
  .hero-search input { font-size: 1rem; padding: 8px 10px; }
  .hero-search .btn { padding: 9px 16px; }
  .stat-strip { gap: 6px 16px; }
  .section-head { align-items: center; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid { gap: 12px; }
  .farm-card { position: relative; padding-left: 108px; min-height: 128px; }
  .event-card, .guide-card { padding-left: 0; min-height: 0; }
  .event-card .book-now { margin: 0 14px 12px; }
  .farm-card .thumb { position: absolute; inset: 0 auto 0 0; width: 108px; aspect-ratio: auto; }
  .thumb.is-logo { border-bottom: 0; border-right: 1px solid var(--line); }
  .farm-card .card-body { padding: 12px 14px 6px; }
  .farm-card .card-body h3 { font-size: 1.22rem; margin: 2px 0 4px; }
  .farm-card .badges { padding: 0 14px 12px; }
  .farm-card:hover { transform: none; }
  .ph-label { display: none; }
  .thumb.is-logo img { padding: 10px; }
}

/* Home */
.hero-home {
  position: relative; isolation: isolate;
  padding: 120px 0 72px; min-height: min(78vh, 720px);
  display: flex; align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(13, 15, 12, 0.42) 0%, rgba(13, 15, 12, 0.62) 42%, var(--paper) 100%),
    var(--hero-img, url("../img/photos/hero-vines.jpg")) center 60% / cover no-repeat,
    var(--paper);
}
.hero-home.hero-tight {
  min-height: 0;
  align-items: flex-start;
  padding: 36px 0 28px;
}
.hero-home.hero-tight h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.tight-filters { padding-bottom: 8px; }
.tight-filters .filters { margin-top: 10px; }
.hero-home > .wrap { position: relative; z-index: 1; text-align: center; }
.hero-home h1 { max-width: 16em; margin-inline: auto; font-weight: 400; font-size: clamp(2.8rem, 6vw, 5.2rem); }
.hero-home:has(.planner) { min-height: 0; padding: 72px 0 48px; align-items: center; }
.hero-home:has(.planner) h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 8px; }
.hero-count { color: #cfc9ba; margin: 0 auto; max-width: 40rem; }
.hero-home .crumbs,
.hero-home .hero-note,
.hero-home .hero-note a { color: #cfc9ba; }
.hero-home .hero-note { margin: 14px auto 0; max-width: 40rem; }
.planner {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px;
  max-width: 860px; margin: 28px auto 0; padding: 14px;
  background: rgba(10, 12, 9, 0.78); backdrop-filter: blur(8px);
  border: 1px solid #3a3d34; border-radius: 6px; text-align: left;
}
.planner-field { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.planner-wide { max-width: none; }
.planner-wide > .planner-field:not(.planner-cares) { flex: 1 1 100%; }
.planner-field span {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft);
}
.planner select {
  width: 100%; border: 1px solid #3a3d34; border-radius: 4px; background: var(--field);
  font: inherit; font-size: 1.02rem; color: var(--ink); padding: 12px 14px; cursor: pointer;
}
.planner select:focus-visible { outline: none; border-color: var(--gold); }
.planner-go { flex: 0 0 auto; padding: 13px 26px; font-size: 1rem; justify-content: center; }
.planner-cares { flex: 1 1 100%; border: 0; margin: 0; padding: 0; min-width: 0; }
.planner-cares legend {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); padding: 0;
}
.care-checks { display: flex; flex-wrap: wrap; gap: 8px 14px; padding-top: 8px; }
.care-check { display: inline-flex; align-items: center; gap: 6px; font-size: 0.92rem; cursor: pointer; }
.quick-trips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px auto 0; max-width: 860px; }
.quick-trips .chip { background: rgba(10, 12, 9, 0.6); }
.starters { padding-top: 28px; }
@media (max-width: 720px) {
  .hero-home:has(.planner) { padding: 32px 0 28px; }
  .planner { padding: 10px; margin-top: 20px; }
  .planner-field, .planner-go { flex: 1 1 100%; }
}
.hero-home .lede { color: #cfc9ba; max-width: 44rem; margin-inline: auto; }
.hero-home .filters, .hero-home .trip-row, .hero-home .stat-strip, .hero-home .hero-actions { justify-content: center; }
.hero-search {
  display: flex; gap: 6px; max-width: 640px; margin: 26px auto 0;
  background: rgba(10, 12, 9, 0.72); backdrop-filter: blur(8px); border: 1px solid #3a3d34; border-radius: 4px; padding: 5px;
  box-shadow: var(--shadow);
}
.hero-search input {
  flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1.05rem;
  padding: 10px 16px; color: var(--ink);
}
.hero-search input:focus-visible { outline: none; }
.hero-search:focus-within { border-color: var(--gold); }
.guide-carousel { display: flex; flex-direction: column; gap: 16px; }
.guide-track {
  --guide-cols: 4;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--guide-cols) - 1) * 16px) / var(--guide-cols));
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.guide-track::-webkit-scrollbar { display: none; }
.guide-card { scroll-snap-align: start; min-width: 0; }
.carousel-actions { margin: 0; }
@media (max-width: 900px) {
  .guide-track { --guide-cols: 2; }
}
@media (max-width: 640px) {
  .guide-track { --guide-cols: 1; }
}
.wine-search-label { margin: 18px 0 0; color: var(--muted); font-size: 0.95rem; }
.hero-search.wine-search { max-width: 860px; margin-top: 8px; flex-wrap: wrap; border-radius: 4px; }
.taste-section .hero-search.wine-search { max-width: 720px; margin: 28px 0 0; }
.find-by {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 12px;
  max-width: 760px; margin: 28px auto 0;
}
.find-by form,
.find-by .find-region { flex: 1 1 280px; max-width: 360px; min-width: 0; margin: 0; }
.find-by select {
  width: 100%; border: 1px solid #3a3d34; border-radius: 4px;
  background: rgba(10, 12, 9, 0.72); font: inherit; font-size: 1.05rem;
  color: var(--ink); padding: 12px 14px; cursor: pointer;
}
.find-by select:focus-visible { outline: none; border-color: var(--gold); }
.taste-section .filters.chips { justify-content: center; }
.region-locate { margin: 0 0 22px; }
.hero-search.wine-search input,
.hero-search.wine-search select { flex: 1 1 160px; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink); }
.hero-search.wine-search select { padding: 10px 12px; }
@media (max-width: 700px) {
  .hero-search.wine-search { border-radius: 4px; }
  .hero-search.wine-search input,
  .hero-search.wine-search select,
  .hero-search.wine-search .btn { flex: 1 1 100%; }
}
.hero-top { display: block; max-width: 52rem; margin: 0 auto; }
.day-title { color: var(--burgundy); }
.hero-figure { display: none; }
.hero-home .hero-actions { margin-top: 16px; }
.region-shot, .place-shot {
  display: block; width: 100%; max-width: 100%; object-fit: cover; background: var(--cream);
}
.region-shot { height: 128px; }
.place-shot {
  height: 220px; margin-top: 18px; border-radius: 16px; box-shadow: var(--shadow-soft);
}
@media (max-width: 700px) {
  .region-shot { height: 96px; }
  .place-shot { height: 160px; }
}
.trip-label {
  width: 100%; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.stat-strip {
  display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 28px 0 0; color: var(--muted); font-size: 0.95rem;
}
.stat-strip b { font-family: "Cormorant Garamond", serif; font-size: 1.6rem; color: var(--ink); margin-right: 4px; }
.mood-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .mood-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.mood {
  display: flex; flex-direction: column; gap: 4px; padding: 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.mood:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--ink); box-shadow: var(--shadow); }
.mood .icon, .exp-index .icon {
  width: 42px; height: 42px; padding: 9px; margin-bottom: 8px;
  border-radius: 50%; background: var(--cream); color: var(--burgundy);
}
.mood strong { font-weight: 500; line-height: 1.3; }
.mood span { color: var(--muted); font-size: 0.85rem; }
.region-card[class*="rc-"] { border-top: 4px solid var(--burgundy); }
.rc-cape-south-coast { border-top-color: #4b7c84; }
.rc-breede-river-valley { border-top-color: #6a8650; }
.rc-klein-karoo { border-top-color: #b8703f; }
.rc-olifants-river { border-top-color: #a88a3e; }
.region-card-cta { border-top: 4px solid var(--gold); background: var(--cream); }
.stack-list li { display: flex; justify-content: space-between; gap: 12px; }
.stack-list .count { color: var(--muted); font-size: 0.9rem; }

/* Best-for tags */
.badge-best { background: var(--burgundy); border-color: var(--burgundy); color: var(--on-accent); text-decoration: none; }
.badge-best:hover { background: var(--burgundy-deep); color: var(--on-accent); }
.chip-label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Cards */
.badge-link { background: var(--field); color: var(--burgundy); }
.pill-on { background: var(--cream); border-color: var(--gold-soft); }

/* Farm page */
.trip-links { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 16px 0 0; }
.trip-links span { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.trip-links a { color: var(--burgundy); text-decoration: none; border-bottom: 1px solid var(--gold); }
.plan-switch { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.plan-switch a {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--field); border: 1px solid var(--line); border-radius: 14px;
  padding: 8px 14px; min-width: 132px;
}
.plan-switch a:hover { border-color: var(--burgundy); }
.plan-switch a span { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.plan-switch a strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.35rem; font-weight: 600; color: var(--burgundy); }
.page-jump {
  position: sticky; top: var(--head-h, 92px); z-index: 40;
  background: rgba(13, 15, 12, 0.88); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.page-jump-inner {
  display: flex; gap: 8px; padding: 10px 0;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.page-jump-inner::-webkit-scrollbar { display: none; }
.page-jump .chip { background: var(--field); white-space: nowrap; flex: 0 0 auto; }
.page-jump .chip.is-first { order: -2; }
.page-jump .chip.is-lead { order: -1; }
.page-jump .chip.is-on { background: var(--burgundy); color: var(--on-accent); border-color: var(--burgundy); }
.farm-body [id], #nearby { scroll-margin-top: calc(var(--head-h, 92px) + var(--jump-h, 56px) + 12px); }
.farm-photo img { box-shadow: var(--shadow); }
.farm-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  margin: 0 0 1.2em;
  max-width: none !important;
}
.farm-gallery figure { margin: 0; }
.farm-gallery img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.claim-form { display: grid; gap: 14px; max-width: 28rem; margin-top: 18px; }
.claim-form label { display: grid; gap: 6px; font-weight: 500; }
.claim-form input {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 12px;
  font: inherit;
  background: var(--field);
}
.claim-form .errorlist, .claim-form .form-error { color: var(--burgundy); margin: 0; padding: 0; list-style: none; }
.claim-form .caption { font-weight: 400; }
.claim-form textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  background: var(--field);
}
/* Adverts on public pages */
.ad-slot { padding: 22px 0 0; }
.ad-slot + .section.flush { padding-top: 22px; }
.ad-slot .ad-band + .ad-band { margin-top: 14px; }
.ad-band {
  background: var(--card); border: 1px solid #4a4333; border-radius: var(--radius);
  box-shadow: none; overflow: hidden;
}
.ad-band-link {
  display: grid; grid-template-columns: minmax(180px, 34%) 1fr; color: var(--ink); text-decoration: none;
}
.ad-band-link:hover .ad-cta { background: var(--burgundy-deep); }
.ad-band-photo { min-height: 170px; background: var(--cream); }
.ad-band-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-band-photo-ph {
  display: grid; place-items: center; color: var(--gold-soft);
  background: linear-gradient(135deg, var(--ph-a), var(--ph-b));
  font-family: "Cormorant Garamond", serif; font-size: 3.4rem;
}
.ad-band-body { padding: 18px 22px 20px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.ad-band-body h3 { margin: 0; font-size: 1.7rem; }
.ad-band-body p { margin: 0; color: var(--muted); }
.ad-band-body .ad-tag { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.ad-tag span {
  display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 3px;
  background: var(--gold-soft); color: var(--on-accent); font-weight: 600;
}
.ad-cta {
  margin-top: 8px; display: inline-block; padding: 9px 18px; border-radius: 999px;
  background: var(--burgundy); color: var(--on-accent); font-weight: 500;
}

/* Advertise page */
.adv-hero {
  padding: 72px 0 64px; color: var(--ink);
  background:
    linear-gradient(180deg, rgba(13, 15, 12, 0.55), var(--paper)),
    radial-gradient(800px 360px at 90% -10%, rgba(184, 151, 90, 0.25), transparent),
    #11130f;
  border-bottom: 1px solid var(--line);
}
.adv-hero .kicker { color: var(--gold-soft); }
.adv-hero h1 { color: var(--ink); max-width: 14em; }
.adv-hero .lede { color: rgba(255, 255, 255, 0.85); }
.adv-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.adv-btn { background: var(--burgundy); color: var(--on-accent); font-weight: 500; }
.adv-btn:hover { background: var(--burgundy-deep); color: var(--on-accent); }
.adv-ghost { color: var(--ink); border-color: rgba(255, 255, 255, 0.5); background: transparent; }
.adv-ghost:hover { background: rgba(255, 255, 255, 0.08); color: var(--ink); }
.adv-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 28px 0 0; color: rgba(255, 255, 255, 0.8); }
.adv-facts b { color: var(--burgundy); font-size: 1.5rem; font-family: "Cormorant Garamond", serif; margin-right: 4px; }
.adv-sample { transform: none; }
.adv-sample .ad-band { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); }
.adv-sample .ad-band-link { grid-template-columns: 1fr; }
.adv-sample .ad-band-photo { min-height: 190px; max-height: 220px; }
.adv-sample-label { margin: 0 0 10px; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); }
.adv-sample-note { margin: 12px 0 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); }

.spot { display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.spot:hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(60, 28, 20, 0.14); }
.spot .card-body h3 { font-size: 1.6rem; }
.spot-audience { color: var(--burgundy); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.74rem !important; }
.spot-actions { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: auto !important; padding-top: 14px; }
.spot-actions .btn { padding: 8px 16px; }
.spot-cta { background: var(--cream); justify-content: center; border-style: dashed; }

.mock { margin: 16px 16px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--field); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 4px; padding: 6px 8px; border-bottom: 1px solid var(--line); background: var(--paper); }
.mock-bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.mock-bar span { margin-left: 8px; font-size: 0.68rem; color: var(--muted); }
.mock-hero { height: 30px; background: linear-gradient(90deg, var(--cream), #262a22); }
.mock-ad {
  margin: 8px; padding: 8px 10px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center;
  background: rgba(217, 200, 160, 0.16); border: 1px dashed var(--gold); color: var(--ink);
  font-size: 0.7rem; animation: mock-pulse 2.4s ease-in-out infinite;
}
.mock-ad b { text-transform: uppercase; letter-spacing: 0.08em; }
.mock-ad em { font-style: normal; font-weight: 600; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 8px 8px; }
.mock-cards i { height: 34px; border-radius: 4px; background: #23261f; }
@keyframes mock-pulse { 50% { background: rgba(217, 200, 160, 0.3); } }
@media (prefers-reduced-motion: reduce) { .mock-ad { animation: none; } .spot, .spot:hover { transition: none; transform: none; } }

.adv-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.adv-steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.adv-steps h3 { margin: 10px 0 6px; font-size: 1.5rem; }
.adv-steps p { margin: 0; color: var(--muted); }
.adv-step-n {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--burgundy); color: var(--on-accent); font-family: "Cormorant Garamond", serif; font-size: 1.3rem;
}
.adv-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.adv-checks { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: 12px; }
.adv-checks li { position: relative; padding-left: 28px; }
.adv-checks li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 8px;
  border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold); transform: rotate(-45deg);
}
.adv-promise { background: var(--cream); }

.adv-form-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.adv-form { display: grid; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-soft); }
.adv-form label { display: grid; gap: 6px; font-weight: 500; }
.adv-form input[type="text"], .adv-form input[type="email"], .adv-form input[type="url"], .adv-form textarea {
  border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; font: inherit; background: var(--field); width: 100%;
}
.adv-form input:focus-visible, .adv-form textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.adv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.adv-form .form-error, .adv-form .errorlist { color: var(--burgundy); margin: 0; padding: 0; list-style: none; font-weight: 400; }
.adv-form .hp { position: absolute; left: -9999px; }
.adv-picks { border: 0; margin: 0; padding: 0; }
.adv-picks legend { font-weight: 500; margin-bottom: 8px; padding: 0; }
.adv-pick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.adv-pick {
  display: flex !important; align-items: center; gap: 10px; padding: 10px 12px; font-weight: 400 !important;
  border: 1px solid var(--line); border-radius: 12px; background: var(--field); cursor: pointer;
}
.adv-pick:has(input:checked) { border-color: var(--burgundy); background: rgba(217, 200, 160, 0.10); font-weight: 500 !important; }
.adv-pick input { accent-color: var(--burgundy); width: 18px; height: 18px; margin: 0; }
.adv-thanks { background: var(--cream); }
.adv-thanks h3 { margin-top: 0; font-size: 1.7rem; }

@media (max-width: 860px) {
  .adv-hero { padding: 48px 0 44px; }
  .adv-hero-grid, .adv-split, .adv-form-wrap, .adv-steps { grid-template-columns: 1fr; }
  .adv-hero-grid { gap: 32px; }
  .adv-sample { transform: none; }
  .ad-band-link { grid-template-columns: 1fr; }
  .ad-band-photo { min-height: 150px; max-height: 190px; }
}
@media (max-width: 560px) {
  .adv-row, .adv-pick-grid { grid-template-columns: 1fr; }
}
.farm-photo.is-logo { background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.farm-photo.is-logo img { object-fit: contain; max-height: 220px; padding: 28px; box-shadow: none; }
.exp-grid {
  list-style: none; padding: 0 !important; margin: 0 0 12px; max-width: none !important;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px;
}
.exp-card {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px;
  box-shadow: var(--shadow-soft);
}
.exp-card h3 { font-size: 1.3rem; margin: 2px 0 0; }
.exp-card p { margin: 0; font-size: 0.93rem; }
.exp-cat {
  display: inline-flex; align-items: center; gap: 6px; align-self: start;
  font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--burgundy);
}
.exp-cat .icon { width: 18px; height: 18px; }
.exp-facts { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.exp-facts b { font-weight: 500; color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; margin-right: 4px; }
.exp-card .caption { margin-top: 2px; overflow-wrap: anywhere; }
.exp-more { margin-top: auto; padding-top: 6px; font-size: 0.88rem; }
.panel-visit { border-top: 4px solid var(--burgundy); }
.panel-link { display: block; text-decoration: none; color: var(--ink); }
.panel-link strong { display: block; color: var(--burgundy); font-weight: 500; margin-top: 4px; }
.panel-link:hover { border-color: var(--gold); }
.panel-sub { font-size: 1.1rem; margin: 18px 0 8px; }
.panel .filters.chips { margin-top: 0; gap: 6px; }
.chip-count { color: var(--muted); font-size: 0.78rem; margin-left: 2px; }
.section-note { color: var(--muted); margin-top: -6px; }
.sources-title { font-size: 1.2rem !important; }
.sources { color: var(--muted); font-size: 0.88rem; columns: 2 220px; }
.family-score { margin: 0 0 6px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.35rem; color: var(--burgundy); line-height: 1; }
.family-score span { font-family: Inter, system-ui, sans-serif; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
.panel h3 { margin: 0 0 8px; font-size: 1.7rem; }
.panel .badges { margin-top: 8px; }
a.pill { text-decoration: none; color: inherit; }
@media (min-width: 901px) {
  .aside-sticky {
    position: sticky; top: 92px; max-height: calc(100vh - 108px); overflow-y: auto;
    padding: 2px 8px 24px; margin: -2px -8px 0; scrollbar-width: thin;
  }
  .farm-aside.aside-sticky {
    top: calc(var(--head-h, 92px) + var(--jump-h, 56px) + 12px);
    max-height: calc(100vh - var(--head-h, 92px) - var(--jump-h, 56px) - 24px);
  }
  .aside-sticky .panel { box-shadow: var(--shadow-soft); }
}

/* ---- Farms directory: refined layout ---- */
.farms-hero { padding: 56px 0 30px; background:
  radial-gradient(900px 300px at 50% -20%, rgba(184,151,90,.16), transparent),
  var(--paper); }
.farms-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.farms-hero .kicker::after { content: ""; display: block; width: 44px; height: 1px; background: var(--gold); margin: 14px auto 0; }
.farms-hero .lede { margin-bottom: 26px; }
.farms-toolbar { max-width: 980px; margin: 0 auto; padding: 10px; gap: 8px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 8px; }
.farms-toolbar .farms-search { flex: 2 1 240px; }
.farms-toolbar input, .farms-toolbar select { height: 42px; border-color: transparent; background: var(--field); }
.farms-toolbar input:hover, .farms-toolbar select:hover { border-color: var(--line); }
.farms-toolbar .btn { height: 42px; padding: 0 26px; letter-spacing: .04em; }
.farms-hero .filters.chips { max-width: 980px; margin-inline: auto; gap: 8px; }
.farms-hero .filters.chips.facet-row { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.farms-hero .chip { background: transparent; padding: 6px 15px; }
.farms-hero .chip.is-on { background: var(--burgundy); }
.farms-hero .chip-label { margin-right: 4px; color: var(--gold-soft); }
.farms-hint { margin-top: 18px; color: var(--muted); font-size: .9rem; }
.farms-hero .best-for-chips { margin-bottom: 4px; }

/* cards */
.section.flush .grid-3, .section.flush .grid-4 { gap: 26px; }
.farm-card { background: linear-gradient(180deg, var(--card), #10120f); border-radius: 8px; }
.farm-card:hover { border-color: var(--gold); box-shadow: 0 22px 44px rgba(0,0,0,.45); }
.farm-card .thumb { aspect-ratio: 3/2; }
.farm-card .thumb::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(to top, rgba(13,15,12,.55), transparent); pointer-events: none; }
.farm-card .card-body { padding: 20px 22px 12px; }
.farm-card .place { color: var(--gold-soft); font-size: .7rem; letter-spacing: .16em; margin: 0; }
.farm-card .card-body h3 { font-size: 1.7rem; font-weight: 500; margin: 8px 0 12px; line-height: 1.1; }
.farm-card .card-body h3::after { content: ""; display: block; width: 28px; height: 1px; background: var(--gold); margin-top: 12px; opacity: .7; }
.farm-card .card-brief { color: var(--muted); font-size: .92rem; -webkit-line-clamp: 3; }
.farm-card .card-reasons { margin-top: 2px; }
.farm-card .card-reasons li::before { background: var(--gold); width: 5px; height: 5px; }
.farm-card .card-meta { font-size: .84rem; margin-bottom: 6px !important; }
.farm-card .card-meta.tasting-offer { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; color: var(--burgundy); }
.farm-card .hours-line { color: var(--muted); opacity: .8; }
.farm-card .badges { padding: 12px 22px 20px; border-top: 1px solid var(--line); margin: 6px 22px 0 !important; padding-inline: 0; }
.farm-card .badge { border-radius: 999px; padding: 3px 11px; font-size: .68rem; letter-spacing: .08em; }
.farm-card .badge-best { background: transparent; color: var(--gold-soft); border-color: var(--gold); }
.farm-card .badge-best:hover { background: var(--gold); color: var(--on-accent); }
.farm-card .wine-chips { border-top: 0; margin-top: 0 !important; padding-bottom: 0; }

.section-title { font-size: 1.9rem; margin: 36px 0 22px; text-align: center; }
.pager { margin: 44px 0 16px; padding-top: 24px; border-top: 1px solid var(--line); gap: 22px; color: var(--muted); font-size: .92rem; }
.reveal-farms { text-align: center; margin-top: 36px; }
.nearby-towns { text-align: center; }
.empty { text-align: center; color: var(--muted); font-family: var(--serif); font-size: 1.5rem; padding: 60px 0; }

@media (max-width: 720px) {
  .farms-toolbar { padding: 8px; }
  .farms-toolbar input, .farms-toolbar select, .farms-toolbar .btn { flex: 1 1 100%; }
  .farm-card .thumb { aspect-ratio: auto; }
  .farm-card .card-body { padding: 12px 14px 6px; }
  .farm-card .card-body h3 { font-size: 1.3rem; margin-bottom: 6px; }
  .farm-card .card-body h3::after, .farm-card .thumb::after { display: none; }
  .farm-card .badges { margin: 0 !important; padding: 0 14px 12px; border-top: 0; }
}

.choice-section { padding-top: 36px; }
.choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.choice-card {
  display: flex; flex-direction: column; gap: 10px; height: 100%;
  padding: 22px 22px 20px;
  background: linear-gradient(180deg, var(--card), #10120f);
  border: 1px solid var(--line); border-radius: 8px;
  color: inherit; text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
a.choice-card { cursor: pointer; }
a.choice-card:hover, .choice-card[open] {
  transform: translateY(-2px); border-color: var(--gold); color: inherit;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45);
}
.choice-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.choice-card summary {
  display: flex; flex-direction: column; gap: 10px; flex: 1;
  list-style: none; cursor: pointer;
}
.choice-card summary::-webkit-details-marker { display: none; }
.choice-card summary::marker { content: ""; }
.choice-letter {
  color: var(--gold-soft); letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 0.72rem; font-weight: 500;
}
.choice-card h2 { margin: 0; font-size: clamp(1.45rem, 2vw, 1.85rem); font-weight: 500; }
.choice-card h2::after {
  content: ""; display: block; width: 28px; height: 1px; background: var(--gold); margin-top: 12px; opacity: 0.7;
}
.choice-card p { margin: 0; color: var(--muted); }
.choice-card ul { margin: 4px 0 0; padding-left: 1.15rem; }
.choice-card li { margin: 4px 0; }
.choice-cta { margin-top: auto; padding-top: 8px; color: var(--burgundy); font-weight: 500; }
.choice-cta::after { content: " →"; }
.choice-card[open] .choice-cta { display: none; }
@media (max-width: 1100px) {
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .choice-grid { grid-template-columns: 1fr; }
}

.farms-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.farms-toolbar form { display: flex; gap: 8px; flex: 1 1 320px; min-width: 0; }
.farms-toolbar .farms-wine { flex: 2 1 380px; }
.farms-toolbar input, .farms-toolbar select { flex: 1 1 0; min-width: 0; border: 1px solid transparent; border-radius: 4px; padding: 0 14px; font: inherit; }

/* ---- Tool-first hub hero (stay, tours): small heading, filters at the top ---- */
.hero-tool { padding: 22px 0 18px; }
.hero-tool .kicker { margin: 0 0 4px; }
.hero-tool h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 4px; }
.hero-tool .lede { font-size: .95rem; margin: 0 auto 10px; max-width: 46rem; }
.hero-tool .filters { margin: 10px auto 0; max-width: 980px; }
.hero-tool .filters.toolbar { padding: 8px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 8px; }
.hero-tool .filters.toolbar input, .hero-tool .filters.toolbar select, .hero-tool .filters.toolbar .btn { height: 40px; }
.hero-tool .filters.toolbar .btn { padding: 0 22px; }
.hero-tool .filters.chips { gap: 6px; margin-top: 8px; }
.hero-tool .chip { padding: 5px 13px; }
.hero-tool .hero-note { margin: 10px auto 0; color: var(--muted); font-size: .82rem; max-width: 46rem; }
.hero-tool + .ad-slot, .hero-tool + .section { padding-top: 18px; }

/* Listing form: one centered column, same cards as the rest of the site */
.listing-wrap { width: min(720px, 100%); margin: 0 auto; display: grid; gap: 18px; }
.listing-tips, .listing-saved {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.listing-tips h2, .listing-saved { margin: 0 0 8px; font-size: 1.45rem; }
.listing-tips ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 8px; }
.listing-tips li { color: var(--muted); }
.listing-form {
  display: grid;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.listing-form label { display: grid; gap: 6px; font-weight: 500; }
.listing-form input[type="text"],
.listing-form input[type="email"],
.listing-form input[type="url"],
.listing-form input[type="number"],
.listing-form input[type="password"],
.listing-form input[type="file"],
.listing-form textarea,
.listing-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 12px;
  font: inherit;
  background: var(--field);
  color: inherit;
}
.listing-form textarea { resize: vertical; }
.listing-form input:focus-visible,
.listing-form textarea:focus-visible,
.listing-form select:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.listing-form .tip { font-weight: 400; color: var(--muted); font-size: 0.92rem; }
.listing-form .form-error, .listing-form .errorlist { color: var(--burgundy); margin: 0; padding: 0; list-style: none; font-weight: 400; }
.listing-section { display: grid; gap: 14px; padding-top: 8px; border-top: 1px solid var(--line); }
.listing-section h2 { margin: 0; font-size: 1.7rem; }
.listing-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.listing-offers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.listing-pick {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-weight: 400 !important;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--field);
  cursor: pointer;
}
.listing-pick input { accent-color: var(--burgundy); width: 18px; height: 18px; margin: 0; }
.listing-pick:has(input:checked) { border-color: var(--burgundy); background: rgba(217, 200, 160, 0.10); }
.listing-photo, .listing-block {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--field);
}
.listing-photo { grid-template-columns: 96px 1fr; }
.listing-photo img, .listing-photo-new {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}
.listing-photo-new {
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.listing-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
@media (max-width: 700px) {
  .listing-row, .listing-offers, .listing-photo { grid-template-columns: 1fr; }
}

.outing-grid { align-items: stretch; }
.outing-grid > .outing-card { min-width: 0; }
.outing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18px 18px 16px;
}
.outing-card .place {
  margin: 0;
  color: var(--gold-soft);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.outing-card h3 {
  margin: 8px 0 0;
  font-size: 1.45rem;
  line-height: 1.15;
  min-height: calc(1.15em * 2);
}
.outing-card h3::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin-top: 10px;
  opacity: 0.7;
}
.outing-distance {
  margin: 10px 0 0;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.2;
}
.outing-distance.is-unknown { color: var(--muted); font-family: inherit; font-size: 0.88rem; }
.outing-age, .outing-price { margin: 6px 0 0; font-size: 0.92rem; }
.outing-price { color: var(--ink); }
.outing-card .card-brief { -webkit-line-clamp: 3; }
.outing-near {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.outing-card .visit-actions {
  width: 100%;
  justify-content: flex-start;
  margin: 16px 0 0;
  margin-top: auto;
  min-height: 40px;
}
.outing-card .visit-actions .btn-ghost {
  flex: 1 1 0;
  justify-content: center;
  padding: 8px 10px;
  text-align: center;
}
.btn-ghost[aria-busy="true"] { opacity: 0.75; pointer-events: none; }
