/* ============================================================
   NISYROS WINES — stylesheet
   Fonts: bookmania (Typekit) + JetBrains Mono (Google Fonts)
   ============================================================ */

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

:root {
  --bg:    #F5F2EE;
  --bg-alt:#EDE7DB;
  --ink:   #2B2725;
  --red:   #C46E4B;
  --amber: #EA9332;
  --stone: #C7BCA3;
  --faded: #C7BCA3;
  --muted: #494441;
  --nav-h: 52px;

  /* ── TYPOGRAPHY SCALE ── */
  --h0: clamp(3.5rem, 10vw, 9rem);
  --h2: clamp(2.5rem, 7vw, 6rem);
  --h3: clamp(1.6rem, 5vw, 3.5rem);
  --h4: clamp(1.2rem, 3vw, 2.4rem);
  --h5: clamp(0.9rem, 2vw, 1.2rem);
  --h6: clamp(0.62rem, 1.6vw, 0.78rem);
  --h6-family: 'JetBrains Mono', monospace;
  --p:  clamp(0.82rem, 1.8vw, 1rem);
}

html { scroll-snap-type: y mandatory; }
body { background: var(--bg); color: var(--ink); font-family: bookmania, Georgia, serif; overflow-x: hidden; }

#manifesto-wrapper, #hero, #wines-wrapper { scroll-snap-align: start; scroll-snap-stop: always; }
#faces, #contact { scroll-snap-align: start; scroll-margin-top: 0; }

/* paper grain */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 500; opacity: 0.35;
}

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: transparent;
  display: flex; align-items: center; justify-content: space-between;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
  z-index: 400;
}
@media (min-width: 640px) {
  #nav {
    padding-left: max(100px, env(safe-area-inset-left, 0px));
    padding-right: max(100px, env(safe-area-inset-right, 0px));
  }
}
#nav .nav-logo {
  font-family: tasman, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: 0;
  text-decoration: none;
  line-height: 1;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
#nav .nav-logo span { color: inherit; }
#nav.on-dark .nav-logo { color: #fff; }

.hamburger {
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 28px; height: 28px;
  cursor: pointer; z-index: 410; background: none; border: none; padding: 0;
}
.hamburger span { display: block; width: 100%; height: 1.5px; background: var(--ink); transition: transform 0.3s, opacity 0.3s, background 0.3s; }
#nav.on-dark .hamburger span { background: #fff; }
/* Open menu: overlay is dark, force white X regardless of section */
.hamburger.open span { background: #fff; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0;
  background: var(--ink); z-index: 405;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }
.nav-links { display: flex; flex-direction: column; align-items: center; gap: 0; list-style: none; }
.nav-links li a {
  display: block; font-family: bookmania, Georgia, serif; font-weight: 400;
  font-size: var(--h2); letter-spacing: 0; line-height: 1;
  color: rgba(255,255,255,0.8);
  text-decoration: none; padding: 0; text-align: center;
  transition: color 0.2s;
}
@media (max-width: 639px) {
  .nav-links li a { line-height: 1.25; }
}
.nav-links li a:hover { color: var(--red); }
.nav-links li a.active { color: var(--red); }

.section-anchor { display: block; height: 0; margin: 0; padding: 0; pointer-events: none; scroll-margin-top: 0; }

/* ── HORIZONTAL SCROLL ── */
.hscroll {
  display: flex; overflow-x: hidden; overflow-y: hidden;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  position: relative; flex: 1; min-height: 0;
}
.hscroll::-webkit-scrollbar { display: none; }
#wines-scroll { position: relative; z-index: 2; }
#wines-wrapper { position: relative; }
.hscroll-wrapper { position: relative; display: flex; flex-direction: column; height: 100svh; }

.hscroll-dots {
  display: flex; justify-content: center; gap: 8px; padding: 14px 0;
  position: relative; z-index: 20; pointer-events: auto; flex: 0 0 auto;
}
.hscroll-dots .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--stone); opacity: 0.3;
  transition: opacity 0.3s, transform 0.3s; cursor: pointer;
}
.hscroll-dots .dot.active { opacity: 1; transform: scale(1.3); background: var(--red); }

/* ── CHEVRON ARROWS ── */
.scroll-chevron {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 88px; height: 88px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; user-select: none; z-index: 15;
  opacity: 0.6; transition: opacity 0.3s;
}
.scroll-chevron:hover { opacity: 0.9; }
.scroll-chevron svg {
  width: 48px; height: 48px;
  stroke: var(--ink); stroke-width: 1.5;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.scroll-chevron-left { left: 0px; }
.scroll-chevron-right { right: 0px; }
#credo .scroll-chevron svg, .page .scroll-chevron svg { stroke: var(--bg); }

/* BOUNCE animation — only on the very first right chevron shown */
@keyframes bounce-right {
  0%, 100% { transform: translateY(-50%) translateX(0);    opacity: 0.6; }
  40%       { transform: translateY(-50%) translateX(22px); opacity: 1; }
  60%       { transform: translateY(-50%) translateX(8px);  opacity: 0.9; }
}
.scroll-chevron-right.first-bounce {
  animation: bounce-right 1.4s ease-in-out 0.6s infinite;
}
/* Once the user has scrolled, JS adds .user-interacted to .hscroll and the
   bounce stops. */
.hscroll.user-interacted .scroll-chevron-right.first-bounce {
  animation: none;
  opacity: 0.6;
}

/* ── MANIFESTO BOTTOM CONTROLS (counter left, [< · dots · >] centered, floating) ── */
.manifesto-controls {
  display: flex; align-items: center; justify-content: center;
  padding: 0; bottom: 18px;
  position: absolute; left: 0; right: 0;
  z-index: 20;
  background: transparent;
  pointer-events: none;
}
.manifesto-controls > * { pointer-events: auto; }
/* Per-slide counter: sits inside each .page so it scrolls with the slide.
   bottom offset tuned to line up its text baseline with the dots row in
   .manifesto-controls (controls: bottom 18px, row height ~44px → centre 40px). */
.page-counter {
  position: absolute;
  left: 24px; bottom: 32px;
  font-family: var(--h6-family);
  font-size: var(--h6);
  color: rgba(0,0,0,0.3);
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: 0.05em;
  z-index: 5;
  pointer-events: none;
}
@media (min-width: 640px) {
  .page-counter { left: 100px; }
}
@media (max-width: 440px) {
  .page-counter { display: none; }
}
#credo .page-counter { color: rgba(245,242,238,0.75); }
.manifesto-arrows {
  display: flex; align-items: center; gap: 14px;
}
.manifesto-arrows .scroll-chevron {
  position: static; transform: none;
  width: 44px; height: 44px;
}
.manifesto-arrows .scroll-chevron svg { width: 26px; height: 26px; stroke: rgba(0,0,0,0.3); }
.manifesto-controls .hscroll-dots { padding: 0; position: static; flex: 0 0 auto; }

/* Dark slide (credo): invert counter/arrows/dots */
.manifesto-controls.on-dark .slide-counter { color: rgba(245,242,238,0.75); }
.manifesto-controls.on-dark .scroll-chevron svg { stroke: var(--bg); }
.manifesto-controls.on-dark .hscroll-dots .dot { background: var(--bg); }
.manifesto-controls.on-dark .hscroll-dots .dot.active { background: var(--ink); }

/* Last slide: right arrow becomes invisible placeholder; counter + left arrow stay visible */
.manifesto-controls.on-last .manifesto-arrows .scroll-chevron-right { visibility: hidden; pointer-events: none; }

/* Bounce override for inline chevron layout */
@keyframes bounce-right-inline {
  0%, 100% { transform: translateX(0);    opacity: 0.6; }
  40%      { transform: translateX(12px); opacity: 1; }
  60%      { transform: translateX(4px);  opacity: 0.9; }
}
.manifesto-arrows .scroll-chevron-right.first-bounce {
  animation: bounce-right-inline 1.4s ease-in-out 0.6s infinite;
}

/* Directional arrow shown only inside .page-counter on slide #m1, fades out
   once the user has scrolled (parent .hscroll gets .user-interacted). */
.page-counter-arrow {
  display: inline-block;
  color: var(--red);
  font-weight: 500;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s, transform 0.3s;
}
#m1 .page-counter-arrow {
  opacity: 0.9;
  animation: counter-arrow-nudge 1.6s ease-in-out infinite;
}
.hscroll.user-interacted #m1 .page-counter-arrow {
  animation: none;
  opacity: 0;
}
@keyframes counter-arrow-nudge {
  0%, 100% { transform: translateX(0);   opacity: 0.7; }
  50%      { transform: translateX(6px); opacity: 1; }
}

/* ── First-slide lateral hint: large, vertical-centered, fades out on scroll ── */
/* Slide-I lateral hint. The gradient backdrop hints "more content this way"
   even before the user reads the label. */
.scroll-hint-right {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  cursor: pointer;
  padding: 24px 28px 24px 36px;
  display: flex; align-items: center; gap: 12px;
  color: var(--red);
  font-family: var(--h6-family);
  font-size: var(--h6);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 12;
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: auto;
  user-select: none;
  background: linear-gradient(
    to right,
    rgba(245, 242, 238, 0) 0%,
    rgba(245, 242, 238, 0.55) 60%,
    rgba(245, 242, 238, 0.85) 100%
  );
}
.scroll-hint-right-label {
  white-space: nowrap;
}
.scroll-hint-right-arrow {
  width: 28px; height: 28px;
  stroke: var(--red); stroke-width: 2;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
  animation: scroll-hint-right-nudge 1.6s ease-in-out infinite;
}
@keyframes scroll-hint-right-nudge {
  0%, 100% { transform: translateX(0);    opacity: 0.85; }
  50%      { transform: translateX(10px); opacity: 1; }
}
.hscroll.user-interacted .scroll-hint-right {
  opacity: 0;
  transform: translateY(-50%) translateX(20px);
  pointer-events: none;
}
@media (max-width: 640px) {
  /* The lateral hint overlaps the illustration on mobile. Hide it and lean
     instead on a louder version of the existing bottom chevron, only on
     slide I (controls get .on-first from JS). */
  .scroll-hint-right { display: none; }

  .manifesto-controls.on-first .scroll-chevron-right {
    width: 56px; height: 56px;
  }
  .manifesto-controls.on-first .scroll-chevron-right svg {
    width: 34px; height: 34px;
    stroke: var(--red); stroke-width: 2.4;
  }
  /* Once the user has scrolled, the controls leave slide I and the chevron
     returns to its default size/color automatically. */
}
@media (prefers-reduced-motion: reduce) {
  .scroll-chevron-right.first-bounce,
  .manifesto-arrows .scroll-chevron-right.first-bounce,
  .scroll-hint-right-arrow,
  #m1 .page-counter-arrow {
    animation: none;
  }
}

.scroll-hint-down {
  position: absolute; bottom: 56px; left: 50%; transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--faded); letter-spacing: 0.05em;
  animation: nudge-down 2s ease-in-out infinite;
  cursor: pointer; user-select: none;
  min-width: 52px; min-height: 52px;
  display: flex; align-items: center; justify-content: center; z-index: 10;
}
@keyframes nudge-down {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50%     { transform: translateX(-50%) translateY(8px); opacity: 1; }
}
#hero .scroll-hint-down { color: rgba(255,255,255,0.6); }
#credo .scroll-hint-down { color: var(--bg); font-size: clamp(2.4rem, 5vw, 3.2rem); }

.slide-counter {
  display: block;
  font-family: var(--h6-family);
  font-size: var(--h6);
  color: var(--muted); letter-spacing: 0.05em;
  margin-bottom: 48px;
}

/* ── ILLUSTRATIONS ── */
.panel-illust      { flex: 0 0 auto; width: clamp(160px, 30vw, 400px); opacity: 0.85; margin-right: 52px; align-self: flex-end; padding-bottom: clamp(40px, 6vh, 64px); }
.panel-illust svg, .panel-illust img  { width: 100%; height: auto; display: block; }

/* Desktop: each slide places its illustration inside the RIGHT COLUMN
   (the space next to the text). Positions are vertical × horizontal
   within that column, not absolute on the whole page. */
@media (min-width: 640px) {
  .page .panel-text {
    flex: 0 0 auto;
    width: min(46vw, 680px);
    position: relative; z-index: 1;
  }
  .panel-illust {
    flex: 1;
    position: relative;
    align-self: stretch;
    width: auto; min-width: 0;
    margin: 0; padding: 0;
    pointer-events: none;
  }
  .panel-illust img {
    position: absolute;
    width: clamp(200px, 22vw, 340px);
    height: auto; display: block;
  }
  /* 1: basso / centro */
  #m1 .panel-illust img    { left: 50%; bottom: 24px; transform: translateX(-50%); }
  /* 2: centro / centro */
  #m2 .panel-illust img    { left: 50%; top: 50%;    transform: translate(-50%, -50%); }
  /* 3: basso / centro */
  #m3 .panel-illust img    { left: 50%; bottom: 24px; transform: translateX(-50%); }
  /* 4: centro / centro */
  #m4 .panel-illust img    { left: 50%; top: 50%; transform: translate(-50%, -50%); }
  /* 5: alto / destra */
  #m5 .panel-illust img    { right: 24px; top: 24px; }
  /* 6: centro / destra */
  #m6 .panel-illust img    { right: 24px; top: 50%; transform: translateY(-50%); }
  /* 7 (credo): centro / centro */
  #credo .panel-illust img { left: 50%; top: 50%; transform: translate(-50%, -50%); }
}

/* ── PAGE BLOCKS ── */
.page {
  flex: 0 0 100vw; min-width: 100vw; height: 100%;
  display: flex; flex-direction: row; align-items: center;
  padding: calc(var(--nav-h) + 12px) 48px 16px;
  position: relative; overflow-x: hidden; overflow-y: auto;
}
.page .panel-text { flex: 1; min-width: 0; }

/* ── TYPE ── */
.big {
  font-family: bookmania, Georgia, serif; font-weight: 400;
  font-size: var(--h0);
  line-height: 0.92; letter-spacing: -0.02em;
  color: #2B2725;
  word-break: keep-all; overflow-wrap: normal;
}
.big.sm { font-size: var(--h2); }
/* single accent word per slide */
.big.red   { color: var(--red); }
.big.amber { color: var(--amber); }

.quote {
  font-family: 'JetBrains Mono', monospace; font-weight: 300;
  font-size: var(--h5);
  line-height: 1.65; color: var(--muted); max-width: 560px; margin-top: 10px;
}

hr.slash { border: none; border-top: 2px solid var(--red); width: 50px; margin: 12px 0; }

/* ── HERO ── */
#hero {
  background: var(--ink);
  display: flex; justify-content: center; align-items: center; text-align: center;
  width: 100%; min-height: 100svh;
  padding: calc(var(--nav-h) + 40px) 48px 60px;
  position: relative; overflow: hidden; margin-bottom: 0;
}
#hero .hero-bg {
  position: absolute; inset: 0;
  background-image: url('assets/nw-hero.jpg');
  background-size: cover; background-position: center 40%; z-index: 0;
}
#hero .hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(26,22,18,0.1) 0%, rgba(26,22,18,0.75) 100%);
}
#hero > div { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero-logo { display: block; width: clamp(200px, 55vw, 700px); height: auto; margin-top: 24px; margin-bottom: 20px; }
.hero-logo .logo-wordmark { fill: #fff; opacity: 1; }
.hero-logo .logo-baseline { fill: rgba(255,255,255,0.7); }
#hero .location { font-family: var(--h6-family); font-size: var(--h6); letter-spacing: 0.3em; color: rgba(255,255,255,0.7); text-transform: uppercase; margin-bottom: 12px; }
#hero .big { color: var(--bg); }
#hero .big.red { color: var(--red); }

/* ── MANIFESTO BG ── */
#m1 { background: var(--bg); }
#m2 { background: var(--bg-alt); }
#m3 { background: var(--bg); }
#m4 { background: var(--bg-alt); }
#m5 { background: var(--bg); }
#m6 { background: var(--bg-alt); }

/* slides II, IV → amber accent */
#m2 .big.red { color: var(--amber); }
#m2 hr.slash { border-top-color: var(--amber); }
#m4 .big.red { color: var(--amber); }
#m4 hr.slash { border-top-color: var(--amber); }

/* illustration colours per slide */
/* slides 2,4,7: colour set directly in SVG files (#EA9332) */
#credo .panel-illust img {
  filter: brightness(0.15);
}

/* credo */
#credo { background: var(--red); border-bottom: 1px solid rgba(41,37,35,0.1); }
#credo .big       { color: var(--bg); }
#credo .big.red   { color: var(--ink); }
#credo hr.slash   { border-top-color: rgba(245,242,238,0.35); }
#credo .sub {
  font-family: 'JetBrains Mono', monospace; font-weight: 300;
  font-size: var(--h5);
  color: rgba(245,242,238,0.8); margin-top: 22px; max-width: 540px; line-height: 1.75;
}

/* ── WINES ── */
.wine-card {
  flex: 0 0 100vw; min-width: 100vw; max-width: none; height: 100%;
  display: flex; flex-direction: row; align-items: flex-start;
  padding: calc(var(--nav-h) + 32px) clamp(56px, 6vw, 120px) 24px clamp(48px, 5vw, 100px);
  position: relative; overflow-x: hidden; overflow-y: auto;
  background: var(--bg); border-right: 1px solid rgba(41,37,35,0.06);
}
.wine-card:nth-child(odd) { background: var(--bg-alt); }
.wines-intro-card { flex: 0 0 100vw; min-width: 100vw; flex-direction: column !important; justify-content: center; align-items: flex-start !important; padding-top: var(--nav-h) !important; background: var(--bg) !important; }
.wines-intro-text { display: flex; flex-direction: column; }
.wine-discover-cta {
  font-family: var(--h6-family); font-weight: 300; font-size: var(--h5);
  color: var(--ink); background: none; border: none; cursor: pointer;
  padding: 0; margin-top: 32px; align-self: flex-start;
  text-decoration: underline; text-underline-offset: 5px;
}
.wine-card-inner { flex: 1; min-width: 0; padding: 0; display: flex; flex-direction: column; gap: 0; position: relative; z-index: 1; }
.wine-card-v3 .big.sm { margin-bottom: 0.12em; }
.wine-type { font-family: 'JetBrains Mono', monospace; font-weight: 300; font-size: var(--h5); color: var(--muted); margin-bottom: 24px; }
.wine-subtitle {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: var(--h5);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.wine-body-label { font-family: var(--h6-family); font-weight: 600; font-size: var(--h6); letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.wine-body-text { font-family: 'JetBrains Mono', monospace; font-weight: 300; font-size: 0.9rem; line-height: 1.7; color: var(--muted); }
.wine-collection { display: inline-block; font-family: var(--h6-family); font-weight: 300; font-size: var(--h6); letter-spacing: 0.3em; text-indent: 0.3em; text-transform: uppercase; color: var(--bg); background: var(--red); padding: 0.5em 0.5em 0.42em; margin-left: 8px; vertical-align: middle; line-height: 1; }
.wine-card[data-collection="nereides"]  .wine-collection { background: #C7BCA3; color: var(--ink); }
.wine-card[data-collection="monopatia"] .wine-collection { background: #EA9332; color: var(--ink); }
.wine-card[data-collection="volcanica"] .wine-collection { background: #C46E4B; color: var(--bg); }
.wine-card-v3 .wine-collection { margin-left: 0; margin-bottom: 14px; align-self: flex-start; font-weight: 500; letter-spacing: 0.08em; text-indent: 0.08em; padding: 0.5em 0.55em 0.42em; }
.wine-collection-desc {
  margin: 0 0 clamp(24px, 3vw, 40px);
  font-family: 'JetBrains Mono', monospace; font-weight: 300;
  font-size: clamp(0.66rem, 1.2vw, 0.78rem); line-height: 1.55;
  color: var(--muted);
}
.wines-collections-card { overflow: visible !important; }
.wines-collections-card .wine-card-inner { overflow: visible !important; }
.collections-eyebrow { font-family: var(--h6-family); font-weight: 300; font-size: var(--h6); letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink); margin-bottom: 40px; }
.wines-collections-card .big { margin-bottom: 96px; }
.collections-grid-v2 {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 64px);
}
.collection-icon-v2 { width: clamp(56px, 7vw, 88px); height: auto; display: block; margin-bottom: 20px; }
.collection-name-v2 {
  font-family: bookmania, Georgia, serif; font-weight: 400;
  font-size: var(--h3); line-height: 1.0; margin-bottom: 12px;
}
.collection-desc-v2 {
  font-family: var(--h6-family); font-weight: 300;
  font-size: var(--p); line-height: 1.7; color: var(--muted);
}

/* ── WINE CARD V3 (3-column) ── */
.wine-card-v3 {
  display: grid !important;
  grid-template-columns: clamp(280px, 38vw, 520px) 1fr clamp(140px, 18vw, 240px);
  align-items: start;
  column-gap: clamp(32px, 4vw, 72px);
  padding-bottom: clamp(56px, 7vh, 96px);
}
.wine-col-main { display: flex; flex-direction: column; }
.wine-col-texts { margin-top: 24px; display: flex; flex-direction: column; gap: 24px; max-width: 480px; }
.wine-col-texts .wine-body-label { margin-bottom: 12px; }
.wine-col-details { order: 2; display: flex; flex-direction: column; }
.wine-detail-row {
  display: flex; flex-direction: column; gap: 7px;
  padding: 7px 0 9px; border-bottom: 1px solid rgba(43,39,37,0.18);
}
.wine-detail-label {
  font-family: var(--h6-family); font-weight: 300;
  font-size: clamp(0.5rem, 1.2vw, 0.62rem);
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.wine-detail-value {
  font-family: 'JetBrains Mono', monospace; font-weight: 300;
  font-size: clamp(0.66rem, 1.35vw, 0.8rem); line-height: 1.35; color: var(--ink);
}
.wine-detail-footer {
  margin-top: 20px;
  font-family: 'JetBrains Mono', monospace; font-weight: 300;
  font-size: clamp(0.66rem, 1.35vw, 0.8rem); line-height: 1.35; color: var(--ink);
}
.wine-col-bottle {
  order: 1;
  display: flex; align-items: center; justify-content: center;
  align-self: center;
}
.wine-col-bottle img { max-width: 100%; max-height: 80vh; object-fit: contain; }

/* ── WINE CARD V3 — tablet: main + details stacked in col 1, bottle in col 2 ── */
@media (min-width: 640px) and (max-width: 1023px) {
  .wine-card-v3 {
    grid-template-columns: minmax(0, 1fr) clamp(200px, 30vw, 340px);
    grid-template-rows: auto auto;
    grid-template-areas:
      "main    bottle"
      "details bottle";
    column-gap: clamp(24px, 3.5vw, 56px);
    row-gap: clamp(28px, 3vw, 48px);
  }
  .wine-col-main    { grid-area: main; }
  .wine-col-details { grid-area: details; }
  .wine-col-bottle  { grid-area: bottle; }
}

/* ── FACES GALLERY WALL ── */
#faces {
  scroll-snap-align: start;
  scroll-margin-top: 0;
  position: relative; width: 100%; height: 100svh;
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
  --faces-max: clamp(390px, 72vh, 810px);
}
.faces-wall-header {
  flex: 0 0 auto;
  align-self: flex-start;
  padding-top: calc(var(--nav-h) + 32px);
  width: clamp(380px, 40vw, 560px);
}
.faces-wall-header .quote { margin-top: 20px; }
.faces-wall {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  gap: clamp(56px, 7vw, 128px);
  padding: 0 48px 100px max(100px, env(safe-area-inset-left, 0px));
  overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.faces-wall::-webkit-scrollbar { display: none; }
.faces-wall.dragging { cursor: grabbing; }

.faces-item { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; margin: 0; }
/* Hand-hung look: each photo drifts up off the baseline (kept biased upward so
   nothing pokes into the controls row at the section bottom) */
.faces-item:nth-of-type(6n+1) { transform: translateY(-50px); }
.faces-item:nth-of-type(6n+2) { transform: translateY(  8px); }
.faces-item:nth-of-type(6n+3) { transform: translateY(-44px); }
.faces-item:nth-of-type(6n+4) { transform: translateY(-12px); }
.faces-item:nth-of-type(6n+5) { transform: translateY(-32px); }
.faces-item:nth-of-type(6n+6) { transform: translateY( 10px); }
.faces-polaroid {
  background: #fff; padding: 14px; line-height: 0;
  box-shadow: 0 1px 2px rgba(43,39,37,0.12), 0 22px 40px -18px rgba(43,39,37,0.35);
}
.faces-polaroid img {
  display: block;
  max-width: var(--faces-max);
  max-height: var(--faces-max);
  width: auto; height: auto;
  user-select: none; -webkit-user-drag: none;
}
.faces-caption { margin: 18px 4px 0; max-width: var(--faces-max); }
.faces-label {
  font-family: var(--h6-family); font-weight: 300;
  font-size: var(--h6); letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 6px;
}
.faces-text {
  font-family: bookmania, Georgia, serif; font-weight: 400;
  font-size: var(--h5); line-height: 1.15; letter-spacing: -0.01em;
  color: var(--ink);
}
.faces-polaroid { cursor: zoom-in; }

/* Controls row (arrows + dots) at the bottom of the section */
.faces-controls {
  position: absolute; left: 0; right: 0; bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  z-index: 20; background: transparent; pointer-events: none;
}
.faces-controls > * { pointer-events: auto; }
.faces-arrows {
  display: flex; align-items: center; gap: 14px;
  background: rgba(245,242,238,0.82);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 6px 14px; border-radius: 32px;
}
.faces-arrows .scroll-chevron { position: static; transform: none; width: 44px; height: 44px; }
.faces-arrows .scroll-chevron svg { width: 26px; height: 26px; stroke: rgba(0,0,0,0.35); }
.faces-arrows .scroll-chevron.is-disabled { opacity: 0.2; pointer-events: none; }
#faces-dots { padding: 0; position: static; flex: 0 0 auto; }

/* Fullscreen lightbox */
.faces-lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(20,18,17,0.94);
  display: none; align-items: center; justify-content: center;
  padding: 0;
}
.faces-lightbox.open { display: flex; }
.faces-lightbox-stage {
  position: relative;
  display: inline-block;
  max-width: 100vw;
  max-height: 100svh;
  line-height: 0;
}
.faces-lightbox-img {
  max-width: 100vw;
  max-height: 100svh;
  width: auto; height: auto; display: block;
  object-fit: contain;
}
.faces-lightbox-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 48px 32px 28px;
  background: linear-gradient(to top, rgba(20,18,17,0.85) 0%, rgba(20,18,17,0) 100%);
  text-align: left; pointer-events: none;
  color: var(--bg); line-height: normal;
}
.faces-lightbox-caption .faces-label {
  color: var(--bg); opacity: 0.85; margin-bottom: 8px;
}
.faces-lightbox-caption .faces-text {
  color: var(--bg); max-width: 720px; margin: 0;
}
.faces-lightbox-caption:empty,
.faces-lightbox-caption .faces-label:empty,
.faces-lightbox-caption .faces-text:empty { display: none; }
.faces-lightbox-close, .faces-lightbox-prev, .faces-lightbox-next {
  position: absolute; background: transparent; border: none; cursor: pointer;
  padding: 0; color: #fff; opacity: 0.65; transition: opacity 0.2s;
}
.faces-lightbox-close:hover, .faces-lightbox-prev:hover, .faces-lightbox-next:hover { opacity: 1; }
.faces-lightbox-close { top: 20px; right: 24px; width: 40px; height: 40px; }
.faces-lightbox-prev  { left: 20px;  top: 50%; transform: translateY(-50%); width: 56px; height: 56px; }
.faces-lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; }
.faces-lightbox-close svg, .faces-lightbox-prev svg, .faces-lightbox-next svg {
  width: 100%; height: 100%; stroke: #fff; stroke-width: 1.5;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}

/* ── CONTACT ── */
#contact { background: var(--bg); min-height: auto; padding-top: 0; padding-bottom: 80px; }
.contact-grid { display: grid; grid-template-columns: 1fr; column-gap: 0; }
.contact-header { padding: calc(var(--nav-h) + 64px) 28px 48px; border-bottom: 1px solid rgba(41,37,35,0.12); }
.contact-block { padding: 40px 28px; border-bottom: 1px solid rgba(41,37,35,0.12); position: relative; }
.contact-grid > :last-child { border-bottom: none; }
#contact-loc { display: flex; flex-direction: column; justify-content: flex-end; }
.contact-map-link { display: inline-block; align-self: flex-start; font-family: var(--h6-family); font-weight: 300; font-size: var(--h6); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); text-decoration: none; margin-top: 16px; padding-bottom: 2px; border-bottom: 1px solid rgba(41,37,35,0.25); transition: color 0.2s, border-color 0.2s; }
.contact-map-link:hover { color: var(--red); border-color: var(--red); }
.contact-label { font-family: var(--h6-family); font-weight: 300; font-size: var(--h6); letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.contact-value { font-family: bookmania, Georgia, serif; font-weight: 400; font-size: var(--h3); line-height: 1.0; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 12px; text-transform: capitalize; }
.contact-value a { color: inherit; text-decoration: none; transition: color 0.2s; }
.contact-value a:hover { color: var(--red); }
.contact-sub { font-family: 'JetBrains Mono', monospace; font-weight: 300; font-size: var(--p); color: var(--muted); line-height: 1.75; }
.contact-social-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); transition: color 0.2s; }
.contact-social-link:hover { color: var(--red); }
.contact-social-link svg { width: clamp(28px, 5vw, 40px); height: clamp(28px, 5vw, 40px); }
.contact-social-name { font-family: bookmania, Georgia, serif; font-weight: 400; font-size: var(--h3); line-height: 1.0; }
/* smaller variant for "By appointment" / "Limited allocation" */
.contact-value--sm { font-size: var(--h3); }

/* wines wrapper */
#wines-wrapper { scroll-margin-top: 0; }

/* ── FOOTER ── */
footer { scroll-snap-align: end; background: var(--ink); color: var(--faded); font-family: var(--h6-family); font-size: var(--h6); letter-spacing: 0.25em; text-transform: uppercase; text-align: center; padding: 28px 24px calc(28px + env(safe-area-inset-bottom, 0px)); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 1; transform: none; }
.js-ready .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js-ready .reveal.on { opacity: 1; transform: none; }
.js-ready .reveal.d1 { transition-delay: 0.10s; }
.js-ready .reveal.d2 { transition-delay: 0.22s; }
.js-ready .reveal.d3 { transition-delay: 0.34s; }

/* ── MOBILE ── */
@media (max-width: 639px) {
  :root {
    --h0: 3.5rem;
    --h2: 2.4rem;
    --h3: 1.6rem;
    --h4: 1.2rem;
    --h5: 1rem;
    --h6: 0.68rem;
    --p:  0.9rem;
  }
  html { scroll-snap-type: y mandatory; }
  .hscroll { overflow-y: hidden; overscroll-behavior: contain; height: 100%; }
  #wines-scroll { overscroll-behavior: contain; overflow-y: hidden; }
  .page { flex-direction: column; padding: calc(var(--nav-h) + 20px) 24px 32px; gap: 16px; height: 100%; min-height: auto; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; align-items: center; justify-content: flex-start; }
  .page .panel-text { text-align: left; width: 100%; flex: 0 0 auto; margin-top: auto; }
  .panel-illust { position: static; width: clamp(120px, 44vw, 200px); align-self: center; margin: 32px 0 auto; padding: 0; flex: 0 0 auto; }
  .quote { margin-top: 8px; }
  #faces, #contact { scroll-margin-top: 0; }
  #hero { padding: calc(var(--nav-h) + 20px) 24px 40px; height: 100dvh; min-height: auto; align-items: center; justify-content: center; overflow: hidden; }
  #hero .hero-logo { width: clamp(200px, 65vw, 340px); margin-top: 16px; margin-bottom: 12px; }
  #wines-wrapper { height: 100dvh; min-height: auto; overflow: hidden; }
  #manifesto-wrapper { height: 100dvh; min-height: auto; overflow: hidden; }
  #faces { height: 100dvh; }
  .wine-card { flex-direction: column-reverse; flex: 0 0 100vw; min-width: 100vw; height: 100%; min-height: auto; padding: calc(var(--nav-h) + 2px) 20px 16px; align-items: stretch; gap: 0; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .wines-intro-card { flex-direction: column; flex: 0 0 100vw; min-width: 100vw; padding: calc(var(--nav-h) + 12px) 24px 16px !important; height: 100%; min-height: auto; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .wines-intro-card .wine-card-inner { padding-top: 0; display: flex; flex-direction: column; }
  .wines-intro-card .big { margin-bottom: 0; }
  .wines-intro-card hr.slash { margin-top: 4px; margin-bottom: 4px; }
  .wines-intro-card .quote { margin-bottom: 0; }
  .wines-intro-card div[style*="margin-top: 48px"] { margin-top: 12px !important; padding-top: 10px !important; flex: 1; min-height: 0; }
  .wine-card-inner { flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .wine-body-text { line-height: 1.5; }
  .wine-type { margin-bottom: 4px; }
  .wines-intro-card { padding: var(--nav-h) 24px 16px !important; }
  .wine-discover-cta { margin-top: 20px; }
  .collections-grid-v2 { grid-template-columns: 1fr; gap: 28px; }
  .collection-icon-v2 { width: 56px; margin-bottom: 12px; }
  .collection-name-v2 { font-size: var(--h4); margin-bottom: 8px; }
  .wine-card-v3 { height: 100dvh !important; overflow-y: auto !important; overflow-x: hidden; -webkit-overflow-scrolling: touch; padding: calc(var(--nav-h) + 16px) 56px 80px !important; grid-template-columns: 1fr !important; grid-template-rows: auto; }
  .wines-collections-card { height: 100dvh !important; overflow-y: auto !important; overflow-x: hidden; -webkit-overflow-scrolling: touch; padding: calc(var(--nav-h) + 16px) 56px 80px !important; }
  .wines-collections-card .big { margin-bottom: 40px !important; }
  .wine-col-details { margin-top: 24px; }
  /* Mobile order inside a wine card:
       1 name → 2 subtitle → 3 bottle → 4 body texts → 5 details
     Hoist .wine-col-main's children to the grid level so we can order
     name/subtitle separately from the body texts. */
  .wine-card-v3 .wine-col-main    { display: contents; }
  .wine-card-v3 .big.sm           { order: 1; text-align: center; font-size: 3rem; margin-top: 25px; }
  .wine-card-v3 .wine-subtitle    { order: 2; text-align: center; font-size: 0.85rem; }
  .wine-card-v3 .wine-col-bottle  { order: 3; margin-top: 46px; margin-bottom: 10px; }
  .wine-card-v3 .wine-col-texts   { order: 4; }
  .wine-card-v3 .wine-col-details { order: 5; }
  /* Bottle ~10% smaller on mobile (was 50vh). */
  .wine-col-bottle img { max-height: 45vh; }
  #faces { --faces-max: min(88vw, 50vh); }
  .faces-wall-header {
    position: absolute; top: 0; left: 0; right: 0;
    padding: calc(var(--nav-h) + 20px) 24px 0;
    z-index: 5; pointer-events: none;
    width: auto;
  }
  .faces-wall-header .quote { margin-top: 16px; }
  .faces-wall {
    gap: 28px;
    padding: clamp(230px, 32vh, 290px) 16px 90px;
    align-items: center;
  }
  .faces-polaroid { padding: 10px; }
  .faces-caption { margin-top: 14px; }
  /* On mobile the first item's upward lift (-50px from the global stagger)
     pulls it under the "Faces & Places" header. Push it down instead. */
  .faces-wall .faces-item:first-of-type { transform: translateY(24px); }
  /* Lift illustrations on the long-text slides so they don't overlap the
     dots row at the bottom of the manifesto on mobile. Title and body
     stay where they are. */
  #m4 .panel-illust { position: relative; top: -60px; }
  #m5 .panel-illust,
  #credo .panel-illust { position: relative; top: -40px; }
  .scroll-chevron { width: 52px; height: 52px; }
  .scroll-chevron svg { width: 28px; height: 28px; }
  .contact-header { padding: calc(var(--nav-h) + 40px) 24px 32px; }
  .contact-block { padding: 32px 24px; }
}

/* ── TABLET / DESKTOP ── */
@media (min-width: 640px) {
  .page { padding: calc(var(--nav-h) + 24px) 100px 32px; gap: 48px; }
  hr.slash { width: 80px; }
  .contact-header { padding: calc(var(--nav-h) + 64px) 100px 56px; }
  .contact-block { padding: 48px 100px; }
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid > :nth-child(odd) { border-right: 1px solid rgba(41,37,35,0.12); }
  .contact-grid > :last-child { border-bottom: 1px solid rgba(41,37,35,0.12); }
  .contact-grid > :nth-last-child(-n+2) { border-bottom: none; }
}
