/* ==========================================================================
   Vina Corlevich · shared styles
   Palette and type pulled from the family emblem: ivory paper, oxblood "C",
   olive vine leaves, bronze flourishes, engraved Trajan-style capitals.
   ========================================================================== */

:root {
  --cream: #f4ecd8;
  --cream-hi: #faf5e9;
  --paper: #ece1c8;
  --paper-deep: #e2d4b6;
  --ink: #2a1912;
  --ink-soft: #5b4536;
  --wine: #5c0f16;
  --wine-deep: #3a070c;
  --wine-hi: #8c2229;
  --bronze: #9a6a2a;
  --bronze-soft: #c7a56a;
  --vine: #5f6a1e;
  --vine-soft: #a9a653;
  --rule: rgba(42, 25, 18, 0.16);
  --rule-strong: rgba(42, 25, 18, 0.42);

  --f-display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --f-body: "EB Garamond", "Garamond", "Georgia", serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.45, 0, 0.2, 1);

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --nav-h: 78px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; overflow-x: clip; }
html, body { margin: 0; }
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--wine); color: var(--cream-hi); }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.45s var(--ease-soft) both; }
::view-transition-new(root) { animation: vt-in 0.6s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(1.08rem, 0.35vw + 1rem, 1.24rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "onum";
  animation: page-in 0.8s var(--ease-out) both;
}
@keyframes page-in { from { opacity: 0; } }

/* The one environment layer: paper grain plus a slow wandering warm light. */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
body::before {
  z-index: 60;
  opacity: 0.32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .15 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::after {
  inset: -30%;
  background:
    radial-gradient(38% 32% at 22% 18%, rgba(255, 214, 150, 0.32), transparent 70%),
    radial-gradient(30% 28% at 82% 76%, rgba(140, 34, 41, 0.06), transparent 70%);
  animation: wander 90s ease-in-out infinite alternate;
  animation-delay: -20s;
}
@keyframes wander {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(6%, 4%, 0); }
  100% { transform: translate3d(-4%, 7%, 0); }
}
body.paused *, body.paused *::before, body.paused *::after { animation-play-state: paused !important; }

main, header, footer, section { position: relative; z-index: 1; }
[id] { scroll-margin-top: 84px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--wine); color: var(--cream-hi);
  padding: 10px 16px; border-radius: 3px; text-decoration: none;
  transition: top 0.3s var(--ease-out);
}
.skip:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--wine-hi);
  outline-offset: 3px;
  border-radius: 2px;
}

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

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--wine-deep);
  margin: 0;
  letter-spacing: 0.01em;
  line-height: 1.08;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.9rem); }
h2 { font-size: clamp(2rem, 3.7vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.55rem); line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
em, .it { font-style: italic; }

.lede {
  font-size: clamp(1.2rem, 0.7vw + 1rem, 1.5rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 34ch;
}
.body-copy { max-width: 60ch; }
.body-copy p { color: var(--ink-soft); }

/* The emblem's own device: spaced capitals between two hairlines ("— VINA —").
   Used sparingly, only to open a page or the hero. */
.crest-label {
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
  font-family: var(--f-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--bronze);
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0 0 1.4rem;
}
.crest-label::before,
.crest-label::after {
  content: "";
  width: 2.4em;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.year {
  font-family: var(--f-body);
  font-style: italic;
  font-weight: 500;
  color: var(--bronze);
  font-feature-settings: "lnum";
}

/* ---------- layout ---------- */
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(84px, 12vw, 168px); }
.section--tight { padding-block: clamp(60px, 8vw, 110px); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--wine);
  --fg: var(--cream-hi);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  padding: 0.95em 1.55em 0.9em;
  border: 0;
  border-radius: 3px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(199, 165, 106, 0.35), 0 1px 0 rgba(42, 25, 18, 0.12);
  transition: background-color 0.35s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), color 0.35s var(--ease-out);
  text-shadow: none;
}
.btn:hover { --bg: var(--wine-deep); transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(199, 165, 106, 0.6), 0 10px 24px -14px rgba(58, 7, 12, 0.7); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn .arr { transition: transform 0.4s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ghost {
  --bg: transparent;
  --fg: var(--wine-deep);
  box-shadow: inset 0 0 0 1px var(--rule-strong);
}
.btn--ghost:hover { --bg: rgba(92, 15, 22, 0.06); box-shadow: inset 0 0 0 1px var(--wine); }
.btn--light { --bg: var(--cream-hi); --fg: var(--wine-deep); }
.btn--light:hover { --bg: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
@media (pointer: coarse) { .btn { min-height: 48px; } }

.link {
  font-family: var(--f-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--wine);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.6em;
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.45s var(--ease-out), color 0.3s;
}
.link:hover { background-size: 30% 1px; color: var(--wine-deep); }
.link .arr { transition: transform 0.4s var(--ease-out); }
.link:hover .arr { transform: translateX(4px); }

/* ---------- navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), height 0.5s var(--ease-out);
}
.nav.scrolled {
  background: rgba(244, 236, 216, 0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--rule);
  height: 66px;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--wine-deep);
}
.brand svg { width: 46px; height: 46px; flex: none; transition: transform 0.6s var(--ease-out); }
.brand:hover svg { transform: rotate(-8deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text small {
  font-family: var(--f-display);
  font-size: 0.58rem;
  letter-spacing: 0.42em;
  color: var(--bronze);
  margin-bottom: 4px;
  padding-left: 0.1em;
}
.brand-text b { font-family: var(--f-display); font-weight: 700; font-size: 1.18rem; letter-spacing: 0.04em; }

.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative;
  font-family: var(--f-display);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--ink);
  padding: 8px 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wine);
  transform: translateX(-50%) scale(0);
  transition: transform 0.45s var(--ease-out);
}
.nav-links a:hover { color: var(--wine); }
.nav-links a:hover::after { transform: translateX(-50%) scale(0.7); }
.nav-links a[aria-current="page"] { color: var(--wine); }
.nav-links a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
.nav-cta { margin-left: 6px; }
.nav-links .nav-cta .btn { padding: 0.8em 1.2em 0.75em; font-size: 0.78rem; color: var(--cream-hi); }
.nav-links .nav-cta .btn::after { display: none; }

.menu-btn {
  display: none;
  width: 48px; height: 48px;
  border: 0; background: transparent; cursor: pointer;
  position: relative;
  margin-right: -10px;
}
.menu-btn span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--wine-deep);
  transition: transform 0.45s var(--ease-out), opacity 0.3s;
}
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 28px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-btn { display: block; z-index: 2; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: var(--cream);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s var(--ease-out), visibility 0s linear 0.45s;
  }
  .nav-links li { overflow: hidden; }
  .nav-links a { display: block; font-size: 1.9rem; letter-spacing: 0.06em; padding: 10px 0; transform: translateY(110%); transition: transform 0.6s var(--ease-out), color 0.3s; }
  .nav-links a::after { bottom: 50%; left: -22px; transform: translateY(50%) scale(0); }
  .nav-links a[aria-current="page"]::after { transform: translateY(50%) scale(1); }
  .menu-open .nav-links { opacity: 1; visibility: visible; transition: opacity 0.45s var(--ease-out), visibility 0s; }
  .menu-open .nav-links a { transform: none; }
  .menu-open .nav-links li:nth-child(2) a { transition-delay: 0.05s; }
  .menu-open .nav-links li:nth-child(3) a { transition-delay: 0.1s; }
  .menu-open .nav-links li:nth-child(4) a { transition-delay: 0.15s; }
  .menu-open .nav-links li:nth-child(5) a { transition-delay: 0.2s; }
  .nav-cta { margin: 18px 0 0; }
  .nav-cta .btn { font-size: 0.9rem; padding: 1em 1.6em; }
  .menu-open { overflow: hidden; }
  .menu-open .nav { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-open .brand { position: relative; z-index: 2; }
}

/* ---------- reveal choreography ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-group > * { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out); }
.js .rv-group.in > * { opacity: 1; transform: none; }
.js .rv-group.in > *:nth-child(2) { transition-delay: 0.09s; }
.js .rv-group.in > *:nth-child(3) { transition-delay: 0.18s; }
.js .rv-group.in > *:nth-child(4) { transition-delay: 0.27s; }
.js .rv-group.in > *:nth-child(5) { transition-delay: 0.36s; }
.js .rv-group.in > *:nth-child(6) { transition-delay: 0.45s; }
/* retire the stagger once the entrance is done, so hovers never lag */
.js .rv-group.settled > *:nth-child(n) { transition-delay: 0s; }

.js .img-reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease-out); }
.js .img-reveal img { transform: scale(1.12); transition: transform 1.8s var(--ease-out); }
.js .img-reveal.in { clip-path: inset(0 0 0 0); }
.js .img-reveal.in img { transform: scale(1); }

/* ---------- flourish divider (drawn on scroll, from the emblem's foot) ---------- */
.flourish { display: flex; justify-content: center; color: var(--bronze); padding-block: 8px; }
.flourish svg { width: min(340px, 70vw); height: auto; overflow: visible; }
.flourish path { fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; }
.js .flourish path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease-soft); }
.js .flourish.in path { stroke-dashoffset: 0; }
.flourish .berry { fill: var(--wine); stroke: none; }
.js .flourish .berry { opacity: 0; transform: scale(0.4); transform-box: fill-box; transform-origin: center; transition: opacity 0.6s var(--ease-out) 1.4s, transform 0.8s var(--ease-out) 1.4s; }
.js .flourish.in .berry { opacity: 1; transform: none; }

/* ---------- page hero (subpages) ---------- */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 120px));
  padding-bottom: clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.page-hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.page-hero h1 { font-size: clamp(3.2rem, 7vw, 6.4rem); line-height: 0.98; }
.page-hero .lede { margin-top: 1.6rem; }
.page-hero-art {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: min(74vh, 700px);
  border-radius: 999px 999px 4px 4px;
  overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(58, 7, 12, 0.55);
}
.page-hero-art img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-art::after {
  content: "";
  position: absolute; inset: 10px;
  border-radius: 999px 999px 2px 2px;
  border: 1px solid rgba(250, 245, 233, 0.55);
  pointer-events: none;
}
@media (max-width: 820px) {
  .page-hero .wrap { grid-template-columns: 1fr; }
  .page-hero-art { aspect-ratio: 5 / 4; border-radius: 220px 220px 4px 4px; max-height: 60vh; }
}

/* masked headline lines (descender room included) */
.mask-line { display: block; overflow: hidden; padding: 0.06em 0 0.14em; margin: -0.06em 0 -0.14em; }
.mask-line > span { display: inline-block; }
.js .mask-line > span { transform: translateY(105%); transition: transform 1.2s var(--ease-out); }
.js .in .mask-line > span, .js .mask-line.in > span { transform: none; }
.js .in .mask-line:nth-child(2) > span { transition-delay: 0.1s; }
.js .in .mask-line:nth-child(3) > span { transition-delay: 0.2s; }

/* ---------- framed photos ---------- */
.frame {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--paper);
  box-shadow: 0 30px 60px -40px rgba(42, 25, 18, 0.55);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(42, 25, 18, 0.1);
  pointer-events: none;
}
.arch { border-radius: 999px 999px 4px 4px; }
.caption {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-top: 12px;
}

/* ---------- quote band ---------- */
.quote-band {
  background: var(--wine-deep);
  color: var(--cream);
  overflow: hidden;
}
.quote-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 15% 20%, rgba(140, 34, 41, 0.55), transparent 70%),
    radial-gradient(50% 60% at 90% 100%, rgba(154, 106, 42, 0.18), transparent 70%);
  pointer-events: none;
}
.quote-band blockquote {
  margin: 0 auto;
  max-width: 30ch;
  font-family: var(--f-body);
  font-style: italic;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  line-height: 1.28;
  text-align: center;
  text-wrap: balance;
  position: relative;
}
.quote-band blockquote::before {
  content: "\201E";
  display: block;
  font-family: var(--f-display);
  font-style: normal;
  font-size: 4rem;
  line-height: 0.6;
  color: var(--bronze-soft);
  margin-bottom: 0.3em;
}
.quote-band cite {
  display: block;
  margin-top: 1.8rem;
  font-family: var(--f-display);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  color: var(--bronze-soft);
}
.quote-band .glow {
  position: absolute;
  width: 520px; height: 520px;
  left: 50%; top: 50%;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 165, 106, 0.16), transparent 65%);
  pointer-events: none;
}
.on .quote-band .glow, .quote-band.on .glow { animation: breathe 7s ease-in-out infinite; animation-delay: -2s; }
@keyframes breathe { 0%, 100% { opacity: 0.6; transform: scale(0.95); } 50% { opacity: 1; transform: scale(1.06); } }

/* ---------- awards ---------- */
.awards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.awards li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  padding: 26px 22px 26px 0;
  border-bottom: 1px solid var(--rule);
}
.medal { width: 54px; height: 54px; overflow: visible; }
.medal use { transform-box: view-box; transform-origin: 27px 1px; }
.awards.on .medal use { animation: medal-glint 6s ease-in-out infinite; }
.awards li:nth-child(2) .medal use { animation-delay: -1.5s; }
.awards li:nth-child(3) .medal use { animation-delay: -3s; }
.awards li:nth-child(4) .medal use { animation-delay: -4.5s; }
@keyframes medal-glint { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.awards .a-year { font-family: var(--f-body); font-style: italic; color: var(--bronze); font-size: 1.05rem; line-height: 1.2; }
.awards .a-title { font-family: var(--f-display); font-weight: 600; color: var(--wine-deep); font-size: 1.02rem; line-height: 1.25; margin: 2px 0 4px; }
.awards .a-note { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.4; margin: 0; }

/* ---------- footer ---------- */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding-block: clamp(64px, 8vw, 110px) 32px;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.footer-emblem { width: 132px; height: 132px; margin-bottom: 18px; }
.footer h4 { font-size: 0.8rem; letter-spacing: 0.24em; color: var(--bronze); font-weight: 600; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; color: var(--ink); transition: color 0.3s; }
@media (pointer: coarse) { .footer ul a { display: inline-block; padding: 6px 0; } }
.footer a:hover { color: var(--wine); }
.footer p { color: var(--ink-soft); margin: 0 0 6px; }
.footer-base {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band with the pour ---------- */
.visit { overflow: hidden; }
.visit .wrap { display: grid; grid-template-columns: 1fr auto; gap: clamp(36px, 7vw, 120px); align-items: center; }
.visit h2 { max-width: 14ch; }
.visit .facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; margin: 34px 0 38px; max-width: 560px; }
.visit .facts dt { font-family: var(--f-display); font-size: 0.78rem; letter-spacing: 0.2em; color: var(--bronze); margin-bottom: 4px; }
.visit .facts dd { margin: 0; color: var(--ink); line-height: 1.4; }
@media (max-width: 860px) {
  .visit .wrap { grid-template-columns: 1fr; }
  .visit .facts { grid-template-columns: 1fr; }
}

.pour {
  display: grid;
  justify-items: center;
  gap: 18px;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.pour-stage { position: relative; width: 230px; height: 320px; }
.pour-stage svg { width: 100%; height: 100%; overflow: visible; }
.pour-btn {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  touch-action: none;
}
.pour-ring { width: 86px; height: 86px; }
.pour-ring circle { fill: none; stroke-width: 2; }
.pour-ring .track { stroke: var(--rule); }
.pour-ring .prog { stroke: var(--wine); stroke-dasharray: 251.3; stroke-dashoffset: calc(251.3 * (1 - var(--pp, 0))); transform: rotate(-90deg); transform-origin: 43px 43px; }
.pour-btn .pour-label {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--f-display); font-size: 0.62rem; letter-spacing: 0.18em; font-weight: 600;
  color: var(--wine-deep); text-align: center; line-height: 1.3;
}
.pour-hint { font-style: italic; color: var(--ink-soft); font-size: 0.98rem; margin: 0; min-height: 1.6em; text-align: center; transition: opacity 0.5s; }
.pour .cheers { font-family: var(--f-display); color: var(--wine); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.06em; opacity: 0; transform: translateY(8px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); margin: 0; text-align: center; }
.pour.done .cheers { opacity: 1; transform: none; }
.pour.done .pour-btn { pointer-events: none; }
.pour.done .pour-hint { opacity: 0; }
.pour.done .pour-btn { opacity: 0.35; transition: opacity 0.6s; }

/* ---------- reduced motion: final states, no movement ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .rv, .js .rv-group > *, .js .mask-line > span { opacity: 1 !important; transform: none !important; }
  .js .img-reveal { clip-path: none !important; }
  .js .img-reveal img { transform: none !important; }
  .js .flourish path { stroke-dashoffset: 0 !important; }
  .js .flourish .berry { opacity: 1 !important; transform: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}
