/* ==========================================================================
   ORVEN — Tikveš Valley Estate
   Ink & oxblood, cream and old gold. Bodoni Moda for the voice, Jost for the hand.
   ========================================================================== */

@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink: #140608;
  --ink-2: #1e0a0e;
  --oxblood: #3b0a1a;
  --wine: #6a0d22;
  --claret: #9b1530;
  --cream: #f1e7d8;
  --cream-2: #d9cbb6;
  --gold: #c9a46a;
  --gold-hi: #e9cf98;
  --muted: #a8968a;
  --line: rgba(241, 231, 216, 0.14);
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Jost", "Futura", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(1.25rem, 4vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-font-smoothing: antialiased; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--ink); color: var(--cream); font-family: var(--sans); font-size: 1.05rem; font-weight: 350; line-height: 1.65; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
::selection { background: var(--claret); color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* grain */
body::after { content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.06; 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"); }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); }
.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 1.2rem + 4vw, 5.4rem); line-height: 1; letter-spacing: -0.02em; }
.section-title em, .hero__title em, .quote__text em, .wine__name em { font-style: italic; color: var(--gold-hi); }
.section-head { display: grid; gap: 1.25rem; justify-items: center; text-align: center; margin-bottom: clamp(3rem, 7vw, 6rem); }
.split-line { overflow: hidden; padding-bottom: 0.08em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 1rem 1.8rem; border-radius: 999px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; transition: background-color 0.4s, color 0.4s, border-color 0.4s, transform 0.4s var(--ease); }
.btn--gold { background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, #a8834a); color: var(--ink); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(201, 164, 106, 0.6); }
.btn--ghost { border: 1px solid var(--line); color: var(--cream); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn--line { border: 1px solid rgba(201, 164, 106, 0.5); color: var(--gold-hi); }
.btn--line:hover { background: var(--gold); color: var(--ink); }
.btn--sm { padding: 0.75rem 1.3rem; font-size: 0.7rem; }
.btn--full { width: 100%; }

/* ---------- Age gate ---------- */
.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: var(--pad); background: radial-gradient(80% 70% at 50% 40%, #3b0a1a, var(--ink) 75%); text-align: center; }
.age-ok .gate { display: none; }
.gate__inner { display: grid; justify-items: center; gap: 1rem; max-width: 560px; }
.gate__ring { width: 92px; fill: none; stroke: var(--gold); stroke-width: 1; }
.gate__ring circle { stroke-dasharray: 330; stroke-dashoffset: 330; animation: ring-draw 1.8s var(--ease) forwards; }
.gate__ring .gate__ring-inner { animation-delay: 0.3s; }
@keyframes ring-draw { to { stroke-dashoffset: 0; } }
.gate__brand { font-family: var(--serif); font-size: 2.6rem; letter-spacing: 0.4em; margin-right: -0.4em; }
.gate__est { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.gate__q { margin-top: 1.5rem; font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 1rem + 2vw, 2.4rem); line-height: 1.15; }
.gate__q em { color: var(--gold-hi); }
.gate__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1rem; }
.gate__no { color: var(--gold-hi); }
.gate__fine { margin-top: 1.5rem; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.4rem var(--pad); transition: background-color 0.5s, padding 0.5s var(--ease), transform 0.6s var(--ease); }
.header.is-scrolled { padding-block: 0.9rem; background: rgba(20, 6, 8, 0.72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header.is-hidden { transform: translateY(-110%); }
.logo { display: inline-flex; align-items: center; gap: 0.75rem; }
.logo__mark { width: 34px; fill: none; stroke: var(--gold); stroke-width: 1.1; }
.logo__word { font-family: var(--serif); font-size: 1.35rem; letter-spacing: 0.38em; }
.nav { display: flex; gap: 2.4rem; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; }
.nav a { position: relative; color: var(--cream-2); transition: color 0.3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 0.5s var(--ease); }
.nav a:hover { color: var(--cream); }
.nav a:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; text-align: center; }
.hero__sky { position: absolute; inset: 0; background: radial-gradient(90% 70% at 50% 75%, #5a1525 0%, #2a0912 45%, var(--ink) 80%); }
.hero__sun { position: absolute; left: 50%; top: 66%; width: min(40vw, 500px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #f0cd92 0%, #c98a52 32%, rgba(155, 21, 48, 0.35) 58%, transparent 70%); filter: blur(2px); opacity: 0.7; }
.hero__hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; }
.hero__content { position: relative; z-index: 2; display: grid; justify-items: center; gap: 1.6rem; padding: 8rem var(--pad) 10rem; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(3.6rem, 1rem + 10vw, 12rem); line-height: 0.9; letter-spacing: -0.03em; }
.hero__title span, .hero__title em { display: inline-block; }
.hero__title.is-split em { background: none; }
.hero__title em .ch { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, #9a7440); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.04em; }
.hero__title em { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, #9a7440); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.05em; }
.hero__lead { max-width: 46ch; color: var(--cream); text-shadow: 0 2px 24px rgba(20, 6, 8, 0.9); font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 0.5rem; }
.hero__foot { position: absolute; left: 0; right: 0; bottom: 1.8rem; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 0 var(--pad); font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
.hero__scroll { display: inline-flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: drip 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Journey ---------- */
.journey { position: relative; }
.journey__pin { position: relative; height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 0.35fr); align-items: center; gap: 2rem; padding: 0 var(--pad); overflow: hidden; }
.journey__glow { position: absolute; left: 55%; top: 50%; width: 70vmin; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(124, 138, 106, 0.35), transparent 65%); filter: blur(30px); }
.journey__steps { position: relative; z-index: 1; display: grid; gap: 2.4rem; padding: 0; list-style: none; }
.journey__step { display: grid; grid-template-columns: 3rem 1fr; column-gap: 1rem; opacity: 0.25; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.journey__step.is-active { opacity: 1; transform: translateX(0.6rem); }
.journey__num { grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--gold); line-height: 1.2; }
.journey__step h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 1rem + 1.6vw, 2.6rem); line-height: 1.1; }
.journey__step p { max-width: 34ch; color: var(--cream-2); font-size: 0.98rem; }
.journey__stage { position: relative; z-index: 1; height: min(88svh, 820px); display: grid; place-items: center; }
.journey__svg { height: 100%; width: auto; overflow: visible; }
.vine__stem { fill: none; stroke: #8b6a3c; stroke-width: 5; stroke-linecap: round; }
.vine__stem--thin { stroke-width: 2; }
.vine__leaf { fill: #4f5e3e; stroke: #7c8a6a; stroke-width: 1; }
.vine__vein { fill: none; stroke: #7c8a6a; stroke-width: 1; }
.grapes circle { fill: #3d1446; stroke: #1c0720; stroke-width: 1.4; }
.grapes__shine circle { fill: url(#grape-hi); }
.bottle__glass { fill: url(#glass); }
.bottle__outline { fill: none; stroke: url(#gold); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; }
.bottle__shine { fill: none; stroke: rgba(255, 255, 255, 0.18); stroke-width: 6; stroke-linecap: round; }
.label__brand { font-family: var(--serif); font-size: 19px; letter-spacing: 6px; text-anchor: middle; fill: #2a0610; }
.label__var { font-family: var(--sans); font-size: 7px; font-weight: 500; letter-spacing: 2.4px; text-anchor: middle; fill: #8f6a35; }
.label__small { font-family: var(--sans); font-size: 5.6px; letter-spacing: 1.8px; text-anchor: middle; fill: #6b5a4a; }
.journey__progress { position: relative; z-index: 1; justify-self: end; width: 1px; height: 46svh; background: var(--line); }
.journey__progress span { position: absolute; inset: 0; background: var(--gold); transform-origin: top; transform: scaleY(0); }

/* ---------- Collection ---------- */
.collection { position: relative; padding: clamp(7rem, 14vw, 12rem) var(--pad); overflow: hidden; }
.collection__glow { position: absolute; left: 50%; top: 55%; width: 90vmin; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, var(--glow, #7a0f24) 0%, transparent 62%); opacity: 0.35; filter: blur(40px); transition: background 0.8s; }
.wines { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); max-width: 1400px; margin: 0 auto; }
.wine { display: grid; gap: 2rem; justify-items: center; text-align: center; padding: 2.5rem 1.5rem 2rem; border: 1px solid var(--line); border-radius: 220px 220px 24px 24px; background: linear-gradient(180deg, rgba(241, 231, 216, 0.04), rgba(241, 231, 216, 0.01)); transition: border-color 0.5s, background 0.5s; }
.wine:hover { border-color: rgba(201, 164, 106, 0.45); background: linear-gradient(180deg, rgba(241, 231, 216, 0.07), rgba(241, 231, 216, 0.02)); }
.wine__bottle { width: min(150px, 46%); transition: transform 0.9s var(--ease); filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.5)); }
.wine:hover .wine__bottle { transform: translateY(-14px) rotate(-4deg); }
.wine__glass { fill: var(--w); }
.wine__lbl { font-family: var(--serif); font-size: 13px; letter-spacing: 4px; text-anchor: middle; fill: #2a0610; }
.wine__lbl-s { font-family: var(--sans); font-size: 6px; letter-spacing: 2px; text-anchor: middle; fill: #8f6a35; }
.wine__info { display: grid; gap: 0.8rem; justify-items: center; }
.wine__type { font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.wine__name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 1.2rem + 1.4vw, 2.6rem); line-height: 1; }
.wine__notes { max-width: 30ch; color: var(--cream-2); font-size: 0.95rem; }
.wine__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; padding: 0; list-style: none; }
.wine__tags li { padding: 0.3rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.7rem; letter-spacing: 0.08em; color: var(--muted); }
.wine__buy { display: flex; align-items: center; gap: 1.2rem; margin-top: 0.6rem; }
.wine__price { font-family: var(--serif); font-size: 1.6rem; }

/* ---------- Quote ---------- */
.quote { padding: clamp(6rem, 12vw, 10rem) var(--pad); text-align: center; border-block: 1px solid var(--line); }
.quote__text { max-width: 22ch; margin: 0 auto; font-family: var(--serif); font-size: clamp(2rem, 1rem + 3.4vw, 4.4rem); line-height: 1.08; }
.quote__by { margin-top: 2rem; font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }

/* ---------- Estate ---------- */
.estate { position: relative; min-height: 120svh; display: grid; align-items: end; overflow: hidden; }
.estate__panorama { position: absolute; inset: 0; }
.estate__panorama svg { width: 100%; height: 100%; }
.estate__content { position: relative; z-index: 1; display: grid; gap: 1.6rem; max-width: 1400px; width: 100%; margin: 0 auto; padding: 0 var(--pad) clamp(4rem, 8vw, 7rem); }
.estate .section-title { max-width: 16ch; }
.estate__text { max-width: 52ch; color: var(--cream-2); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 2rem; border-top: 1px solid var(--line); }
.stats div { padding: 1.6rem 1.5rem 0 0; }
.stats div + div { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.stats dt { font-family: var(--serif); font-size: clamp(2.4rem, 1.4rem + 3vw, 4.6rem); line-height: 1; color: var(--gold-hi); }
.stats dd { margin: 0.6rem 0 0; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-2); }

/* ---------- Visit ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); max-width: 1400px; margin: 0 auto; padding: clamp(7rem, 14vw, 12rem) var(--pad); }
.visit__copy { display: grid; gap: 1.6rem; }
.visit__copy > p:last-child { max-width: 44ch; color: var(--cream-2); }
.booking { display: grid; gap: 1.6rem; padding: clamp(1.75rem, 3vw, 2.75rem); border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, rgba(59, 10, 26, 0.6), rgba(20, 6, 8, 0.6)); }
.booking fieldset { border: 0; padding: 0; display: grid; gap: 0.8rem; }
.booking legend { margin-bottom: 0.8rem; font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-block; padding: 0.75rem 1.3rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; cursor: pointer; transition: all 0.35s; }
.chips input:checked + span { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.stepper { display: inline-flex; align-items: center; gap: 1.2rem; }
.stepper button { width: 2.6rem; height: 2.6rem; border: 1px solid var(--line); border-radius: 50%; font-size: 1.2rem; transition: border-color 0.3s; }
.stepper button:hover { border-color: var(--gold); }
.stepper output { min-width: 2ch; text-align: center; font-family: var(--serif); font-size: 1.8rem; }
.booking__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--cream-2); }
.booking__total > b { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; color: var(--cream); }
.booking__ok { color: var(--gold-hi); text-align: center; }

/* ---------- Footer ---------- */
.footer { padding: clamp(5rem, 10vw, 8rem) var(--pad) 1.6rem; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--ink), #0c0304); }
.footer__letter { display: grid; justify-items: center; gap: 1rem; text-align: center; }
.footer__title { font-family: var(--serif); font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); }
.footer__sub { max-width: 44ch; color: var(--cream-2); }
.footer__form { display: flex; width: min(460px, 100%); margin-top: 0.8rem; border-bottom: 1px solid var(--gold); }
.footer__form input { flex: 1; padding: 0.9rem 0; border: 0; background: transparent; outline: none; }
.footer__form button { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-hi); }
.footer__word { margin: clamp(4rem, 8vw, 7rem) 0 1rem; font-family: var(--serif); font-size: clamp(5rem, 22vw, 22rem); line-height: 0.8; letter-spacing: 0.08em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(201, 164, 106, 0.4); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- JS states ---------- */
.js [data-hero-fade] { opacity: 0; transform: translateY(20px); }
.js [data-hero-title] { visibility: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .journey__pin { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding: 5rem var(--pad) 2rem; }
  .journey__stage { height: 58svh; grid-row: 1; }
  .journey__steps { grid-row: 2; display: grid; }
  .journey__step { grid-area: 1 / 1; opacity: 0; transform: none; }
  .journey__step.is-active { opacity: 1; transform: none; }
  .journey__progress { display: none; }
  .wines { grid-template-columns: 1fr; max-width: 420px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .visit { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .header .btn { display: none; }
  .hero__foot span:first-child, .hero__foot span:last-child { display: none; }
  .hero__foot { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-hero-fade] { opacity: 1; transform: none; }
  .js [data-hero-title] { visibility: visible; }
}
