:root {
  --font-sans: Aptos, "Segoe UI Variable", "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Alegreya Sans", "Aptos Display", "Segoe UI Variable Display", Aptos, "Segoe UI", Roboto, Arial, sans-serif;
  --ink: #2d2a24;
  --paper: #f7f1e4;
  --surface: #fffaf1;
  --wine: #94405a;
  --wine-dark: #6f2b42;
  --wine-soft: #ead8dc;
  --leaf: #dce8cf;
  --leaf-deep: #687a55;
  --clay: #b87452;
  --line: rgba(45, 42, 36, 0.14);
  --shadow: 0 22px 70px rgba(85, 58, 38, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--surface);
  color: var(--wine);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 78px;
  padding: 0 32px;
  background: rgba(247, 241, 228, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  position: absolute;
  left: 50%;
  top: 7px;
  z-index: 2;
  transform: translateX(-50%);
}

.brand img {
  width: clamp(300px, 26vw, 384px);
  height: auto;
  max-width: none;
  filter: drop-shadow(0 15px 26px rgba(85, 58, 38, 0.2));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-menu a,
.link-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 750;
  padding: 10px 9px;
  text-decoration: none;
}

.nav-menu a {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 820;
  line-height: 1;
  padding: 10px 5px;
}

.nav-menu a:hover,
.link-button:hover {
  color: var(--wine);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 124px 32px 72px;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: -8%;
  z-index: -2;
  background: url("../img/vineyard-hero-opt.jpg") center / cover;
  transform: translate3d(0, var(--hero-parallax, 0px), 0) scale(1.12);
  transform-origin: center;
  will-change: transform;
}

.hero::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: -1;
  height: 96px;
  background: var(--paper);
  clip-path: polygon(0 34%, 8% 46%, 18% 58%, 31% 68%, 43% 73%, 50% 75%, 57% 73%, 69% 68%, 82% 58%, 92% 46%, 100% 34%, 100% 100%, 0 100%);
  content: "";
}

.hero-content {
  width: min(760px, 100%);
  color: white;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker {
  font-size: 1.04rem;
}

.hero .eyebrow {
  color: #f7d2a0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 4.48rem;
  font-weight: 850;
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 2.625rem;
  font-weight: 820;
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: 0;
}

.hero-copy,
.lead {
  font-size: 1.24rem;
  line-height: 1.55;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.panel-actions,
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--wine);
  color: white;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--line);
  color: var(--wine-dark);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 88px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: white;
  text-decoration: none;
}

.intro-band {
  padding: 76px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}

.intro-grid > p {
  padding-top: 48px;
}

.intro-grid p:last-child,
.split-content p,
.wine-copy p,
.barrel-content p,
.profile-card p,
.contact-section p {
  font-size: 1.04rem;
  line-height: 1.75;
}

.image-split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  min-height: 720px;
  overflow: hidden;
  background: #f1e1d8;
}

.image-split::before {
  position: absolute;
  inset: -1px 0 auto;
  z-index: 2;
  height: 82px;
  background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% 66%, 92% 54%, 82% 42%, 69% 32%, 57% 27%, 50% 25%, 43% 27%, 31% 32%, 18% 42%, 8% 54%, 0 66%);
  content: "";
  pointer-events: none;
}

.image-split::after {
  position: absolute;
  inset: auto 0 -1px;
  z-index: 2;
  height: 82px;
  background: #fff7eb;
  clip-path: polygon(0 34%, 8% 46%, 18% 58%, 31% 68%, 43% 73%, 50% 75%, 57% 73%, 69% 68%, 82% 58%, 92% 46%, 100% 34%, 100% 100%, 0 100%);
  content: "";
  pointer-events: none;
}

.split-image {
  position: relative;
  min-height: 520px;
  background-position: center calc(50% + var(--estate-parallax, 0px));
  background-size: cover;
  will-change: background-position;
}

.split-image.vineyard {
  background-image: url("../img/vineyard-leaf-opt.jpg");
}

.split-content {
  align-self: center;
  padding: 72px min(7vw, 86px);
}

.text-stack {
  display: grid;
  gap: 16px;
}

.text-stack p:last-child {
  margin-bottom: 0;
}

.wine-feature {
  padding: 108px 0;
  background: #fff7eb;
}

.wine-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.9fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.wine-title {
  margin-bottom: 18px;
}

.wine-title span,
.wine-title small {
  display: block;
}

.wine-title small {
  margin-top: 6px;
  color: var(--wine-dark);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1;
}

.wine-copy .lead {
  max-width: 620px;
}

.wine-copy .exact {
  max-width: 680px;
  margin-top: 24px;
}

.wine-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.wine-facts div {
  min-height: 106px;
  display: grid;
  align-content: center;
  gap: 5px;
  border: 1px solid rgba(111, 43, 66, 0.2);
  border-radius: 8px;
  padding: 16px 12px;
  background: rgba(255, 250, 241, 0.58);
  text-align: center;
}

.wine-facts span {
  color: rgba(45, 42, 36, 0.72);
  font-size: 0.9rem;
  line-height: 1.2;
}

.wine-facts strong {
  color: var(--wine-dark);
  font-size: 1rem;
  line-height: 1.15;
}

.wine-character {
  margin: 28px 0 0;
  color: var(--wine-dark);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
}

.wine-figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.wine-figure img {
  width: 100%;
  min-height: 540px;
  display: block;
  object-fit: cover;
}

.barrel-band {
  position: relative;
  overflow: hidden;
  padding: 170px 0 180px;
  color: white;
  background-image:
    linear-gradient(90deg, rgba(83, 55, 36, 0.7), rgba(83, 55, 36, 0.32)),
    url("../img/cellar-barrels-opt.jpg");
  background-position:
    center,
    center calc(50% + var(--barrel-parallax, 0px));
  background-repeat: no-repeat;
  background-size: cover, cover;
  will-change: background-position;
}

.barrel-band::before,
.barrel-band::after {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  height: 82px;
  background: #fff7eb;
  content: "";
  pointer-events: none;
}

.barrel-band::before {
  top: -1px;
  clip-path: polygon(0 0, 100% 0, 100% 66%, 92% 54%, 82% 42%, 69% 32%, 57% 27%, 50% 25%, 43% 27%, 31% 32%, 18% 42%, 8% 54%, 0 66%);
}

.barrel-band::after {
  bottom: -1px;
  background: var(--paper);
  clip-path: polygon(0 34%, 8% 46%, 18% 58%, 31% 68%, 43% 73%, 50% 75%, 57% 73%, 69% 68%, 82% 58%, 92% 46%, 100% 34%, 100% 100%, 0 100%);
}

.barrel-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.barrel-band .section-kicker {
  color: #f8d8ad;
}

.barrel-content p {
  color: rgba(255, 255, 255, 0.9);
}

.details-section,
.contact-section {
  padding: 96px 0;
}

.details-section {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.section-heading {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-bottom: 34px;
}

.details-section .section-heading {
  max-width: 880px;
  margin-bottom: 26px;
}

.profile-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(290px, 0.64fr) minmax(0, 1.36fr);
  gap: 20px;
  align-items: stretch;
}

.profile-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.72);
  box-shadow: 0 18px 42px rgba(85, 58, 38, 0.11);
  backdrop-filter: blur(10px);
}

.profile-card-heading {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

.profile-card-heading h3 {
  margin: 0;
  color: var(--wine-dark);
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.05;
}

.profile-icon {
  width: 50px;
  height: 50px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--wine);
  color: #fff7eb;
  font-size: 0.74rem;
  font-weight: 850;
}

.profile-card-heading h3::after,
.profile-meter-card h4::after {
  display: block;
  width: 38px;
  height: 2px;
  margin-top: 10px;
  background: var(--clay);
  content: "";
}

.analysis-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.analysis-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 66px;
  padding: 12px 16px;
  border: 1px solid rgba(184, 116, 82, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.68);
}

.analysis-list dt {
  display: flex;
  gap: 12px;
  align-items: center;
  color: rgba(45, 42, 36, 0.84);
  font-weight: 650;
}

.analysis-list dt span,
.tasting-notes span {
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(184, 116, 82, 0.45);
  border-radius: 50%;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 850;
}

.analysis-list dd {
  margin: 0;
  color: var(--wine-dark);
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 850;
  white-space: nowrap;
}

.tasting-card {
  padding: 26px 28px;
}

.tasting-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.58fr);
  gap: 34px;
}

.tasting-notes {
  display: grid;
  gap: 0;
}

.tasting-notes div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(184, 116, 82, 0.14);
}

.tasting-notes div:last-child {
  border-bottom: 0;
}

.tasting-notes span {
  grid-row: 1 / span 2;
  margin-top: 3px;
}

.tasting-notes h4,
.profile-meter-card h4 {
  margin: 0;
  color: var(--wine-dark);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
}

.tasting-notes p {
  margin: 4px 0 0;
  color: rgba(45, 42, 36, 0.74);
  font-size: 0.94rem;
  line-height: 1.35;
}

.profile-meter-card {
  align-self: stretch;
  padding: 10px 0 10px 30px;
  border-left: 1px solid rgba(148, 64, 90, 0.22);
}

.profile-meter-card h4 {
  margin-bottom: 28px;
  font-size: 1.16rem;
}

.profile-meter {
  display: grid;
  grid-template-columns: 82px minmax(120px, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
  color: rgba(45, 42, 36, 0.8);
  font-weight: 760;
}

.profile-meter b {
  position: relative;
  height: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 64, 90, 0.22);
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 19%, rgba(247, 241, 228, 0.95) 20%, transparent 21%),
    linear-gradient(90deg, transparent 39%, rgba(247, 241, 228, 0.95) 40%, transparent 41%),
    linear-gradient(90deg, transparent 59%, rgba(247, 241, 228, 0.95) 60%, transparent 61%),
    linear-gradient(90deg, transparent 79%, rgba(247, 241, 228, 0.95) 80%, transparent 81%),
    rgba(148, 64, 90, 0.08);
}

.profile-meter b::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--level);
  background: var(--wine);
  content: "";
}

.profile-meter-card p {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 32px 0 0;
  color: rgba(45, 42, 36, 0.48);
  font-size: 0.82rem;
}

.profile-meter-card p span {
  height: 7px;
  flex: 1;
  background: radial-gradient(circle, rgba(148, 64, 90, 0.85) 0 3px, transparent 3.5px) center / 28px 7px repeat-x;
}

.contact-section {
  background: var(--leaf);
  color: var(--ink);
}

.contact-section .section-kicker {
  color: var(--wine);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(310px, 0.7fr);
  gap: 36px;
  align-items: start;
}

.contact-panel {
  padding: 30px 28px;
  border: 1px solid rgba(255, 250, 241, 0.72);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.82);
  box-shadow: 0 22px 46px rgba(85, 58, 38, 0.12);
  backdrop-filter: blur(12px);
}

.contact-panel dl {
  display: grid;
  margin: 0 0 24px;
}

.contact-panel dl > div {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
  min-height: 74px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(104, 122, 85, 0.17);
}

.contact-panel dl > div:first-child {
  padding-top: 0;
}

.contact-panel dl > div:last-child {
  border-bottom: 0;
}

.contact-icon {
  grid-row: 1 / span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(234, 216, 220, 0.48);
  color: var(--wine-dark);
  font-size: 1.15rem;
  font-weight: 850;
}

.contact-panel dt {
  color: var(--wine-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-panel dd {
  margin: 3px 0 0;
  font-size: 1.08rem;
  font-weight: 760;
}

.contact-panel dd a {
  text-decoration: none;
}

.contact-panel .panel-actions {
  display: grid;
  grid-template-columns: minmax(120px, 0.82fr) minmax(0, 1.18fr);
  gap: 12px;
}

.contact-panel .button {
  min-height: 52px;
  padding: 12px 16px;
  font-size: 0.92rem;
  line-height: 1.2;
  text-align: center;
}

.contact-panel .button.secondary {
  background: transparent;
  border-color: var(--wine-dark);
  color: var(--wine-dark);
}

.map-section {
  padding: 82px 0 0;
  background: var(--surface);
}

.map-heading {
  max-width: 760px;
  padding-bottom: 30px;
}

.map-heading h2 {
  margin-bottom: 12px;
}

.map-heading p:last-child {
  margin: 0;
  color: rgba(31, 27, 24, 0.72);
  font-size: 1.08rem;
  line-height: 1.7;
}

.map-frame {
  height: 470px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #e8e1d6;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.footer {
  padding: 34px 0;
  background: var(--wine-soft);
  color: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: 34px;
}

.footer-brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.footer-brand img {
  width: 64px;
}

.footer p {
  margin: 0;
  color: rgba(45, 42, 36, 0.72);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
}

.footer a,
.footer .link-button {
  color: var(--ink);
  text-decoration: none;
  padding: 0;
  line-height: 1.3;
  white-space: nowrap;
}

.cookie-banner {
  position: fixed;
  left: auto;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  width: min(520px, calc(100% - 48px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner h2 {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 850;
}

.cookie-banner .cookie-actions {
  justify-content: flex-end;
}

.cookie-banner .button {
  min-height: 44px;
}

.cookie-banner p {
  margin: 0;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 28;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(111, 43, 66, 0.28);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.92);
  color: var(--wine-dark);
  box-shadow: 0 14px 34px rgba(85, 58, 38, 0.18);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.back-to-top:hover {
  background: var(--wine);
  color: white;
  transform: translateY(-3px);
}

.legal-page {
  min-height: 100vh;
  background: var(--surface);
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px min(5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.legal-content {
  width: min(850px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 100px;
}

.legal-content h1 {
  color: var(--wine-dark);
  font-size: 3.15rem;
}

.legal-content h2 {
  margin-top: 34px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 850;
}

@media (max-width: 1100px) {
  .nav {
    min-height: 70px;
    padding: 0 18px;
  }

  .brand {
    left: 50%;
    top: 6px;
  }

  .brand img {
    width: clamp(218px, 56vw, 300px);
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 3;
  }

  .nav-menu {
    position: absolute;
    inset: 70px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    display: flex;
  }

  .hero {
    min-height: 90svh;
    padding: 106px 20px 72px;
  }

  .hero-media {
    background: url("../img/vineyard-hero-opt.jpg") center / cover;
  }

  .hero::after {
    height: 74px;
    clip-path: polygon(0 42%, 10% 52%, 22% 62%, 36% 70%, 50% 74%, 64% 70%, 78% 62%, 90% 52%, 100% 42%, 100% 100%, 0 100%);
  }

  .scroll-cue {
    bottom: 70px;
  }

  h1 {
    font-size: 3.255rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .intro-grid,
  .image-split,
  .wine-grid,
  .profile-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .wine-grid {
    gap: 36px;
  }

  .wine-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wine-figure img {
    max-height: 620px;
  }

  .tasting-layout {
    grid-template-columns: 1fr;
  }

  .profile-meter-card {
    padding: 26px 0 0;
    border-top: 1px solid rgba(148, 64, 90, 0.18);
    border-left: 0;
  }

  .intro-grid > p {
    padding-top: 0;
  }

  .image-split {
    min-height: auto;
  }

  .image-split::before {
    height: 62px;
    clip-path: polygon(0 0, 100% 0, 100% 58%, 90% 48%, 78% 38%, 64% 30%, 50% 26%, 36% 30%, 22% 38%, 10% 48%, 0 58%);
  }

  .image-split::after {
    height: 62px;
    clip-path: polygon(0 42%, 10% 52%, 22% 62%, 36% 70%, 50% 74%, 64% 70%, 78% 62%, 90% 52%, 100% 42%, 100% 100%, 0 100%);
  }

  .split-image::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 1;
    height: 58px;
    background: #f1e1d8;
    clip-path: polygon(0 42%, 10% 52%, 22% 62%, 36% 70%, 50% 74%, 64% 70%, 78% 62%, 90% 52%, 100% 42%, 100% 100%, 0 100%);
    content: "";
    pointer-events: none;
  }

  .barrel-band::before,
  .barrel-band::after {
    height: 62px;
  }

  .barrel-band {
    padding: 140px 0 150px;
  }

  .barrel-band::before {
    clip-path: polygon(0 0, 100% 0, 100% 58%, 90% 48%, 78% 38%, 64% 30%, 50% 26%, 36% 30%, 22% 38%, 10% 48%, 0 58%);
  }

  .barrel-band::after {
    clip-path: polygon(0 42%, 10% 52%, 22% 62%, 36% 70%, 50% 74%, 64% 70%, 78% 62%, 90% 52%, 100% 42%, 100% 100%, 0 100%);
  }

  .split-content {
    padding: 54px 20px;
  }

  .split-image {
    min-height: 320px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  h1 {
    font-size: 2.485rem;
    line-height: 0.92;
  }

  h2 {
    font-size: 1.575rem;
    line-height: 1;
  }

  .hero-copy,
  .lead {
    font-size: 1.04rem;
  }

  .brand {
    left: 50%;
    top: 8px;
  }

  .brand img {
    width: min(286px, calc(100vw - 104px)) !important;
  }

  .hero-actions,
  .panel-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .panel-actions .button {
    width: 100%;
  }

  .intro-band,
  .wine-feature,
  .details-section,
  .contact-section,
  .map-section {
    padding: 64px 0;
  }

  .wine-feature {
    padding-bottom: 82px;
  }

  .wine-title {
    margin-bottom: 14px;
  }

  .wine-title small {
    font-size: 1.35rem;
  }

  .wine-copy .exact {
    margin-top: 20px;
  }

  .wine-facts {
    gap: 10px;
    margin-top: 24px;
  }

  .wine-facts div {
    min-height: 92px;
    padding: 14px 8px;
  }

  .wine-facts span {
    font-size: 0.82rem;
  }

  .wine-facts strong {
    font-size: 0.94rem;
  }

  .wine-character {
    margin-top: 22px;
    font-size: 1.05rem;
  }

  .wine-figure {
    margin-inline: -14px;
    border-radius: 0;
  }

  .wine-figure img {
    min-height: 420px;
    max-height: 520px;
    object-position: center;
  }

  .barrel-band {
    padding: 118px 0 126px;
  }

  .map-section {
    padding-bottom: 0;
  }

  .map-frame {
    height: 360px;
  }

  .profile-card,
  .contact-panel {
    padding: 22px;
  }

  .analysis-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .analysis-list dd {
    padding-left: 50px;
  }

  .tasting-card {
    padding: 22px;
  }

  .tasting-notes div {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .profile-meter {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    padding: 14px;
  }

  .cookie-banner p {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .cookie-banner .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cookie-banner .button {
    width: 100%;
    min-height: 42px;
    padding: 9px 10px;
    font-size: 0.86rem;
  }

  .back-to-top {
    right: 16px;
    bottom: 82px;
    width: 42px;
    height: 42px;
  }

  .legal-content h1 {
    font-size: 2.1rem;
  }
}
