/* ============================================
   C3LLAR — Tuscany Experience
   ============================================ */

@font-face {
  font-family: 'Albertus';
  src: url('fonts/AlbertusMTStd-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Plantin';
  src: url('fonts/Plantin Std Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #f5f1ea;
  --cream-2: #ede7dc;
  --plate: #d5cbbc;
  --plate-text: #857a6c;
  --ink: #1e1916;
  --ink-soft: #5c544d;
  --ink-faint: #8a827a;
  --line: rgba(30, 25, 22, 0.12);
  --bordeaux: #6b1a21;
  --bordeaux-deep: #4a1016;
  --bordeaux-light: #8c2a33;
  --brown: #2a221d;
  --brown-2: #352b25;
  --white: #fbf9f5;
  --font-display: 'Albertus', Georgia, serif;
  --font-body: 'Plantin', Georgia, serif;
  --font-label: 'Lato', 'Helvetica Neue', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container.narrow { max-width: 760px; }
.centered { text-align: center; }
.centered .section-body { margin-left: auto; margin-right: auto; }

/* ============================================
   Preloader
   ============================================ */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease;
}

.preloader.done { opacity: 0; }
.preloader.done .preloader-logo-fill { opacity: 0; transition: opacity 0.8s ease-in; }
.preloader.done .preloader-logo-img { filter: blur(0); }

.preloader-inner {
  position: absolute;
  inset: 0;
  animation: preloaderFadeIn 0.8s ease-out forwards;
}

.preloader-logo-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: url('assets/Logo_C3llar-2.svg');
  mask-image: url('assets/Logo_C3llar-2.svg');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  will-change: transform, opacity;
}

.preloader-logo-img {
  position: absolute;
  inset: 0;
  background-color: var(--bordeaux);
  background-image: url('assets/hero-first.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(4px);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
}

@keyframes preloaderFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s;
}

.nav.scrolled {
  background: rgba(245, 241, 234, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 1rem 2rem;
  box-shadow: 0 1px 0 var(--line);
}

.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 18px; width: auto; filter: drop-shadow(0 1px 8px rgba(0,0,0,0.35)); transition: filter 0.4s; }
.nav.scrolled .nav-logo-img, .nav-toggle.active ~ .nav-logo .nav-logo-img { filter: brightness(0); }
.nav.menu-open .nav-logo-img { filter: brightness(0); }

.nav-links { display: flex; align-items: center; gap: 1.8rem; position: relative; }

.nav-links a {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
  transition: color 0.45s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.4s;
  white-space: nowrap;
}

.nav.scrolled .nav-links a { color: var(--ink-soft); text-shadow: none; }
.nav-links a:hover, .nav.scrolled .nav-links a:hover { color: var(--bordeaux); }
.nav-links a.active { color: var(--bordeaux-light); }
.nav.scrolled .nav-links a.active { color: var(--bordeaux); }

.nav-cta {
  border: 1px solid rgba(251, 249, 245, 0.7);
  padding: 0.5rem 1.2rem;
  transition: all 0.3s !important;
}

.nav.scrolled .nav-cta { border-color: var(--bordeaux); color: var(--bordeaux) !important; }
.nav-cta:hover, .nav.scrolled .nav-cta:hover { background: var(--bordeaux); border-color: var(--bordeaux); color: var(--white) !important; }

.nav-links::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  height: 1px;
  width: var(--ind-w, 0px);
  background: var(--bordeaux);
  transform: translateX(var(--ind-x, 0px));
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), width 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  pointer-events: none;
}

.nav-links.has-active::after { opacity: 1; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--white);
  position: absolute;
  left: 0;
  transition: all 0.3s;
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

.nav.scrolled .nav-toggle span, .nav-toggle.active span { background: var(--ink); box-shadow: none; }

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; }
.nav-toggle span:nth-child(3) { top: 100%; }
.nav-toggle.active span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { top: 50%; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}

.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-menu-links { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }

.mobile-menu-links a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--ink);
  transition: color 0.3s;
}

.mobile-menu-links a:hover { color: var(--bordeaux); }

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--plate);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  pointer-events: none;
}

/* Dark veil for the centred title, cream fade at the very bottom to meet the page */
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(30,25,22,0.45) 0%, rgba(30,25,22,0) 100%),
    linear-gradient(to bottom, rgba(30,25,22,0.45) 0%, rgba(30,25,22,0.15) 30%, rgba(30,25,22,0.15) 70%, rgba(30,25,22,0.5) 100%),
    linear-gradient(to bottom, rgba(245,241,234,0) 90%, var(--cream) 100%);
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 0 1.5rem;
  width: 100%;
  max-width: 1400px;
}

.hero-invite {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(251, 249, 245, 0.85);
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  margin-bottom: 0.8rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out 0.3s, transform 1s ease-out 0.3s;
  display: none;
}

.hero-invite.active { display: block; }
.hero-content.visible .hero-invite { opacity: 1; transform: translateY(0); }

.hero-eyebrow {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(251, 249, 245, 0.9);
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 1s ease-out 0.4s, transform 1s ease-out 0.4s;
}

.hero-dot { margin: 0 0.35em; color: rgba(251, 249, 245, 0.5); }
.hero-content.visible .hero-eyebrow { opacity: 1; transform: translateY(0); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.4rem, 12vw, 11.5rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 4px 40px rgba(0,0,0,0.45), 0 1px 3px rgba(0,0,0,0.25);
  max-width: 9.5ch;
  margin: 0 auto 1.6rem;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.55s, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.55s;
}

.hero-content.visible .hero-title { opacity: 1; transform: translateY(0); }

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  color: rgba(251, 249, 245, 0.9);
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 1s ease-out 1.1s, transform 1s ease-out 1.1s;
}

.hero-content.visible .hero-subtitle { opacity: 1; transform: translateY(0); }

.scroll-indicator {
  position: absolute;
  z-index: 7;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.6s ease-out 1.4s;
}

.scroll-indicator.visible { opacity: 1; }

.scroll-indicator span {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(251, 249, 245, 0.7);
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(251,249,245,0.9), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   Sections — common
   ============================================ */

.section { padding: 7rem 0; position: relative; }

.section-tag {
  display: inline-block;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin-bottom: 1.4rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-tag.revealed { opacity: 1; transform: translateY(0); }
.section-tag.light { color: rgba(251, 249, 245, 0.7); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.005em;
  color: var(--ink);
  margin-bottom: 2rem;
}

.section-title.light { color: var(--white); }

.section-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
  max-width: 640px;
}

.section-body.light { color: rgba(251, 249, 245, 0.82); }

.section-body.highlight {
  color: var(--bordeaux);
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0;
}

/* ============================================
   The Journey (scrolls over the pinned hero)
   ============================================ */

.journey { padding-bottom: 0; }

.journey .container { position: relative; }

.facts {
  margin-top: 5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.facts-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
  text-align: center;
}

.fact { display: flex; flex-direction: column; gap: 0.6rem; flex: 0 0 auto; }
.fact-value { white-space: nowrap; }

.fact-label {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.fact-value {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.3;
}

/* ============================================
   Plates — image or typographic placeholder
   ============================================ */

.plate {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--plate);
}

.plate-wide { aspect-ratio: 16 / 9; }

.plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.plate-empty img { display: none; }

.plate-empty::after {
  content: attr(data-label);
  position: absolute;
  left: 1.2rem;
  bottom: 1rem;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--plate-text);
}

.plate-dark { background: var(--bordeaux-deep); }
.plate-dark.plate-empty::after { color: rgba(251, 249, 245, 0.45); }

/* ============================================
   The Places — full-screen scroll stack
   ============================================ */

.places { position: relative; background: var(--ink); }

/* One viewport of scroll per slide (intro + 6 places), driven by JS */
.places-track { position: relative; height: calc(6.7 * 134vh + 100vh); } /* 6 slides + 0.7 end hold, ~134vh of scroll per slide */

.places-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--cream);
}

.places-intro {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
  background: var(--cream);
  will-change: opacity, transform;
}

.places-intro .section-tag { margin-bottom: 1.6rem; }

.places-intro-title {
  font-family: var(--font-display);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(2.6rem, 8vw, 7.5rem);
  line-height: 0.98;
  color: var(--ink);
  margin-bottom: 1.6rem;
}

.places-intro-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: var(--ink-soft);
}

.place-slide {
  position: absolute;
  inset: 0;
  clip-path: inset(100% 0 0 0);
  will-change: clip-path;
  background: var(--ink);
}

.place-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.1);
  transform-origin: center center;
  will-change: transform, filter;
}

.place-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(30,25,22,0.35) 0%, rgba(30,25,22,0) 25%),
    linear-gradient(to top, rgba(30,25,22,0.82) 0%, rgba(30,25,22,0.45) 32%, rgba(30,25,22,0) 60%);
  pointer-events: none;
}

.place-text {
  position: absolute;
  left: max(2.5rem, 5vw);
  right: max(2.5rem, 5vw);
  bottom: clamp(3rem, 9vh, 6rem);
  color: var(--white);
  will-change: opacity, transform;
}

.place-town {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.64rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(251, 249, 245, 0.72);
  margin-bottom: 1rem;
}

.place-name {
  font-family: var(--font-display);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(2.4rem, 6.6vw, 6.4rem);
  line-height: 0.98;
  color: var(--white);
  margin-bottom: 1.2rem;
  max-width: 14ch;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}

.place-desc {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  color: rgba(251, 249, 245, 0.86);
  max-width: 540px;
}

.places-ui {
  position: absolute;
  right: max(2.5rem, 5vw);
  bottom: clamp(3rem, 9vh, 6rem);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.9rem;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.places-ui.on { opacity: 1; }

.places-counter {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: rgba(251, 249, 245, 0.9);
}

.places-counter-sep { margin: 0 0.35em; opacity: 0.5; }

.places-progress {
  width: 120px;
  height: 1px;
  background: rgba(251, 249, 245, 0.25);
  position: relative;
  overflow: hidden;
}

.places-progress span {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 100%;
  background: var(--white);
  transform-origin: left center;
  transform: scaleX(0);
}

/* ============================================
   Programme — Day by day
   ============================================ */

.programme .centered .section-title { margin-bottom: 3rem; }

.days { border-top: 1px solid var(--line); }

.day {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--line);
}

.day-side { position: sticky; top: 6rem; align-self: start; }

.day-num {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.6rem;
}

/* The date is the anchor of each day: big Albertus caps in bordeaux */
.day-date {
  font-family: var(--font-display);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--bordeaux);
  line-height: 1;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 0.3em;
}

.day-dd, .day-mm { font-size: clamp(1.35rem, 1.8vw, 1.7rem); }

.day-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.day-sub { font-size: 1.25rem; color: var(--bordeaux); }

.day-main .plate { margin-bottom: 1.8rem; }

/* Day 4 — the Palio: a full-bleed bordeaux hero inside the programme */
.day-palio {
  position: relative;
  background: var(--bordeaux);
  color: var(--white);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 92vh;
}

.palio-figure {
  aspect-ratio: auto;
  height: 100%;
  min-height: 92vh;
  margin: 0;
  background: var(--bordeaux-deep);
}

.palio-figure img { object-position: center 25%; }

.palio-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem clamp(2rem, 6vw, 6rem) 6rem clamp(2.5rem, 5vw, 5rem);
}


.palio-title {
  font-family: var(--font-display);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(3.4rem, 7.5vw, 7.5rem);
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 1.4rem;
}


.day-palio .day-desc { color: rgba(251, 249, 245, 0.84); max-width: 520px; }
.day-palio .day-num { color: rgba(251, 249, 245, 0.6); }
.day-palio .day-date { color: var(--white); border-bottom-color: rgba(251, 249, 245, 0.22); max-width: 260px; margin-bottom: 1.6rem; }
.day-palio .day-sub { color: rgba(251, 249, 245, 0.85); margin-bottom: 1.8rem; }
.palio-title { margin-bottom: 0.9rem; }

.day-desc { font-size: 1.05rem; line-height: 1.75; color: var(--ink-soft); margin-bottom: 1.1rem; max-width: 720px; }
.day-desc:last-child { margin-bottom: 0; }


/* ============================================
   The Wines — the pour: five bottles on a dated timeline
   ============================================ */

.wines { background: var(--brown); color: var(--white); overflow: hidden; }
.wines-intro { margin-bottom: 1.5rem; max-width: 720px; }

.pour {
  --bottle-h: 330px;
  --lx: 50%;
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 3.5rem 2rem 0;
}

/* the candle: a warm pool of light that travels along the shelf as the section scrolls */
.pour-light {
  position: absolute;
  top: 0;
  left: var(--lx);
  width: 46vw;
  max-width: 720px;
  height: calc(var(--bottle-h) + 8rem);
  transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 60% at 50% 70%, rgba(255, 196, 140, 0.22) 0%, rgba(255, 196, 140, 0.08) 45%, rgba(255, 196, 140, 0) 75%);
  pointer-events: none;
  will-change: left;
}

.pour-row {
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0 1.6rem;
}

/* the timeline: a thin lit line running under the bottles */
.pour-row::before {
  content: '';
  position: absolute;
  left: 2%; right: 2%;
  top: calc(var(--bottle-h) + 0.5rem);
  height: 1px;
  background: linear-gradient(to right, rgba(251,249,245,0) 0%, rgba(251,249,245,0.35) 8%, rgba(251,249,245,0.35) 92%, rgba(251,249,245,0) 100%);
}

.pour-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ghost numeral behind each bottle */
.pour-num {
  position: absolute;
  top: calc(var(--bottle-h) * 0.18);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(5rem, 11vw, 11rem);
  line-height: 1;
  color: rgba(251, 249, 245, 0.06);
  pointer-events: none;
  user-select: none;
}

.pour-bottle {
  position: relative;
  z-index: 1;
  height: var(--bottle-h);
  width: auto;
  aspect-ratio: 215 / 868;
  margin-top: 0;
  filter: drop-shadow(0 26px 30px rgba(0,0,0,0.55)) brightness(0.8);
  transition: filter 0.25s linear;
  will-change: filter;
}

.pour-node {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brown);
  border: 1px solid rgba(251, 249, 245, 0.7);
  margin: calc(0.5rem - 4px) 0 1.6rem;
  box-shadow: 0 0 0 4px var(--brown);
  transition: background 0.4s, box-shadow 0.4s;
}

.pour-item.lit .pour-node { background: var(--white); box-shadow: 0 0 0 4px var(--brown), 0 0 18px rgba(255, 210, 160, 0.6); }

.pour-text { max-width: 230px; }

.pour-when {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(251, 249, 245, 0.55);
  margin-bottom: 0.8rem;
}

.pour-house {
  font-family: var(--font-display);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.pour-cuvee { font-size: 0.92rem; color: rgba(251, 249, 245, 0.7); margin-bottom: 0.9rem; }
.pour-desc { font-size: 0.9rem; line-height: 1.65; color: rgba(251, 249, 245, 0.72); }

/* bottles rise one after another */
.pour-row .pour-item.reveal-up { transform: translateY(50px); }
.pour-row .pour-item.reveal-up.revealed { transform: translateY(0); }
.pour-row .pour-item:nth-child(2) { transition-delay: 0.12s; }
.pour-row .pour-item:nth-child(3) { transition-delay: 0.24s; }
.pour-row .pour-item:nth-child(4) { transition-delay: 0.36s; }
.pour-row .pour-item:nth-child(5) { transition-delay: 0.48s; }

@media (max-width: 1100px) {
  .pour { --bottle-h: 250px; }
  .pour-row { gap: 0 1rem; }
  .pour-text { max-width: 180px; }
  .pour-desc { font-size: 0.84rem; }
}

@media (max-width: 768px) {
  /* bottles stay five across (all visible at once); the texts stack below in the same order */
  .pour { --bottle-h: 150px; padding: 2.5rem 1.5rem 0; }
  .pour-light { width: 90vw; }
  .pour-row { grid-template-columns: repeat(5, 1fr); gap: 0 0.5rem; }
  .pour-row::before { left: 6%; right: 6%; }
  .pour-item { display: contents; }
  .pour-num { display: none; }
  .pour-bottle { grid-row: 1; justify-self: center; align-self: end; }
  .pour-node { grid-row: 2; justify-self: center; margin-bottom: 0; }
  .pour-text {
    grid-column: 1 / -1;
    max-width: none;
    text-align: left;
    display: grid;
    grid-template-columns: 2.4rem 1fr;
    column-gap: 0.4rem;
    padding: 1.6rem 0 0;
    margin-top: 1.6rem;
    border-top: 1px solid rgba(251, 249, 245, 0.1);
  }
  .pour-item:nth-child(1) .pour-text { margin-top: 2.4rem; border-top: none; padding-top: 0; }
  .pour-text::before {
    content: counter(pour, upper-roman);
    counter-increment: pour;
    grid-row: 1 / span 4;
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 1.5rem;
    line-height: 1;
    color: rgba(251, 249, 245, 0.35);
    padding-top: 0.15rem;
  }
  .pour-row { counter-reset: pour; }
  .pour-when, .pour-house, .pour-cuvee, .pour-desc { grid-column: 2; }
  .pour-house { font-size: 1.35rem; }
  .pour-desc { font-size: 0.95rem; }
  /* the reveal transform cannot apply to display: contents — fade the children instead */
  .pour-row .pour-item.reveal-up { transform: none; }
}

/* ============================================
   Investment
   ============================================ */

.investment { padding-bottom: 0; }
.investment-intro { margin-bottom: 3rem; }

.tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tier { padding: 2.6rem 1.5rem; }
.tier + .tier { border-left: 1px solid var(--line); }

.tier-name {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}

.tier-price {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--bordeaux);
  margin-bottom: 0.7rem;
}

.tier-note { font-size: 0.95rem; color: var(--ink-soft); }

@media (max-width: 560px) {
  .tiers { grid-template-columns: 1fr; }
  .tier + .tier { border-left: none; border-top: 1px solid var(--line); }
  .tier { padding: 2rem 1rem; }
}

/* ============================================
   RSVP
   ============================================ */

.rsvp { padding: 7rem 0 8rem; }
.rsvp .container { max-width: 720px; }
.rsvp-intro { margin-bottom: 3rem; }

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }

.form-group label {
  display: block;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.5rem;
}

.label-optional { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: 0.8; }

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(30, 25, 22, 0.25);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 0.7rem 0;
  transition: border-color 0.3s;
  outline: none;
  resize: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--bordeaux); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(30, 25, 22, 0.32); }

.booking-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.4rem;
}

.form-group label.booking-option {
  /* reset the small-caps label styling inherited from .form-group label */
  display: block;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 0;
  position: relative;
}
.booking-option input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }

.booking-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1.4rem 1rem 1.3rem;
  border: 1px solid rgba(30, 25, 22, 0.2);
  background: transparent;
  transition: border-color 0.3s, background 0.3s;
}

.booking-option:hover .booking-card { border-color: var(--bordeaux); }
.booking-option input:checked + .booking-card { border-color: var(--bordeaux); background: rgba(107, 26, 33, 0.06); }
.booking-option input:focus-visible + .booking-card { outline: 1px solid var(--bordeaux); outline-offset: 3px; }

.booking-type {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.booking-price {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.7rem;
  letter-spacing: 0.01em;
  color: var(--bordeaux);
  margin-top: 0.2rem;
}

.booking-option input:checked + .booking-card .booking-type { color: var(--bordeaux); }
.booking-label { font-size: 0.85rem; color: var(--ink-faint); }

.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-family: var(--font-body) !important;
  font-weight: 400 !important;
  font-size: 0.92rem !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--ink-soft) !important;
  line-height: 1.5 !important;
}

.checkbox-label input[type="checkbox"] { width: auto; margin-top: 0.25rem; accent-color: var(--bordeaux); }

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bordeaux);
  border: 1px solid var(--bordeaux);
  color: var(--white);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 1.05rem 2.4rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0.6rem auto 0;
}

.btn-submit:hover { background: var(--bordeaux-deep); border-color: var(--bordeaux-deep); }
.btn-submit:disabled { opacity: 0.6; cursor: default; }
.btn-submit svg { transition: transform 0.3s; }
.btn-submit:hover svg { transform: translateX(4px); }

.form-success { display: none; text-align: center; padding: 3rem 0; }
.form-success.visible { display: block; }

.success-icon {
  width: 60px;
  height: 60px;
  border: 1px solid var(--bordeaux);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--bordeaux);
  margin: 0 auto 2rem;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 1rem;
}

.form-success p { color: var(--ink-soft); font-size: 1rem; }
.success-contact { margin-top: 1.5rem; }
.success-contact a { color: var(--bordeaux); text-decoration: underline; text-underline-offset: 3px; }

.form-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ============================================
   Footer
   ============================================ */

.footer { padding: 3.5rem 0; border-top: 1px solid var(--line); }

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand { display: flex; align-items: center; }
.footer-logo-img { height: 16px; width: auto; filter: brightness(0); opacity: 0.85; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-size: 0.85rem; color: var(--ink-soft); transition: color 0.3s; }
.footer-links a:hover { color: var(--bordeaux); }

.footer-copy {
  font-size: 0.78rem;
  color: var(--ink-faint);
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
}

/* ============================================
   Scroll reveal
   ============================================ */

.reveal-text {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text.revealed { opacity: 1; transform: translateY(0); }

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.revealed { opacity: 1; transform: translateY(0); }


@media (prefers-reduced-motion: reduce) {
  .reveal-text, .reveal-up, .section-tag { opacity: 1; transform: none; transition: none; }
  .scroll-line { animation: none; }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .section { padding: 5.5rem 0; }
  .day { grid-template-columns: 200px 1fr; gap: 2.5rem; }
  .day-palio { grid-template-columns: 1fr; min-height: 0; }
  .palio-figure { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
  .palio-body { padding: 4rem 2.5rem 4.5rem; }
  .facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem 2rem; }
}

@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 768px) {
  .container { padding: 0 1.5rem; }
  .section { padding: 4.5rem 0; }
  .hero-eyebrow { font-size: 0.6rem; letter-spacing: 0.22em; line-height: 2; margin-bottom: 1.4rem; }
  .hero-title { font-size: clamp(3rem, 15vw, 4.6rem); max-width: none; }
  .hero-shade {
    background:
      radial-gradient(ellipse 90% 55% at 50% 50%, rgba(30,25,22,0.5) 0%, rgba(30,25,22,0) 100%),
      linear-gradient(to bottom, rgba(30,25,22,0.5) 0%, rgba(30,25,22,0.2) 30%, rgba(30,25,22,0.2) 70%, rgba(30,25,22,0.55) 100%),
      linear-gradient(to bottom, rgba(245,241,234,0) 92%, var(--cream) 100%);
  }
  .facts { margin-top: 3.5rem; }
  .facts-grid { gap: 1.8rem 1rem; padding-top: 2rem; padding-bottom: 2rem; }
  .plate { aspect-ratio: 4 / 3; }
  .day { grid-template-columns: 1fr; gap: 1.4rem; padding: 2.8rem 0; }
  .day-side { position: static; }
  .day-palio { grid-template-columns: 1fr; min-height: 0; }
  .palio-figure { min-height: 0; height: auto; aspect-ratio: 4 / 5; }
  .palio-body { padding: 3rem 1.5rem 3.5rem; }
  .day-dd, .day-mm { font-size: 1.35rem; }
  .form-row { grid-template-columns: 1fr; }
  .booking-options { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .btn-submit { width: 100%; justify-content: center; }
  .footer-content { flex-direction: column; text-align: center; }
  .footer-links { flex-direction: column; gap: 0.75rem; }
}

@media (max-width: 480px) {
  .section-title { font-size: 2rem; }
  .facts-grid { grid-template-columns: 1fr; }
}

/* Journey padding must survive the responsive .section overrides above */
.section.journey { padding: 6rem 0 0; }
@media (max-width: 768px) {
  .section.journey { padding-top: 4.5rem; }
}

/* ============================================
   Albertus rule — always caps, Light, slightly tight tracking
   ============================================ */

.hero-title, .section-title, .place-name, .places-intro-title, .palio-title, .day-title, .pour-house,
.fact-value, .mobile-menu-links a, .form-success h3 {
  font-family: var(--font-display);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* Caps run wider: trim the sizes set above */
.section-title { font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.12; }
.day-title { font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.1; }
.fact-value { font-size: clamp(1rem, 1.5vw, 1.2rem); }
.mobile-menu-links a { font-size: 1.35rem; }
.form-success h3 { font-size: 1.6rem; }

@media (max-width: 480px) {
  .section-title { font-size: 1.7rem; }
}

/* Places stack — mobile */
@media (max-width: 768px) {
  .place-text { left: 1.5rem; right: 1.5rem; bottom: 5rem; }
  .place-name { font-size: clamp(2rem, 9.5vw, 3rem); max-width: none; }
  .place-desc { font-size: 0.98rem; max-width: none; }
  .places-ui { right: 1.5rem; bottom: 1.6rem; flex-direction: row; align-items: center; gap: 0.8rem; }
  .places-progress { width: 70px; }
  .places-counter { font-size: 0.95rem; }
  .place-shade {
    background:
      linear-gradient(to bottom, rgba(30,25,22,0.35) 0%, rgba(30,25,22,0) 25%),
      linear-gradient(to top, rgba(30,25,22,0.9) 0%, rgba(30,25,22,0.6) 40%, rgba(30,25,22,0) 70%);
  }
}

/* Facts bar — mobile sizes (after the Albertus block so they win) */
@media (max-width: 768px) {
  .fact-value { font-size: 0.95rem; white-space: normal; }
}
