/*
  Belegradum — statická prezentace a katalog
  Bez externích fontů, frameworků a síťových závislostí.
*/

:root {
  color-scheme: light;
  --paper: #f3efe7;
  --paper-soft: #faf8f3;
  --paper-deep: #e8e1d5;
  --ink: #171616;
  --ink-soft: #3f3a38;
  --muted: #746d68;
  --line: rgba(23, 22, 22, 0.14);
  --line-strong: rgba(23, 22, 22, 0.28);
  --wine: #6b1f35;
  --wine-deep: #451120;
  --wine-light: #9f5265;
  --gold: #b49763;
  --gold-soft: #d7c6a4;
  --green: #344338;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(18, 15, 14, 0.08);
  --shadow-md: 0 18px 54px rgba(18, 15, 14, 0.14);
  --shadow-lg: 0 30px 90px rgba(18, 15, 14, 0.24);
  --radius-sm: 3px;
  --radius-md: 10px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --container: 1220px;
  --container-wide: 1440px;
  --header-height: 96px;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2,.75,.25,1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

::selection {
  background: var(--wine);
  color: var(--white);
}

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

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

a:hover {
  text-decoration-color: var(--wine);
}

button {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
blockquote,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.025em;
}

h1 {
  font-size: clamp(3.4rem, 7vw, 7.4rem);
}

h2 {
  font-size: clamp(1.85rem, 2.8vw, 3.2rem);
}

h3 {
  font-size: clamp(1.55rem, 2.3vw, 2.35rem);
}

p:last-child {
  margin-bottom: 0;
}

address {
  font-style: normal;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.container,
.container-wide {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(calc(100% - 40px), var(--container-wide));
}

.section {
  position: relative;
  padding-block: clamp(80px, 10vw, 152px);
}

.section--tight {
  padding-block: clamp(56px, 7vw, 96px);
}

.section--paper-soft {
  background: var(--paper-soft);
}

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

.section--wine {
  background: var(--wine-deep);
  color: var(--paper);
}

.section--no-top {
  padding-top: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--wine);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 42px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow--light {
  color: var(--gold-soft);
}

.eyebrow--plain::before {
  display: none;
}

.lead {
  max-width: 760px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.15vw, 2rem);
  line-height: 1.42;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .56fr);
  gap: 80px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 84px);
}

.section-heading h2 {
  max-width: 860px;
  margin-bottom: 0;
}

.section-heading p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 1.03rem;
}

.section-heading--light p {
  color: rgba(243, 239, 231, .68);
}

.rule {
  height: 1px;
  margin-block: 32px;
  background: var(--line);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--wine);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link::after {
  width: 34px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: width .25s var(--ease);
}

.text-link:hover::after {
  width: 52px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}

.button:hover {
  transform: translateY(-2px);
  background: var(--wine);
  border-color: var(--wine);
  color: var(--white);
  text-decoration: none;
}

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

.button--wine:hover {
  border-color: var(--wine-deep);
  background: var(--wine-deep);
}

.button--light {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.button--light:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--wine);
}

.button--ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button--ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.button--ghost-light {
  border-color: rgba(255,255,255,.55);
  background: transparent;
  color: var(--white);
}

.button--ghost-light:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.button--small {
  min-height: 42px;
  padding: 11px 17px;
  font-size: .68rem;
}

.button--wide {
  width: 100%;
}

.button[disabled] {
  cursor: not-allowed;
  opacity: .48;
  transform: none;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Header */
.site-header {
  position: relative;
  z-index: 100;
  width: 100%;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(243, 239, 231, .96);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.site-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  border-bottom-color: rgba(255,255,255,.22);
  background: transparent;
  color: var(--white);
}

.site-header--overlay.is-scrolled {
  position: fixed;
  border-bottom-color: var(--line);
  background: rgba(243, 239, 231, .96);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  min-height: var(--header-height);
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}

.brand {
  display: inline-flex;
  min-width: 236px;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: .13em;
  line-height: 1;
}

.brand-subtitle {
  margin-top: 7px;
  font-size: .57rem;
  font-weight: 700;
  letter-spacing: .17em;
  line-height: 1;
  opacity: .72;
  text-transform: uppercase;
}

.main-nav {
  justify-self: center;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 36px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  position: relative;
  padding-block: 12px;
  color: inherit;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right center;
  background: currentColor;
  content: "";
  transition: transform .25s var(--ease);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.cart-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid currentColor;
  color: inherit;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}

.cart-link:hover {
  background: currentColor;
  text-decoration: none;
}

.cart-link:hover .cart-link__label,
.cart-link:hover .cart-icon,
.cart-link:hover .cart-count {
  color: var(--paper);
}

.site-header--overlay:not(.is-scrolled) .cart-link:hover .cart-link__label,
.site-header--overlay:not(.is-scrolled) .cart-link:hover .cart-icon,
.site-header--overlay:not(.is-scrolled) .cart-link:hover .cart-count {
  color: var(--ink);
}

.cart-icon {
  width: 18px;
  height: 18px;
}

.cart-count {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--wine);
  color: var(--white);
  font-size: .66rem;
  letter-spacing: 0;
}

.site-header--overlay:not(.is-scrolled) .cart-count {
  background: var(--white);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 19px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  content: "";
  transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-panel {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(920px, 100svh);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: grayscale(100%) contrast(1.05);
  animation: hero-in 1.6s var(--ease) both;
}

.hero__media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,8,.82) 0%, rgba(8,8,8,.54) 42%, rgba(8,8,8,.12) 75%, rgba(8,8,8,.26) 100%),
    linear-gradient(0deg, rgba(7,7,7,.45), transparent 55%);
  content: "";
}

@keyframes hero-in {
  from { transform: scale(1.035); opacity: .72; }
  to { transform: scale(1); opacity: 1; }
}

.hero__inner {
  display: flex;
  min-height: min(920px, 100svh);
  align-items: flex-end;
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: clamp(72px, 10vh, 120px);
}

.hero__content {
  width: min(880px, 78%);
}

.hero h1 {
  max-width: 850px;
  margin-bottom: 30px;
  color: var(--white);
  text-wrap: balance;
}

.hero__lead {
  max-width: 630px;
  margin-bottom: 38px;
  color: rgba(255,255,255,.78);
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.8vw, 1.55rem);
  line-height: 1.52;
}

.hero__aside {
  position: absolute;
  right: 28px;
  bottom: 78px;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: rotate(-90deg) translateX(100%);
  transform-origin: right bottom;
  color: rgba(255,255,255,.64);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.hero__aside::before {
  width: 56px;
  height: 1px;
  background: currentColor;
  content: "";
}

.page-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  isolation: isolate;
}

.page-hero--compact {
  min-height: 500px;
}

.page-hero__media {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
}

.page-hero__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,8,8,.82), rgba(8,8,8,.3) 70%), linear-gradient(0deg, rgba(8,8,8,.62), transparent 55%);
  content: "";
}

.page-hero__inner {
  width: 100%;
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: clamp(64px, 8vw, 112px);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(3.6rem, 7vw, 7rem);
}

.page-hero p {
  max-width: 710px;
  margin-bottom: 0;
  color: rgba(255,255,255,.75);
  font-family: var(--serif);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: rgba(255,255,255,.58);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.breadcrumbs span + span::before,
.breadcrumbs a + span::before {
  margin-right: 8px;
  content: "/";
}

/* Homepage editorial blocks */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: clamp(60px, 9vw, 140px);
  align-items: start;
}

.intro-copy h2 {
  max-width: 760px;
  margin-bottom: 36px;
}

.intro-copy .lead {
  margin-bottom: 26px;
}

.intro-copy > p:not(.lead) {
  max-width: 680px;
  color: var(--muted);
}

.stats {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.stat {
  display: grid;
  grid-template-columns: minmax(90px, .35fr) 1fr;
  gap: 24px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.stat__value {
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: .95;
}

.stat__label {
  color: var(--muted);
  font-size: .88rem;
}

.editorial-split {
  display: grid;
  min-height: 760px;
  grid-template-columns: 1.08fr .92fr;
  background: var(--ink);
  color: var(--paper);
}

.editorial-split__media {
  min-height: 620px;
  overflow: hidden;
}

.editorial-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 1s var(--ease);
}

.editorial-split:hover .editorial-split__media img {
  transform: scale(1.025);
}

.editorial-split__copy {
  display: flex;
  align-items: center;
  padding: clamp(54px, 8vw, 124px);
}

.editorial-split__copy-inner {
  max-width: 580px;
}

.editorial-split h2 {
  margin-bottom: 30px;
}

.editorial-split p {
  margin-bottom: 30px;
  color: rgba(243,239,231,.67);
}

.featured-wines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature-card {
  position: relative;
  min-width: 0;
  padding: 34px 34px 30px;
  overflow: hidden;
  background: var(--paper-soft);
}

.feature-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.feature-card__index {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.feature-card__year {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.08rem;
}

.feature-card__image {
  height: 320px;
  margin-block: 6px 20px;
}

.feature-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .45s var(--ease);
}

.feature-card:hover .feature-card__image img {
  transform: translateY(-8px) scale(1.02);
}

.feature-card h3 {
  margin-bottom: 11px;
  font-size: clamp(1.55rem, 2.3vw, 2.25rem);
}

.feature-card__meta {
  min-height: 48px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: .82rem;
}

.feature-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.feature-card__price {
  font-family: var(--serif);
  font-size: 1.45rem;
}

.quote-section {
  position: relative;
  min-height: 700px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  text-align: center;
  isolation: isolate;
}

.quote-section__media {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.quote-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%) contrast(1.1);
}

.quote-section__media::after {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,.73);
  content: "";
}

.quote-section blockquote {
  max-width: 1040px;
  margin: 0 auto;
  padding: 100px 20px;
}

.quote-section blockquote p {
  margin-bottom: 34px;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 5.35rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.quote-section cite {
  color: var(--gold-soft);
  font-size: .72rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.gallery-grid {
  display: grid;
  grid-auto-rows: 280px;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  grid-column: span 4;
  overflow: hidden;
  border: 0;
  background: var(--ink);
  cursor: zoom-in;
}

.gallery-item--wide {
  grid-column: span 8;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform .6s var(--ease), filter .5s ease;
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0);
  content: "";
  transition: border-color .3s ease, inset .3s ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
  filter: grayscale(35%);
}

.gallery-item:hover::after {
  inset: 12px;
  border-color: rgba(255,255,255,.62);
}

.lightbox {
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(10,9,9,.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__figure {
  max-width: min(1200px, 94vw);
  max-height: 88vh;
  margin: 0;
}

.lightbox__figure img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: var(--shadow-lg);
}

.lightbox__figure figcaption {
  margin-top: 14px;
  color: rgba(255,255,255,.72);
  font-size: .82rem;
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.5);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 1.5rem;
}

/* Story / content pages */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: clamp(60px, 10vw, 150px);
  align-items: start;
}

.story-grid__aside {
  position: sticky;
  top: calc(var(--header-height) + 34px);
}

.story-grid__aside p {
  color: var(--muted);
}

.story-grid__body > p:first-child {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 2.0rem);
  line-height: 1.42;
}

.story-grid__body p {
  max-width: 760px;
  color: var(--muted);
}

.story-grid__body h2 {
  margin-top: 80px;
  margin-bottom: 28px;
  font-size: clamp(2.2rem, 4vw, 4.3rem);
}

.image-pair {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items: stretch;
}

.image-pair figure {
  margin: 0;
  overflow: hidden;
}

.image-pair img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  filter: grayscale(100%);
}

.image-pair figure:nth-child(2) {
  margin-top: 90px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.22);
}

.principle {
  min-height: 340px;
  padding: 38px 40px;
  border-right: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.principle:nth-child(3n) {
  border-right: 0;
}

.principle__number {
  display: block;
  margin-bottom: 80px;
  color: var(--gold-soft);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.principle h3 {
  margin-bottom: 20px;
}

.principle p {
  color: rgba(243,239,231,.62);
  font-size: .92rem;
}

.seasons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.season {
  min-height: 430px;
  padding: 38px 30px;
  background: var(--paper-soft);
}

.season__icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin-bottom: 78px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.season h3 {
  margin-bottom: 18px;
}

.season p {
  color: var(--muted);
  font-size: .9rem;
}

/* Vineyards */
.vineyard-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.vineyard-fact {
  min-height: 260px;
  padding: 38px;
  border-right: 1px solid var(--line);
}

.vineyard-fact:last-child {
  border-right: 0;
}

.vineyard-fact strong {
  display: block;
  margin-bottom: 28px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1;
}

.vineyard-fact span {
  display: block;
  max-width: 260px;
  color: var(--muted);
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.track {
  position: relative;
  min-height: 310px;
  padding: 44px;
  overflow: hidden;
  background: var(--paper-soft);
}

.track::after {
  position: absolute;
  top: -30px;
  right: -10px;
  color: rgba(107,31,53,.055);
  content: attr(data-index);
  font-family: var(--serif);
  font-size: 10rem;
  line-height: 1;
}

.track h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.track p {
  position: relative;
  z-index: 1;
  max-width: 460px;
  color: var(--muted);
}

.terroir-band {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  min-height: 720px;
  background: var(--wine-deep);
  color: var(--paper);
}

.terroir-band__copy {
  display: flex;
  align-items: center;
  padding: clamp(54px, 8vw, 120px);
}

.terroir-band__copy > div {
  max-width: 580px;
}

.terroir-band__copy p {
  color: rgba(243,239,231,.68);
}

.terroir-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

/* Catalog */
.catalog-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.catalog-sidebar h2 {
  margin-bottom: 28px;
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.filter-group {
  margin: 0 0 28px;
  padding: 0 0 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.filter-group:last-of-type {
  margin-bottom: 18px;
}

.filter-group legend,
.filter-label {
  display: block;
  width: 100%;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.filter-search {
  position: relative;
}

.filter-search input,
.filter-select,
.form-control {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.filter-search input:focus,
.filter-select:focus,
.form-control:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(107,31,53,.12);
}

.filter-options {
  display: grid;
  gap: 10px;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: .88rem;
}

.filter-check input {
  width: 17px;
  height: 17px;
  accent-color: var(--wine);
}

.catalog-main {
  min-width: 0;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-strong);
}

.catalog-result-count {
  color: var(--muted);
  font-size: .88rem;
}

.catalog-result-count strong {
  color: var(--ink);
}

.catalog-sort {
  display: flex;
  align-items: center;
  gap: 12px;
}

.catalog-sort label {
  color: var(--muted);
  font-size: .73rem;
}

.catalog-sort select {
  min-height: 42px;
  padding: 8px 34px 8px 12px;
  border: 1px solid var(--line-strong);
  background: var(--paper-soft);
  color: var(--ink);
}

.filter-mobile-toggle {
  display: none;
}

.wine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.wine-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 620px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}

.wine-card:hover {
  z-index: 1;
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.wine-card__visual {
  position: relative;
  height: 330px;
  flex: 0 0 auto;
  padding: 24px 24px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 75%, rgba(180,151,99,.17), transparent 42%),
    linear-gradient(180deg, #f8f5ef 0%, #eee8dd 100%);
}

.wine-card[data-color="red"] .wine-card__visual {
  background: radial-gradient(circle at 50% 75%, rgba(107,31,53,.16), transparent 44%), linear-gradient(180deg, #f8f5ef, #eee8dd);
}

.wine-card[data-color="rose"] .wine-card__visual {
  background: radial-gradient(circle at 50% 75%, rgba(190,104,123,.18), transparent 44%), linear-gradient(180deg, #f8f5ef, #f1e8e5);
}

.wine-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .42s var(--ease);
}

.wine-card:hover .wine-card__visual img {
  transform: translateY(-7px) scale(1.02);
}

.wine-card__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(23,22,22,.18);
  background: rgba(250,248,243,.88);
  color: var(--ink-soft);
  font-size: .59rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.wine-card__badge::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d8c57a;
  content: "";
}

.wine-card[data-color="red"] .wine-card__badge::before {
  background: var(--wine);
}

.wine-card[data-color="rose"] .wine-card__badge::before {
  background: #c97c8d;
}

.wine-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.wine-card__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.wine-card h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.wine-card__year {
  flex: 0 0 auto;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.wine-card__description {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.55;
}

.wine-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.wine-card__tag {
  padding: 4px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .61rem;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.wine-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.wine-card__price {
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 1.4rem;
}

.wine-card__photo-note {
  position: absolute;
  right: 13px;
  bottom: 10px;
  max-width: 130px;
  color: rgba(23,22,22,.5);
  font-size: .52rem;
  line-height: 1.3;
  text-align: right;
}

.catalog-empty {
  padding: 72px 30px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  text-align: center;
}

.catalog-empty h3 {
  margin-bottom: 14px;
}

.catalog-empty p {
  color: var(--muted);
}

.catalog-note {
  display: flex;
  gap: 18px;
  margin-top: 32px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}

.catalog-note strong {
  color: var(--ink);
}

.catalog-note__mark {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--wine);
  border-radius: 50%;
  color: var(--wine);
  font-family: var(--serif);
}

/* Cart / enquiry */
.checkout-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 58px;
  border: 1px solid var(--line);
}

.checkout-step {
  display: flex;
  min-height: 84px;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-right: 1px solid var(--line);
  color: var(--muted);
}

.checkout-step:last-child {
  border-right: 0;
}

.checkout-step.is-current {
  background: var(--ink);
  color: var(--paper);
}

.checkout-step__number {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
}

.checkout-step__label {
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}

.cart-panel h2,
.enquiry-panel h2 {
  margin-bottom: 34px;
  font-size: clamp(2.1rem, 3vw, 3.5rem);
}

.cart-list {
  border-top: 1px solid var(--line-strong);
}

.cart-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}

.cart-item__image {
  width: 86px;
  height: 118px;
  padding: 5px;
  background: var(--paper-soft);
}

.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.cart-item h3 {
  margin-bottom: 6px;
  font-size: 1.42rem;
}

.cart-item__meta {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: .76rem;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  background: var(--paper-soft);
}

.quantity-control button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.15rem;
}

.quantity-control button:hover {
  background: var(--paper-deep);
}

.quantity-control input {
  width: 44px;
  height: 36px;
  border: 0;
  border-inline: 1px solid var(--line);
  background: var(--white);
  text-align: center;
  -moz-appearance: textfield;
}

.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.cart-item__side {
  min-width: 105px;
  text-align: right;
}

.cart-item__price {
  display: block;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 1.24rem;
}

.cart-item__remove {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cart-summary {
  margin-top: 30px;
  padding: 28px;
  background: var(--ink);
  color: var(--paper);
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
  color: rgba(243,239,231,.67);
  font-size: .86rem;
}

.cart-summary__row--total {
  align-items: baseline;
  margin-top: 22px;
  margin-bottom: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.2);
  color: var(--paper);
}

.cart-summary__row--total strong {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.empty-cart {
  padding: 70px 34px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  text-align: center;
}

.empty-cart__mark {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  margin: 0 auto 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.8rem;
}

.empty-cart p {
  margin-bottom: 26px;
  color: var(--muted);
}

.enquiry-panel {
  position: sticky;
  top: 28px;
  padding: 38px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field--wide {
  grid-column: 1 / -1;
}

.form-field label,
.form-label {
  color: var(--ink-soft);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
}

.form-field label .required {
  color: var(--wine);
}

textarea.form-control {
  min-height: 126px;
  resize: vertical;
}

.form-hint {
  color: var(--muted);
  font-size: .7rem;
}

.form-check {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 20px;
  color: var(--muted);
  font-size: .76rem;
}

.form-check input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--wine);
}

.form-actions {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.mailto-explainer {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
  padding: 18px;
  border-left: 3px solid var(--gold);
  background: var(--paper-deep);
  color: var(--muted);
  font-size: .76rem;
}

.enquiry-status {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
}

.enquiry-status.is-success {
  border-color: rgba(52,67,56,.35);
  background: rgba(52,67,56,.08);
  color: var(--green);
}

.enquiry-status.is-error {
  border-color: rgba(107,31,53,.35);
  background: rgba(107,31,53,.08);
  color: var(--wine);
}

.generated-message {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.generated-message textarea {
  min-height: 260px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .72rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(60px, 9vw, 130px);
}

.contact-card {
  padding: clamp(34px, 5vw, 62px);
  background: var(--ink);
  color: var(--paper);
}

.contact-card h2 {
  margin-bottom: 50px;
}

.contact-list {
  display: grid;
  margin: 0;
}

.contact-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding-block: 22px;
  border-top: 1px solid rgba(255,255,255,.17);
}

.contact-row dt {
  color: rgba(243,239,231,.52);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-row dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.22rem;
}

.contact-row a {
  text-decoration: none;
}

.contact-visual {
  min-height: 680px;
}

.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.location-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  margin-top: 28px;
  padding: 30px;
  border: 1px solid var(--line);
}

.location-card p {
  color: var(--muted);
}

/* Legal / prose */
.prose-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  gap: clamp(52px, 8vw, 112px);
  align-items: start;
}

.prose-nav {
  position: sticky;
  top: 32px;
}

.prose-nav strong {
  display: block;
  margin-bottom: 16px;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.prose-nav a {
  display: block;
  padding-block: 9px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
  text-decoration: none;
}

.prose h2 {
  margin-top: 72px;
  margin-bottom: 24px;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 36px;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose strong {
  color: var(--ink);
}

.prose-note {
  margin-bottom: 44px;
  padding: 24px 28px;
  border-left: 3px solid var(--wine);
  background: var(--paper-soft);
  color: var(--muted);
}

/* CTA and footer */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--wine-deep);
  color: var(--paper);
}

.cta-band__inner {
  display: grid;
  min-height: 390px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  align-items: center;
  padding-block: 70px;
}

.cta-band h2 {
  max-width: 830px;
  margin-bottom: 18px;
}

.cta-band p {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(243,239,231,.64);
}

.cta-band::after {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  content: "";
}

.site-footer {
  background: #111010;
  color: var(--paper);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(150px, .55fr));
  gap: clamp(38px, 6vw, 90px);
  padding-block: 82px 70px;
}

.footer-brand .brand-name {
  font-size: 2rem;
}

.footer-brand p {
  max-width: 310px;
  margin-top: 26px;
  color: rgba(243,239,231,.53);
  font-size: .86rem;
}

.footer-column h2 {
  margin-bottom: 24px;
  color: rgba(243,239,231,.5);
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a,
.footer-column address,
.footer-column p {
  color: rgba(243,239,231,.78);
  font-size: .84rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(243,239,231,.44);
  font-size: .68rem;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

/* Age gate */
.age-gate {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12,11,11,.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.age-gate.is-open {
  opacity: 1;
  pointer-events: auto;
}

.age-gate__card {
  width: min(560px, 100%);
  padding: clamp(38px, 7vw, 72px);
  border: 1px solid rgba(255,255,255,.22);
  background: var(--paper);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.age-gate__mark {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  margin: 0 auto 30px;
  border: 1px solid var(--wine);
  border-radius: 50%;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.7rem;
}

.age-gate h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.age-gate p {
  margin-bottom: 30px;
  color: var(--muted);
}

.age-gate__actions {
  display: grid;
  gap: 10px;
}

/* Toast */
.toast-region {
  position: fixed;
  z-index: 1200;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: min(380px, calc(100vw - 44px));
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  transform: translateY(16px);
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transition: opacity .25s ease, transform .25s var(--ease);
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast p {
  margin: 0;
  font-size: .8rem;
}

.toast a {
  color: var(--gold-soft);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  pointer-events: auto;
}

/* 404 */
.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px 20px;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}

.error-page__code {
  display: block;
  margin-bottom: 18px;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: clamp(6rem, 20vw, 15rem);
  line-height: .75;
}

.error-page h1 {
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
}

.error-page p {
  max-width: 560px;
  margin: 0 auto 32px;
  color: rgba(243,239,231,.62);
}

/* Reveal motion */
.reveal {
  transform: translateY(24px);
  opacity: 0;
  transition: transform .75s var(--ease), opacity .75s ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { transform: none; opacity: 1; }
}

/* Responsive */
@media (max-width: 1180px) {
  :root { --header-height: 86px; }

  .main-nav { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .header-actions { grid-column: 2; }
  .menu-toggle { display: block; }

  .mobile-panel {
    position: fixed;
    z-index: 99;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    width: min(460px, 100%);
    flex-direction: column;
    padding: calc(var(--header-height) + 30px) 34px 34px;
    transform: translateX(105%);
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow-lg);
    visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s;
  }

  .mobile-panel.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .mobile-panel nav ul {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-panel nav a {
    display: block;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 1.8rem;
    text-decoration: none;
  }

  .mobile-panel__contact {
    margin-top: auto;
    padding-top: 30px;
    color: var(--muted);
    font-size: .8rem;
  }

  .menu-backdrop {
    position: fixed;
    z-index: 98;
    inset: 0;
    display: block;
    background: rgba(0,0,0,.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
  }

  .menu-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .wine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-wines { grid-template-columns: repeat(2, 1fr); }
  .featured-wines .feature-card:last-child { grid-column: 1 / -1; }
  .seasons { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.3fr repeat(2, .7fr); }
  .footer-column:last-child { grid-column: 2 / -1; }
}

@media (max-width: 920px) {
  .section-heading,
  .intro-grid,
  .story-grid,
  .checkout-layout,
  .contact-grid,
  .prose-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .section-heading { align-items: start; }
  .section-heading p { max-width: 620px; }
  .story-grid__aside,
  .prose-nav,
  .enquiry-panel { position: static; }
  .editorial-split,
  .terroir-band { grid-template-columns: 1fr; }
  .editorial-split__media,
  .terroir-band__media { min-height: 520px; }
  .editorial-split__copy { padding-block: 80px; }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .principle:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.18); }
  .principle:nth-child(2n) { border-right: 0; }
  .vineyard-facts { grid-template-columns: 1fr; }
  .vineyard-fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .vineyard-fact:last-child { border-bottom: 0; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar {
    position: fixed;
    z-index: 550;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(390px, 100%);
    overflow-y: auto;
    transform: translateX(105%);
    box-shadow: var(--shadow-lg);
    visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s;
  }
  .catalog-sidebar.is-open { transform: translateX(0); visibility: visible; }
  .filter-mobile-toggle { display: inline-flex; }
  .catalog-sort label { display: none; }
  .gallery-grid { grid-auto-rows: 240px; }
  .gallery-item, .gallery-item--wide { grid-column: span 6; }
  .gallery-item--tall { grid-row: span 1; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band__inner .button { justify-self: start; }
}

@media (max-width: 680px) {
  :root { --header-height: 76px; }
  .container, .container-wide { width: min(calc(100% - 28px), var(--container)); }
  .section { padding-block: 74px; }
  .brand { min-width: 0; }
  .brand-name { font-size: 1.28rem; letter-spacing: .1em; }
  .brand-subtitle { display: none; }
  .cart-link__label { display: none; }
  .cart-link { min-width: 46px; justify-content: center; padding-inline: 10px; }
  .hero__content { width: 100%; }
  .hero__inner { min-height: 760px; padding-bottom: 58px; }
  .hero h1 { font-size: clamp(3.35rem, 16vw, 5.4rem); }
  .hero__aside { display: none; }
  .page-hero { min-height: 540px; }
  .page-hero--compact { min-height: 450px; }
  .page-hero h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .stat { grid-template-columns: 100px 1fr; }
  .featured-wines { grid-template-columns: 1fr; }
  .featured-wines .feature-card:last-child { grid-column: auto; }
  .feature-card__image { height: 300px; }
  .image-pair { grid-template-columns: 1fr; }
  .image-pair img { min-height: 420px; }
  .image-pair figure:nth-child(2) { margin-top: 0; }
  .principles-grid, .seasons, .tracks-grid { grid-template-columns: 1fr; }
  .principle { border-right: 0 !important; }
  .season { min-height: 330px; }
  .season__icon { margin-bottom: 42px; }
  .track { min-height: 260px; padding: 34px 28px; }
  .wine-grid { grid-template-columns: 1fr; }
  .wine-card { min-height: 585px; }
  .wine-card__visual { height: 320px; }
  .catalog-toolbar { align-items: flex-start; flex-wrap: wrap; }
  .catalog-sort { width: 100%; }
  .catalog-sort select { width: 100%; }
  .checkout-steps { grid-template-columns: 1fr; }
  .checkout-step { min-height: 62px; border-right: 0; border-bottom: 1px solid var(--line); }
  .checkout-step:last-child { border-bottom: 0; }
  .cart-item { grid-template-columns: 70px 1fr; align-items: start; }
  .cart-item__image { width: 70px; height: 104px; }
  .cart-item__side { grid-column: 2; display: flex; align-items: center; justify-content: space-between; text-align: left; }
  .cart-item__price { margin: 0; }
  .enquiry-panel { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--wide { grid-column: auto; }
  .contact-row { grid-template-columns: 1fr; gap: 4px; }
  .contact-visual { min-height: 470px; }
  .location-card { grid-template-columns: 1fr; align-items: start; }
  .gallery-grid { display: grid; grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery-item, .gallery-item--wide { grid-column: 1; }
  .footer-main { grid-template-columns: 1fr; padding-block: 64px 48px; }
  .footer-column:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .toast-region { right: 14px; bottom: 14px; width: calc(100vw - 28px); }
  .lightbox { padding: 14px; }
}

@media (max-width: 400px) {
  .header-actions { gap: 6px; }
  .cart-count { min-width: 20px; height: 20px; }
  .hero .button-row .button { width: 100%; }
  .catalog-toolbar .button { width: 100%; }
}

.display-title {
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6rem);
}

.button-row--center {
  justify-content: center;
}

noscript > .container {
  position: relative;
  z-index: 2500;
  padding-block: 12px;
  background: #fff3cd;
  color: #4d3b00;
  font-size: .82rem;
}

/* Backdrops are enabled only where the corresponding off-canvas panel exists. */
.menu-backdrop {
  display: none;
}

@media (max-width: 1180px) {
  .menu-backdrop {
    display: block;
  }
}

@media (max-width: 1180px) {
  body.menu-open .site-header--overlay {
    color: var(--ink);
  }

  body.menu-open .site-header--overlay .cart-count {
    background: var(--wine);
    color: var(--white);
  }
}

/* --------------------------------------------------------------------------
   Revize podle původního webu – 20. 7. 2026
   -------------------------------------------------------------------------- */

/* Originální logo */
.brand {
  display: inline-flex;
  width: auto;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0);
  line-height: 1;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
}

.brand__logo {
  width: clamp(150px, 14vw, 214px);
  height: auto;
  aspect-ratio: 240.8 / 100.8;
}

.site-header:not(.site-header--overlay) .brand,
.site-header--overlay.is-scrolled .brand {
  background: transparent;
  box-shadow: none;
}

.footer-brand .brand {
  padding: 11px 14px;
  background: rgba(255, 255, 255, .96);
  box-shadow: none;
}

.footer-brand .brand__logo {
  width: min(220px, 100%);
}

/* Homepage: fotografie v hero bez textového overlaye */
.hero--image-only {
  min-height: clamp(620px, 88svh, 960px);
}

.hero--image-only .hero__media::after {
  background:
    linear-gradient(to bottom, rgba(5, 5, 5, .52) 0, rgba(5, 5, 5, .10) 24%, rgba(5, 5, 5, .04) 67%, rgba(5, 5, 5, .28) 100%);
}

.hero--image-only .hero__media img {
  object-position: 50% 45%;
}

/* Nadpisy podstránek mají vlastní bezpečný okraj i uvnitř containeru. */
.page-hero__inner {
  width: 100%;
  padding-inline: clamp(28px, 5vw, 74px);
}

.page-hero h1 {
  max-width: 100%;
  font-size: clamp(3.2rem, 6.8vw, 7rem);
  overflow-wrap: anywhere;
}

.page-hero--compact h1 {
  font-size: clamp(3rem, 6vw, 6.2rem);
}

/* Původní obsah */
.content-title {
  margin: 10px 0 28px;
  font-size: clamp(2.5rem, 4.3vw, 4.9rem);
}

.source-quote {
  max-width: 440px;
  padding-left: 22px;
  border-left: 2px solid var(--wine);
  color: var(--ink-soft) !important;
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.7vw, 1.45rem);
  line-height: 1.46;
}

.source-copy p,
.source-copy li {
  text-wrap: pretty;
}

.source-copy--light p,
.story-grid--light .story-grid__aside p {
  color: rgba(243, 239, 231, .70);
}

.story-grid--light .story-grid__body > p:first-child {
  color: rgba(243, 239, 231, .94);
}

.source-note {
  padding: 20px 22px;
  border-left: 2px solid var(--gold-soft);
  background: rgba(255, 255, 255, .05);
  color: rgba(243, 239, 231, .72) !important;
  font-size: .92rem;
}

.prose-block {
  max-width: 900px;
}

.source-factors {
  display: grid;
  max-width: 900px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 44px;
  padding-left: 1.2rem;
}

.table-scroll {
  margin-top: 48px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  box-shadow: var(--shadow-sm);
}

.quality-table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
  font-size: .82rem;
  line-height: 1.45;
}

.quality-table th,
.quality-table td {
  padding: 17px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.quality-table thead th {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.quality-table tbody th {
  width: 24%;
  color: var(--ink);
  font-weight: 700;
}

.quality-table tbody td {
  color: var(--muted);
}

.quality-table tr:last-child th,
.quality-table tr:last-child td {
  border-bottom: 0;
}

.quality-table th:last-child,
.quality-table td:last-child {
  border-right: 0;
}

/* Číselné ukazatele: kompaktní a bez nežádoucího zalamování. */
.stats--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.stats--three .stat {
  grid-template-columns: minmax(132px, auto) minmax(0, 1fr);
  gap: 20px;
  padding: 28px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
  align-items: center;
}

.stats--three .stat:last-child {
  border-right: 0;
}

.stat__value,
.vineyard-fact strong {
  font-size: clamp(1.7rem, 2.3vw, 2.55rem);
  line-height: 1;
  white-space: nowrap;
}

.stat__label {
  line-height: 1.5;
}

/* Funkční, progresivně vylepšený slider vín. Karty jsou v HTML a zůstávají
   viditelné i při chybě nebo vypnutí JavaScriptu. */
.wine-carousel {
  position: relative;
}

.wine-carousel__viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.wine-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.wine-carousel .featured-wines {
  display: grid;
  width: max-content;
  min-width: 100%;
  grid-auto-flow: column;
  grid-auto-columns: calc((min(100vw - 40px, var(--container-wide)) - 2px) / 3);
  grid-template-columns: none;
  gap: 1px;
  overflow: visible;
}

.wine-carousel .feature-card {
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.wine-carousel__controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}

.carousel-button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.25rem;
  transition: background .2s ease, color .2s ease, opacity .2s ease;
}

.carousel-button:hover:not(:disabled) {
  background: var(--ink);
  color: var(--paper);
}

.carousel-button:disabled {
  cursor: default;
  opacity: .32;
}

/* Kompletní přehled původních údajů o vinicích. */
.tract-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 42px;
}

.tract-nav a {
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.tract-nav a:hover,
.tract-nav a:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.vineyard-records {
  padding-bottom: clamp(80px, 10vw, 150px);
}

.vineyard-group {
  padding: clamp(58px, 8vw, 110px) max(20px, calc((100vw - var(--container-wide)) / 2));
  border-top: 1px solid var(--line);

}

.vineyard-group:nth-child(even) {

}

.vineyard-group__heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  align-items: end;
  margin-bottom: 34px;
}

.vineyard-group__heading .eyebrow {
  grid-column: 1 / -1;
}

.vineyard-group__heading h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4.6vw, 5rem);
}

.vineyard-group__count {
  padding-bottom: 10px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.vineyard-parcels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.vineyard-parcel {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  box-shadow: 0 8px 24px rgba(18, 15, 14, .035);
}

.vineyard-group:nth-child(even) .vineyard-parcel {
  background: var(--white);
}

.vineyard-parcel__head {
  min-height: 92px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}

.vineyard-parcel__head h3 {
  margin-bottom: 9px;
  font-size: clamp(1.42rem, 2vw, 2rem);
  overflow-wrap: anywhere;
}

.vineyard-parcel__head span {
  color: var(--wine);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.vineyard-parcel dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  margin: 18px 0 0;
}

.vineyard-parcel dl > div {
  min-width: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.vineyard-parcel dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.vineyard-parcel dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: .84rem;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.vineyard-parcel .vineyard-parcel__coords {
  grid-column: 1 / -1;
  border-bottom: 0;
}

/* Povinná publicita projektu v patičce. */
.footer-publicity {
  display: grid;
  grid-template-columns: minmax(240px, 420px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: 44px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-publicity__image {
  display: block;
  overflow: hidden;
  border: 7px solid var(--white);
  background: var(--white);
  text-decoration: none;
}

.footer-publicity__image img {
  width: 100%;
  height: auto;
}

.footer-publicity__copy h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
}

.footer-publicity__copy p {
  max-width: 720px;
  color: rgba(243, 239, 231, .62);
  font-size: .84rem;
}

@media (max-width: 1180px) {
  .brand__logo {
    width: 168px;
  }

  .stats--three {
    grid-template-columns: 1fr;
  }

  .stats--three .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats--three .stat:last-child {
    border-bottom: 0;
  }

  .wine-carousel .featured-wines {
    grid-auto-columns: calc((100vw - 61px) / 2);
  }

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

@media (max-width: 760px) {
  .brand {
    padding: 5px 7px;
  }

  .brand__logo {
    width: 138px;
  }

  .hero--image-only {
    min-height: 72svh;
  }

  .hero--image-only .hero__media img {
    object-position: 54% 50%;
  }

  .page-hero__inner {
    padding-inline: 28px;
  }

  .page-hero h1,
  .page-hero--compact h1 {
    font-size: clamp(2.85rem, 15vw, 4.7rem);
  }

  .home-story .story-grid__aside {
    margin-bottom: 4px;
  }

  .source-factors {
    grid-template-columns: 1fr;
  }

  .stats--three .stat {
    grid-template-columns: minmax(112px, auto) minmax(0, 1fr);
    gap: 16px;
    padding: 23px 20px;
  }

  .stat__value,
  .vineyard-fact strong {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .wine-carousel .featured-wines {
    grid-auto-columns: calc(100vw - 41px);
  }

  .wine-carousel .feature-card {
    padding-inline: 26px;
  }

  .wine-carousel__controls {
    justify-content: space-between;
  }

  .vineyard-group {
    padding-inline: 20px;
  }

  .vineyard-group__heading {
    grid-template-columns: 1fr;
  }

  .vineyard-group__count {
    padding-bottom: 0;
  }

  .vineyard-parcels {
    grid-template-columns: 1fr;
  }

  .vineyard-parcel__head {
    min-height: 0;
  }

  .footer-publicity {
    grid-template-columns: 1fr;
    padding-block: 36px;
  }
}

@media (max-width: 410px) {
  .brand__logo {
    width: 124px;
  }

  .stats--three .stat {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Drobné korekce po kontrole obsahu */
#vineyard-intro-title {
  font-size: clamp(2.15rem, 3.3vw, 3.65rem);
  text-wrap: balance;
}

.vineyard-group {
  padding-inline: 0;
}
