/* Kamenný vrch — vinárstvo, Svätý Jur
   Layout: a film reel. Full-screen chapters whose photographs stay put while the next frame wipes over them; then a cellar-dark wine shelf. */
:root {
  --night: #120B0C;
  --wine: #2C0E14;
  --wine-2: #4E1A24;
  --cream: #EFE6D6;
  --cream-2: rgba(239, 230, 214, .66);
  --cream-3: rgba(239, 230, 214, .38);
  --line: rgba(239, 230, 214, .18);
  --gold: #C6A66C;
  color-scheme: dark;

  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;
  --pad: clamp(18px, 5vw, 80px);
  --ease: cubic-bezier(.16, .84, .24, 1);
  --slow: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 0; }
body { margin: 0; overflow-x: clip; background: var(--night); color: var(--cream); font-family: var(--sans); font-weight: 350; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
html:has(body.is-locked) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--night); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
main:focus { outline: 0; }
.wrap { max-width: 1360px; margin: 0 auto; padding-inline: var(--pad); }

.peak { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

/* film grain */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .09; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; mix-blend-mode: overlay; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

/* buttons */
.gbtn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 28px; border: 1px solid var(--cream); font-family: var(--sans); font-weight: 450; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; transition: background .4s, color .4s, letter-spacing .6s var(--ease); }
.gbtn--fill { background: var(--cream); color: var(--night); }
@media (hover: hover) {
  .gbtn:hover { background: var(--cream); color: var(--night); letter-spacing: .28em; }
  .gbtn--fill:hover { background: var(--gold); border-color: var(--gold); }
}
.gbtn--sm { height: 40px; padding: 0 18px; font-size: 12px; }

/* ---------- age gate ---------- */
.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; text-align: center; }
.gate__half { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--wine); transition: transform 1.6s var(--slow); }
.gate__half--l { left: 0; background: linear-gradient(90deg, #1E090D, var(--wine)); }
.gate__half--r { right: 0; background: linear-gradient(270deg, #1E090D, var(--wine)); }
.gate__in { position: relative; display: grid; justify-items: center; gap: 14px; padding: 24px; transition: opacity .6s, transform .8s var(--ease); }
.gate .peak { width: 56px; color: var(--gold); margin-bottom: 4px; }
.gate__brand { font-family: var(--serif); font-size: clamp(42px, 7vw, 84px); line-height: 1; font-weight: 400; font-style: italic; }
.gate__sub { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--cream-2); }
.gate__q { font-family: var(--serif); font-size: 22px; line-height: 1.35; margin: 32px 0 10px; }
.gate__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.gate__no { font-family: var(--serif); font-style: italic; color: var(--gold); margin-top: 10px; min-height: 1.6em; }
.gate__no:not(:empty) { animation: wineIn .9s var(--ease) both; }
.gate .gbtn:focus-visible { outline-offset: 6px; }
.gate.is-open .gate__half--l { transform: translateX(-101%); }
.gate.is-open .gate__half--r { transform: translateX(101%); }
.gate.is-open .gate__in { opacity: 0; transform: scale(.96); pointer-events: none; }
.gate.is-gone { display: none; }

/* ---------- header ---------- */
.top { position: fixed; z-index: 40; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 28px; padding: calc(18px + env(safe-area-inset-top, 0px)) var(--pad) 18px; transition: background .5s, padding .5s; }
.top.is-solid { background: rgba(18, 11, 12, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; font-family: var(--serif); font-size: 22px; font-style: italic; }
.brand .peak { width: 34px; color: var(--gold); }
.top__nav { display: flex; gap: 30px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.top__nav a { color: var(--cream-2); transition: color .3s; position: relative; }
.top__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .5s var(--ease); }
@media (hover: hover) { .top__nav a:hover { color: var(--cream); } .top__nav a:hover::after { transform: scaleX(1); } }

/* ---------- chapter rail ---------- */
.rail { position: fixed; z-index: 35; right: calc(var(--pad) * .5); top: 50%; transform: translateY(-50%); display: grid; gap: 14px; opacity: 0; pointer-events: none; transition: opacity .6s; }
.rail.is-on { opacity: 1; pointer-events: auto; }
.rail a { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-3); transition: color .4s; }
.rail a span { opacity: 0; transform: translateX(8px); transition: opacity .4s, transform .5s var(--ease); }
.rail a i { order: 2; width: 18px; height: 1px; background: currentColor; transition: width .5s var(--ease), background .4s; }
@media (hover: hover) { .rail:hover a span { opacity: 1; transform: none; } }
.rail a.is-on span { opacity: 1; transform: none; }
.rail a.is-on { color: var(--cream); }
.rail a.is-on i { width: 40px; background: var(--gold); }

/* ---------- scenes (film reel) ---------- */
.scene { position: relative; height: 100vh; height: 100svh; min-height: 560px; clip-path: inset(0 0 0 0); overflow: hidden; }
.scene__bg { position: fixed; inset: 0; z-index: -2; background-color: var(--wine); background-size: cover; background-position: 50% 50%; }
.scene__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s cubic-bezier(.2, .6, .2, 1), opacity .6s var(--slow); }
.js .scene__bg img, .js .taste__bg img { opacity: 0; }
.js .scene__bg img.is-ready, .js .taste__bg img.is-ready { opacity: 1; }
.scene.is-in .scene__bg img { transform: scale(1.02); }
.scene__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 120% 90% at 50% 50%, rgba(18,11,12,.05), rgba(18,11,12,.7)), linear-gradient(180deg, rgba(18,11,12,.45), rgba(18,11,12,.1) 35%, rgba(18,11,12,.75)); }

.hero { display: grid; place-items: center; text-align: center; }
.hero__in { display: grid; justify-items: center; gap: 26px; padding: 0 var(--pad); max-width: 1100px; }
.hero__k { font-size: 12px; letter-spacing: .34em; text-transform: uppercase; color: var(--cream-2); }
.hero__t { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 13vw, 220px); line-height: .86; letter-spacing: -.02em; display: grid; }
.hero__t span:last-child { font-style: italic; color: var(--gold); padding-left: .9em; }
.hero__p { max-width: 36em; font-size: 18px; color: var(--cream-2); }
.hero__cue { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); display: grid; justify-items: center; gap: 12px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--cream-2); }
.hero__cue i { width: 1px; height: 56px; background: linear-gradient(var(--cream), transparent); animation: cue 2.4s var(--slow) infinite; transform-origin: 50% 0; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: 50% 0; } 51% { transform-origin: 50% 100%; } 100% { transform: scaleY(0); transform-origin: 50% 100%; } }

/* entrance (after gate) */
.hero__k, .hero__t span, .hero__p, .hero__cue { opacity: 0; transform: translateY(18px); transition: opacity 1.4s var(--ease), transform 1.6s var(--ease), letter-spacing 2.4s var(--ease); }
.hero__t span { letter-spacing: .12em; }
.is-entered .hero__k { opacity: 1; transform: none; transition-delay: .5s; }
.is-entered .hero__t span { opacity: 1; transform: none; letter-spacing: -.02em; }
.is-entered .hero__t span:first-child { transition-delay: .7s; }
.is-entered .hero__t span:last-child { transition-delay: .95s; }
.is-entered .hero__p { opacity: 1; transform: none; transition-delay: 1.3s; }
.is-entered .hero__cue { opacity: 1; transform: translateX(-50%); transition-delay: 1.8s; }

.ch { display: flex; align-items: flex-end; padding: 0 var(--pad) clamp(48px, 10vh, 110px); }
.ch--r { justify-content: flex-end; }
.ch__in { max-width: 100%; min-width: 0; display: grid; gap: 14px; }
/* the title may be wider than the text column (Kvitnutie, Oberačka); let the box grow to it so right-hand chapters never clip it */
.ch__in > :not(.ch__t) { max-width: 560px; }
.ch__n { font-size: 12px; letter-spacing: .3em; color: var(--gold); }
.ch__m { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.6vw, 38px); line-height: 1; color: var(--cream-2); }
.ch__t { font-family: var(--serif); font-weight: 400; font-size: clamp(72px, min(11vw, 21vh), 190px); line-height: .82; letter-spacing: -.03em; margin: 0 0 10px -.04em; }
.ch__p { font-size: 18px; color: var(--cream); max-width: 32em; }
.ch__m, .ch__p, .ch__n, .ch__data { text-shadow: 0 1px 2px rgba(18, 11, 12, .55), 0 2px 18px rgba(18, 11, 12, .75); }
.ch__data { display: flex; gap: 28px; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.ch__data dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-3); }
.ch__data dd { font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.ch .ch__in > * { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
.ch .ch__t { letter-spacing: .1em; transition: opacity 1.1s var(--ease), transform 1.3s var(--ease), letter-spacing 2s var(--ease); }
.ch.is-in .ch__in > * { opacity: 1; transform: none; }
.ch.is-in .ch__t { letter-spacing: -.03em; }
.ch.is-in .ch__in > :nth-child(2) { transition-delay: .1s; } .ch.is-in .ch__in > :nth-child(3) { transition-delay: .2s; }
.ch.is-in .ch__in > :nth-child(4) { transition-delay: .4s; } .ch.is-in .ch__in > :nth-child(5) { transition-delay: .55s; }

/* ---------- sections ---------- */
.sec { position: relative; padding-block: clamp(96px, 12vw, 180px); background: var(--night); }
.sh { display: grid; gap: 18px; margin-bottom: clamp(48px, 6vw, 90px); max-width: 760px; }
.sh__k { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.sh__t { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 96px); line-height: .95; letter-spacing: -.02em; }
.sh__t em { font-style: italic; color: var(--cream-2); }
.sh__p { font-size: 18px; color: var(--cream-2); max-width: 32em; }

/* ---------- wines ---------- */
.wines { background: radial-gradient(ellipse 80% 60% at 50% 80%, #2A1015, var(--night) 70%); }
.shelf { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: end; gap: 10px; padding: 0 2%; position: relative; }
.shelf::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: linear-gradient(#3B2318, #22130D); box-shadow: 0 24px 40px -10px rgba(0,0,0,.8); }
.bottle { position: relative; display: grid; justify-items: center; padding-top: 30px; transition: transform .7s var(--ease); }
.bottle svg { width: 100%; max-width: 110px; height: auto; filter: drop-shadow(0 18px 18px rgba(0,0,0,.5)); }
@media (hover: hover) { .bottle:hover { transform: translateY(-10px); } }
.bottle[aria-selected="true"] { transform: translateY(-26px); }
.bottle::before { content: ""; position: absolute; bottom: -8px; left: 50%; width: 70%; height: 10px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(198,166,108,.5), transparent 70%); opacity: 0; transition: opacity .5s; }
.bottle[aria-selected="true"]::before { opacity: 1; }
.bottle__n { position: absolute; top: 0; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--cream-3); white-space: nowrap; transition: color .4s; }
.bottle[aria-selected="true"] .bottle__n { color: var(--gold); }
.lbl-t { font-family: var(--serif); font-style: italic; }
.lbl-s { font-family: var(--sans); letter-spacing: .12em; }

.wine { margin-top: 70px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 90px); align-items: start; padding-top: 40px; border-top: 1px solid var(--line); }
.wine.is-swap > * { animation: wineIn .9s var(--ease) both; }
.wine.is-swap > *:nth-child(2) { animation-delay: .12s; }
@keyframes wineIn { from { opacity: 0; transform: translateY(16px); } }
.wine__k { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.wine__t { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5vw, 78px); line-height: .95; margin: 12px 0 18px; }
.wine__t em { font-style: italic; color: var(--cream-2); }
.wine__p { color: var(--cream-2); font-size: 18px; max-width: 34em; }
.wine__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.wine__facts div { padding: 14px 14px 0 0; }
.wine__facts dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--cream-3); }
.wine__facts dd { font-family: var(--serif); font-size: 22px; }
.wine__pair { margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--cream); }
.wine__pair span { font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-3); margin-right: 10px; }
.wine__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.wine__price { font-family: var(--serif); font-size: 44px; line-height: 1; }
.wine__price small { font-family: var(--sans); font-size: 13px; color: var(--cream-3); margin-left: 6px; letter-spacing: .06em; }
.radar { width: 100%; max-width: 420px; justify-self: center; }
.radar svg { width: 100%; height: auto; overflow: visible; }
.radar text { font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; fill: var(--cream-2); }
.radar .web { fill: none; stroke: var(--line); }
.radar .shape { fill: rgba(198,166,108,.18); stroke: var(--gold); stroke-width: 1.5; transition: d .9s var(--ease); }
.radar circle { fill: var(--gold); transition: cx .9s var(--ease), cy .9s var(--ease); }
.radar__cap { text-align: center; font-family: var(--serif); font-style: italic; color: var(--cream-3); margin-top: 6px; }

/* ---------- tastings ---------- */
.taste { overflow: hidden; }
.taste__bg { position: absolute; inset: 0; background-size: cover; background-position: 50% 50%; }
.taste__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; transition: opacity 1.1s var(--slow); }
.js .taste__bg img.is-ready { opacity: .22; }
.taste__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--night), rgba(18,11,12,.4) 40%, var(--night)); }
.taste .wrap { position: relative; }
.progs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prog { display: grid; gap: 8px; align-content: start; text-align: left; padding: 30px 26px 34px; position: relative; transition: background .5s; }
.prog + .prog { border-left: 1px solid var(--line); }
.prog__n { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold); }
.prog b { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; }
.prog span:not(.prog__n) { color: var(--cream-2); font-size: 15px; }
.prog em { font-family: var(--serif); font-style: normal; font-size: 36px; margin-top: 10px; }
.prog::after { content: ""; position: absolute; left: 26px; right: 26px; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease); }
@media (hover: hover) { .prog:hover { background: rgba(239,230,214,.03); } }
.prog[aria-checked="true"] { background: rgba(198,166,108,.07); }
.prog[aria-checked="true"]::after { transform: scaleX(1); }
.book { display: grid; grid-template-columns: 1.2fr .7fr 2fr auto; gap: 26px 16px; align-items: end; margin-top: 40px; }
.bf { display: grid; gap: 8px; min-width: 0; }
.bf span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-3); }
.bf select, .bf input { height: 50px; width: 100%; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid var(--cream-2); padding: 0; font-size: 18px; outline: none; border-radius: 0; color-scheme: dark; }
.bf select option { background: var(--night); }
.bf input::placeholder { color: var(--cream-3); }
.bf select:focus, .bf input:focus { border-color: var(--gold); }
.bf select:focus-visible, .bf input:focus-visible { box-shadow: 0 2px 0 var(--gold); }
.bf.is-bad input { border-color: #E07A5F; box-shadow: 0 1px 0 #E07A5F; }
.book__sum { grid-column: 1 / -1; font-family: var(--serif); font-style: italic; color: var(--cream-2); font-size: 18px; }
.invite { position: relative; margin: 48px auto 0; max-width: 520px; text-align: center; padding: 40px 32px; border: 1px solid var(--gold); outline: 1px solid rgba(198,166,108,.35); outline-offset: 6px; background: rgba(18,11,12,.6); display: grid; gap: 10px; animation: inviteIn 1.2s var(--ease) both, thud .32s ease-out 1.14s; }
.invite[hidden] { display: none; }
@keyframes inviteIn { from { opacity: 0; transform: translateY(24px) rotateX(18deg); } }
.invite__k { font-size: 12px; letter-spacing: .4em; text-transform: uppercase; color: var(--gold); }
.invite__t { font-family: var(--serif); font-size: 34px; line-height: 1.1; }
.invite__m { color: var(--cream-2); }
.invite__f { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--cream-3); margin-top: 8px; }
.invite__demo { margin: 8px auto 0; padding-top: 14px; width: 100%; border-top: 1px solid var(--line); font-family: var(--serif); font-style: italic; font-size: 14px; line-height: 1.4; color: var(--cream-3); text-wrap: balance; }

/* ---------- visit ---------- */
.visit { border-top: 1px solid var(--line); }
.visit__g { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.visit__g > div:first-child { display: grid; gap: 18px; }
.visit__dl { display: grid; }
.visit__dl div { padding: 18px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.visit__dl dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-3); }
.visit__dl dd { font-size: 17px; }
.visit__dl a { border-bottom: 1px solid var(--line); }
.dates { display: grid; gap: 16px; padding: 26px; border: 1px solid var(--line); }
.dates li { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.dates li:last-child { border-bottom: 0; padding-bottom: 0; }
.dates b { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--gold); }
.dates span { font-size: 15px; color: var(--cream-2); }

.foot { padding-block: 60px 40px; border-top: 1px solid var(--line); }
.foot__g { display: grid; gap: 10px; justify-items: center; text-align: center; color: var(--cream-3); font-size: 14px; }
.foot__brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--cream); }
.foot__brand .peak { width: 40px; color: var(--gold); }
.foot__s { font-size: 12px; letter-spacing: .06em; }
.foot .linkbtn { letter-spacing: .06em; }
/* closing credits: a quiet demo-project line (data-demo-note can become a link to the portfolio later) */
.foot__demo { display: grid; justify-items: center; gap: 12px; margin-top: 10px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--cream-3); opacity: .78; }
.foot__demo::before { content: ""; width: 28px; height: 1px; background: var(--gold); opacity: .55; }
a.foot__demo { transition: color .3s, opacity .3s; }
@media (hover: hover) { a.foot__demo:hover { color: var(--gold); opacity: 1; } }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .top__nav { display: none; }
  .rail { right: 10px; }
  .rail a span { display: none; }
  .wine { grid-template-columns: minmax(0, 1fr); }
  .progs { grid-template-columns: minmax(0, 1fr); }
  .prog + .prog { border-left: 0; border-top: 1px solid var(--line); }
  .book { grid-template-columns: 1fr 1fr; }
  .bf--w { grid-column: 1 / -1; }
  .book .gbtn { grid-column: 1 / -1; }
  .visit__g { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .ch { padding-bottom: 72px; }
  .ch--r { justify-content: flex-start; }
  .ch__data { gap: 18px; flex-wrap: wrap; }
  .ch__data dd { font-size: 21px; }
  .ch__p { font-size: 16px; }
  .ch__t { font-size: 15vw; }
  .ch .ch__t { letter-spacing: .03em; }
  .hero__p { font-size: 16px; }
  .hero__t span:last-child { padding-left: .5em; }
  .wine__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bottle svg { max-width: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .scene__bg img { transform: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .grain { display: none; }
}

/* =====================================================================
   Polish layer: a11y, states, cookies, toasts, back-to-top, copy
   ===================================================================== */
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 120; left: 16px; top: 16px; transform: translateY(-160%); padding: 14px 22px; background: var(--cream); color: var(--night); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 450; transition: transform .5s var(--ease); }
.skip:focus-visible { transform: none; outline-color: var(--gold); outline-offset: 3px; }

/* hover / active gaps */
.gbtn:active { transform: translateY(1px); transition-duration: .1s; }
.gbtn:disabled { cursor: default; }
.brand .peak { transition: transform .6s var(--ease); }
@media (hover: hover) { .brand:hover .peak { transform: translateY(-3px); } }
.brand:active, .top__nav a:active, .rail a:active { opacity: .6; }
.hero__cue { transition: color .4s; }
@media (hover: hover) { .hero__cue:hover { color: var(--cream); } }
.bottle:active { transform: translateY(-4px); }
.bottle:focus-visible { outline-offset: 2px; }
.prog:active { background: rgba(198, 166, 108, .13); }
.prog:focus-visible { outline-offset: -4px; }
.visit__dl a { transition: color .3s, border-color .3s; }
@media (hover: hover) { .visit__dl a:hover { color: var(--gold); border-color: var(--gold); } }
.linkbtn { display: inline; font-size: inherit; color: var(--cream-2); border-bottom: 1px solid var(--line); line-height: 1.3; transition: color .3s, border-color .3s; }
@media (hover: hover) { .linkbtn:hover { color: var(--gold); border-color: var(--gold); } }
.linkbtn:active { opacity: .6; }
.foot .linkbtn { color: var(--cream-3); }

/* booking: validation + states */
.bf label { display: block; }
.bf--w { position: relative; }
.bf__err { grid-column: 1 / -1; margin-top: -16px; font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.35; color: #E8927C; }
@media (min-width: 1001px) { .book .bbtn { grid-column: 4; grid-row: 1; } .bf__err { grid-row: 2; } }
.bf__err:empty, .book__err:empty { display: none; }
.book__err { grid-column: 1 / -1; font-family: var(--serif); font-style: italic; font-size: 18px; color: #E8927C; padding-left: 14px; border-left: 2px solid #E07A5F; animation: wineIn .7s var(--ease) both; }
.book__sum.is-bad { color: #E8927C; }
.bf select[aria-invalid="true"] { border-color: #E07A5F; }
.bbtn { min-width: 210px; gap: 10px; }
.bbtn__spin, .bbtn__ok { display: none; flex: none; }
.bbtn__spin { width: 14px; height: 14px; border: 1.5px solid rgba(18, 11, 12, .25); border-top-color: var(--night); border-radius: 50%; animation: spin .8s linear infinite; }
.bbtn__ok { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; }
.bbtn[data-state="busy"] .bbtn__spin, .bbtn[data-state="ok"] .bbtn__ok { display: block; }
.bbtn[data-state="ok"] .bbtn__ok { animation: draw .55s var(--ease) .05s forwards; }
.bbtn[data-state="busy"], .bbtn[data-state="ok"] { letter-spacing: .22em; }
.bbtn[data-state="busy"] { background: var(--cream); color: var(--night); }
.bbtn[data-state="ok"] { background: var(--gold); border-color: var(--gold); color: var(--night); }
.bbtn.is-shake { animation: shake .45s var(--ease); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes shake { 20% { transform: translateX(-5px); } 45% { transform: translateX(4px); } 70% { transform: translateX(-2px); } }
@keyframes thud { 0% { transform: translateY(0); } 40% { transform: translateY(3px); } 100% { transform: translateY(0); } }

/* wax seal on the invitation */
.seal { position: absolute; right: -22px; bottom: -30px; width: 92px; height: 92px; transform: rotate(-12deg); filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .55)); animation: stamp .75s cubic-bezier(.5, 0, .75, 1) .75s both; }
.seal__m { fill: none; stroke: rgba(239, 230, 214, .55); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes stamp {
  0% { opacity: 0; transform: translateY(-46px) scale(1.9) rotate(-34deg); filter: drop-shadow(0 40px 30px rgba(0, 0, 0, .3)); }
  58% { opacity: 1; transform: translateY(0) scale(.86) rotate(-12deg); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .6)); }
  78% { transform: scale(1.05) rotate(-12deg); }
  100% { opacity: 1; transform: scale(1) rotate(-12deg); }
}

/* copy buttons */
.copy { --ic-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.3'%3E%3Crect x='5.5' y='5.5' width='8' height='8' rx='1'/%3E%3Cpath d='M10.5 3.5v-1a1 1 0 0 0-1-1h-7a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h1'/%3E%3C/svg%3E"); --ic-ok: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8'/%3E%3C/svg%3E"); position: relative; display: inline-grid; place-items: center; width: 30px; height: 30px; margin-left: 6px; vertical-align: -8px; color: var(--cream-2); transition: color .3s, transform .2s; }
.copy::before { content: ""; width: 17px; height: 17px; background: currentColor; -webkit-mask: var(--ic-copy) center / contain no-repeat; mask: var(--ic-copy) center / contain no-repeat; transition: transform .3s var(--ease); }
@media (hover: hover) { .copy:hover { color: var(--gold); } .copy:hover::before { transform: translateY(-1px); } }
.copy:active { transform: scale(.88); }
.copy.is-done { color: var(--gold); }
.copy.is-done::before { -webkit-mask-image: var(--ic-ok); mask-image: var(--ic-ok); }

/* toasts: film subtitles */
.toasts { position: fixed; z-index: 85; left: 50%; transform: translateX(-50%); bottom: calc(26px + env(safe-area-inset-bottom, 0px) + var(--ck-h, 0px)); display: grid; gap: 8px; justify-items: center; width: min(92vw, 560px); pointer-events: none; transition: bottom .5s var(--ease); }
.toast { display: flex; align-items: center; gap: 12px; max-width: 100%; padding: 11px 22px 12px; background: rgba(18, 11, 12, .94); border: 1px solid var(--line); border-top-color: var(--gold); font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.3; color: var(--cream); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .8); animation: toastIn .7s var(--ease) backwards; transition: opacity .5s, transform .5s var(--ease); }
.toast .peak { flex: none; width: 24px; color: var(--gold); stroke-width: 2.4; }
.toast--warn { border-top-color: #E07A5F; }
.toast--warn .peak { color: #E07A5F; }
.toast.is-out { opacity: 0; transform: translateY(10px); }
@keyframes toastIn { from { opacity: 0; transform: translateY(18px) scale(.97); clip-path: inset(0 50% 0 50%); } to { clip-path: inset(0 0 0 0); } }

/* back to top, with scroll progress ring */
.totop { position: fixed; z-index: 45; right: calc(var(--pad) * .5 + 4px); bottom: calc(24px + env(safe-area-inset-bottom, 0px) + var(--ck-h, 0px)); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(18, 11, 12, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--cream); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .5s, transform .6s var(--ease), visibility 0s .5s, bottom .5s var(--ease), background .3s, color .3s; }
.totop.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) { .totop:hover { background: var(--cream); color: var(--night); } }
.totop:active { transform: scale(.92); }
.totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 1.5; }
.totop__bg { stroke: var(--line); }
.totop__fg { stroke: var(--gold); stroke-dasharray: 100; stroke-dashoffset: 100; }
.totop__ar { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
@media (hover: hover) { .totop:hover .totop__ar { transform: translateY(-2px); } }

/* cookie banner */
.ck { position: fixed; z-index: 80; left: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); width: min(360px, calc(100vw - 48px)); padding: 22px 24px 18px; background: rgba(18, 11, 12, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--gold); outline: 1px solid rgba(198, 166, 108, .3); outline-offset: 5px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.ck[hidden] { display: none; }
.ck.is-in { opacity: 1; transform: none; }
.ck.is-out { opacity: 0; transform: translateY(14px); transition-duration: .4s; }
.ck__line { position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s var(--slow) .2s; }
.ck.is-in .ck__line { transform: scaleX(1); }
.ck__main { display: grid; gap: 10px; }
.ck__k { font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.ck__short { display: none; }
.ck__t { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.08; letter-spacing: -.01em; }
.ck__t em { color: var(--cream-2); }
.ck__p { font-size: 15px; line-height: 1.55; color: var(--cream-2); }
.ck__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.ck__btns .gbtn { height: 44px; padding: 0 12px; font-size: 12px; letter-spacing: .18em; }
@media (hover: hover) { .ck__btns .gbtn:hover { letter-spacing: .22em; } }
.ck__btns .linkbtn { grid-column: 1 / -1; justify-self: center; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; padding: 6px 2px; margin-top: 2px; }
.ck__set { display: grid; gap: 16px; margin-top: 4px; }
.ck__set[hidden] { display: none; }
.ck.is-set .ck__main { display: none; }
.ck__set .gbtn { justify-self: stretch; margin-top: 4px; }
.ck__set .linkbtn { justify-self: center; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; padding: 4px 2px; }
.tg { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; cursor: pointer; }
.tg input { position: absolute; opacity: 0; width: 44px; height: 24px; left: 0; top: 0; margin: 0; cursor: pointer; }
.tg input:disabled { cursor: default; }
.tg__sw { position: relative; width: 44px; height: 24px; margin-top: 2px; border: 1px solid var(--cream-3); border-radius: 12px; transition: background .4s, border-color .4s; }
.tg__sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--cream-2); transition: transform .5s var(--ease), background .4s, width .2s; }
.tg input:checked + .tg__sw { background: rgba(198, 166, 108, .2); border-color: var(--gold); }
.tg input:checked + .tg__sw::after { transform: translateX(20px); background: var(--gold); }
.tg input:disabled + .tg__sw { opacity: .55; }
.tg input:focus-visible + .tg__sw { outline: 2px solid var(--gold); outline-offset: 3px; }
.tg b { display: block; font-weight: 450; font-size: 15px; letter-spacing: .02em; }
.tg small { display: block; font-size: 13.5px; line-height: 1.45; color: var(--cream-3); }

@media (max-width: 1000px) {
  .copy { margin-left: 2px; }
}
@media (max-width: 640px) {
  .ck { left: 10px; right: 10px; width: auto; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); padding: 11px 14px 6px; outline: 0; }
  .ck__k { display: none; }
  .ck__t { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ck__long { display: none; }
  .ck__short { display: inline; }
  .ck__p { font-size: 13px; line-height: 1.35; }
  .ck__btns { margin-top: 0; gap: 8px; }
  .ck__btns .gbtn { height: 38px; font-size: 11px; letter-spacing: .14em; }
  .ck__btns .gbtn:hover { letter-spacing: .14em; }
  .ck__btns .linkbtn { margin-top: 0; padding: 3px 2px; font-size: 11px; }
  .ck__main { gap: 7px; }
  .ck__set { gap: 12px; }
  .tg small { font-size: 12.5px; line-height: 1.35; }
  body.ck-open .hero__cue { opacity: 0 !important; pointer-events: none; }
  .totop { right: 12px; width: 44px; height: 44px; }
  .bbtn { min-width: 0; }
  .seal { right: -8px; bottom: -34px; width: 78px; height: 78px; }
  .toast { font-size: 17px; padding: 10px 16px 11px; }
}
@media (hover: none) {
  .gbtn:hover { letter-spacing: .22em; }
  .gbtn--sm:hover { letter-spacing: .22em; }
  .gbtn:hover:not(.gbtn--fill) { background: transparent; color: var(--cream); }
  .gbtn--fill:hover { background: var(--cream); border-color: var(--cream); }
}

.bbtn[data-state="ok"], .bbtn[data-state="ok"]:hover { background: var(--gold); border-color: var(--gold); color: var(--night); }
/* Room for the ľ/ť caron before an ascender (see "Caron room" in app.js) */
.lk { letter-spacing: .05em; }

/* =====================================================================
   Mobile pass: phones and small tablets
   ===================================================================== */
.menu, .sheet, .visit__go, .shelf__dots { display: none; }
.maplink { border-bottom: 1px solid var(--line); transition: color .3s, border-color .3s; }
@media (hover: hover) { .maplink:hover { color: var(--gold); border-color: var(--gold); } }
.scene__bg picture, .taste__bg picture { display: contents; }
button, a, .prog, .bottle { -webkit-tap-highlight-color: transparent; }
.gbtn:active { background: var(--cream); color: var(--night); }
.gbtn--fill:active { background: var(--gold); border-color: var(--gold); }

/* menu button + sheet (the header nav is hidden below 1000px) */
@media (max-width: 1000px) {
  html { scroll-padding-top: 60px; }
  .top { gap: 10px; }
  .top.is-solid { background: rgba(18, 11, 12, .96); -webkit-backdrop-filter: none; backdrop-filter: none; padding-block: 8px; }
  .top__cta { height: 44px; }
  .menu { display: grid; align-content: center; justify-items: center; gap: 7px; width: 44px; height: 44px; margin-right: -10px; }
  .menu i { display: block; width: 24px; height: 1.5px; background: var(--cream); transition: transform .5s var(--ease); }
  .menu:active i:first-child { transform: translateX(-3px); } .menu:active i:last-child { transform: translateX(3px); }
  .rail { display: none; }

  .sheet { display: grid; grid-template-rows: auto 1fr auto; position: fixed; inset: 0; z-index: 70; overflow-y: auto; overscroll-behavior: contain; padding: calc(10px + env(safe-area-inset-top, 0px)) var(--pad) calc(18px + env(safe-area-inset-bottom, 0px)); background: radial-gradient(ellipse 120% 70% at 50% 100%, #3A1119, var(--wine) 60%, var(--night)); visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--slow), visibility 0s .7s; }
  .sheet.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition-delay: 0s; }
  .sheet__top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
  .sheet__brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif); font-style: italic; font-size: 20px; white-space: nowrap; }
  .sheet__brand .peak { width: 28px; color: var(--gold); }
  .sheet__x { position: relative; width: 44px; height: 44px; margin-right: -10px; }
  .sheet__x i { position: absolute; left: 10px; top: 21px; width: 24px; height: 1.5px; background: var(--cream); transform: rotate(45deg); }
  .sheet__x i + i { transform: rotate(-45deg); }
  .sheet__x:active { opacity: .6; }
  .sheet__nav { align-self: center; display: grid; padding: 12px 0; }
  .sheet__nav > a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; font-family: var(--serif); font-size: clamp(34px, 10.5vw, 52px); line-height: 1.05; border-top: 1px solid var(--line); transition: color .3s, padding-left .5s var(--ease); }
  .sheet__nav > a small { font-family: var(--sans); font-size: 11px; letter-spacing: .24em; color: var(--gold); min-width: 2em; }
  .sheet__nav > a:active { color: var(--gold); padding-left: 8px; }
  .sheet__ch { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 16px 3.2em; }
  .sheet__ch a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--cream-2); transition: color .3s, border-color .3s, background .3s; }
  .sheet__ch a:active, .sheet__ch a.is-on { color: var(--night); background: var(--gold); border-color: var(--gold); }
  .sheet__act { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .sheet__act .gbtn { padding: 0 10px; }
  .sheet > * { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .7s var(--ease); }
  .sheet.is-open > * { opacity: 1; transform: none; transition-delay: .25s; }
  .sheet.is-open > :nth-child(2) { transition-delay: .35s; } .sheet.is-open > :nth-child(3) { transition-delay: .45s; }
  body.menu-open { overflow: hidden; }
  html:has(body.menu-open) { overflow: hidden; }
}

@media (max-width: 640px) {
  /* header: one line, compact */
  .top { padding: calc(8px + env(safe-area-inset-top, 0px)) var(--pad) 8px; }
  .brand { gap: 8px; font-size: 20px; white-space: nowrap; }
  .brand .peak { width: 28px; }
  .top__cta { padding: 0 14px; font-size: 11px; letter-spacing: .16em; }

  /* hero + chapters */
  .hero__in { gap: 20px; }
  .hero__k { font-size: 11px; letter-spacing: .26em; }
  .hero__p, .ch__p, .sh__p, .wine__p { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
  .hero__cue { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .ch { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
  .ch__t { font-size: clamp(44px, min(15vw, 22svh), 84px); }
  .ch__m { font-size: 26px; }
  .ch__data { column-gap: 22px; row-gap: 12px; }
  .scene__shade { background: radial-gradient(ellipse 120% 90% at 50% 50%, rgba(18,11,12,.05), rgba(18,11,12,.7)), linear-gradient(180deg, rgba(18,11,12,.5), rgba(18,11,12,.12) 28%, rgba(18,11,12,.82) 100%); }

  /* section titles */
  .sec { padding-block: 72px; }
  .sh { margin-bottom: 36px; gap: 14px; }
  .sh__t { font-size: clamp(34px, 11vw, 48px); }

  /* bottle shelf becomes a snapping, swipeable row; the chosen wine sits right below */
  .shelf { display: flex; align-items: flex-end; gap: 4px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding: 40px calc(50% - 13vw) 10px; background: linear-gradient(#3B2318, #22130D) left bottom / 100% 10px no-repeat; }
  .shelf::-webkit-scrollbar, .shelf::after { display: none; }
  .bottle { flex: 0 0 26vw; scroll-snap-align: center; scroll-snap-stop: always; padding-top: 28px; }
  .bottle svg { max-width: 78px; }
  .bottle[aria-selected="true"] { transform: translateY(-18px); }
  .bottle__n { font-size: 10px; letter-spacing: .12em; }
  .shelf__dots { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
  .shelf__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--cream-3); transition: background .4s, transform .5s var(--ease); }
  .shelf__dots i.is-on { background: var(--gold); transform: scale(1.5); }

  .wine { margin-top: 26px; padding-top: 28px; gap: 36px; }
  .wine__t { font-size: clamp(32px, 9.5vw, 44px); margin: 8px 0 14px; hyphens: auto; -webkit-hyphens: auto; }
  .wine__facts dd { font-size: 21px; }
  .wine__pair { font-size: 18px; }
  .wine__buy { gap: 18px; margin-top: 26px; }
  .wine__price { font-size: 40px; }
  .wine__buy .gbtn { width: 100%; }
  .radar { max-width: 360px; }
  .radar text { font-size: 15px; letter-spacing: .05em; }
  .radar circle { r: 4.5px; }
  .radar .shape { stroke-width: 2; }
  .radar__cap { font-size: 15px; }

  /* tastings */
  .progs { border-bottom: 0; }
  .prog { grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; row-gap: 4px; padding: 20px 16px 22px; border-bottom: 1px solid var(--line); }
  .prog + .prog { border-top: 0; }
  .prog__n { grid-column: 1; font-size: 18px; }
  .prog b { grid-column: 1; font-size: 25px; }
  .prog span:not(.prog__n) { grid-column: 1; font-size: 14.5px; line-height: 1.45; }
  .prog em { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin: 0; font-size: 30px; }
  .prog::after { left: 16px; right: 16px; }
  .prog[aria-checked="true"] { box-shadow: inset 3px 0 0 var(--gold); }
  .book { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 30px; }
  .bf--w { grid-column: auto; }
  .bf__err { margin-top: -8px; }
  .bf { scroll-margin-block: 120px; }
  .bf select, .bf input { height: 52px; font-size: 17px; }
  .bf select { -webkit-appearance: none; appearance: none; padding-right: 28px; text-overflow: ellipsis; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23C6A66C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E") right 2px center / 16px no-repeat; }
  .book .bbtn { height: 54px; width: 100%; }
  .invite { padding: 34px 22px; margin-top: 40px; }
  .invite__t { font-size: 28px; }

  /* visit */
  .visit__g { gap: 30px; }
  .visit__g > div:first-child { order: -2; }
  .visit__go { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; order: -1; margin-top: -6px; }
  .visit__go .gbtn { padding: 0 10px; }
  .visit__dl div { padding: 16px 0; }
  .visit__dl a { display: inline-flex; align-items: center; min-height: 44px; line-height: 1.3; border-bottom: 0; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 6px; }
  .brand { min-height: 44px; }
  .copy { width: 44px; height: 44px; margin: -8px -4px -8px 2px; vertical-align: middle; }
  .dates { padding: 20px; }
  .foot { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
  .foot .linkbtn { padding: 14px 6px; }
  .foot__s { font-size: 12.5px; }

  /* cookie card: slides up from the edge instead of fading in mid-screen */
  .ck { opacity: 1; transform: translateY(calc(100% + 24px)); transition: transform .7s var(--ease); padding-bottom: 4px; }
  .ck.is-in { transform: none; }
  .ck.is-out { opacity: 1; transform: translateY(calc(100% + 24px)); transition-duration: .4s; }
  .ck__btns .gbtn { height: 44px; }
  .ck__btns .linkbtn { padding: 10px 2px; }
  .ck__line { display: none; }
  .ck { max-height: calc(100svh - 20px); overflow-y: auto; overscroll-behavior: contain; }
}

/* narrow phones (320 - 360) */
@media (max-width: 360px) {
  :root { --pad: 16px; }
  .brand { font-size: 18px; }
  .brand .peak { display: none; }
  .top__cta { padding: 0 11px; font-size: 10.5px; letter-spacing: .12em; }
  .hero__t { font-size: 58px; }
  .gate__brand { font-size: 38px; }
  .ch__data dd { font-size: 19px; }
  .ch__data { column-gap: 16px; }
  .prog em { font-size: 26px; }
  .prog b { font-size: 22px; }
}

/* short screens: landscape phones */
@media (max-height: 520px) and (orientation: landscape) {
  .hero__p { display: none; }
  .hero__cue { display: none; }
  .hero__t { font-size: clamp(48px, 18svh, 90px); }
  .ch__p { font-size: 15px; }
  .ch { padding-bottom: 28px; }
  .shelf { padding-top: 34px; }
  .sec { padding-block: 56px; }
}

/* the grain overlay and big blurs are costly on phones: static, lighter, no blend modes */
@media (hover: none) {
  .grain { inset: 0; animation: none; mix-blend-mode: normal; opacity: .05; background: url(grain.png) 0 0 / 128px 128px; }
  .totop { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(18, 11, 12, .9); }
  .ck { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(18, 11, 12, .98); }
  .toast { box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .8); }
  .scene__bg { inset: 0 auto auto 0; width: 100%; height: 100lvh; }
}
/* iOS Safari: fixed photos inside clipped scenes judder, so the photo rides inside its scene and drifts (see app.js) */
.bg-abs .scene__bg { position: absolute; inset: -9% 0; width: auto; height: auto; will-change: transform; transform: translate3d(0, var(--py, 0px), 0); }
.bg-abs .scene { clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  .bg-abs .scene__bg { transform: none; will-change: auto; }
  .sheet, .sheet > * { transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .ck { transition-duration: .01ms !important; }
}

/* age gate on short screens (small iPhones, landscape): scrolls instead of clipping */
.gate { overflow-y: auto; overscroll-behavior: contain; }
.gate__half { position: fixed; }
.gate__in { margin: auto; }
@media (max-height: 640px) {
  .gate__in { gap: 8px; padding: 16px 24px; }
  .gate .peak { width: 44px; margin-bottom: 0; }
  .gate__q { margin: 18px 0 6px; font-size: 20px; }
}
@media (max-height: 460px) and (orientation: landscape) {
  .gate .peak { display: none; }
  .gate__brand { font-size: 40px; }
  .gate__q { margin: 12px 0 4px; font-size: 18px; }
}
@media (max-width: 640px) { .hero__k, .sh__t, .wine__t, .ch__m, .ck__p { text-wrap: balance; } }
@media (max-width: 400px) { .gate__sub { letter-spacing: .16em; font-size: 11px; } }

/* =====================================================================
   Language switch (SK | EN)
   ===================================================================== */
.lang { display: inline-flex; align-items: center; font-family: var(--sans); font-size: 11px; font-weight: 450; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-3); }
.lang button { position: relative; min-width: 34px; height: 36px; padding: 0 6px; color: inherit; font-size: inherit; letter-spacing: inherit; text-transform: inherit; transition: color .3s; }
.lang button::after { content: ""; position: absolute; left: 8px; right: calc(8px - .2em); bottom: 7px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .5s var(--ease); }
.lang button[aria-pressed="true"] { color: var(--cream); }
.lang button[aria-pressed="true"]::after { transform: scaleX(1); }
.lang i { width: 1px; height: 11px; background: var(--line); }
@media (hover: hover) { .lang button:hover { color: var(--gold); } }
.lang button:active { opacity: .6; }
.lang--gate { position: fixed; z-index: 3; top: calc(12px + env(safe-area-inset-top, 0px)); right: calc(var(--pad) - 6px); transition: opacity .4s; }
.gate.is-open .lang--gate { opacity: 0; pointer-events: none; }
.foot .lang--foot { margin-top: 2px; }
.lang--sheet { margin-left: auto; margin-right: 6px; }
@media (max-width: 640px) { .lang--top { display: none; } }
/* after a language switch the page reloads: no intro transitions on the way back in */
html.lang-sw *, html.lang-sw *::before, html.lang-sw *::after { transition-duration: 0s !important; transition-delay: 0s !important; }

/* Wines: shelf on the left, tasting analysis on the right, all on one screen */
@media (min-width: 901px) {
  .wines { padding-block: 76px 24px; min-height: 100svh; display: flex; align-items: center; }
  .wines > .wrap { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); grid-template-rows: auto 1fr; column-gap: clamp(28px, 4vw, 72px); align-items: stretch; }
  .wines .sh { grid-column: 1; grid-row: 1; gap: clamp(6px, 1.2vh, 14px); margin-bottom: clamp(12px, 2.4vh, 28px); }
  .wines .sh__t { font-size: clamp(32px, min(4.2vw, 8vh), 72px); }
  .wines .sh__p { font-size: min(17px, 2.3vh); }
  .wines .shelf { grid-column: 1; grid-row: 2; align-self: end; gap: 4px; padding: 0; }
  .wines .bottle { padding-top: 24px; }
  .wines .bottle svg { width: auto; max-width: 100%; height: calc(100svh - 76px - 24px - clamp(32px, min(4.2vw, 8vh), 72px) * 2 - 130px); max-height: 420px; }
  .wines .bottle[aria-selected="true"] { transform: translateY(-14px); }
  .wines .bottle__n { font-size: 9px; letter-spacing: .06em; }
  .wines .wine { grid-column: 2; grid-row: 1 / 3; margin-top: 0; padding: 0 0 0 clamp(20px, 3vw, 52px); border-top: 0; border-left: 1px solid var(--line); grid-template-columns: minmax(0, 1fr) minmax(170px, .62fr); column-gap: clamp(16px, 2vw, 32px); align-self: center; align-items: center; }
  .wines .wine__t { font-size: clamp(32px, min(3.4vw, 6.4vh), 58px); margin: clamp(4px, 1vh, 10px) 0 clamp(6px, 1.4vh, 14px); }
  .wines .wine__p { font-size: min(16px, 2.2vh); }
  .wines .wine__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(10px, 2vh, 22px); }
  .wines .wine__facts div { padding-top: clamp(6px, 1vh, 12px); }
  .wines .wine__facts dd { font-size: min(21px, 2.8vh); }
  .wines .wine__pair { margin-top: clamp(8px, 1.6vh, 18px); font-size: min(18px, 2.4vh); }
  .wines .wine__buy { margin-top: clamp(8px, 1.8vh, 20px); gap: 14px; }
  .wines .wine__price { font-size: clamp(28px, 4.4vh, 40px); }
  .wines .radar { max-width: 100%; }
}
/* Dropdown look */
.bf .cs { --cs-h: 50px; --cs-pad: 0 2px 0 0; --cs-size: 18px; --cs-under: 1px solid var(--cream-2); --cs-accent: var(--gold); --cs-bg: #1B1112; --cs-ink: var(--cream); --cs-border: 1px solid rgba(198, 166, 108, .45); --cs-radius-list: 0; --cs-hover: rgba(198, 166, 108, .16); --cs-shadow: 0 24px 50px -16px rgba(0, 0, 0, .85); --cs-weight: 400; }
.bf .cs__list li { font-family: var(--serif); letter-spacing: .01em; }
@media (max-width: 700px) { .bf .cs { --cs-h: 52px; --cs-size: 17px; } }
.bf .cs__val { font-size: inherit; letter-spacing: normal; text-transform: none; color: var(--cream); }
