:root {
  --bg: #FBF9F5;
  --surface: #FFFFFF;
  --sand: #EAE3D5;
  --bordeaux: #4A1C24;
  --crimson: #7B1E2B;
  --gold: #9E7B4F;
  --gold-bright: #C59B5F;
  --vine: #3D5A45;
  --ink: #1E1B18;
  --muted: #5A524A;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.55;
}
.font-serif { font-family: 'Cormorant Garamond', Georgia, serif; }
.font-mono { font-family: 'IBM Plex Mono', monospace; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* Modern Bright Header */
header {
  background: linear-gradient(110deg, #4A1C24 0%, #68212E 58%, #3A4D3B 100%);
  color: var(--bg);
  padding: 18px 0;
  box-shadow: 0 4px 20px rgba(74, 28, 36, 0.14);
}
.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--bg);
  text-decoration: none;
}
.brand-name { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 700; }
.badge-live {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  background: rgba(251, 249, 245, 0.16);
  border: 1px solid rgba(251, 249, 245, 0.32);
  padding: 6px 12px;
  border-radius: 999px;
  color: #FFFDF9;
}

/* Sticky Sub-nav */
.sub-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 30;
}
.sub-nav-inner {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  font-size: 13px;
  font-weight: 600;
}
.sub-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 999px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.sub-nav a:hover, .sub-nav a.active {
  background: var(--bordeaux);
  color: #FFFDF9;
}

/* Banner with lush nature imagery */
.banner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  padding: 32px 0;
  align-items: center;
  border-bottom: 1px solid var(--sand);
}
@media (max-width: 920px) {
  .banner { grid-template-columns: 1fr; }
}
.banner-photo-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.banner-photo-stack img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--sand);
}
.banner-photo-stack img.wide {
  grid-column: 1 / -1;
  height: 210px;
}

h1, h2, h3 { font-family: 'Cormorant Garamond', serif; line-height: 1.15; }
h1 { font-size: 38px; margin-bottom: 12px; color: var(--bordeaux); }
h2 { font-size: 28px; margin-bottom: 14px; color: var(--ink); }
h3 { font-size: 21px; margin-bottom: 6px; }

/* Photo Strip for Lush Wine & Nature */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 22px 0 8px;
}
.photo-tile {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--sand);
  background: var(--surface);
}
.photo-tile img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  display: block;
}
.photo-tile .cap {
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
}

/* Modernized Variant 2 Tables */
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--sand);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 2px 12px rgba(30, 27, 24, 0.04);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th, td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--sand);
}
th {
  background: #F4EFE6;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--bordeaux);
  letter-spacing: 0.04em;
}
tr:last-child td { border-bottom: none; }
.region-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  background: #EDF3EE;
  color: var(--vine);
  padding: 3px 9px;
  border-radius: 999px;
  display: inline-block;
  font-weight: 500;
}
.category-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  background: #F4EFE6;
  color: var(--bordeaux);
  padding: 3px 9px;
  border-radius: 999px;
  display: inline-block;
  font-weight: 500;
}

/* Thematic Cards Grid with Photos */
.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 22px;
  padding: 20px 0 36px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--sand);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(30, 27, 24, 0.04);
}
.panel-cover {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.panel-body { padding: 20px; }
.list-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--sand);
  font-size: 14px;
}
.list-item:last-child { border-bottom: none; padding-bottom: 0; }
.list-item a { color: var(--ink); text-decoration: none; }
.list-item a:hover { color: var(--bordeaux); }

footer {
  background: linear-gradient(110deg, #2D1016 0%, #4A1C24 60%, #2C3B2D 100%);
  color: var(--bg);
  padding: 28px 0;
  margin-top: 16px;
}

/* ===== Listing & article pages ===== */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px 0 14px;
}
.section-head a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--bordeaux);
  text-decoration: none;
}
.section-head a:hover { text-decoration: underline; }
.page-intro {
  color: var(--muted);
  max-width: 780px;
  margin-bottom: 8px;
}
.breadcrumb {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  padding: 20px 0 0;
}
.breadcrumb a { color: var(--bordeaux); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  padding-bottom: 36px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--sand);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(30, 27, 24, 0.04);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}
.card:hover { box-shadow: 0 6px 20px rgba(30, 27, 24, 0.10); }
.card-cover { width: 100%; height: 170px; object-fit: cover; display: block; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 a { color: var(--bordeaux); text-decoration: none; }
.card-body h3 a:hover { color: var(--crimson); }
.card-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.card-desc { font-size: 14px; color: var(--muted); }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }

/* Article page */
.article {
  max-width: 820px;
  padding-bottom: 40px;
}
.article .cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--sand);
  margin: 18px 0 8px;
}
.article-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}
.prose { font-size: 16px; color: var(--ink); }
.prose p { margin: 0 0 16px; }
.prose h2 { margin: 26px 0 10px; font-size: 24px; }
.prose h3 { margin: 20px 0 8px; font-size: 19px; }
.prose a { color: var(--bordeaux); }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--bordeaux); }

/* Facts table on winery/event pages */
.facts {
  background: var(--surface);
  border: 1px solid var(--sand);
  border-radius: 12px;
  overflow: hidden;
  margin: 16px 0 22px;
}
.facts dl { display: grid; grid-template-columns: 220px 1fr; font-size: 14px; }
.facts dt {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--bordeaux);
  background: #F4EFE6;
  padding: 12px 16px;
  border-bottom: 1px solid var(--sand);
}
.facts dd { padding: 12px 16px; border-bottom: 1px solid var(--sand); }
.facts dt:last-of-type, .facts dd:last-of-type { border-bottom: none; }

.empty-note {
  background: var(--surface);
  border: 1px dashed var(--sand);
  border-radius: 12px;
  padding: 24px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
}

/* Catalog toolbar: search + view toggle */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 8px 0 20px;
}
.catalog-search {
  flex: 1 1 280px;
  min-width: 220px;
  padding: 12px 16px;
  border: 1px solid var(--sand);
  border-radius: 10px;
  background: var(--surface);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.catalog-search:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(158, 123, 79, 0.18);
}
.view-toggle {
  display: inline-flex;
  border: 1px solid var(--sand);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}
.view-btn {
  padding: 11px 18px;
  border: 0;
  background: transparent;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  cursor: pointer;
}
.view-btn.active {
  background: var(--bordeaux);
  color: #FFFDF9;
}
.catalog-map {
  height: 560px;
  border-radius: 14px;
  border: 1px solid var(--sand);
  overflow: hidden;
  background: var(--sand);
  z-index: 0;
}
.catalog-map.hidden,
.hidden { display: none !important; }
.winery-card { transition: transform 0.15s ease, box-shadow 0.15s ease; }
.winery-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(74, 28, 36, 0.12); }

/* Region filter */
.catalog-region {
  padding: 12px 14px;
  border: 1px solid var(--sand);
  border-radius: 10px;
  background: var(--surface);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  min-width: 180px;
  outline: none;
}
.catalog-region:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(158, 123, 79, 0.18);
}

.card-site { margin-top: 8px; font-size: 12px; }
.card-site a { color: var(--bordeaux); text-decoration: none; }
.card-site a:hover { text-decoration: underline; }
