/* Restaurant page: reel triptych hero, the XLV dry-age counter, ritual, menu, wine wall. */

/* ---------- hero triptych ---------- */
.r-hero { position: relative; min-height: 100svh; padding: 110px var(--gutter) clamp(2rem, 5vh, 4rem); display: grid; align-content: end; overflow: hidden; isolation: isolate; }
.tri { position: absolute; inset: 90px 0 auto; display: flex; justify-content: center; gap: clamp(.6rem, 1.4vw, 1.4rem); z-index: -1; }
.tri .reel { width: min(30vw, calc((100svh - 140px) * 9 / 16)); flex: none; }
.tri .reel:nth-child(2) { transform: translateY(-4%); }
.tri .reel:nth-child(1), .tri .reel:nth-child(3) { opacity: .62; }
.r-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 11, 8, .2) 30%, rgba(14, 11, 8, .92) 82%); }
.r-hero h1 { font-size: clamp(2.8rem, 1rem + 7.4vw, 8.4rem); line-height: .95; letter-spacing: .03em; text-align: center; }
.r-hero p { margin: 1.4rem auto 0; text-align: center; color: var(--ink-2); max-width: 44ch; }
@media (max-width: 700px) {
  .tri .reel { width: 74vw; }
  .tri .reel:nth-child(1), .tri .reel:nth-child(3) { display: none; }
}

/* ---------- XLV: forty-five days of patience ---------- */
.xlv { position: relative; height: 420vh; }
.xlv__stage { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.xlv__img {
  position: absolute; inset: 0; z-index: -2;
  background: center / cover no-repeat url(../img/rostilj-s1080.webp);
  filter: grayscale(calc(1 - var(--p, 0))) brightness(calc(.25 + var(--p, 0) * .45)) contrast(1.1);
  transform: scale(calc(1.25 - var(--p, 0) * .2));
}
.xlv__stage::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 50%, rgba(14, 11, 8, .2), rgba(14, 11, 8, .85) 75%); }
.xlv__inner { display: grid; justify-items: center; gap: 1rem; text-align: center; padding-inline: var(--gutter); }
.xlv__num {
  font: 500 clamp(5rem, 2rem + 16vw, 16rem)/1 var(--f-display); letter-spacing: .04em; color: var(--gold);
  font-variant-numeric: tabular-nums; text-shadow: 0 10px 60px rgba(0, 0, 0, .6); min-width: 3ch;
}
.xlv__lbl { font: 600 .76rem/1 var(--f-body); letter-spacing: .32em; text-transform: uppercase; color: var(--ink-2); }
.xlv__lbl b { color: var(--ink); font-variant-numeric: tabular-nums; }
.xlv__bar { position: relative; width: min(560px, 80vw); height: 14px; margin-top: 1.4rem; }
.xlv__bar::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.xlv__bar i { position: absolute; left: 0; top: 50%; height: 1px; width: calc(var(--p, 0) * 100%); background: var(--gold); }
.xlv__bar span { position: absolute; top: 50%; left: calc(var(--p, 0) * 100%); width: 9px; height: 9px; border-radius: 50%; background: var(--gold); transform: translate(-50%, -50%); box-shadow: 0 0 14px var(--accent); }
.xlv__end { font: 500 var(--step-3)/1.1 var(--f-display); max-width: 16ch; opacity: var(--end, 0); transform: translateY(calc((1 - var(--end, 0)) * 20px)); }
.xlv__note { max-width: 40ch; color: var(--ink-2); opacity: var(--end, 0); }

/* ---------- ritual ---------- */
.ritual { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.ritual .reel { max-width: 400px; justify-self: end; }
.steps { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; gap: 1.8rem; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 3.4rem 1fr; gap: 1rem; }
.steps .numeral { font-size: var(--step-1); line-height: 1.2; }
.steps h3 { font-size: var(--step-1); letter-spacing: .05em; margin-bottom: .35rem; }
.steps p { color: var(--ink-2); }
@media (max-width: 860px) { .ritual { grid-template-columns: 1fr; } .ritual .reel { justify-self: start; max-width: 320px; } }

/* ---------- menu ---------- */
.menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 6vw, 6rem); }
.menu h3 { font-size: .78rem; font-family: var(--f-body); font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.menu li b { display: block; font: 500 var(--step-1)/1.25 var(--f-display); letter-spacing: .04em; margin-bottom: .3rem; }
.menu li span { color: var(--ink-2); font-size: .95rem; }
.menu-note { margin-top: 3rem; color: var(--ink-2); font-size: .9rem; }
@media (max-width: 760px) { .menu { grid-template-columns: 1fr; } }

/* ---------- wine wall ---------- */
.wine { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 1.5vw, 1.4rem); align-items: start; }
.wine .frame { aspect-ratio: 9 / 16; }
.wine .frame:nth-child(2) { margin-top: clamp(2rem, 8vw, 7rem); }
.wine-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.wine-head h2 { font-size: var(--step-3); }
@media (max-width: 760px) { .wine-head { grid-template-columns: 1fr; } .wine { grid-template-columns: repeat(2, 1fr); } .wine .frame:nth-child(3) { display: none; } }

.facts { display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin-top: 2.4rem; }
.facts div { display: grid; gap: .3rem; }
.facts dt { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.facts dd { margin: 0; }
