/* ==========================================================================
   Casa de Vinuri Crișan – stil.css
   Paleta: verde salvie #A5A79B · bej cremă #E8D2B5 · burgund #590907
   Mobile-first. Fără framework, fără jQuery.
   ========================================================================== */

:root {
  --burgundy: #590907;
  --burgundy-d: #3b0605;
  --burgundy-dd: #260403;
  --cream: #E8D2B5;
  --cream-l: #F3E7D6;
  --paper: #FAF6F0;
  --sage: #A5A79B;
  --sage-d: #6f7266;
  --sage-l: #D9DAD1;
  --ink: #2a1613;
  --muted: #65554d;
  --line: rgba(89, 9, 7, .22);
  --line-light: rgba(232, 210, 181, .28);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, system-ui, sans-serif;

  --gutter: clamp(20px, 5.5vw, 72px);
  --max: 1240px;
  --section: clamp(72px, 11vw, 148px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.72 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4, .tl-year, .facts strong { font-variant-numeric: lining-nums; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.005em; }
h1 { font-size: clamp(2.7rem, 9.4vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 6.2vw, 3.7rem); }
h3 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
em { font-style: italic; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .page-hero :focus-visible { outline-color: var(--cream); }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--cream); color: var(--burgundy); padding: 10px 16px; border-radius: 3px; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- etichete, ornamente, butoane ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 0 0 1.3rem;
  font: 500 .74rem/1.2 var(--sans); letter-spacing: .26em; text-transform: uppercase;
  color: var(--burgundy);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.on-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--cream); }

.orn { display: flex; align-items: center; gap: 14px; width: 120px; margin: 1.6rem 0; color: var(--burgundy); }
.orn::before, .orn::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .45; }
.orn i { width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid currentColor; }
.on-dark .orn { color: var(--cream); }
.orn.center { margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 30px;
  font: 500 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  background: transparent; -webkit-appearance: none; appearance: none;
  border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-burgundy { background: var(--burgundy); color: var(--cream); }
.btn-burgundy:hover { background: var(--burgundy-d); }
.btn-cream { background: var(--cream); color: var(--burgundy); }
.btn-cream:hover { background: var(--cream-l); }
.btn-ghost { border-color: var(--line-light); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(232, 210, 181, .08); }
.btn-ghost-dark { border-color: var(--line); color: var(--burgundy); }
.btn-ghost-dark:hover { border-color: var(--burgundy); background: rgba(89, 9, 7, .05); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font: 500 .78rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--burgundy); padding: 8px 0; border-bottom: 1px solid var(--line); transition: border-color .3s, gap .3s var(--ease); }
.link-arrow:hover { border-color: var(--burgundy); gap: 16px; }
.link-arrow svg { width: 16px; height: 16px; }
.on-dark .link-arrow { color: var(--cream); border-color: var(--line-light); }
.on-dark .link-arrow:hover { border-color: var(--cream); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: calc(16px + env(safe-area-inset-top)) var(--gutter) 16px;
  color: var(--cream);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.site-header.is-solid {
  background: rgba(38, 4, 3, .95);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  box-shadow: 0 1px 0 rgba(232, 210, 181, .14);
  padding-top: calc(8px + env(safe-area-inset-top)); padding-bottom: 8px;
}
.brand { display: block; line-height: 0; flex: none; position: relative; z-index: 2; }
.brand img { width: 118px; height: auto; transition: width .4s var(--ease); }
.is-solid .brand img { width: 100px; }

.nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.nav a {
  position: relative; text-decoration: none; padding: 8px 0;
  font: 500 .76rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: none; }

.menu-btn { display: none; }

/* butonul de meniu (doar cu JavaScript): cuvântul „Meniu” + trei liniuțe de lungimi diferite, care devin un X */
.js .menu-btn {
  display: inline-flex; align-items: center; gap: 14px; height: 48px; margin-right: -8px; padding: 0 8px 0 10px;
  background: none; border: 0; color: inherit; cursor: pointer; position: relative; z-index: 2; -webkit-tap-highlight-color: transparent;
  font: 500 .68rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase;
}
.menu-label::before { content: "Meniu"; }
.menu-btn[aria-expanded="true"] .menu-label::before { content: "Închide"; }
.menu-bars { position: relative; flex: none; width: 28px; height: 16px; }
.menu-bars i { position: absolute; right: 0; height: 1.5px; border-radius: 2px; background: currentColor; transition: width .45s var(--ease), top .45s var(--ease), right .45s var(--ease), transform .45s var(--ease), opacity .25s ease; }
.menu-bars i:nth-child(1) { top: 0; width: 28px; }
.menu-bars i:nth-child(2) { top: 7px; width: 19px; }
.menu-bars i:nth-child(3) { top: 14px; width: 10px; }
@media (hover: hover) { .menu-btn:hover .menu-bars i:nth-child(2), .menu-btn:hover .menu-bars i:nth-child(3) { width: 28px; } }
.menu-btn[aria-expanded="true"] .menu-bars i:nth-child(1) { top: 7px; right: 1px; width: 26px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars i:nth-child(2) { width: 0; opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-bars i:nth-child(3) { top: 7px; right: 1px; width: 26px; transform: rotate(-45deg); }

.nav-extra { display: none; }
/* meniul de pe telefon: „se toarnă vinul” – un panou burgund urcă pe ecran cu o margine ondulată, apoi apar linkurile pe rând */
@media (max-width: 959px) {
  .js .nav {
    position: fixed; inset: 0; z-index: 1; counter-reset: n;
    flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; gap: 0;
    padding: 92px var(--gutter) calc(26px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #260403 0%, #3b0605 100%);
    transform: translateY(calc(100% + 44px)); visibility: hidden;
    transition: transform .6s cubic-bezier(.65, 0, .35, 1), visibility 0s linear .6s;
  }
  .js .nav.is-open { transform: none; visibility: visible; transition: transform .95s cubic-bezier(.2, .72, .2, 1), visibility 0s; }
  /* marginea ondulată a vinului */
  .js .nav::before {
    content: ""; position: absolute; left: -120px; right: 0; top: -29px; height: 30px; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 30'%3E%3Cpath fill='%23260403' d='M0 30V14Q15 0 30 14T60 14T90 14T120 14V30Z'/%3E%3C/svg%3E") repeat-x 0 100% / 120px 30px;
  }
  .js .nav.is-open::before { animation: wine-wave 1.8s linear 1; }
  @keyframes wine-wave { from { transform: translateX(0); } to { transform: translateX(120px); } }
  /* schița de podgorie, foarte discretă, se încarcă la prima deschidere */
  .js .nav.seen::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 54%; z-index: -1; pointer-events: none;
    background: url(../img/schita-menu.webp) right bottom / auto 100% no-repeat; opacity: .34;
  }
  .js .nav > a {
    counter-increment: n; display: flex; align-items: center; gap: 16px;
    font: 500 clamp(2.1rem, 10.4vw, 3.2rem)/1.1 var(--serif); letter-spacing: 0; text-transform: none;
    padding: 11px 0; border-bottom: 1px solid var(--line-light);
    opacity: 0; transform: translateY(30px); transition: opacity .3s ease, transform .3s ease, color .25s;
  }
  .js .nav > a:first-of-type { margin-top: auto; border-top: 1px solid var(--line-light); }
  .js .nav > a::before { content: counter(n, decimal-leading-zero); flex: none; width: 2.1rem; font: 500 .68rem/1 var(--sans); letter-spacing: .26em; color: var(--sage); }
  .js .nav > a::after { display: none; }
  .js .nav > a:active { color: #fff; }
  .js .nav > a[aria-current="page"] { color: #fff; font-style: italic; }
  .js .nav > a[aria-current="page"]::before { color: var(--cream); }
  .js .nav > a[aria-current="page"]::after { display: block; position: static; flex: none; width: 8px; height: 8px; margin-left: auto; background: var(--cream); transform: rotate(45deg); }
  .js .nav.is-open > a { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease), color .25s; }
  .js .nav.is-open > a:nth-of-type(1) { transition-delay: .5s; }
  .js .nav.is-open > a:nth-of-type(2) { transition-delay: .58s; }
  .js .nav.is-open > a:nth-of-type(3) { transition-delay: .66s; }
  .js .nav.is-open > a:nth-of-type(4) { transition-delay: .74s; }
  .js .nav.is-open > a:nth-of-type(5) { transition-delay: .82s; }
  .nav-extra { display: block; margin-top: auto; padding-top: 30px; color: var(--cream); opacity: 0; transform: translateY(18px); transition: opacity .3s ease, transform .3s ease; }
  .js .nav.is-open .nav-extra { opacity: 1; transform: none; transition: opacity .8s var(--ease) .95s, transform .9s var(--ease) .95s; }
  .nav-extra a { display: flex; align-items: center; gap: 14px; padding: 7px 0; font: 500 1.02rem/1.4 var(--sans); letter-spacing: .04em; text-transform: none; }
  .nav-extra a::after { display: none; }
  .nav-extra svg { flex: none; width: 20px; height: 20px; color: var(--sage); }
  .nav-extra a { overflow-wrap: anywhere; }
  @media (max-width: 360px) { .nav-extra a { gap: 10px; font-size: .86rem; letter-spacing: .01em; } }
  .nav-tag { margin: 16px 0 0; font: 500 .64rem/1.4 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--sage); }
  /* ecrane scunde: linkuri mai strânse, fără mențiune */
  @media (max-height: 680px) {
    .js .nav { padding-top: 76px; }
    .js .nav > a { padding: 7px 0; font-size: clamp(1.8rem, 8.6vw, 2.5rem); }
    .nav-extra { padding-top: 18px; }
    .nav-tag { display: none; }
  }
  /* telefon culcat: derulare în meniu, fără val */
  @media (max-height: 520px) {
    .js .nav { overflow-y: auto; padding-top: 70px; }
    .js .nav::before, .js .nav.seen::after { display: none; }
    .js .nav > a { padding: 5px 0; font-size: 1.6rem; }
  }
  /* fără JavaScript: meniul rămâne vizibil sub antet */
  html:not(.js) .site-header { flex-wrap: wrap; position: absolute; background: var(--burgundy-dd); }
  html:not(.js) .nav { width: 100%; gap: 4px 18px; }
  html:not(.js) .nav-extra { display: none; }
}
body.menu-open { overflow: hidden; }

@media (min-width: 960px) {
  .site-header { padding-inline: var(--gutter); }
  .nav { gap: 6px 40px; }
  .header-cta { display: inline-flex; min-height: 44px; padding: 0 22px; font-size: .72rem; }
  .brand img { width: 138px; }
  .is-solid .brand img { width: 112px; }
  .js .menu-btn { display: none; }
}


/* cât meniul e deschis, antetul nu are voie să aibă backdrop-filter (ar închide overlay-ul în înălțimea antetului) */
body.menu-open .site-header, body.menu-open .site-header.is-solid { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--cream); background: var(--burgundy-dd);
}
.hero-media, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero-media { object-position: 76% 50%; animation: kenburns 24s ease-out both; }
@media (min-width: 900px) { .hero-media { object-position: 50% 42%; } }
.hero-video { z-index: -2; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-video.is-playing { opacity: 1; }
.hero::before { /* strat de culoare: burgund peste imagine, mai dens jos, unde stă textul */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(38, 4, 3, .62) 0%, rgba(38, 4, 3, .12) 28%, rgba(38, 4, 3, .38) 58%, rgba(38, 4, 3, .92) 100%),
    radial-gradient(120% 80% at 20% 100%, rgba(89, 9, 7, .55), transparent 60%);
}
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero-inner { padding-block: 130px calc(76px + env(safe-area-inset-bottom)); }
.hero h1 { max-width: 14ch; color: #fff; text-shadow: 0 2px 30px rgba(38, 4, 3, .35); }
.hero h1 em { color: var(--cream); }
.hero-lead { max-width: 34rem; margin: 1.6rem 0 2.2rem; font-size: clamp(1.05rem, 2.4vw, 1.22rem); color: var(--cream-l); }
.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 34px; display: none;
  width: 1px; height: 64px; background: linear-gradient(var(--cream), transparent); text-decoration: none; overflow: hidden;
}
@media (min-width: 960px) { .scroll-cue { display: block; } }

.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(340px, 52svh, 520px); display: flex; align-items: flex-end;
  color: var(--cream); background: var(--burgundy-dd);
}
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(38, 4, 3, .7), rgba(38, 4, 3, .5) 42%, rgba(38, 4, 3, .93)); }
.page-hero .container { padding-block: 120px 48px; }
.page-hero h1 { color: #fff; font-size: clamp(2.5rem, 8.4vw, 4.8rem); }
.page-hero p.lead { max-width: 36rem; margin: 1rem 0 0; color: var(--cream-l); }

/* ---------- secțiuni ---------- */
.section { padding-block: var(--section); position: relative; }
.section-tight { padding-block: clamp(56px, 8vw, 100px); }
.bg-paper { background: var(--paper); }
.bg-cream { background: var(--cream); }
.bg-sage { background: var(--sage); color: var(--burgundy-dd); }
.bg-burgundy { background: var(--burgundy); color: var(--cream); }
.bg-dark { background: var(--burgundy-dd); color: var(--cream); }
.on-dark { color: var(--cream); }
.section-head { max-width: 40rem; margin-bottom: clamp(36px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); }
.bg-burgundy .section-head p, .bg-dark .section-head p { color: var(--cream-l); }
.bg-sage .section-head p { color: var(--burgundy-d); }
.lead { font-size: 1.16rem; color: var(--muted); }
.prose p { max-width: 38rem; }
.prose p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }

/* cifre de prestigiu */
.facts { background: var(--cream); color: var(--burgundy); border-block: 1px solid var(--line); }
.facts ul { display: grid; grid-template-columns: repeat(2, 1fr); }
.facts li { padding: clamp(28px, 5vw, 56px) clamp(14px, 2.4vw, 34px); text-align: center; border-bottom: 1px solid var(--line); }
.facts li:nth-child(odd) { border-right: 1px solid var(--line); }
.facts li:nth-last-child(-n+2) { border-bottom: 0; }
.facts strong { display: block; font: 500 clamp(2.5rem, 9vw, 4.6rem)/1 var(--serif); letter-spacing: -.01em; }
.facts strong small { font-size: .5em; font-style: italic; margin-left: .12em; }
.facts span { display: block; margin: .7rem auto 0; max-width: 17rem; font-size: .88rem; line-height: 1.5; color: var(--burgundy-d); }
@media (min-width: 900px) {
  .facts ul { grid-template-columns: repeat(4, 1fr); }
  .facts li { border-bottom: 0 !important; }
  .facts li:not(:last-child) { border-right: 1px solid var(--line); }
}

/* poveste – două coloane */
.split { display: grid; gap: clamp(40px, 7vw, 96px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.wide-right { grid-template-columns: .9fr 1.1fr; }
  .split.reverse > :first-child { order: 2; }
}
.signature { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); max-width: 22rem; }
.signature b { display: block; font: 500 1.7rem/1.1 var(--serif); font-style: italic; color: var(--burgundy); }
.signature span { font: 500 .72rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* vinuri – carduri cu sticle pe burgund */
.wines-section { overflow: hidden; }
.wines-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 55%, rgba(232, 210, 181, .10), transparent 70%); pointer-events: none; }
.wine-rail {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-inline: calc(-1 * var(--gutter)); padding: 8px var(--gutter) 28px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.wine-rail::-webkit-scrollbar { display: none; }
.wine-card { flex: 0 0 66%; max-width: 280px; scroll-snap-align: center; text-align: center; text-decoration: none; position: relative; display: block; }
.wine-card .bottle { position: relative; aspect-ratio: 330 / 940; max-height: 400px; margin: 0 auto; }
.wine-card .bottle::after { /* umbră pe „masă” */
  content: ""; position: absolute; left: 14%; right: 14%; bottom: -6px; height: 18px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .55), transparent 70%); filter: blur(4px); z-index: 0;
}
.wine-card .bottle img { position: relative; z-index: 1; width: auto; height: 100%; margin: 0 auto; transition: transform .6s var(--ease); }
.wine-card:hover .bottle img { transform: translateY(-8px) scale(1.02); }
.wine-card .kind { display: block; margin-top: 1.5rem; font: 500 .7rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--cream); opacity: .75; }
.wine-card h3 { margin-top: .5rem; color: #fff; font-size: clamp(1.45rem, 4vw, 1.75rem); }
@media (min-width: 900px) {
  .wine-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 52px 20px; overflow: visible; margin-inline: 0; padding: 8px 0 0; }
  .wine-card { flex: none; max-width: none; }
  .wine-card .bottle { max-height: 440px; }
}

/* podgorie – verde salvie */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.6rem 0 0; }
.chips li { padding: 9px 16px; border: 1px solid rgba(38, 4, 3, .35); border-radius: 999px; font: 500 .8rem/1 var(--sans); letter-spacing: .06em; }
.coord { display: inline-flex; align-items: center; gap: 10px; margin-top: 1.8rem; font: 500 .78rem/1.3 var(--sans); letter-spacing: .12em; text-decoration: none; }
.coord svg { width: 18px; height: 18px; flex: none; }
.coord:hover { text-decoration: underline; text-underline-offset: 4px; }
.photo { position: relative; overflow: hidden; background: var(--sage-l); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall { aspect-ratio: 4 / 5; }
.photo.wide { aspect-ratio: 4 / 3; }

/* cronologie */
.timeline { position: relative; max-width: 880px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 clamp(34px, 5vw, 54px) 52px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: 5px; top: 12px; width: 13px; height: 13px; transform: rotate(45deg); background: var(--paper); border: 1px solid var(--burgundy); }
.tl-item:last-child::before { background: var(--burgundy); }
.tl-year { font: 500 clamp(2.4rem, 7vw, 3.8rem)/1 var(--serif); color: var(--burgundy); }
.tl-item p { margin: .5rem 0 0; max-width: 34rem; color: var(--muted); }
@media (min-width: 900px) {
  .timeline::before { left: 50%; }
  .tl-item { width: 50%; padding: 0 56px clamp(40px, 5vw, 64px) 0; text-align: right; }
  .tl-item p { margin-left: auto; }
  .tl-item::before { left: auto; right: -7px; }
  .tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 clamp(40px, 5vw, 64px) 56px; text-align: left; }
  .tl-item:nth-child(even) p { margin-left: 0; }
  .tl-item:nth-child(even)::before { right: auto; left: -7px; }
}

/* mozaic galerie pe prima pagină */
.mosaic { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.mosaic a { position: relative; display: block; overflow: hidden; aspect-ratio: 1; background: var(--sage-l); }
.mosaic a:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.mosaic a:hover img { transform: scale(1.05); }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: repeat(2, 260px); gap: 14px; }
  .mosaic a, .mosaic a:first-child { aspect-ratio: auto; }
  .mosaic a:first-child { grid-row: 1 / 3; grid-column: 1; }
}

/* banda de invitație, cu schița desenată */
.invite {
  position: relative; isolation: isolate; text-align: center; overflow: hidden;
  background: var(--paper) url(../img/schita-900.webp) center bottom / cover no-repeat;
  color: var(--burgundy);
}
@media (min-width: 800px) { .invite { background-image: url(../img/schita-1800.webp); } }
.invite::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 40%, rgba(250, 246, 240, .94), rgba(250, 246, 240, .55) 70%, transparent); }
.invite .section-head { margin-inline: auto; }
.invite .eyebrow { justify-content: center; }
.invite p { color: var(--ink); }
.invite .btn-row { justify-content: center; }

/* ---------- pagina Povestea ---------- */
.grape-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .grape-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.grape { padding: clamp(18px, 3vw, 30px); border: 1px solid rgba(38, 4, 3, .3); }
.grape small { display: block; font: 500 .68rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; margin-bottom: .9rem; opacity: .8; }
.grape b { font: 500 clamp(1.3rem, 3.4vw, 1.85rem)/1.1 var(--serif); display: block; }
.conac { width: 100%; max-width: 420px; margin: 0 auto; }

.founders { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .founders { grid-template-columns: 1.05fr 1fr; gap: 80px; } }

/* ---------- pagina Vinurile ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: clamp(30px, 5vw, 56px); }
.filters button {
  min-height: 44px; padding: 0 22px; background: transparent; border: 1px solid var(--line); border-radius: 999px;
  font: 500 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--burgundy); cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.filters button:hover { border-color: var(--burgundy); }
@media (max-width: 479px) { .filters { gap: 8px; } .filters button { padding: 0 15px; letter-spacing: .13em; font-size: .7rem; } }
.filters button[aria-pressed="true"] { background: var(--burgundy); color: var(--cream); border-color: var(--burgundy); }
.wine-row { display: grid; gap: 0; margin-bottom: clamp(28px, 4vw, 44px); background: #fff; box-shadow: 0 1px 0 var(--line), 0 24px 60px -36px rgba(38, 4, 3, .35); }
.wine-row[hidden] { display: none; }
.wine-row .stage { position: relative; display: grid; place-items: center; padding: 44px 20px 40px; background: var(--burgundy); overflow: hidden; }
.wine-row .stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 50%, rgba(232, 210, 181, .16), transparent 70%); }
.wine-row .stage::after { content: ""; position: absolute; left: 50%; bottom: 30px; width: 130px; height: 16px; margin-left: -65px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0, 0, 0, .55), transparent 70%); filter: blur(4px); }
.wine-row .stage img { position: relative; z-index: 1; width: auto; height: clamp(300px, 56vw, 440px); }
.wine-row .info { padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.wine-row .kind { font: 500 .72rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; }
.wine-row .kind i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--burgundy)); display: inline-block; }
.wine-row h2 { font-size: clamp(2rem, 5.4vw, 3rem); color: var(--burgundy); }
.wine-row .desc { margin: 1.2rem 0 1.4rem; color: var(--muted); max-width: 34rem; }
.specs { border-top: 1px solid var(--line); margin-bottom: 1.8rem; max-width: 34rem; }
.specs div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; text-align: right; color: var(--burgundy-d); font-weight: 500; }
@media (min-width: 900px) {
  .wine-row { grid-template-columns: 5fr 7fr; }
  .wine-row.flip { grid-template-columns: 7fr 5fr; }
  .wine-row.flip .stage { order: 2; }
  .wine-row .stage { min-height: 560px; }
}

/* lista de vinuri: sticla și titlul duc la pagina vinului */
a.stage { text-decoration: none; }
.wine-row .stage img { transition: transform .6s var(--ease); }
.wine-row .stage:hover img { transform: translateY(-6px) scale(1.02); }
.wine-row h2 a { color: inherit; text-decoration: none; }
.wine-row h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }

/* ilustrația fondatorilor, ca o gravură încadrată */
.print { position: relative; isolation: isolate; margin: 0 auto; width: 100%; max-width: 440px; }
.print img { display: block; width: 100%; height: auto; box-shadow: 0 34px 60px -36px rgba(38, 4, 3, .55); }
.print::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--burgundy); opacity: .5; z-index: -1; }

/* ---------- pagina unui vin ---------- */
.pv-hero { min-height: 0; }
.pv-hero .container { padding-block: 104px 34px; }
.pv-main { padding-top: clamp(28px, 4vw, 52px); }
.pv-hero h1 { font-size: clamp(2.4rem, 8vw, 4.4rem); }
.pv-hero p.lead { max-width: 42rem; font-size: clamp(1rem, 2.4vw, 1.15rem); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 1.3rem; font: 500 .7rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--cream-l); }
.crumbs a { text-decoration: none; opacity: .82; }
.crumbs a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.crumbs [aria-current] { color: #fff; }
.crumbs span[aria-hidden] { opacity: .45; }
.pv { display: grid; gap: clamp(28px, 5vw, 56px); align-items: start; }
.pv-stage { position: relative; display: grid; place-items: center; padding: clamp(24px, 5vw, 44px) 20px clamp(36px, 5vw, 54px); border: 1px solid var(--line); background: radial-gradient(70% 62% at 50% 40%, #fffdf9, var(--cream-l)); }
.pv-stage::after { content: ""; position: absolute; left: 50%; bottom: clamp(32px, 4.6vw, 48px); width: 150px; height: 16px; margin-left: -75px; border-radius: 50%; background: radial-gradient(ellipse, rgba(38, 4, 3, .4), transparent 70%); filter: blur(5px); }
.pv-stage img { position: relative; z-index: 1; width: auto; height: clamp(360px, 70vw, 600px); max-width: 100%; mix-blend-mode: multiply; }
.pv-info .kind { display: flex; align-items: center; gap: 10px; margin: 0 0 1.1rem; font: 500 .72rem/1.3 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.pv-info .kind i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--burgundy)); }
.pv-desc { margin: 0 0 1.6rem; max-width: 38rem; font-size: 1.08rem; }
.pv-quote { margin: 0 0 2rem; padding: 4px 0 4px 20px; max-width: 38rem; border-left: 2px solid var(--burgundy); }
.pv-quote p { margin: 0; font: italic 500 clamp(1.3rem, 3.4vw, 1.65rem)/1.3 var(--serif); color: var(--burgundy); }
.pv-quote footer { margin-top: .6rem; font: 500 .7rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.pv-h { margin-bottom: .9rem; font-size: 1.6rem; color: var(--burgundy); }
.pv .specs { max-width: none; margin-bottom: 0; }
.pv .specs dd { max-width: 62%; }
.pv-buy { display: grid; gap: 20px; margin-top: 2rem; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); background: #fff; box-shadow: 0 24px 60px -40px rgba(38, 4, 3, .35); }
.pv-price { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pv-price span, .pv-order .lbl { font: 500 .72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.pv-price strong { font: italic 500 clamp(1.9rem, 5vw, 2.4rem)/1 var(--serif); color: var(--burgundy); }
.pv-order { display: grid; gap: 12px; }
.btn-soon { width: 100%; border: 1px dashed var(--burgundy); color: var(--burgundy); cursor: not-allowed; }
.btn-soon:disabled { opacity: 1; }
.pv-note { margin: 0; font-size: .92rem; color: var(--muted); }
.pv-note a { display: inline-flex; align-items: center; gap: 6px; color: var(--burgundy); text-underline-offset: 4px; }
.pv-note svg { width: 14px; height: 14px; }
.pv-back { margin: 1.6rem 0 0; }
@media (min-width: 900px) {
  .pv { grid-template-columns: 5fr 6fr; }
  .pv-stage { position: sticky; top: 92px; }
  .pv-stage img { height: clamp(460px, 68vh, 620px); }
}

/* ---------- galerie ---------- */
.gallery { columns: 2; column-gap: 10px; }
.gallery figure { margin: 0 0 10px; break-inside: avoid; position: relative; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--sage-l); cursor: zoom-in; overflow: hidden; position: relative; }
.gallery img { width: 100%; transition: transform 1s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; font: 500 .68rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cream); background: linear-gradient(transparent, rgba(38, 4, 3, .75)); pointer-events: none; opacity: 0; transition: opacity .4s; }
.gallery figure:hover figcaption, .gallery figure:focus-within figcaption { opacity: 1; }
@media (hover: none) { .gallery figcaption { opacity: 1; } }
@media (min-width: 820px) { .gallery { columns: 3; column-gap: 14px; } .gallery figure { margin-bottom: 14px; } }

.lightbox { width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 2, 2, .96); color: var(--cream); }
.lightbox::backdrop { background: rgba(20, 2, 2, .96); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox .lb-stage { display: grid; place-items: center; padding: 64px 12px 8px; min-height: 0; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox .lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px calc(14px + env(safe-area-inset-bottom)); }
.lightbox .lb-cap { flex: 1; text-align: center; font: 500 .72rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.lb-btn { width: 48px; height: 48px; display: grid; place-items: center; background: transparent; border: 1px solid var(--line-light); border-radius: 50%; color: var(--cream); cursor: pointer; }
.lb-btn:hover { background: rgba(232, 210, 181, .1); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 12px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: clamp(36px, 6vw, 80px); }
.contact-grid > * { min-width: 0; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 6fr; align-items: start; } }
@media (min-width: 700px) { .map-box { aspect-ratio: 21 / 9; } }
.info-list { border-top: 1px solid var(--line); }
.info-list a, .info-list > div { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.info-list svg { width: 22px; height: 22px; flex: none; margin-top: 4px; color: var(--burgundy); }
.info-list small { display: block; font: 500 .68rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: .55rem; }
.info-list b { font: 500 clamp(1.35rem, 3.6vw, 1.75rem)/1.2 var(--serif); color: var(--burgundy); font-weight: 500; }
.info-list a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.map-box { position: relative; aspect-ratio: 4 / 3; background: var(--sage-l); overflow: hidden; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-box .map-cta { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 20px; text-align: center; background: var(--sage) url(../img/schita-900.webp) center / cover; }
.map-box .map-cta::before { content: ""; position: absolute; inset: 0; background: rgba(165, 167, 155, .55); }
.map-box .map-cta > * { position: relative; }
.map-box .map-cta span { font: 500 1.5rem/1.2 var(--serif); color: var(--burgundy-dd); }

.form { background: #fff; padding: clamp(24px, 5vw, 52px); box-shadow: 0 24px 60px -36px rgba(38, 4, 3, .4); border-top: 3px solid var(--burgundy); }
.form h2 { font-size: clamp(1.9rem, 5vw, 2.6rem); color: var(--burgundy); margin-bottom: .5rem; }
.field { margin-top: 20px; }
.field label { display: block; margin-bottom: 8px; font: 500 .7rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 14px 0; font: 400 1.05rem/1.5 var(--sans); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(89, 9, 7, .35); border-radius: 0;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--burgundy); box-shadow: 0 1px 0 var(--burgundy); }
.field .err { display: none; margin-top: 6px; font-size: .85rem; color: #9b1c1c; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #9b1c1c; }
.field.is-invalid .err { display: block; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .note { margin: 22px 0 0; font-size: .85rem; color: var(--muted); }
.cf-turnstile { margin-top: 22px; min-height: 65px; max-width: 100%; }
.cf-turnstile iframe { max-width: 100%; }
.form .btn { margin-top: 26px; width: 100%; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form-status { margin-top: 20px; padding: 16px 18px; border-left: 3px solid var(--sage-d); background: var(--sage-l); font-size: .98rem; }
.form-status.ok { border-color: #3d6b3f; background: #e4eddc; }
.form-status.bad { border-color: #9b1c1c; background: #f6e1de; }
.form-status[hidden] { display: none; }

/* ---------- 404 ---------- */
.lost { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; color: var(--cream); background: var(--burgundy-dd); }
.lost-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.lost::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 55% at 50% 46%, rgba(38, 4, 3, .42), rgba(38, 4, 3, .82)), linear-gradient(180deg, rgba(38, 4, 3, .5), rgba(38, 4, 3, .8)); }
.lost-inner { padding-block: 120px calc(70px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; }
.lost .eyebrow { justify-content: center; margin-bottom: .4rem; }
.lost-num { display: flex; align-items: flex-end; justify-content: center; gap: .02em; margin: .05em 0 .12em; font: 500 clamp(6.5rem, 34vw, 13rem)/.86 var(--serif); font-style: italic; font-variant-numeric: lining-nums; color: var(--cream); text-shadow: 0 4px 40px rgba(38, 4, 3, .5); }
.lost-zero { display: inline-block; align-self: flex-end; height: .72em; }
.lost-ring { height: 100%; width: auto; overflow: visible; filter: drop-shadow(0 4px 24px rgba(38, 4, 3, .45)); }
.lost-ring circle { transform-box: fill-box; transform-origin: center; animation: berry-in .7s var(--ease) both; animation-delay: calc(var(--i) * 55ms + .3s); }
@keyframes berry-in { from { transform: scale(0); opacity: 0; } to { transform: none; opacity: 1; } }
.lost h1 { color: #fff; font-size: clamp(2.1rem, 7vw, 3.8rem); max-width: 18ch; text-wrap: balance; }
.lost-lead { max-width: 30rem; margin: 1.3rem 0 2rem; color: var(--cream-l); font-size: clamp(1.02rem, 2.4vw, 1.18rem); }
.lost .btn-row { justify-content: center; }
.paths { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .paths { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.paths a { position: relative; display: flex; flex-direction: column; height: 100%; padding: clamp(18px, 3vw, 30px); text-decoration: none; border: 1px solid var(--line); background: #fff; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s, transform .35s var(--ease); }
.paths small { font: 500 .7rem/1 var(--sans); letter-spacing: .26em; color: var(--muted); margin-bottom: 1.4rem; transition: color .35s; }
.paths b { font: 500 clamp(1.5rem, 4.4vw, 2rem)/1.1 var(--serif); color: var(--burgundy); transition: color .35s; }
.paths span { margin: .7rem 0 1.4rem; font-size: .92rem; line-height: 1.55; color: var(--muted); transition: color .35s; }
.paths svg { width: 20px; height: 20px; margin-top: auto; color: var(--burgundy); transition: transform .35s var(--ease), color .35s; }
.paths a:hover, .paths a:focus-visible { background: var(--burgundy); border-color: var(--burgundy); transform: translateY(-3px); }
.paths a:hover small, .paths a:hover span, .paths a:focus-visible small, .paths a:focus-visible span { color: var(--cream-l); }
.paths a:hover b, .paths a:focus-visible b, .paths a:hover svg, .paths a:focus-visible svg { color: #fff; }
.paths a:hover svg { transform: translateX(6px); }

/* ---------- footer ---------- */
.site-footer { background: var(--burgundy-dd); color: var(--cream); padding: clamp(56px, 8vw, 96px) 0 0; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.3fr .8fr 1.2fr; gap: 60px; } }
.site-footer img { width: 150px; margin-bottom: 20px; }
.site-footer p { color: var(--cream-l); opacity: .86; max-width: 26rem; font-size: .96rem; }
.site-footer .ft { font: 500 .72rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; margin: 0 0 1.3rem; color: var(--sage); }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer address { font-style: normal; font-size: .98rem; line-height: 1.8; }
.footer-bottom { border-top: 1px solid var(--line-light); padding: 22px 0 calc(22px + 72px); font-size: .8rem; color: var(--cream); opacity: .78; display: grid; gap: 6px; }
@media (min-width: 820px) { .footer-bottom { grid-template-columns: 1fr auto; padding-bottom: 22px; gap: 24px; } }

/* ---------- bara de acțiuni pe telefon ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(38, 4, 3, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-light);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.dock.is-visible { transform: none; }
body.menu-open .dock { transform: translateY(110%); }
.dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 58px; text-decoration: none; color: var(--cream); font: 500 .66rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.dock a + a { border-left: 1px solid var(--line-light); }
.dock svg { width: 20px; height: 20px; }
@media (min-width: 820px) { .dock { display: none; } }

/* ---------- apariție la derulare ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .08s; }
.js .reveal[data-d="2"] { transition-delay: .16s; }
.js .reveal[data-d="3"] { transition-delay: .24s; }
.js .reveal[data-d="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-video { display: none; }
}
@media print {
  .site-header, .dock, .hero-video, .scroll-cue { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- fereastra 18+ ---------- */
.agegate { display: none; }
.needs-age body { overflow: hidden; }
.needs-age .agegate {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; overflow-y: auto;
  padding: max(28px, env(safe-area-inset-top)) 28px max(28px, env(safe-area-inset-bottom));
  background: radial-gradient(75% 60% at 50% 38%, #4d0907 0%, var(--burgundy-dd) 78%);
  color: var(--cream); text-align: center;
  animation: ag-in .5s var(--ease) both;
}
@keyframes ag-in { from { opacity: 0; } to { opacity: 1; } }
.needs-age .agegate::before { content: ""; position: fixed; inset: 14px; border: 1px solid var(--line-light); pointer-events: none; }
.needs-age .agegate::after { content: ""; position: fixed; inset: 20px; border: 1px solid rgba(232, 210, 181, .12); pointer-events: none; }
.ag-box { position: relative; width: 100%; max-width: 520px; padding-block: 24px; }
.ag-box > img { width: 168px; height: auto; margin: 0 auto; }
.ag-box .orn { margin-block: 1.4rem; color: var(--cream); }
.ag-box h2 { color: #fff; font-size: clamp(2rem, 8vw, 3.1rem); }
.ag-box p { color: var(--cream-l); margin: 1.1rem auto 0; max-width: 28rem; }
.ag-actions { justify-content: center; margin-top: 2rem; }
.ag-actions .btn { min-width: 200px; }
.ag-legal { margin-top: 2.4rem !important; font-size: .8rem; letter-spacing: .04em; opacity: .75; }
.ag-deny { display: none; }
.age-denied .ag-ask { display: none; }
.age-denied .ag-deny { display: block; }
@media (max-width: 479px) { .ag-actions { flex-direction: column; } .ag-actions .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .needs-age .agegate { animation: none; } }
@media (min-width: 900px) { .ag-box { max-width: 600px; } .ag-box > img { width: 210px; } .ag-box h2 { font-size: 3.4rem; } .ag-box p { font-size: 1.1rem; } }
