/* Vine Craft Cellars
   Layout: asymmetric. Content runs in a left column; a fixed "pour channel"
   in the right gutter holds the bottle (top) pouring into a glass (bottom).
   Palette: whitewashed Cycladic white, deep ink text, wine-red emphasis and
   dark gilt-foil labels. The pour colour changes with the wine in view. */

:root {
  --paper: #ffffff;
  --paper-2: #f6f5f1;
  --card: #fbfaf7;
  --ink: #16182a;
  --ink-2: #464a5e;
  --mute: #686b7e;
  --wine: #6e1430;
  --wine-dark: #520e23;
  --foil: #8a6824;
  --foil-soft: rgba(138, 104, 36, 0.34);
  --rule: rgba(22, 24, 42, 0.11);
  --rule-strong: rgba(22, 24, 42, 0.22);
  --pour: #8c1532;
  --pour-deep: #3f0a17;
  --pour-rich: #5c0e21;

  --c-white: #e2c867;
  --c-rose: #ee8f8c;
  --c-orange: #d98a3a;
  --c-red: #8c1532;
  --c-sweet: #5e1420;

  /* Type: EB Garamond for headings (classic, old-world, business-like) and Inter for text.
     Both include Greek, which the producer names and the Homer quote need. */
  --display: "EB Garamond", Garamond, "Adobe Garamond Pro", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --body: "Inter", "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif;

  --pour-gutter: clamp(54px, 18vw, 300px);
  --gutter-l: max(16px, env(safe-area-inset-left, 0px), 5vw);
  --header-h: 76px;
  --glass-w: clamp(38px, 6.4vw, 96px);

  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 72px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.gate-open { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--wine); color: #fff; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.06; text-wrap: balance; margin: 0; letter-spacing: -0.012em; color: var(--ink); font-variant-numeric: lining-nums; }
/* smaller pieces of display type carry a little more weight so they stay crisp on white */
.ps-value, .ps-name, .ports .nm, .wine .wname, .grape .gname, .pour-label .v, .label-view .lv-name { font-weight: 500; font-variant-numeric: lining-nums; }
p { margin: 0; }

.eyebrow { font-family: var(--body); font-size: 0.75rem; font-weight: 550; letter-spacing: 0.22em; text-transform: uppercase; color: var(--foil); }
:is(.section-head, .trade-copy, .gate-card, .intro) .eyebrow { color: var(--foil); font-size: 0.75rem; max-width: none; }
.greek { font-family: var(--display); font-style: normal; color: var(--mute); letter-spacing: 0.02em; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- atmosphere ---------- */
.atmosphere {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(55vw 45vh at 92% 0%, rgba(110, 20, 48, 0.06), transparent 70%),
    radial-gradient(60vw 50vh at 0% 55%, rgba(31, 78, 140, 0.045), transparent 70%);
}

/* ---------- pour stage (fixed layer, under content) ---------- */
.pour-stage { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.pour-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bottle {
  position: absolute; left: 0; top: 0; width: 120px; height: 420px;
  transform-origin: 60px 260px; will-change: transform;
  filter: drop-shadow(0 16px 22px rgba(22, 24, 42, 0.26));
}
.bottle .wine-fill { fill: var(--pour-deep); }
.glass {
  position: absolute; overflow: visible;
  width: var(--glass-w);
  right: calc(var(--pour-gutter) * 0.62 - var(--glass-w) / 2 + env(safe-area-inset-right, 0px));
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
}
.glass .wine-fill { fill: var(--pour); }
.glass .wine-stroke { stroke: var(--pour); }
.pour-label {
  position: absolute;
  left: calc(100% - var(--pour-gutter) * 0.62 + 22px - env(safe-area-inset-right, 0px));
  right: calc(10px + env(safe-area-inset-right, 0px));
  bottom: calc(36px + var(--glass-w) * 1.7 + env(safe-area-inset-bottom, 0px));
  font-size: 0.72rem; line-height: 1.4; letter-spacing: 0.04em; color: var(--mute);
  opacity: 0; transform: translateY(6px); transition: opacity .5s ease, transform .5s ease;
}
.pour-label.on { opacity: 1; transform: none; }
.pour-label .k { display: block; font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--foil); font-weight: 550; }
.pour-label .v { display: block; font-family: var(--display); font-size: 1.04rem; line-height: 1.15; color: var(--ink); letter-spacing: 0; margin: 4px 0 3px; }
.pour-label .p { display: block; }
.pour-label .ml { display: block; font-variant-numeric: tabular-nums; margin-top: 2px; }
.pour-label .ml.over { color: var(--wine); font-weight: 550; }
@media (max-width: 1180px) { .pour-label { display: none; } }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 31; background: var(--paper); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-left: max(16px, env(safe-area-inset-left, 0px), 4vw);
  padding-right: max(16px, env(safe-area-inset-right, 0px), 4vw);
  transition: background .4s ease, box-shadow .4s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--rule);
}
/* the logo sits in the top right corner; the menu takes the left */
.site-header .brand { order: 2; flex: none; }
.site-header .nav { order: 1; }
.brand { display: flex; align-items: center; text-decoration: none; min-width: 0; }
.brand-logo { display: block; height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 34px); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.nav a { text-decoration: none; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--wine); }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--rule-strong); border-radius: 50%; background: #fff; cursor: pointer; place-items: center; align-content: center; gap: 4px; }
.nav-toggle span { display: block; width: 16px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }
.nav .nav-cta { color: #fff; background: var(--wine); padding: 10px 18px; border-radius: 999px; }
.nav .nav-cta:hover { color: #fff; background: var(--wine-dark); }
.nav a.nav-cta.active { color: #fff; }
@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px max(16px, env(safe-area-inset-right, 0px), 4vw) 14px max(16px, env(safe-area-inset-left, 0px), 4vw);
    background: #fff; border-bottom: 1px solid var(--rule); box-shadow: 0 24px 36px -24px rgba(22, 24, 42, 0.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 15px 2px; font-size: 0.86rem; border-bottom: 1px solid var(--rule); }
  .nav-links a:last-child { border-bottom: 0; }
  .site-header.menu-open { background: #fff; }
}
.nav .nav-cta { white-space: nowrap; }
@media (max-width: 900px) { :root { --header-h: 68px; } .brand-logo { height: 50px; } }
@media (max-width: 420px) {
  .brand-logo { height: 44px; }
  .nav .nav-cta { padding: 9px 13px; font-size: 0.7rem; letter-spacing: 0.12em; }
}
@media (max-width: 370px) {
  .cta-more { display: none; }
  .btn { padding: 15px 20px; letter-spacing: 0.12em; }
}

/* ---------- shared layout ---------- */
main { position: relative; z-index: 2; }
.wrap {
  padding-left: var(--gutter-l);
  padding-right: calc(var(--pour-gutter) + max(0px, env(safe-area-inset-right, 0px)));
}
.wrap > .inner { max-width: 1180px; margin: 0 auto 0 0; }
@media (min-width: 1700px) { .wrap > .inner { margin: 0 auto; } }
section { position: relative; }
.section-pad { padding-block: clamp(64px, 8vw, 116px); }

.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); }
.section-head p { color: var(--ink-2); max-width: 62ch; font-size: 1.08rem; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 550 0.8rem/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  padding: 16px 24px; border-radius: 999px; border: 1px solid var(--rule-strong); color: var(--ink);
  background: transparent; cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.btn:hover { border-color: var(--wine); color: var(--wine); }
.btn.solid { background: var(--wine); color: #fff; border-color: var(--wine); }
.btn.solid:hover { background: var(--wine-dark); border-color: var(--wine-dark); color: #fff; transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; }

/* ---------- hero ---------- */
.hero {
  min-height: min(calc(100svh - var(--header-h)), 900px);
  display: grid; align-items: center;
  padding-block: clamp(28px, 6vh, 70px) clamp(80px, 12vh, 140px);
  overflow: hidden;
}
.hero .inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 32px; align-items: center; }
.hero-copy { display: grid; gap: 26px; position: relative; z-index: 2; }
.hero-quote { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.hero-quote .greek { font-size: 1.3rem; color: var(--wine); }
.hero-quote span:last-child { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); }
/* the full logo is the page's main title */
.hero-logo { margin: 0; line-height: 0; }
.hero-logo img { display: block; width: min(100%, 660px); height: auto; margin-left: -1.5%; }
.hero-lede { font-size: clamp(1.1rem, 1.6vw, 1.32rem); max-width: 46ch; color: var(--ink-2); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-slot { height: min(62vh, 560px); position: relative; }
.scroll-cue {
  position: absolute; left: var(--gutter-l); bottom: clamp(24px, 4vh, 40px);
  display: flex; align-items: center; gap: 12px; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mute);
}
.scroll-cue i { width: 9px; height: 13px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: var(--pour); display: block; animation: drip 2.2s ease-in infinite; }
@keyframes drip {
  0% { transform: translateY(-6px) scale(.6); opacity: 0; }
  30% { opacity: 1; }
  80% { transform: translateY(14px) scale(1); opacity: 1; }
  100% { transform: translateY(18px) scale(1.1); opacity: 0; }
}
.sea-canvas {
  position: absolute; left: 0; right: 0; bottom: 0; height: 46%; width: 100%; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 45%); mask-image: linear-gradient(to bottom, transparent, #000 45%);
}
@media (max-width: 760px) {
  /* phones: logo full width on top, then the intro beside the bottle, then the buttons */
  .hero .inner {
    grid-template-columns: minmax(0, 1fr) 34%; column-gap: 6px; row-gap: 20px; align-items: start;
    grid-template-areas: "quote quote" "logo logo" "lede slot" "actions actions";
  }
  .hero-copy { display: contents; }
  .hero-quote { grid-area: quote; }
  .hero-logo { grid-area: logo; }
  .hero-logo img { width: 100%; margin-left: 0; }
  .hero-lede { grid-area: lede; position: relative; z-index: 2; font-size: 1.05rem; }
  .hero-actions { grid-area: actions; position: relative; z-index: 2; margin-top: 0; }
  .hero-slot { grid-area: slot; height: auto; min-height: 210px; }
}

/* ---------- intro ---------- */
.intro .inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro h2 { font-size: clamp(2.3rem, 4.6vw, 4rem); }
.intro h2 em { color: var(--wine); }
.intro-body { display: grid; gap: 22px; color: var(--ink-2); }
.intro-body p { max-width: 58ch; }
.pillars { display: grid; margin-top: 16px; border-top: 1px solid var(--rule); }
.pillar { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding-block: 18px; border-bottom: 1px solid var(--rule); }
.pillar dt { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--foil); padding-top: 4px; font-weight: 550; }
.pillar dd { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 860px) { .intro .inner { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .pillar { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- map / route ---------- */
.route .inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); column-gap: clamp(28px, 5vw, 72px); row-gap: 32px;
  grid-template-areas: "map head" "map ports";
}
.route-head { grid-area: head; align-self: end; margin-bottom: 0; }
.route .map-box { grid-area: map; align-self: center; }
.route .ports { grid-area: ports; align-self: start; }
.map-box { position: relative; max-width: 600px; width: 100%; }
.map-box svg {
  width: 100%; height: auto; display: block; overflow: hidden;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 55%, #000 62%, transparent 100%); mask-image: radial-gradient(120% 100% at 50% 55%, #000 62%, transparent 100%);
}
.map-greece { fill: rgba(22, 24, 42, 0.05); stroke: rgba(138, 104, 36, 0.8); stroke-width: 0.8; stroke-linejoin: round; }
.map-neighbors { fill: none; stroke: rgba(22, 24, 42, 0.14); stroke-width: 0.6; }
.map-sea { font-family: var(--display); font-style: italic; fill: rgba(70, 74, 94, 0.62); font-size: 15px; letter-spacing: 0.12em; }
.map-route { fill: none; stroke: var(--wine); stroke-width: 1.4; stroke-dasharray: 2 6; stroke-linecap: round; opacity: .8; }
.route-reveal { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 2.6s cubic-bezier(.45,.05,.3,1) .2s; }
.route-reveal.pre-draw { stroke-dashoffset: 1; }
.map-pin { cursor: pointer; text-decoration: none; }
.map-pin .ring { fill: none; stroke: var(--pin, var(--wine)); stroke-width: 1.4; opacity: .8; transform-box: fill-box; transform-origin: center; animation: ping 2.8s ease-out infinite; }
.map-pin .dot { fill: var(--pin, var(--wine)); stroke: rgba(22, 24, 42, 0.55); stroke-width: 1.2; }
.map-pin text { font-family: var(--body); font-size: 13px; font-weight: 500; fill: var(--ink); letter-spacing: 0.04em; paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.map-pin text.sub { font-size: 10.5px; font-weight: 450; fill: var(--mute); letter-spacing: 0.12em; text-transform: uppercase; }
.map-pin:hover .dot, .map-pin:focus .dot, .map-pin.hot .dot { r: 8; }
.map-pin:focus { outline: none; }
.map-pin:focus-visible text:first-of-type { text-decoration: underline; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }

.ports { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--rule); }
.ports li { border-bottom: 1px solid var(--rule); }
.ports a { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 18px; align-items: baseline; padding: 18px 4px; text-decoration: none; transition: background .25s, padding .25s; }
.ports a:hover, .ports a.hot { background: linear-gradient(90deg, rgba(110, 20, 48, 0.06), transparent); padding-left: 12px; }
.ports .lat { font-size: 0.78rem; color: var(--foil); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; font-weight: 550; }
.ports .nm { font-family: var(--display); font-size: 1.5rem; line-height: 1.1; }
.ports .nm small { display: block; font-family: var(--body); font-size: 0.78rem; color: var(--mute); letter-spacing: 0.04em; margin-top: 4px; }
.ports .ct { font-size: 0.78rem; color: var(--mute); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .route .inner { grid-template-columns: 1fr; grid-template-areas: "head" "map" "ports"; }
  .map-box { margin: 0 auto; }
}
@media (max-width: 600px) {
  /* the map is drawn smaller on phones, so its labels are set larger to stay readable */
  .map-pin text { font-size: 21px; stroke-width: 6px; }
  .map-pin text.sub { display: none; }
  .map-sea { font-size: 20px; }
  .map-pin .dot { r: 8; }
  .map-pin .ring { r: 12; }
}
@media (max-width: 480px) { .ports a { grid-template-columns: 62px minmax(0, 1fr); } .ports .ct { grid-column: 2; } }

/* ---------- portfolio filters: producer dropdown + search ---------- */
.filters {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); z-index: 12;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding-block: 12px; margin-bottom: 36px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.producer-select { position: relative; flex: 1 1 250px; max-width: 380px; min-width: 0; }
.ps-button {
  width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px;
  font: inherit; text-align: left; color: var(--ink); cursor: pointer;
  background: #fff; border: 1px solid var(--rule-strong); border-radius: 12px; padding: 9px 14px 9px 12px;
  transition: border-color .2s, box-shadow .2s;
}
.ps-button:hover { border-color: var(--wine); }
.ps-button[aria-expanded="true"] { border-color: var(--wine); box-shadow: 0 0 0 3px rgba(110, 20, 48, 0.1); }
.ps-kicker { display: block; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--foil); font-weight: 550; line-height: 1.2; }
.ps-value { display: block; font-family: var(--display); font-size: 1.15rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-count { font-size: 0.78rem; color: var(--mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ps-chev { width: 14px; height: 14px; color: var(--mute); transition: transform .25s; }
.ps-button[aria-expanded="true"] .ps-chev { transform: rotate(180deg); }
.ps-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--dot, conic-gradient(var(--c-white) 0 25%, var(--c-orange) 0 45%, var(--c-red) 0 80%, var(--c-rose) 0)); box-shadow: 0 0 0 1px rgba(22, 24, 42, 0.18), 0 0 0 4px #fff, 0 0 0 5px rgba(22, 24, 42, 0.08); flex: none; }
.ps-list {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 40; width: max(100%, 340px); max-width: calc(100vw - 32px);
  margin: 0; padding: 8px; list-style: none;
  background: #fff; border: 1px solid var(--rule); border-radius: 14px;
  box-shadow: 0 24px 48px -18px rgba(22, 24, 42, 0.32), 0 4px 12px -4px rgba(22, 24, 42, 0.1);
  max-height: min(70vh, 520px); overflow-y: auto;
  transform-origin: top left; animation: ps-in .18s ease-out;
}
@keyframes ps-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.ps-list li {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 12px 12px; border-radius: 10px; cursor: pointer; transition: background .15s;
}
.ps-list li + li { margin-top: 2px; }
.ps-list li.sep { margin-top: 6px; position: relative; }
.ps-list li.sep::before { content: ""; position: absolute; left: 12px; right: 12px; top: -4px; height: 1px; background: var(--rule); }
.ps-list li:hover, .ps-list li.active { background: var(--paper-2); }
.ps-list li[aria-selected="true"] { background: rgba(110, 20, 48, 0.07); }
.ps-name { font-family: var(--display); font-size: 1.12rem; line-height: 1.2; min-width: 0; }
.ps-name small { display: block; font-family: var(--body); font-size: 0.74rem; color: var(--mute); letter-spacing: 0.02em; margin-top: 2px; }
.ps-n { font-size: 0.78rem; color: var(--mute); font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 8px; }
.ps-n svg { width: 14px; height: 14px; color: var(--wine); visibility: hidden; }
.ps-list li[aria-selected="true"] .ps-n svg { visibility: visible; }

.search { position: relative; flex: 1 1 190px; max-width: 280px; min-width: 0; margin-left: auto; }
.search input {
  width: 100%; font: 400 0.92rem/1 var(--body); color: var(--ink);
  background: #fff; border: 1px solid var(--rule-strong); border-radius: 999px; padding: 13px 36px 13px 40px;
}
.search input::placeholder { color: var(--mute); }
.search input:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(110, 20, 48, 0.1); }
.search svg { position: absolute; left: 14px; top: 50%; width: 15px; height: 15px; transform: translateY(-50%); color: var(--mute); }
.search button { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; border: 0; background: transparent; color: var(--mute); cursor: pointer; font-size: 1rem; }
.search button:hover { color: var(--ink); background: var(--paper-2); }
.filter-status { width: 100%; display: flex; align-items: center; gap: 12px; font-size: 0.82rem; color: var(--ink-2); }
.filter-status:empty { display: none; }
.filter-status button { font: 550 0.72rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--wine); background: none; border: 0; padding: 4px 0; cursor: pointer; border-bottom: 1px solid currentColor; }
@media (max-width: 700px) {
  .producer-select, .search { flex: 1 1 100%; max-width: none; margin-left: 0; }
  .filters { position: static; }
}
@media (max-height: 520px) { .filters { position: static; } } /* short screens (phones held sideways) */

/* ---------- chapters + wine cards ---------- */
.chapter {
  display: grid; grid-template-columns: minmax(250px, 330px) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px);
  padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--rule);
}
.chapter:first-of-type, .filters + .chapter { border-top: 0; padding-top: 8px; }
.chapter-info { position: sticky; top: calc(var(--header-h) + 100px); align-self: start; display: grid; gap: 16px; }
.chapter-mark { display: flex; align-items: center; gap: 12px; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--foil); font-variant-numeric: tabular-nums; font-weight: 550; }
.chapter-mark::after { content: ""; flex: 1; height: 1px; background: var(--foil-soft); }
.chapter h3 { font-size: clamp(2.5rem, 4.4vw, 3.7rem); }
.chapter .greek { font-size: 1.15rem; margin-top: -6px; }
.chapter .place { font-size: 0.86rem; color: var(--mute); letter-spacing: 0.03em; }
.chapter .story { color: var(--ink-2); font-size: 0.98rem; }
.facts { display: grid; margin: 4px 0 0; border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding-block: 10px; border-bottom: 1px solid var(--rule); font-size: 0.86rem; }
.facts dt { color: var(--foil); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; padding-top: 3px; font-weight: 550; }
.facts dd { margin: 0; color: var(--ink-2); }
.producer-link { font-size: 0.8rem; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--rule-strong); justify-self: start; padding-bottom: 2px; }
.producer-link:hover { color: var(--wine); border-color: var(--wine); }
@media (max-width: 900px) { .chapter { grid-template-columns: 1fr; } .chapter-info { position: static; } }

.wine-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; align-content: start; }
.series-head { grid-column: 1 / -1; display: grid; gap: 4px; padding-top: 22px; }
.series-head:first-child { padding-top: 0; }
.series-head h4 { font-size: 1.7rem; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.series-head h4 span { font-family: var(--body); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.series-head p { color: var(--ink-2); font-size: 0.92rem; max-width: 62ch; }

.wine {
  --hue: var(--c-red);
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 0;
  padding: 7px;
  background: var(--card);
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px var(--rule), inset 0 0 0 5px transparent, inset 0 0 0 6px rgba(22, 24, 42, 0.05);
  transition: box-shadow .35s ease, background .35s ease;
}
/* A card only lights up under the mouse. Nothing is highlighted by default (the wine being poured is
   named beside the glass instead), and touch screens get no highlight, since a tap would leave it stuck. */
@media (hover: hover) {
  .wine:hover {
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hue) 70%, #000 10%), inset 0 0 0 5px transparent, inset 0 0 0 6px color-mix(in srgb, var(--hue) 30%, transparent), 0 20px 40px -26px color-mix(in srgb, var(--hue) 80%, transparent);
  }
}
/* the real bottle and label, on a white plinth with a faint wash of the wine's colour */
.wine-photo {
  position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 304px; padding: 20px 12px 16px;
  border: 0; border-radius: 1px; font: inherit; color: inherit; cursor: zoom-in; overflow: hidden;
  background: radial-gradient(60% 52% at 50% 62%, color-mix(in srgb, var(--hue) 17%, #fff) 0%, #fff 74%);
}
.wine-photo img {
  display: block; flex: none; height: 268px; max-height: 100%; width: auto; max-width: 100%; min-height: 0; object-fit: contain;
  mix-blend-mode: multiply; /* white studio backgrounds melt into the plinth */
}
.wine-photo.cutout img { filter: drop-shadow(0 10px 9px rgba(22, 24, 42, 0.2)); }
/* the bottles stay still on hover; only the card's frame lights up */
.wine-photo .zoom {
  position: absolute; right: 10px; bottom: 10px; font-size: 0.6rem; font-weight: 550; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-2); background: rgba(255, 255, 255, 0.92); border: 1px solid var(--rule-strong); border-radius: 999px; padding: 6px 10px;
  opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s;
}
.wine-photo:hover .zoom, .wine-photo:focus-visible .zoom { opacity: 1; transform: none; }
@media (hover: none) { .wine-photo .zoom { opacity: 1; transform: none; } }
.wine-photo.no-photo { cursor: default; }
.wine-bottle { height: 210px; width: auto; filter: drop-shadow(0 6px 6px rgba(22, 24, 42, 0.18)); }
.wine-body { display: grid; gap: 10px; align-content: start; min-width: 0; padding: 18px 15px 17px; }

/* enlarged label view */
.label-view {
  border: 0; padding: 0; border-radius: 6px; background: #fff; color: var(--ink);
  max-width: min(92vw, 560px); width: max-content; max-height: 94vh; overflow: auto;
  box-shadow: 0 40px 80px -30px rgba(22, 24, 42, 0.55);
}
.label-view::backdrop { background: rgba(22, 24, 42, 0.58); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.label-view figure { margin: 0; display: grid; justify-items: center; gap: 18px; padding: clamp(26px, 5vw, 44px) clamp(26px, 6vw, 60px) clamp(22px, 4vw, 34px); }
.label-view img { display: block; width: auto; height: auto; max-width: 100%; max-height: min(70vh, var(--max-h, 900px)); mix-blend-mode: multiply; }
.label-view figcaption { display: grid; gap: 5px; text-align: center; max-width: 34ch; }
.label-view .lv-name { font-family: var(--display); font-size: 1.7rem; line-height: 1.1; }
.label-view .lv-grapes { font-size: 0.86rem; color: var(--ink-2); }
.lv-close {
  position: sticky; top: 10px; float: right; margin: 10px 10px -52px 0; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--rule-strong); background: #fff; color: var(--ink);
  font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.lv-close:hover { border-color: var(--wine); color: var(--wine); }
body.label-open { overflow: hidden; }
.wine-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.style-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); font-weight: 550; }
.style-tag i { width: 9px; height: 9px; border-radius: 50%; background: var(--hue); box-shadow: 0 0 0 1px rgba(22, 24, 42, 0.2), 0 0 0 3px color-mix(in srgb, var(--hue) 22%, transparent); }
.appellation { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--foil); border: 1px solid var(--foil-soft); padding: 3px 7px; border-radius: 2px; white-space: nowrap; font-weight: 550; }
.wine .wname { font-family: var(--display); font-weight: 400; font-size: 1.62rem; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.005em; color: var(--ink); }
.wine .grapes { font-size: 0.86rem; color: var(--foil); letter-spacing: 0.02em; font-weight: 500; }
.wine .notes { font-size: 0.93rem; color: var(--ink-2); line-height: 1.6; }
.wine .notes.pending { font-style: italic; color: var(--mute); font-size: 0.86rem; }
.wine .accolade { font-size: 0.78rem; color: var(--wine); display: flex; gap: 8px; align-items: baseline; line-height: 1.45; font-weight: 500; }
.wine .accolade::before { content: ""; flex: none; width: 7px; height: 7px; transform: rotate(45deg) translateY(-1px); background: var(--foil); }
.wine dl { margin: 4px 0 0; display: grid; gap: 6px; font-size: 0.82rem; }
.wine dl div { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; }
.wine dt { color: var(--mute); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; padding-top: 3px; font-weight: 550; }
.wine dd { margin: 0; color: var(--ink-2); }

.spirits-note {
  margin-top: clamp(40px, 6vw, 72px); display: flex; gap: 22px; align-items: center; flex-wrap: wrap;
  padding: 26px 28px; border: 1px solid var(--rule); border-radius: 3px; background: var(--card);
}
.spirits-note h4 { font-size: 1.6rem; }
.spirits-note p { color: var(--ink-2); font-size: 0.95rem; flex: 1 1 320px; }

/* ---------- grapes ---------- */
.grape-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.grape { display: grid; gap: 8px; align-content: start; padding: 24px 22px 22px; background: #fff; text-align: left; color: inherit; font: inherit; border: 0; cursor: pointer; position: relative; transition: background .3s; }
.grape:hover { background: var(--paper-2); }
.grape::before { content: ""; position: absolute; left: 22px; top: 0; width: 28px; height: 3px; background: var(--g, var(--c-white)); }
.grape > span { display: block; }
.grape .gname { font-family: var(--display); font-size: 1.75rem; line-height: 1.05; color: var(--ink); }
.grape .say { font-size: 0.8rem; letter-spacing: 0.08em; color: var(--foil); }
.grape .say b { font-weight: 650; }
.grape .gnote { font-size: 0.88rem; color: var(--ink-2); line-height: 1.55; }
.grape .used { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wine); margin-top: 4px; font-weight: 550; }
.grape:not([disabled]) .used::after { content: " →"; }
.grape[disabled] { cursor: default; opacity: .6; }

/* ---------- trade ---------- */
.trade .inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.trade h2 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); }
.trade h2 em { color: var(--wine); }
.trade-copy { display: grid; gap: 22px; }
.trade-copy > p { color: var(--ink-2); max-width: 52ch; }
.offer { list-style: none; margin: 8px 0 0; padding: 0; display: grid; border-top: 1px solid var(--rule); }
.offer li { padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); font-size: 0.96rem; display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.offer li::before { content: ""; width: 8px; height: 12px; margin-top: 7px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: var(--pour); }
.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px); background: var(--card); border-radius: 3px; box-shadow: inset 0 0 0 1px var(--rule), inset 0 0 0 5px transparent, inset 0 0 0 6px rgba(22, 24, 42, 0.05); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); font-weight: 550; }
.field input, .field select, .field textarea { width: 100%; font: 400 0.98rem/1.4 var(--body); color: var(--ink); background: #fff; border: 1px solid var(--rule-strong); border-radius: 2px; padding: 12px 14px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(110, 20, 48, 0.1); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.form .btn { justify-self: start; }
.form-msg { font-size: 0.92rem; color: var(--wine); min-height: 1.4em; }
@media (max-width: 900px) { .trade .inner { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { position: relative; z-index: 2; border-top: 1px solid var(--rule); padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); }
.site-footer .inner { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.site-footer h6 { margin: 0 0 12px; font: 550 0.7rem/1 var(--body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--foil); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.9rem; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--wine); }
.foot-brand { display: grid; gap: 14px; color: var(--ink-2); font-size: 0.9rem; max-width: 40ch; }
.foot-logo { display: block; width: 220px; max-width: 100%; height: auto; }
.fine { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.78rem; color: var(--mute); padding-top: 24px; border-top: 1px solid var(--rule); }
.credits { grid-column: 1 / -1; font-size: 0.74rem; color: var(--mute); margin-top: -22px; }
@media (max-width: 760px) { .site-footer .inner { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- age gate ---------- */
.gate {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  padding: 24px max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px));
  background: radial-gradient(80vw 70vh at 50% 30%, rgba(110, 20, 48, 0.08), transparent 70%), rgba(255, 255, 255, 0.97);
  transition: opacity .7s ease, visibility .7s;
}
.gate.gone { opacity: 0; visibility: hidden; }
.gate-card { display: grid; justify-items: center; gap: 18px; text-align: center; max-width: 440px; }
.gate-logo { display: block; width: min(260px, 80vw); height: auto; }
.gate-neck { width: 70px; height: 150px; overflow: visible; filter: drop-shadow(0 10px 14px rgba(22, 24, 42, 0.2)); }
.gate-neck .cork { transform-box: fill-box; transform-origin: 50% 100%; }
.gate.popping .cork { animation: pop .8s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes pop { 0% { transform: translateY(0) rotate(0); } 20% { transform: translateY(4px) rotate(0); } 100% { transform: translateY(-260px) rotate(-200deg); opacity: 0; } }
.gate h2 { font-size: clamp(2rem, 6vw, 2.8rem); }
.gate p { color: var(--ink-2); font-size: 0.98rem; }
.gate-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.gate-no { font-size: 0.9rem; color: var(--wine); min-height: 1.3em; }

/* ---------- reveal ---------- */
.reveal { transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .6s ease; }
.js .reveal.pre { transform: translateY(26px); opacity: .001; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal.pre { transform: none; opacity: 1; }
  .map-pin .ring, .scroll-cue i, .ps-list { animation: none; }
}
