/* ==========================================================================
   Metropola de Vin — Mediaș, Transilvania
   Visual system: archival editorial, warm paper, oxblood, vine gold.
   ========================================================================== */

:root {
  --paper: #f3ecdf;
  --paper-2: #ece2d1;
  --paper-3: #fbf7ef;
  --ink: #1b1812;
  --ink-soft: #4f493d;
  --ink-mute: #6b6152;
  --wine: #772b36;
  --wine-deep: #5c212a;
  --wine-light: #8a3a47;
  --gold: #c18b2b;
  --gold-light: #e4b24c;
  --sage: #747a5d;
  --green: #34422f;
  --green-deep: #1d291d;
  --line: rgba(33, 24, 17, 0.16);
  --line-strong: rgba(33, 24, 17, 0.32);
  --line-light: rgba(243, 236, 221, 0.2);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --container: min(1280px, calc(100% - clamp(40px, 7vw, 112px)));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 28px 70px -32px rgba(24, 12, 7, 0.45);
  --shadow-deep: 0 50px 120px -48px rgba(15, 7, 4, 0.75);
  --header-h: 86px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

img {
  display: block;
  height: auto;
}

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

button {
  color: inherit;
}

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

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

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h2 em,
h1 em {
  font-style: italic;
  font-weight: 400;
}

p {
  text-wrap: pretty;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 400;
  transform: translateY(-180%);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 18px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: none;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 300;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold);
  transform-origin: left center;
}

/* --------------------------------------------------------------------------
   Type utilities
   -------------------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--wine);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

.eyebrow-line {
  display: inline-block;
  width: 42px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
  opacity: 0.7;
}

.lead {
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.62;
  letter-spacing: -0.012em;
}

.section {
  position: relative;
  padding: clamp(88px, 9.5vw, 148px) 0;
}

.section-head {
  max-width: 880px;
  margin-bottom: clamp(46px, 5vw, 72px);
}

.section-head h2 {
  margin-top: 22px;
  font-size: clamp(44px, 5.2vw, 78px);
}

.section-intro {
  max-width: 650px;
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--center .section-intro {
  margin-inline: auto;
}

.section-head--light {
  color: var(--paper);
}

.section-head--light .section-intro {
  color: rgba(243, 236, 221, 0.7);
}

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

.fig-num {
  flex: 0 0 auto;
  color: var(--wine);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 52px;
  padding: 0 25px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.35s var(--ease),
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--wine-deep);
}

.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: rgba(243, 236, 221, 0.42);
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: var(--paper);
  background: rgba(243, 236, 221, 0.08);
  transform: translateY(-2px);
}

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

.btn--wine:hover {
  background: var(--wine-deep);
  border-color: var(--wine-deep);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  color: var(--paper);
  transition:
    background 0.45s var(--ease),
    color 0.45s var(--ease),
    border-color 0.45s var(--ease),
    padding 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 8, 7, 0.42), transparent);
  opacity: 1;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}

.site-header.is-scrolled {
  background: rgba(243, 236, 221, 0.94);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  color: var(--ink);
}

.site-header.is-scrolled::after {
  opacity: 0;
}

.header-inner {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 41px;
  height: 41px;
  flex: 0 0 auto;
  color: var(--gold);
  transition: color 0.45s var(--ease);
}

.site-header.is-scrolled .brand-mark {
  color: var(--wine);
}

.brand-type {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.brand-place {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.66;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 35px);
  margin-left: auto;
}

.main-nav a {
  position: relative;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 10px 0;
}

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

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 17px;
  flex: 0 0 auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 28%, transparent);
}

.lang-switch button {
  min-width: 36px;
  height: 31px;
  padding: 0 9px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.lang-switch button + button {
  border-left: 1px solid color-mix(in srgb, currentColor 20%, transparent);
}

.lang-switch button:hover {
  background: color-mix(in srgb, currentColor 10%, transparent);
}

.lang-switch button.is-active {
  background: var(--gold);
  color: var(--wine-deep);
}

.lang-switch--large button {
  min-width: 48px;
  height: 40px;
  font-size: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

body.menu-open .menu-toggle span:first-child {
  transform: translateY(3px) rotate(45deg);
}

body.menu-open .menu-toggle span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

body.menu-open .site-header {
  background: transparent;
  color: var(--paper);
  border-bottom-color: transparent;
}

body.menu-open .site-header::after {
  opacity: 0;
}

body.menu-open .site-header .brand-mark {
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Mobile menu
   -------------------------------------------------------------------------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background:
    radial-gradient(circle at 80% 12%, rgba(214, 163, 42, 0.12), transparent 35%),
    linear-gradient(145deg, var(--wine-deep), #190b0a 70%);
  color: var(--paper);
  transform: translateY(-100%);
  visibility: hidden;
  transition:
    transform 0.6s var(--ease),
    visibility 0.6s var(--ease);
  overflow: auto;
}

.mobile-menu.is-open {
  transform: none;
  visibility: visible;
}

.mobile-menu-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  width: var(--container);
  margin-inline: auto;
  padding: 132px 0 44px;
}

.mobile-menu-kicker {
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 34px;
}

.mobile-nav a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(243, 236, 221, 0.14);
  font-family: var(--serif);
  font-size: clamp(40px, 9vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.mobile-nav a:first-child {
  border-top: 1px solid rgba(243, 236, 221, 0.14);
}

.mobile-menu-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: auto;
  padding-top: 48px;
}

.mobile-menu-footer p {
  max-width: 220px;
  color: rgba(243, 236, 221, 0.58);
  font-size: 10px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--paper);
  overflow: hidden;
  background: var(--wine-deep);
}

.hero-media,
.hero-scrim,
.hero-grain {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  filter: saturate(0.78) contrast(1.03) brightness(0.92);
  animation: hero-breathe 26s ease-in-out infinite alternate;
}

@keyframes hero-breathe {
  from { transform: scale(1.01); }
  to { transform: scale(1.075); }
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(26, 7, 6, 0.94) 0%, rgba(26, 7, 6, 0.76) 32%, rgba(26, 7, 6, 0.2) 72%, rgba(26, 7, 6, 0.55) 100%),
    linear-gradient(0deg, rgba(26, 7, 6, 0.9) 0%, rgba(26, 7, 6, 0.18) 48%, rgba(26, 7, 6, 0.44) 100%),
    radial-gradient(circle at 25% 36%, rgba(92, 30, 27, 0.45), transparent 55%);
}

.hero-grain {
  opacity: 0.16;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 250px);
  align-items: end;
  gap: 40px;
  padding-top: calc(var(--header-h) + clamp(80px, 12vh, 150px));
  padding-bottom: clamp(42px, 6vh, 78px);
}

.hero-copy {
  max-width: 900px;
}

.hero-copy h1 {
  margin-top: 20px;
  font-size: clamp(62px, 9vw, 142px);
  line-height: 0.82;
  letter-spacing: -0.045em;
  color: var(--paper);
}

.hero-copy h1 em {
  color: var(--gold-light);
}

.hero-lead {
  max-width: 630px;
  margin-top: 30px;
  color: rgba(243, 236, 221, 0.81);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 38px;
}

.hero-aside {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding-bottom: 8px;
}

.seal {
  width: clamp(160px, 17vw, 236px);
  aspect-ratio: 1;
  color: var(--gold-light);
  transform: rotate(-7deg);
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.28));
  opacity: 0.95;
}

.seal-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.seal-ring {
  fill: currentColor;
  font-family: var(--sans);
  font-size: 8.3px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.seal-ring--small {
  font-size: 7.2px;
  letter-spacing: 0.28em;
}

.seal-year {
  fill: currentColor;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.seal-grapes {
  opacity: 0.9;
}

.hero-footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 18px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(243, 236, 221, 0.22);
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(243, 236, 221, 0.64);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.hero-meta-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(243, 236, 221, 0.7);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.scroll-line {
  position: relative;
  width: 54px;
  height: 1px;
  overflow: hidden;
  background: rgba(243, 236, 221, 0.28);
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  animation: scroll-line 2.4s var(--ease) infinite;
}

@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */

.ticker {
  position: relative;
  z-index: 3;
  overflow: hidden;
  background: var(--gold);
  color: var(--wine-deep);
  padding: 11px 0;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: ticker 38s linear infinite;
}

.ticker-track span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.28em;
  white-space: nowrap;
}

.ticker-track i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */

.section--intro {
  background:
    radial-gradient(circle at 8% 12%, rgba(214, 163, 42, 0.09), transparent 24%),
    var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(44px, 7vw, 112px);
  align-items: start;
}

.intro-heading {
  position: sticky;
  top: 116px;
}

.intro-heading h2 {
  margin-top: 24px;
  font-size: clamp(46px, 5.4vw, 84px);
  color: var(--wine);
}

.intro-heading h2 em {
  color: var(--ink);
}

.intro-mark {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-top: clamp(34px, 6vw, 76px);
  color: transparent;
  font-family: var(--serif);
  font-size: clamp(100px, 13vw, 190px);
  font-weight: 500;
  line-height: 0.7;
  letter-spacing: -0.06em;
  -webkit-text-stroke: 1px rgba(92, 30, 27, 0.32);
}

.intro-mark small {
  padding-bottom: 10px;
  color: var(--wine);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  -webkit-text-stroke: 0;
}

.intro-body {
  padding-top: 10px;
}

.intro-body .lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.28;
  letter-spacing: -0.015em;
}

.intro-body > p + p {
  margin-top: 23px;
}

.intro-body > p:not(.lead):not(.signature) {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.82;
}

.intro-body > p:nth-of-type(2)::first-letter {
  float: left;
  margin: 8px 12px 0 0;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 80px;
  line-height: 0.72;
}

.signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  color: var(--ink-mute);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-transform: uppercase;
}

.signature::before {
  content: "";
  width: 34px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--gold);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 8vw, 104px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 30px 24px 32px;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat-value {
  display: block;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(42px, 4.2vw, 60px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.stat-value small {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.stat-plus {
  color: var(--gold);
}

.stat-label {
  display: block;
  max-width: 180px;
  margin-top: 14px;
  color: var(--ink-mute);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.6;
  text-transform: uppercase;
}

.wide-plate {
  margin-top: clamp(58px, 8vw, 110px);
  padding: 12px;
  background: var(--paper-3);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.plate-frame {
  overflow: hidden;
  background: var(--paper-2);
}

.wide-plate img {
  width: 100%;
  transition: transform 1.4s var(--ease);
}

.wide-plate:hover img {
  transform: scale(1.015);
}

.wide-plate figcaption {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 15px 6px 3px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Quote band
   -------------------------------------------------------------------------- */

.quote-band {
  position: relative;
  overflow: hidden;
  padding: clamp(66px, 8vw, 108px) 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(214, 163, 42, 0.15), transparent 40%),
    var(--wine);
  color: var(--paper);
}

.quote-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(115deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.5;
  pointer-events: none;
}

.quote-grid {
  position: relative;
  display: grid;
  grid-template-columns: 95px minmax(0, 1fr) 120px;
  gap: 28px;
  align-items: center;
}

.quote-mark {
  align-self: start;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 150px;
  line-height: 0.7;
  opacity: 0.9;
}

.quote-grid blockquote {
  max-width: 1020px;
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.quote-grid cite {
  display: block;
  margin-top: 26px;
  color: rgba(243, 236, 221, 0.62);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.21em;
  line-height: 1.6;
  text-transform: uppercase;
}

.quote-grid cite em {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.quote-rule {
  justify-self: end;
  width: 1px;
  height: 110px;
  background: linear-gradient(var(--gold), transparent);
}

/* --------------------------------------------------------------------------
   Land
   -------------------------------------------------------------------------- */

.section--land {
  background:
    radial-gradient(circle at 88% 20%, rgba(214, 163, 42, 0.13), transparent 34%),
    radial-gradient(circle at 8% 84%, rgba(116, 122, 93, 0.16), transparent 38%),
    var(--green-deep);
  color: var(--paper);
  overflow: hidden;
}

.land-orbit {
  position: absolute;
  top: -34%;
  right: -18%;
  width: 70vw;
  aspect-ratio: 1;
  border: 1px solid rgba(214, 163, 42, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(214, 163, 42, 0.025),
    0 0 0 160px rgba(214, 163, 42, 0.018);
  pointer-events: none;
}

.land-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

.land-copy h2 {
  margin-top: 24px;
  font-size: clamp(46px, 5.3vw, 80px);
}

.land-copy h2 em {
  color: var(--gold-light);
}

.land-copy .lead {
  margin-top: 30px;
  color: rgba(243, 236, 221, 0.9);
}

.land-copy > p:not(.lead):not(.eyebrow) {
  margin-top: 20px;
  color: rgba(243, 236, 221, 0.66);
  font-size: 15px;
  line-height: 1.8;
}

.land-quote {
  margin-top: 40px;
  padding-left: 22px;
  border-left: 1px solid var(--gold);
}

.land-quote p {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  font-style: italic;
  line-height: 1.3;
  color: var(--gold-light);
}

.land-quote cite {
  display: block;
  margin-top: 12px;
  color: rgba(243, 236, 221, 0.5);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.map-card {
  position: relative;
  padding: 13px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(214, 163, 42, 0.5);
  box-shadow: var(--shadow-deep);
  transform: rotate(1.1deg);
}

.map-frame {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
}

.map-frame img {
  width: 100%;
  transition: transform 1.4s var(--ease);
}

.map-card:hover img {
  transform: scale(1.025);
}

.map-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  background: var(--wine);
  color: var(--paper);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.map-card figcaption {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 4px 2px;
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Timeline
   -------------------------------------------------------------------------- */

.section--timeline {
  background: var(--paper);
  padding-bottom: clamp(72px, 7vw, 100px);
  border-bottom: 1px solid var(--line);
}

.timeline-wrap {
  margin-top: clamp(42px, 5vw, 64px);
}

.timeline-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-top: 22px;
  padding-bottom: 32px;
  scroll-behavior: smooth;
  scroll-padding-left: max(20px, calc((100vw - 1280px) / 2));
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x;
}

.timeline-track::-webkit-scrollbar {
  display: none;
}

.timeline-item:first-child {
  margin-left: max(20px, calc((100vw - 1280px) / 2));
}

.timeline-item:last-child {
  margin-right: max(20px, calc((100vw - 1280px) / 2));
}

.timeline-item {
  position: relative;
  flex: 0 0 276px;
  min-height: 235px;
  padding: 30px 28px 0 0;
  border-top: 1px solid var(--line-strong);
  scroll-snap-align: start;
}

.timeline-item + .timeline-item {
  padding-left: 28px;
}

.timeline-dot {
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(214, 163, 42, 0.14);
}

.timeline-item + .timeline-item .timeline-dot {
  left: 28px;
}

.timeline-year {
  display: block;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.timeline-item h3 {
  margin-top: 22px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.timeline-item p {
  margin-top: 10px;
  color: var(--ink-mute);
  font-size: 12.5px;
  line-height: 1.65;
}

.timeline-item--last {
  padding-right: 60px;
}

.timeline-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
}

.timeline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.timeline-btn svg {
  width: 18px;
  height: 18px;
}

.timeline-btn:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--paper);
}

.timeline-progress {
  position: relative;
  flex: 1;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}

.timeline-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--wine);
  transition: width 0.18s linear;
}

/* --------------------------------------------------------------------------
   Pioneers
   -------------------------------------------------------------------------- */

.section--pioneers {
  padding-top: clamp(88px, 9vw, 140px);
  padding-bottom: 0;
  background:
    radial-gradient(circle at 50% 0, rgba(214, 163, 42, 0.09), transparent 34%),
    var(--paper);
}

.pioneer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.pioneer {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 6vw, 96px) clamp(26px, 5vw, 82px);
  color: var(--paper);
}

.pioneer--caspari {
  background:
    radial-gradient(circle at 12% 5%, rgba(239, 207, 123, 0.13), transparent 34%),
    linear-gradient(145deg, #6b231f, #431311 72%);
}

.pioneer--ambrosi {
  background:
    radial-gradient(circle at 85% 8%, rgba(214, 163, 42, 0.13), transparent 36%),
    linear-gradient(145deg, #3d4e35, #1b271b 72%);
}

.pioneer-index {
  position: absolute;
  top: 5px;
  right: 26px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(132px, 16vw, 210px);
  line-height: 1;
  opacity: 0.055;
  pointer-events: none;
}

.pioneer-inner {
  position: relative;
  z-index: 2;
  max-width: 540px;
}

.pioneer-portrait {
  width: clamp(150px, 16vw, 204px);
  aspect-ratio: 4 / 5;
  margin-bottom: 32px;
  padding: 8px;
  border: 1px solid rgba(214, 163, 42, 0.55);
  border-radius: 52% 52% 5px 5px / 34% 34% 5px 5px;
  background: rgba(243, 236, 221, 0.05);
}

.pioneer-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  border-radius: 50% 50% 3px 3px / 30% 30% 3px 3px;
  filter: grayscale(1) sepia(0.22) contrast(1.03);
}

.pioneer-kicker {
  color: var(--gold-light);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.6;
  text-transform: uppercase;
}

.pioneer h3 {
  margin-top: 12px;
  font-size: clamp(40px, 4.1vw, 60px);
  line-height: 0.92;
  color: var(--paper);
}

.pioneer-years {
  margin-top: 10px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.pioneer-body {
  margin-top: 26px;
}

.pioneer-body p {
  color: rgba(243, 236, 221, 0.76);
  font-size: 13.5px;
  line-height: 1.78;
}

.pioneer-body p + p {
  margin-top: 15px;
}

.pioneer-generations {
  margin-top: 22px;
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.7;
  text-transform: uppercase;
}

.pioneer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.pioneer-tags li {
  padding: 6px 10px;
  border: 1px solid rgba(243, 236, 221, 0.24);
  color: rgba(243, 236, 221, 0.72);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.pioneer-quote {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(243, 236, 221, 0.2);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(21px, 1.9vw, 26px);
  font-style: italic;
  line-height: 1.28;
}

/* --------------------------------------------------------------------------
   Fetească Regală
   -------------------------------------------------------------------------- */

.section--feteasca {
  background:
    radial-gradient(circle at 18% 50%, rgba(214, 163, 42, 0.1), transparent 26%),
    var(--paper-3);
}

.feteasca-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr) minmax(180px, 0.55fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.feteasca-art {
  color: var(--wine);
  width: min(100%, 360px);
  margin-inline: auto;
}

.feteasca-seal {
  width: 100%;
  height: auto;
  overflow: visible;
}

.feteasca-arc {
  fill: var(--wine);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.feteasca-fr {
  fill: currentColor;
  font-family: var(--serif);
  font-size: 124px;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.feteasca-year {
  fill: var(--gold);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
}

.feteasca-bottom {
  fill: var(--ink-mute);
  font-family: var(--sans);
  font-size: 5.4px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.feteasca-copy h2 {
  margin-top: 24px;
  font-size: clamp(44px, 4.8vw, 70px);
  color: var(--wine);
}

.feteasca-copy h2 em {
  display: block;
  color: var(--ink);
}

.feteasca-copy .lead {
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.45vw, 20px);
}

.feteasca-copy > p:not(.lead):not(.feteasca-note):not(.eyebrow) {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.feteasca-note {
  margin-top: 30px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 23px;
  font-style: italic;
}

.feteasca-stat {
  padding-left: clamp(20px, 3vw, 36px);
  border-left: 1px solid var(--line);
}

.feteasca-number {
  display: block;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(52px, 5.4vw, 78px);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: -0.05em;
}

.feteasca-unit {
  display: block;
  margin-top: 10px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.feteasca-stat p {
  max-width: 170px;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.6;
}

.feteasca-source {
  display: block;
  max-width: 160px;
  margin-top: 20px;
  color: var(--ink-mute);
  font-size: 8px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Archive
   -------------------------------------------------------------------------- */

.section--archive {
  background:
    radial-gradient(circle at 82% 12%, rgba(214, 163, 42, 0.08), transparent 30%),
    #17110e;
  color: var(--paper);
}

.section--archive .section-head {
  margin-bottom: 44px;
}

.gallery {
  columns: 3;
  column-gap: 24px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 28px;
  padding: 9px;
  background: var(--paper);
  border: 1px solid rgba(243, 236, 221, 0.14);
}

.gallery-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-btn img {
  width: 100%;
  height: auto;
  transition: transform 1.1s var(--ease), filter 1.1s var(--ease);
}

.gallery-btn:hover img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.gallery-hover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(53, 16, 15, 0.24);
  color: var(--paper);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.gallery-hover svg {
  width: 28px;
  height: 28px;
  padding: 6px;
  border: 1px solid rgba(243, 236, 221, 0.55);
  border-radius: 50%;
}

.gallery-btn:hover .gallery-hover,
.gallery-btn:focus-visible .gallery-hover {
  opacity: 1;
}

.gallery-item figcaption {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 4px 3px;
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.55;
}

.archive-note {
  max-width: 780px;
  margin-top: 28px;
  color: rgba(243, 236, 221, 0.42);
  font-size: 9.5px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Visit
   -------------------------------------------------------------------------- */

.section--visit {
  background:
    linear-gradient(rgba(92, 30, 27, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 30, 27, 0.035) 1px, transparent 1px),
    var(--paper-2);
  background-size: 86px 86px;
  overflow: hidden;
}

.visit-contour {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 52vw;
  aspect-ratio: 1;
  border: 1px solid rgba(92, 30, 27, 0.09);
  border-radius: 48% 52% 60% 40% / 42% 38% 62% 58%;
  box-shadow:
    0 0 0 42px rgba(92, 30, 27, 0.025),
    0 0 0 90px rgba(92, 30, 27, 0.018);
  transform: rotate(14deg);
  pointer-events: none;
}

.visit-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
}

.visit-copy h2 {
  margin-top: 24px;
  font-size: clamp(50px, 5.8vw, 82px);
  color: var(--wine);
}

.visit-copy h2 em {
  color: var(--ink);
}

.visit-copy .lead {
  margin-top: 30px;
  color: var(--ink-soft);
}

.visit-copy > p:not(.lead):not(.eyebrow) {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.visit-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
  color: var(--ink-mute);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.visit-copy .btn {
  margin-top: 30px;
}

.visit-card {
  padding: 12px;
  background: var(--paper-3);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transform: rotate(-1.4deg);
}

.visit-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--wine-deep);
}

.visit-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}

.visit-stamp {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 8px 9px;
  border: 1px solid rgba(92, 30, 27, 0.55);
  background: rgba(243, 236, 221, 0.9);
  color: var(--wine);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.45;
  text-align: center;
  transform: rotate(6deg);
}

.visit-stamp small {
  font-size: 6px;
  letter-spacing: 0.14em;
}

.visit-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 17px 8px 7px;
}

.visit-card-kicker {
  color: var(--gold);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.visit-card-title {
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.05;
}

.visit-card-caption {
  color: var(--ink-mute);
  font-size: 9px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background:
    radial-gradient(circle at 12% 0, rgba(214, 163, 42, 0.08), transparent 26%),
    #1b1210;
  color: var(--paper);
  padding: clamp(66px, 8vw, 104px) 0 26px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(140px, 0.5fr) minmax(190px, 0.65fr);
  gap: clamp(34px, 5vw, 72px);
}

.footer-wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--serif);
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 0.94;
}

.footer-wordmark small {
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.footer-brand > p {
  max-width: 330px;
  margin-top: 22px;
  color: rgba(243, 236, 221, 0.56);
  font-size: 11.5px;
  line-height: 1.7;
}

.footer-logo-card {
  width: min(250px, 100%);
  margin-top: 28px;
  padding: 13px;
  background: var(--paper);
}

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

.footer-col h3,
.footer-sources h3 {
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 18px;
}

.footer-col nav a {
  width: fit-content;
  color: rgba(243, 236, 221, 0.7);
  font-size: 11px;
  transition: color 0.3s ease;
}

.footer-col nav a:hover {
  color: var(--gold-light);
}

.lang-switch--footer {
  margin-top: 18px;
  color: var(--paper);
}

.footer-association {
  max-width: 220px;
  margin-top: 20px;
  color: rgba(243, 236, 221, 0.55);
  font-size: 8.5px;
  line-height: 1.6;
}

.footer-sources {
  margin-top: clamp(46px, 6vw, 72px);
  padding-top: 24px;
  border-top: 1px solid rgba(243, 236, 221, 0.13);
}

.footer-sources p {
  max-width: 950px;
  margin-top: 12px;
  color: rgba(243, 236, 221, 0.52);
  font-size: 9px;
  line-height: 1.75;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid rgba(243, 236, 221, 0.13);
  color: rgba(243, 236, 221, 0.5);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-claim {
  color: var(--gold);
  letter-spacing: 0.26em;
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(243, 236, 221, 0.56);
  transition: color 0.3s ease;
}

.back-top:hover {
  color: var(--gold-light);
}

.back-top svg {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #120c0a;
  color: var(--paper);
}

.lightbox[open] {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 16px;
  padding: 28px;
}

.lightbox::backdrop {
  background: rgba(10, 6, 5, 0.94);
}

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-height: 100%;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border: 1px solid rgba(243, 236, 221, 0.18);
  background: #1d1512;
}

.lightbox-figure figcaption {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  width: min(900px, 100%);
  margin-top: 18px;
  color: rgba(243, 236, 221, 0.72);
  font-size: 11px;
  line-height: 1.6;
}

.lightbox-counter {
  margin-left: auto;
  color: var(--gold-light);
  font-size: 9px;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 25px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(243, 236, 221, 0.24);
  border-radius: 50%;
  background: rgba(18, 12, 10, 0.6);
  color: var(--paper);
  cursor: pointer;
}

.lightbox-close svg {
  width: 19px;
  height: 19px;
}

.lightbox-arrow {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(243, 236, 221, 0.24);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.lightbox-arrow:hover,
.lightbox-close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--wine-deep);
}

.lightbox-arrow svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   Reveal motion
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 1;
  transform: none;
}

.js .reveal.is-visible {
  animation: reveal-in 0.9s var(--ease) both;
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .main-nav {
    gap: 18px;
  }

  .main-nav a {
    letter-spacing: 0.18em;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 190px;
  }

  .intro-grid {
    gap: 54px;
  }

  .feteasca-grid {
    grid-template-columns: 0.7fr 1.2fr;
  }

  .feteasca-stat {
    grid-column: 2;
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 76px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: calc(var(--header-h) + 90px);
  }

  .hero-aside {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(60px, 11vw, 108px);
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .intro-heading {
    position: static;
  }

  .intro-mark {
    margin-top: 32px;
  }

  .intro-body {
    max-width: 720px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .quote-grid {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .quote-rule {
    display: none;
  }

  .land-grid {
    grid-template-columns: 1fr;
  }

  .map-card {
    max-width: 680px;
    margin-inline: auto;
    transform: rotate(0.6deg);
  }

  .pioneer-grid {
    grid-template-columns: 1fr;
  }

  .pioneer-inner {
    max-width: 640px;
  }

  .feteasca-grid {
    grid-template-columns: 1fr;
  }

  .feteasca-art {
    width: 220px;
    margin-left: 0;
  }

  .feteasca-stat {
    grid-column: auto;
  }

  .gallery {
    columns: 2;
  }

  .visit-grid {
    grid-template-columns: 1fr;
  }

  .visit-card {
    max-width: 620px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-logo-card {
    width: 210px;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 40px);
  }

  .header-inner {
    gap: 12px;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-place {
    display: none;
  }

  .brand-mark {
    width: 35px;
    height: 35px;
  }

  .lang-switch button {
    min-width: 30px;
    height: 28px;
    padding: 0 6px;
    font-size: 7px;
  }

  .header-actions {
    gap: 10px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-copy h1 {
    font-size: clamp(52px, 13.5vw, 84px);
    line-height: 0.86;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 15px;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .hero-meta {
    gap: 9px;
    font-size: 7px;
    letter-spacing: 0.17em;
  }

  .hero-meta-sep {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .section-head h2 {
    font-size: clamp(39px, 10vw, 58px);
  }

  .intro-heading h2 {
    font-size: clamp(42px, 11vw, 62px);
  }

  .intro-mark {
    font-size: 104px;
  }

  .intro-body .lead {
    font-size: 23px;
  }

  .intro-body > p:nth-of-type(2)::first-letter {
    font-size: 64px;
  }

  .stat {
    padding: 24px 16px 26px;
  }

  .stat-value {
    font-size: 43px;
  }

  .wide-plate,
  .map-card {
    padding: 8px;
  }

  .wide-plate figcaption,
  .map-card figcaption {
    font-size: 10px;
  }

  .quote-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .quote-mark {
    font-size: 100px;
  }

  .land-copy h2,
  .feteasca-copy h2,
  .visit-copy h2 {
    font-size: clamp(40px, 10.5vw, 58px);
  }

  .timeline-item:first-child {
    margin-left: 20px;
  }

  .timeline-item:last-child {
    margin-right: 20px;
  }

  .timeline-track {
    scroll-padding-left: 20px;
  }

  .timeline-item {
    flex-basis: 76vw;
  }

  .gallery {
    columns: 1;
  }

  .gallery-item {
    margin-bottom: 22px;
  }

  .section--archive .section-head {
    margin-bottom: 30px;
  }

  .visit-meta {
    gap: 8px 18px;
  }

  .visit-card {
    transform: none;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 22px;
  }

  .footer-claim {
    order: 3;
    width: 100%;
  }

  .lightbox[open] {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    gap: 8px;
    padding: 20px;
  }

  .lightbox-arrow {
    position: fixed;
    bottom: 22px;
    z-index: 3;
    width: 44px;
    height: 44px;
  }

  .lightbox-arrow--prev {
    left: 22px;
  }

  .lightbox-arrow--next {
    right: 22px;
  }

  .lightbox-figure {
    grid-row: 1;
  }

  .lightbox-figure img {
    max-height: 68vh;
  }

  .lightbox-figure figcaption {
    margin-top: 12px;
    padding-right: 100px;
    font-size: 10px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }

  .mobile-menu-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 420px) {
  .brand-name {
    font-size: 17px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
  }

  .lang-switch button {
    min-width: 27px;
    padding: 0 4px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .hero-copy h1 {
    font-size: 49px;
  }

  .btn {
    padding-inline: 18px;
    font-size: 10px;
  }

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

  .stat + .stat,
  .stat:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (hover: none) {
  .gallery-hover {
    display: none;
  }
}

/* Small final adjustments */
section[id],
main[id] {
  scroll-margin-top: 92px;
}

.timeline-btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 720px) {
  section[id],
  main[id] {
    scroll-margin-top: 76px;
  }
}

/* ==========================================================================
   Metropola de Vin — WordPress additions
   ========================================================================== */

/* Admin bar offsets */
body.admin-bar .site-header { top: 32px; }
body.admin-bar .mobile-menu { top: 32px; }

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .mobile-menu { top: 46px; }
}

/* Language switcher links (the static prototype used buttons) */
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 31px;
  padding: 0 9px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.lang-switch a + a {
  border-left: 1px solid color-mix(in srgb, currentColor 20%, transparent);
}

.lang-switch a:hover {
  background: color-mix(in srgb, currentColor 10%, transparent);
}

.lang-switch a.is-active {
  background: var(--gold);
  color: var(--wine-deep);
}

.lang-switch--large {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border: 0;
  color: var(--paper);
}

.lang-switch--large a {
  flex-direction: column;
  gap: 2px;
  min-width: 62px;
  height: auto;
  padding: 8px 9px;
  border: 1px solid rgba(243, 236, 221, 0.25);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.lang-switch--large a + a { border-left: 1px solid rgba(243, 236, 221, 0.25); }

.lang-switch--large .lang-name {
  font-size: 7px;
  letter-spacing: 0.06em;
  opacity: 0.65;
  text-transform: none;
}

/* Five milestone columns */
.stats-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

/* History chapters */
.chapter {
  position: relative;
  overflow: hidden;
}

.chapter--paper { background: var(--paper); color: var(--ink); }
.chapter--cream { background: var(--paper-3); color: var(--ink); }
.chapter--dark { background: var(--green-deep); color: var(--paper); }
.chapter--wine { background: var(--wine); color: var(--paper); }
.chapter--ink { background: #17110e; color: var(--paper); }

.chapter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(42px, 7vw, 112px);
  align-items: center;
}

.chapter--reverse .chapter-grid {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
}

.chapter--reverse .chapter-copy { order: 2; }
.chapter--reverse .chapter-figure { order: 1; }

.chapter h2 {
  margin-top: 22px;
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.chapter--paper h2,
.chapter--cream h2 { color: var(--wine); }

.chapter--dark h2,
.chapter--wine h2,
.chapter--ink h2 { color: var(--paper); }

.chapter--dark h2 em,
.chapter--wine h2 em,
.chapter--ink h2 em { color: var(--gold-light); }

.chapter-body {
  margin-top: 28px;
}

.chapter-body p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.82;
}

.chapter-body p + p { margin-top: 18px; }

.chapter--dark .chapter-body p,
.chapter--wine .chapter-body p,
.chapter--ink .chapter-body p {
  color: rgba(243, 236, 221, 0.72);
}

.chapter-figure {
  margin: 0;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transform: rotate(1.1deg);
}

.chapter--reverse .chapter-figure { transform: rotate(-1.1deg); }
.chapter--wine .chapter-figure { border-color: rgba(214, 163, 42, 0.42); }

.chapter-frame {
  overflow: hidden;
  background: var(--paper-2);
}

.chapter-frame img {
  width: 100%;
  height: auto;
  transition: transform 1.4s var(--ease);
}

.chapter-figure:hover .chapter-frame img { transform: scale(1.02); }

.chapter-figure figcaption {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 4px 2px;
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.55;
}

.chapter--portrait .chapter-figure {
  max-width: 410px;
  margin-inline: auto;
}

.chapter--portrait .chapter-frame {
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
}

.chapter--portrait .chapter-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.chapter-quote {
  margin-top: 32px;
  padding-left: 20px;
  border-left: 1px solid var(--gold);
}

.chapter-quote p {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 30px);
  font-style: italic;
  line-height: 1.28;
  color: var(--wine);
}

.chapter--dark .chapter-quote p,
.chapter--wine .chapter-quote p,
.chapter--ink .chapter-quote p { color: var(--gold-light); }

.chapter-quote cite {
  display: block;
  margin-top: 10px;
  color: var(--ink-mute);
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-transform: uppercase;
}

.chapter--dark .chapter-quote cite,
.chapter--wine .chapter-quote cite,
.chapter--ink .chapter-quote cite { color: rgba(243, 236, 221, 0.48); }

/* Fêtească copy and seal */
.feteasca-copy > div p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.feteasca-copy > div p + p { margin-top: 18px; }

/* Wines */
.section--wines {
  background:
    radial-gradient(circle at 85% 15%, rgba(214, 163, 42, 0.1), transparent 32%),
    var(--paper-2);
}

.wines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.wine-card {
  position: relative;
  min-height: 300px;
  padding: 32px 28px;
  border: 1px solid var(--line-strong);
  background: rgba(251, 247, 238, 0.45);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}

.wine-card:hover {
  background: var(--paper-3);
  transform: translateY(-5px);
}

.wine-index {
  display: block;
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.wine-card h3 {
  margin-top: 44px;
  color: var(--wine);
  font-size: clamp(32px, 3.1vw, 44px);
  line-height: 0.94;
}

.wine-tag {
  margin-top: 9px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.wine-card > p:last-child {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.75;
}

.wines-note {
  max-width: 760px;
  margin-top: 26px;
  color: var(--ink-mute);
  font-size: 10px;
  line-height: 1.7;
}

/* Contact */
.section--contact {
  background:
    radial-gradient(circle at 15% 20%, rgba(214, 163, 42, 0.13), transparent 30%),
    var(--wine-deep);
  color: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.contact-grid h2 {
  margin-top: 24px;
  color: var(--paper);
  font-size: clamp(48px, 5.6vw, 84px);
}

.contact-copy p {
  color: rgba(243, 236, 221, 0.7);
  font-size: 15px;
  line-height: 1.8;
}

.contact-email {
  display: inline-block;
  margin-top: 18px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.1;
  border-bottom: 1px solid rgba(214, 163, 42, 0.45);
}

.contact-email:hover { color: var(--paper); }
.contact-note { margin-top: 24px; }
.contact-copy .btn { margin-top: 28px; }

/* Generic WordPress pages */
.mv-main--page {
  padding-top: calc(var(--header-h) + 80px);
  padding-bottom: 120px;
}

.mv-page-content {
  max-width: 900px;
}

.mv-page-content h1 {
  margin-top: 20px;
  color: var(--wine);
  font-size: clamp(44px, 6vw, 84px);
}

.mv-prose {
  margin-top: 34px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.mv-prose h2,
.mv-prose h3 { margin-top: 2em; color: var(--wine); }
.mv-prose p + p { margin-top: 18px; }
.mv-prose a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }

.mv-post-list {
  display: grid;
  gap: 1px;
  margin-top: 40px;
  background: var(--line);
  border: 1px solid var(--line);
}

.mv-post-card {
  padding: 26px;
  background: var(--paper-3);
}

.mv-post-card h2 { color: var(--wine); font-size: 32px; }
.mv-post-card p { margin-top: 10px; color: var(--ink-soft); font-size: 14px; }
.mv-404 { text-align: left; }

/* Header breakpoint: 7 languages need room */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-actions .lang-switch { display: none; }
}

@media (max-width: 960px) {
  .chapter-grid,
  .chapter--reverse .chapter-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .chapter--reverse .chapter-copy,
  .chapter--reverse .chapter-figure { order: initial; }

  .stats-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid--5 .stat:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .stats-grid--5 .stat:nth-child(4),
  .stats-grid--5 .stat:nth-child(5) { border-top: 1px solid var(--line); }

  .wines-grid { grid-template-columns: 1fr 1fr; }
  .wines-grid .wine-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .chapter h2 { font-size: clamp(38px, 10vw, 56px); }
  .chapter-figure { transform: none; }
  .chapter--reverse .chapter-figure { transform: none; }
  .chapter--portrait .chapter-figure { max-width: 340px; }
  .wines-grid { grid-template-columns: 1fr; }
  .wines-grid .wine-card:last-child { grid-column: auto; }
  .wine-card { min-height: 0; }
  .wine-card h3 { margin-top: 30px; }
  .contact-email { font-size: 24px; word-break: break-word; }
  .footer-claim { order: 3; width: 100%; }
}

@media (max-width: 420px) {
  .stats-grid--5 { grid-template-columns: 1fr; }
  .stats-grid--5 .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .lang-switch--large a { min-width: 56px; }
}

/* ==========================================================================
   Caspari visual alignment — paper, ink, Fraunces, Manrope, mono labels
   ========================================================================== */

:root {
  --paper: #f3ecdf;
  --paper-2: #ece2d1;
  --paper-3: #fbf7ef;
  --ink: #1b1812;
  --ink-soft: #4f493d;
  --ink-mute: #6b6152;
  --wine: #772b36;
  --wine-deep: #5c212a;
  --wine-light: #8a3a47;
  --gold: #c18b2b;
  --gold-light: #e4b24c;
  --gold-ink: #8a5f12;
  --sage: #6b6152;
  --green: #40332a;
  --green-deep: #211e17;
  --line: rgba(27, 24, 18, 0.14);
  --line-strong: rgba(27, 24, 18, 0.28);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --header-h: 4.75rem;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

h2 em,
h1 em {
  font-style: italic;
  font-weight: 300;
}

.eyebrow,
.hero-meta,
.brand-place,
.main-nav a,
.btn,
.timeline-year,
.visit-meta,
.pioneer-kicker,
.pioneer-years,
.footer-col h3,
.footer-sources h3,
.footer-bottom,
.fig-num,
.wine-tag,
.wine-index {
  font-family: var(--mono);
}

.eyebrow {
  color: var(--gold-ink);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
}

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

.eyebrow-line {
  width: 26px;
  background: var(--gold);
}

/* Header: always paper, like the Caspari lockup */
.site-header,
.site-header.is-scrolled {
  background: rgba(243, 236, 223, 0.94);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 14px 40px -38px rgba(47, 34, 13, 0.55);
}

.site-header::after {
  display: none;
}

.header-inner {
  min-height: calc(var(--header-h) + 1rem);
  padding-block: 0.5rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  color: var(--gold-ink);
}

.brand-name {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-place {
  color: var(--gold-ink);
  font-size: 0.5rem;
  letter-spacing: 0.18em;
}

.main-nav a {
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--gold-ink);
}

.menu-toggle {
  color: var(--ink);
  border-color: var(--line-strong);
}

/* Language dropdown */
.header-actions .lang-switch {
  display: block;
}

details.lang-switch {
  position: relative;
  display: block;
  border: 0;
}

.lang-switch summary {
  list-style: none;
}

.lang-switch summary::-webkit-details-marker {
  display: none;
}

.lang-switch__button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 2.2rem;
  padding: 0 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.lang-switch__button:hover,
.lang-switch[open] .lang-switch__button {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.lang-switch__globe {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
}

.lang-switch__chevron {
  width: 0.65rem;
  height: 0.65rem;
  flex: 0 0 auto;
  opacity: 0.65;
  transition: transform 0.25s var(--ease);
}

.lang-switch[open] .lang-switch__chevron {
  transform: rotate(180deg);
}

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 220;
  width: min(15rem, calc(100vw - 2.25rem));
  padding: 0.4rem;
  border: 1px solid var(--line);
  background: var(--paper-3);
  box-shadow: 0 22px 60px rgba(47, 34, 13, 0.14);
}

.lang-switch .lang-switch__opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.3rem;
  height: auto;
  min-width: 0;
  padding: 0.45rem 0.65rem;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.lang-switch .lang-switch__opt + .lang-switch__opt {
  border-left: 0;
}

.lang-switch .lang-switch__opt:hover,
.lang-switch .lang-switch__opt.is-active {
  background: var(--paper-2);
  color: var(--wine);
}

.lang-switch__tag {
  color: var(--gold-ink);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
}

/* Mobile language grid */
.lang-switch--large {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  border: 0;
}

.lang-switch--large a {
  min-width: 0;
  height: auto;
  padding: 8px 9px;
  border: 1px solid var(--line-light);
  color: var(--paper);
  font-size: 9px;
}

.lang-switch--large a + a {
  border-left: 1px solid var(--line-light);
}

.lang-switch--large a.is-active {
  background: var(--gold-light);
  color: var(--ink);
}

/* Hero: the light Caspari hero */
.hero {
  min-height: clamp(34rem, 86svh, 50rem);
  background: var(--paper-2);
  color: var(--ink);
}

.hero-media img {
  opacity: 0.34;
  filter: sepia(0.12) saturate(0.94) contrast(1.01);
  object-position: center 44%;
  animation: none;
}

.hero-scrim {
  background:
    linear-gradient(180deg, rgba(243, 236, 223, 0.97) 0%, rgba(243, 236, 223, 0.7) 40%, rgba(243, 236, 223, 0.86) 72%, var(--paper) 100%),
    radial-gradient(80% 70% at 84% 4%, rgba(228, 178, 76, 0.22), transparent 60%);
}

.hero-grain {
  opacity: 0.08;
  mix-blend-mode: multiply;
}

.hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(130px, 190px);
  padding-top: calc(var(--header-h) + clamp(2rem, 6vh, 4.5rem));
  padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
}

.hero-copy h1 {
  color: var(--ink);
  font-size: clamp(3rem, 7.8vw, 7.4rem);
  font-weight: 300;
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-shadow: 0 0 0.6em rgba(251, 247, 239, 0.55);
}

.hero-copy h1 em {
  color: var(--wine);
  font-weight: 300;
}

.hero-lead {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  max-width: 50ch;
}

.hero-actions .btn--gold {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--paper);
}

.hero-actions .btn--gold:hover {
  background: var(--wine-deep);
  border-color: var(--wine-deep);
}

.hero-actions .btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}

.hero-actions .btn--ghost:hover {
  background: rgba(27, 24, 18, 0.06);
  border-color: var(--ink);
}

.hero-aside .seal {
  color: var(--gold);
  opacity: 0.5;
}

.hero-footer {
  border-top-color: var(--line);
}

.hero-meta {
  color: var(--ink-mute);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
}

.scroll-cue {
  color: var(--ink-mute);
  font-size: 0.55rem;
}

.scroll-line {
  background: var(--line);
}

/* Hero facts row */
.hero-facts {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 920px;
  margin-top: clamp(2rem, 5vh, 3.6rem);
  border-top: 1px solid var(--line);
}

.hero-fact {
  padding: 1.1rem 1.5rem 0 0;
}

.hero-fact strong {
  display: block;
  color: var(--gold-ink);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.7vw, 2.9rem);
  font-weight: 400;
  line-height: 1;
}

.hero-fact span {
  display: block;
  margin-top: 0.5rem;
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* Buttons and labels */
.btn {
  min-height: 3rem;
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.btn--gold {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--paper);
}

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

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

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

/* Chapters become light editorial chapters */
.chapter--dark,
.chapter--wine,
.chapter--ink {
  background: var(--paper);
  color: var(--ink);
}

.chapter--cream {
  background: var(--paper-3);
}

.chapter--wine {
  background: var(--paper-2);
}

.chapter--ink {
  background: var(--paper-2);
}

.chapter--dark h2,
.chapter--wine h2,
.chapter--ink h2 {
  color: var(--wine);
}

.chapter--dark h2 em,
.chapter--wine h2 em,
.chapter--ink h2 em {
  color: var(--gold-ink);
}

.chapter--dark .chapter-body p,
.chapter--wine .chapter-body p,
.chapter--ink .chapter-body p {
  color: var(--ink-soft);
}

.chapter--dark .chapter-quote p,
.chapter--wine .chapter-quote p,
.chapter--ink .chapter-quote p {
  color: var(--wine);
}

.chapter--dark .chapter-quote cite,
.chapter--wine .chapter-quote cite,
.chapter--ink .chapter-quote cite {
  color: var(--ink-mute);
}

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

.chapter--dark .chapter-figure,
.chapter--wine .chapter-figure,
.chapter--ink .chapter-figure {
  border-color: var(--line);
  background: var(--paper-3);
}

.chapter--dark .chapter-frame,
.chapter--wine .chapter-frame,
.chapter--ink .chapter-frame {
  background: var(--paper-2);
}

/* Keep the archive and closing bands as the deliberate dark notes */
.section--archive {
  background: #17150f;
}

.section--contact,
.quote-band {
  background: var(--wine);
}

.site-footer {
  background: #17150f;
}

/* Section typography */
.section-head h2,
.chapter h2,
.feteasca-copy h2,
.visit-copy h2,
.contact-grid h2 {
  font-weight: 300;
}

.section-intro,
.intro-body > p:not(.lead):not(.signature),
.chapter-body p,
.feteasca-copy > div p,
.visit-copy > p,
.contact-copy p {
  color: var(--ink-soft);
}

.stat-value,
.timeline-year,
.feteasca-number,
.wine-card h3,
.contact-email {
  color: var(--wine);
}

.stat-label,
.timeline-item h3,
.wines-note,
.archive-note,
.footer-sources p {
  font-family: var(--mono);
}

/* Header breakpoint: keep the single pill at every width */
@media (max-width: 1180px) {
  .header-actions .lang-switch {
    display: block;
  }
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero-copy h1 {
    font-size: clamp(2.8rem, 12vw, 4.8rem);
  }

  .hero-facts {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .hero-fact {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.45rem 0;
    border-top: 1px solid var(--line);
  }

  .hero-fact strong {
    font-size: 1.65rem;
    min-width: 3ch;
  }

  .hero-fact span {
    margin-top: 0;
  }

  .lang-switch__menu {
    right: -0.35rem;
  }
}

/* Contact band: readable copy and a light CTA on wine */
.section--contact .contact-copy p {
  color: rgba(243, 236, 221, 0.76);
}

.section--contact .contact-note {
  color: rgba(243, 236, 221, 0.6);
}

.section--contact .contact-email {
  color: var(--gold-light);
  border-bottom-color: rgba(228, 178, 76, 0.5);
}

.section--contact .contact-email:hover {
  color: var(--paper-3);
}

.section--contact .btn--gold {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--ink);
}

.section--contact .btn--gold:hover {
  background: var(--paper-3);
  border-color: var(--paper-3);
}

/* Chinese typography: CJK needs its own rhythm and no faux italic */
html[lang="zh-CN"] body {
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] .brand-name,
html[lang="zh-CN"] .footer-wordmark {
  font-family: "Songti SC", "Noto Serif SC", "SimSun", serif;
  word-break: keep-all;
  line-break: strict;
}

html[lang="zh-CN"] .hero-copy h1 {
  font-size: clamp(2.5rem, 5.2vw, 5.4rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
}

html[lang="zh-CN"] h1 em,
html[lang="zh-CN"] h2 em {
  font-style: normal;
}

html[lang="zh-CN"] .hero-lead,
html[lang="zh-CN"] .section-intro,
html[lang="zh-CN"] .chapter-body p {
  line-height: 1.9;
}

html[lang="zh-CN"] .eyebrow,
html[lang="zh-CN"] .main-nav a,
html[lang="zh-CN"] .hero-fact span,
html[lang="zh-CN"] .stat-label {
  letter-spacing: 0.12em;
}

/* At tablet widths the six labels and the seven-language pill need breathing room. */
@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

/* Footer language row must never push the page wider than the viewport */
.lang-switch--footer {
  flex-wrap: wrap;
  max-width: 100%;
}

.lang-switch--footer a {
  min-width: 30px;
  height: 28px;
  padding: 0 6px;
  font-size: 7px;
}

/* ==========================================================================
   Open Weinland feature + final light archive
   ========================================================================== */

.section--openweinland {
  background:
    radial-gradient(circle at 88% 10%, rgba(228, 178, 76, 0.12), transparent 32%),
    var(--paper-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.openweinland-head {
  max-width: 900px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.openweinland-head h2 {
  margin-top: 1.2rem;
  color: var(--wine);
  font-size: clamp(2.6rem, 4.8vw, 5rem);
}

.openweinland-head .lead {
  max-width: 62ch;
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  line-height: 1.35;
}

.openweinland-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.openweinland-copy > p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.85;
}

.openweinland-copy > p + p {
  margin-top: 1.1rem;
}

.openweinland-copy .lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.7vw, 1.6rem);
  line-height: 1.4;
}

.openweinland-quote {
  margin-top: 2rem;
  padding-left: 1.2rem;
  border-left: 1px solid var(--gold);
}

.openweinland-quote p {
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  font-style: italic;
  line-height: 1.35;
}

.openweinland-quote cite {
  display: block;
  margin-top: 0.7rem;
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 0.55rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.openweinland-visuals {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.openweinland-map,
.openweinland-photo {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 28px 60px -44px rgba(47, 34, 13, 0.45);
}

.openweinland-map {
  transform: rotate(-0.7deg);
}

.openweinland-photo {
  transform: rotate(0.8deg);
}

.openweinland-map img,
.openweinland-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.openweinland-map img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.openweinland-photo img {
  aspect-ratio: 3.4 / 1;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.02);
}

.openweinland-map figcaption,
.openweinland-photo figcaption {
  display: flex;
  gap: 0.8rem;
  padding: 0.7rem 0.25rem 0.1rem;
  color: var(--ink-soft);
  font-size: 0.65rem;
  line-height: 1.5;
}

/* Final quiet archive, closer to the light Caspari page */
.section--archive {
  background:
    radial-gradient(circle at 18% 8%, rgba(228, 178, 76, 0.1), transparent 28%),
    var(--paper-2);
  color: var(--ink);
}

.section--archive .section-head--light,
.section--archive .section-head--light .section-intro,
.section--archive .section-head--light .eyebrow {
  color: var(--ink);
}

.section--archive .section-head--light .section-intro {
  color: var(--ink-soft);
}

.section--archive .section-head--light .eyebrow {
  color: var(--gold-ink);
}

.section--archive .gallery-item {
  background: var(--paper-3);
  border-color: var(--line);
  box-shadow: 0 22px 50px -40px rgba(47, 34, 13, 0.5);
}

.section--archive .gallery-item figcaption {
  color: var(--ink-soft);
}

.section--archive .archive-note {
  color: var(--ink-mute);
}

/* Dark ribbon, like the Caspari marquee */
.ticker {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(243, 236, 223, 0.12);
  border-bottom: 1px solid rgba(243, 236, 223, 0.12);
}

.ticker-track i {
  background: var(--gold-light);
  opacity: 0.8;
}

/* Hero engraving */
.hero-media img {
  opacity: 0.24;
  filter: sepia(0.14) saturate(0.82) contrast(0.98);
  object-position: center 54%;
}

.hero-scrim {
  background:
    linear-gradient(180deg, rgba(243, 236, 223, 0.96) 0%, rgba(243, 236, 223, 0.68) 42%, rgba(243, 236, 223, 0.9) 78%, var(--paper) 100%),
    radial-gradient(80% 70% at 84% 4%, rgba(228, 178, 76, 0.2), transparent 60%);
}

@media (max-width: 960px) {
  .openweinland-grid {
    grid-template-columns: 1fr;
  }

  .openweinland-visuals {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
  }
}

@media (max-width: 720px) {
  .openweinland-head h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .openweinland-visuals {
    grid-template-columns: 1fr;
  }

  .openweinland-map,
  .openweinland-photo {
    transform: none;
  }
}

/* ==========================================================================
   Pitz, the city sommelier
   ========================================================================== */

.section--guide {
  background:
    radial-gradient(circle at 22% 40%, rgba(228, 178, 76, 0.15), transparent 30%),
    linear-gradient(180deg, var(--paper-3), var(--paper-2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.guide-figure {
  position: relative;
  justify-self: center;
  width: min(320px, 100%);
  margin: 0;
  text-align: center;
}

.guide-figure::before {
  content: "";
  position: absolute;
  inset: 8% -10% 2%;
  border: 1px solid rgba(193, 139, 43, 0.35);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(251, 247, 239, 0.9), transparent 68%);
}

.guide-figure img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 28px rgba(47, 34, 13, 0.24));
}

.guide-figure figcaption {
  position: relative;
  z-index: 1;
  margin-top: 0.8rem;
  color: var(--gold-ink);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-copy .guide-role {
  margin-top: 0.9rem;
  color: var(--gold-ink);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.guide-copy h2 {
  max-width: 14ch;
  margin-top: 0.8rem;
  color: var(--wine);
  font-size: clamp(2.8rem, 5.2vw, 5.4rem);
}

.guide-copy .lead {
  max-width: 50ch;
  margin-top: 1.2rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.9vw, 1.8rem);
  line-height: 1.35;
}

.guide-copy > p:not(.eyebrow):not(.guide-role):not(.lead) {
  max-width: 62ch;
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.8;
}

.guide-quote {
  max-width: 56ch;
  margin-top: 1.7rem;
  padding-left: 1.1rem;
  border-left: 1px solid var(--gold);
}

.guide-quote p {
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-style: italic;
  line-height: 1.35;
}

.guide-quote cite {
  display: block;
  margin-top: 0.5rem;
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 0.52rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

/* The five partner doors */
.section--network {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.network-head {
  max-width: 880px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.network-head h2 {
  margin-top: 0.9rem;
  color: var(--wine);
  font-size: clamp(2.5rem, 4.5vw, 4.6rem);
}

.network-lead {
  max-width: 58ch;
  margin-top: 1rem;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  line-height: 1.4;
}

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

.network-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: clamp(1.3rem, 2.5vw, 2rem);
  color: var(--ink);
  text-decoration: none;
  background: var(--paper-3);
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}

.network-card:hover {
  background: var(--paper-2);
  transform: translateY(-2px);
}

.network-card-number {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
}

.network-card-domain {
  margin-top: 0.7rem;
  color: var(--gold-ink);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.network-card h3 {
  margin-top: 0.35rem;
  color: var(--wine);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.1;
}

.network-card p {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.7;
}

.network-card-action {
  margin-top: auto;
  padding-top: 1.2rem;
  color: var(--wine);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.network-card--pending {
  background: var(--paper-2);
  cursor: default;
}

.network-card--pending .network-card-action {
  color: var(--ink-mute);
}

.network-card--pending:hover {
  transform: none;
}

.network-note {
  max-width: 78ch;
  margin-top: 1.3rem;
  color: var(--ink-mute);
  font-size: 0.72rem;
  line-height: 1.65;
}

/* The small fixed guide */
.pitz-button {
  position: fixed;
  right: clamp(10px, 2vw, 24px);
  bottom: clamp(10px, 2vw, 24px);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  padding: 5px 5px 4px;
  border: 1px solid rgba(193, 139, 43, 0.55);
  border-radius: 2px;
  color: var(--wine);
  background: rgba(251, 247, 239, 0.94);
  box-shadow: 0 18px 36px -18px rgba(47, 34, 13, 0.45);
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
  backdrop-filter: blur(6px);
}

.pitz-button:hover {
  transform: translateY(-3px);
  background: var(--paper-3);
}

.pitz-button img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 84px;
  object-fit: contain;
  filter: drop-shadow(0 5px 5px rgba(47, 34, 13, 0.18));
}

.pitz-button span {
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Pitz dialog */
.pitz-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 32px));
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  background: var(--paper-3);
  box-shadow: 0 50px 120px -30px rgba(23, 21, 15, 0.55);
}

.pitz-dialog::backdrop {
  background: rgba(23, 21, 15, 0.58);
  backdrop-filter: blur(2px);
}

.pitz-dialog-inner {
  position: relative;
  padding: clamp(1.4rem, 4vw, 2.3rem);
}

.pitz-dialog-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.pitz-dialog-close svg {
  width: 14px;
  height: 14px;
}

.pitz-dialog-head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding-right: 2rem;
}

.pitz-dialog-head img {
  width: 64px;
  height: auto;
  max-height: 108px;
  object-fit: contain;
  filter: drop-shadow(0 10px 10px rgba(47, 34, 13, 0.16));
}

.pitz-dialog-head h2 {
  margin-top: 0.2rem;
  color: var(--wine);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.05;
}

.pitz-dialog-role {
  margin-top: 0.3rem;
  color: var(--gold-ink);
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pitz-dialog-text {
  margin-top: 1.5rem;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  line-height: 1.45;
}

.pitz-dialog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--gold);
  color: var(--wine);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .guide-figure {
    width: min(230px, 62vw);
  }

  .guide-copy {
    max-width: 700px;
  }

  .guide-copy h2 {
    max-width: 18ch;
  }

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

@media (max-width: 640px) {
  .network-grid {
    grid-template-columns: 1fr;
  }

  .network-card {
    min-height: 0;
  }

  .pitz-button {
    width: 58px;
    padding: 4px 4px 3px;
  }

  .pitz-button img {
    max-height: 70px;
  }

  .pitz-dialog-head img {
    width: 52px;
  }
}

@media print {
  .pitz-button,
  .pitz-dialog,
  .network-card-action {
    display: none !important;
  }
}

/* Pitz button: a small medallion, not a full figure in the margin */
.pitz-button {
  width: 64px;
  padding: 4px 3px 3px;
  border-radius: 32px;
}

.pitz-button img {
  width: 56px;
  height: 56px;
  max-height: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 36%;
}

.pitz-button span {
  margin-top: 1px;
  font-size: 6px;
  letter-spacing: 0.12em;
}

.pitz-button[aria-expanded="true"] {
  opacity: 0;
  pointer-events: none;
}

/* Five cards fill the grid deliberately: 3 + 2 wide */
.network-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.network-card {
  grid-column: span 2;
}

.network-card:nth-child(4),
.network-card:nth-child(5) {
  grid-column: span 3;
}

@media (max-width: 960px) {
  .network-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .network-card,
  .network-card:nth-child(4),
  .network-card:nth-child(5) {
    grid-column: auto;
  }

  .network-card:nth-child(5) {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .network-grid {
    grid-template-columns: 1fr;
  }

  .network-card:nth-child(5) {
    grid-column: auto;
  }
}

/* Light-background variant of the ghost button */
.guide-actions .btn--ghost {
  border-color: var(--line-strong);
  color: var(--wine);
}

.guide-actions .btn--ghost:hover {
  border-color: var(--wine);
  background: rgba(119, 43, 54, 0.06);
}

@media (max-width: 640px) {
  .guide-figure {
    width: min(180px, 55vw);
  }

  .pitz-button {
    right: 12px;
    bottom: 12px;
    width: 46px;
    padding: 2px;
    border-radius: 50%;
  }

  .pitz-button img {
    width: 40px;
    height: 40px;
  }

  .pitz-button span {
    display: none;
  }
}

.pitz-button.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
}

/* The historic Mediaș seal, 1549 */
.seal-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-aside .seal {
  filter: drop-shadow(0 12px 22px rgba(47, 34, 13, 0.14));
}

.hero-aside .seal {
  opacity: 0.62;
}

/* ==========================================================================
   Letters, exhibitions, medals and Charles Boner
   ========================================================================== */

.section--documents {
  background:
    radial-gradient(circle at 86% 4%, rgba(228, 178, 76, 0.12), transparent 28%),
    var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.documents-head {
  max-width: 900px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.documents-head h2 {
  margin-top: 0.9rem;
  color: var(--wine);
  font-size: clamp(2.6rem, 4.8vw, 5rem);
}

.documents-lead {
  max-width: 60ch;
  margin-top: 1rem;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.4;
}

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

.letter-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  margin: 0;
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
  background: var(--paper-3);
}

.letter-date {
  color: var(--gold-ink);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.letter-card p {
  margin-top: 1rem;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.55vw, 1.4rem);
  line-height: 1.42;
}

.letter-card cite {
  margin-top: auto;
  padding-top: 1.2rem;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.55rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.letters-note {
  max-width: 86ch;
  margin-top: 1rem;
  color: var(--ink-mute);
  font-size: 0.7rem;
  line-height: 1.65;
}

.documents-body {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

.documents-copy p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.82;
}

.documents-copy p + p {
  margin-top: 1.1rem;
}

.documents-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.document-figure {
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 22px 45px -38px rgba(47, 34, 13, 0.5);
}

.document-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.document-figure figcaption {
  display: flex;
  gap: 0.55rem;
  padding: 0.55rem 0.15rem 0.1rem;
  color: var(--ink-soft);
  font-size: 0.62rem;
  line-height: 1.5;
}

.document-number {
  flex: 0 0 auto;
  color: var(--gold-ink);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
}

.documents-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line);
  background: var(--line);
}

.documents-fact {
  padding: 1rem 1.1rem;
  background: var(--paper-3);
}

.documents-fact strong {
  display: block;
  color: var(--gold-ink);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  font-weight: 400;
  line-height: 1;
}

.documents-fact span {
  display: block;
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.65rem;
  line-height: 1.4;
}

@media (max-width: 960px) {
  .letters-grid {
    grid-template-columns: 1fr;
  }

  .letter-card {
    min-height: 0;
  }

  .documents-body {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .documents-figures {
    grid-template-columns: 1fr;
  }

  .documents-facts {
    grid-template-columns: 1fr;
  }
}

/* The fifth document (Bussell letter) closes the grid like a wide plate */
.document-figure:last-child {
  grid-column: 1 / -1;
}

/* The longer "wine story" label needs a little more room before the mobile menu. */
@media (max-width: 1200px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

/* Chapter source links */
.chapter-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.4rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--gold);
  color: var(--wine);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.chapter-link:hover {
  color: var(--gold-ink);
  border-color: var(--wine);
}

/* Historical grape varieties */
.wine-history {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
}

.wine-history-head {
  max-width: 760px;
}

.wine-history-head h3 {
  margin-top: 0.7rem;
  color: var(--wine);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.wine-history-head > p:last-child {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

.wine-history-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1.8rem;
  border: 1px solid var(--line);
  background: var(--line);
}

.wine-history-item {
  padding: 1rem;
  background: var(--paper-2);
}

.wine-history-item strong {
  display: block;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
}

.wine-history-item span {
  display: block;
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.68rem;
  line-height: 1.55;
}

.wine-history-note {
  max-width: 82ch;
  margin-top: 1rem;
  color: var(--ink-mute);
  font-size: 0.68rem;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .wine-history-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .wine-history-grid {
    grid-template-columns: 1fr;
  }
}

/* Seven historical varieties: the last card closes the 4+3 grid */
.wine-history-item:last-child {
  grid-column: span 2;
}

@media (max-width: 720px) {
  .wine-history-item:last-child {
    grid-column: auto;
  }
}

/* Archive preview: one row, then "All documents" reveals the rest */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.gallery-item {
  margin-bottom: 0;
}

.gallery:not(.is-expanded) .gallery-item.is-extra {
  display: none;
}

.gallery-actions {
  margin-top: 2rem;
  text-align: center;
}

.gallery-actions .btn--ghost {
  border-color: var(--line-strong);
  color: var(--wine);
}

.gallery-actions .btn--ghost:hover {
  border-color: var(--wine);
  background: rgba(119, 43, 54, 0.06);
}

@media (max-width: 960px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

/* Keep exactly one row when the archive is collapsed */
@media (max-width: 960px) {
  .gallery:not(.is-expanded) .gallery-item:nth-child(n+3) {
    display: none;
  }
}

@media (max-width: 640px) {
  .gallery:not(.is-expanded) .gallery-item:nth-child(n+2) {
    display: none;
  }
}

/* "over 4,000,000" prefix for the Caspari vine count */
.stat-prefix {
  display: block;
  margin-bottom: 0.12rem;
  color: var(--gold-ink);
  font-family: var(--mono);
  font-size: 0.3em;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat-value .stat-prefix {
  font-size: 0.22em;
}

/* ==========================================================================
   Pitz floating guide, Ambrosi-style: pill + anchored panel
   ========================================================================== */

.pitz-fab {
  position: fixed;
  right: clamp(14px, 2vw, 24px);
  bottom: clamp(14px, 2vh, 24px);
  z-index: 95;
}

.pitz-fab > summary {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 0.85rem 0.3rem 0.3rem;
  border: 1px solid rgba(243, 236, 223, 0.24);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 18px 38px -22px rgba(0, 0, 0, 0.65);
  cursor: pointer;
  list-style: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.pitz-fab > summary::-webkit-details-marker {
  display: none;
}

.pitz-fab > summary::marker {
  content: "";
}

.pitz-fab > summary:hover,
.pitz-fab > summary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px -22px rgba(0, 0, 0, 0.75);
}

.pitz-fab > summary:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.pitz-fab__avatar {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 0;
  background: var(--paper-3);
}

.pitz-fab__name {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pitz-fab__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(360px, calc(100vw - 28px));
  max-height: min(70vh, 520px);
  overflow: auto;
  padding: 1.35rem;
  border: 1px solid var(--line);
  background: var(--paper-3);
  box-shadow: 0 30px 70px -34px rgba(47, 34, 13, 0.55);
  transform-origin: bottom right;
  animation: pitz-fab-in 0.24s var(--ease) both;
}

@keyframes pitz-fab-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.pitz-fab__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pitz-fab__eyebrow {
  margin: 0;
  color: var(--gold-ink);
}

.pitz-fab__close {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.pitz-fab__close:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.pitz-fab__close svg {
  width: 14px;
  height: 14px;
}

.pitz-fab__title {
  margin: 0.7rem 0 0.65rem;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 400;
  line-height: 1.08;
}

.pitz-fab__lead {
  margin-bottom: 0.75rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.35;
}

.pitz-fab__quote {
  margin: 0.9rem 0;
  padding-left: 0.85rem;
  border-left: 2px solid var(--gold);
}

.pitz-fab__quote p {
  margin: 0;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.3;
}

.pitz-fab__quote cite {
  display: block;
  margin-top: 0.45rem;
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pitz-fab__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.pitz-fab__actions .btn {
  min-height: 2.6rem;
  font-size: 0.55rem;
}

.pitz-fab__actions .btn--ghost {
  border-color: var(--line-strong);
  color: var(--wine);
}

.pitz-fab__actions .btn--ghost:hover {
  border-color: var(--wine);
  background: rgba(119, 43, 54, 0.06);
}

@media (max-width: 520px) {
  .pitz-fab__name {
    display: none;
  }

  .pitz-fab > summary {
    padding: 0.25rem;
  }
}

/* Pages dropdown, left of the language pill */
.page-switch {
  position: relative;
}

.page-switch__button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 2.2rem;
  padding: 0 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-switch__button::-webkit-details-marker {
  display: none;
}

.page-switch__button::marker {
  content: "";
}

.page-switch__button:hover,
.page-switch[open] .page-switch__button {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.page-switch__chevron {
  width: 0.65rem;
  height: 0.65rem;
  opacity: 0.65;
  transition: transform 0.25s var(--ease);
}

.page-switch[open] .page-switch__chevron {
  transform: rotate(180deg);
}

.page-switch__menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 230;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  width: min(430px, calc(100vw - 2rem));
  max-height: min(70vh, 520px);
  overflow: auto;
  padding: 0.45rem;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: 0 22px 60px rgba(47, 34, 13, 0.16);
}

.page-switch__menu a {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  min-height: 2.35rem;
  padding: 0.55rem 0.6rem;
  color: var(--ink-soft);
  background: var(--paper-3);
  font-family: var(--sans);
  font-size: 0.74rem;
  line-height: 1.35;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.page-switch__menu a:hover {
  color: var(--wine);
  background: var(--paper-2);
}

.page-switch__num {
  flex: 0 0 auto;
  color: var(--gold-ink);
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
}

@media (max-width: 640px) {
  .page-switch {
    display: none;
  }
}

/* Discover Mediaș: concept links and pending destinations */
.page-switch__menu a,
.page-switch__item {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  min-height: 2.35rem;
  padding: 0.55rem 0.6rem;
  color: var(--ink-soft);
  background: var(--paper-3);
  font-family: var(--sans);
  font-size: 0.74rem;
  line-height: 1.35;
  text-decoration: none;
}

.page-switch__menu a:hover {
  color: var(--wine);
  background: var(--paper-2);
}

.page-switch__external {
  margin-left: auto;
  color: var(--gold-ink);
  font-size: 0.7rem;
}

.page-switch__item.is-pending {
  color: var(--ink-mute);
  cursor: default;
}

.page-switch__soon {
  margin-left: auto;
  color: var(--gold-ink);
  font-family: var(--mono);
  font-size: 0.45rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
