/* ==========================================================================
   TOMA MATÉ · Van de Pampa tot Beersel (verhaal.html)
   Enkel tokens uit base.css. Alle scroll-effecten zijn een laag bovenop
   een leesbare basis: zonder JS staat alles open en zichtbaar.
   ========================================================================== */

.vh { --line-soft: color-mix(in srgb, var(--cream) 8%, transparent); }

/* ---------- gedeelde bouwstenen ---------- */
.vh-ratio-45 { aspect-ratio: 4 / 5; }
.vh-ratio-34 { aspect-ratio: 3 / 4; }
.vh-ratio-32 { aspect-ratio: 3 / 2; }
.vh-ratio-23 { aspect-ratio: 2 / 3; }
.vh-px { position: absolute; inset: -12% 0; }
.vh-px > img { width: 100%; height: 100%; object-fit: cover; }
html.js [data-reveal="img"] .vh-px > img { transform: scale(1.18); transition: transform 1.8s var(--ease-out); transition-delay: var(--d, 0s); }
html.js [data-reveal="img"].is-in .vh-px > img { transform: none; }

.vh-chap { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.vh-chap__meta { display: flex; align-items: center; gap: 1rem; }
.vh-chap__num { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--brand); min-width: 1.4ch; }
.section--night .vh-chap__num, .section--brand .vh-chap__num { color: var(--ember); }
.vh-chap__rule { display: block; width: clamp(3rem, 7vw, 6rem); height: 1px; background: currentColor; opacity: .45; }
.vh-chap .label { opacity: .8; }


/* ---------- hoofdstuk-navigatie (chakana-stippen) ---------- */
.vh-prog { position: fixed; right: clamp(.75rem, 1.6vw, 1.75rem); top: 50%; z-index: 55; transform: translateY(-50%); color: var(--ink); opacity: 0; visibility: hidden; transition: opacity .6s var(--ease-out), visibility 0s .6s, color .5s var(--ease-out); }
.vh-prog.is-on { opacity: 1; visibility: visible; transition: opacity .6s var(--ease-out), color .5s var(--ease-out); }
.vh-prog[data-tone="dark"] { color: var(--cream); }
.vh-prog ol { display: grid; gap: 0; }
.vh-prog li { position: relative; --p: 0; }
.vh-prog li + li { padding-top: 22px; }
.vh-prog li + li::before, .vh-prog li + li::after { content: ""; position: absolute; top: 3px; right: 6px; width: 1px; height: 16px; background: currentColor; opacity: .22; }
.vh-prog li + li::after { opacity: .9; transform-origin: top; transform: scaleY(var(--p)); }
.vh-prog a { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: .85rem; height: 13px; outline-offset: 6px; }
.vh-prog .chakana-dot { flex: none; width: 13px; height: 13px; opacity: .3; transform: scale(.62); transition: opacity .4s, transform .5s var(--ease-out), color .4s; }
.vh-prog .is-done .chakana-dot { opacity: .85; transform: scale(.62); }
.vh-prog .is-active .chakana-dot { opacity: 1; transform: scale(1); color: var(--ember); }
.vh-prog[data-tone="light"] .is-active .chakana-dot { color: var(--brand); }
.vh-prog b { position: absolute; right: 26px; top: 50%; display: flex; gap: .6em; align-items: baseline; padding: .35rem .7rem; font-weight: 500; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; background: var(--ink); color: var(--cream); border-radius: var(--radius); opacity: 0; transform: translate(8px, -50%); pointer-events: none; transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); }
.vh-prog[data-tone="dark"] b { background: var(--cream); color: var(--ink); }
.vh-prog b i { font-style: normal; font-family: var(--font-display); font-size: 12px; letter-spacing: .04em; color: var(--ember); }
.vh-prog[data-tone="dark"] b i { color: var(--brand); }
.vh-prog a:hover b, .vh-prog a:focus-visible b { opacity: 1; transform: translate(0, -50%); }
.vh-prog a:hover .chakana-dot { opacity: 1; transform: scale(1); }
@media (max-width: 1023px) { .vh-prog { display: none; } }

/* ---------- opening ---------- */
.vh-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--night); color: var(--cream); isolation: isolate; }
.vh-hero__media { position: absolute; inset: 0; z-index: -1; }
.vh-hero__media > img { position: absolute; inset: 0; transform-origin: 50% 60%; }
.vh-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--night) 62%, transparent) 0%, color-mix(in srgb, var(--night) 8%, transparent) 30%, color-mix(in srgb, var(--night) 30%, transparent) 50%, color-mix(in srgb, var(--night) 90%, transparent) 100%); }
.vh-hero__in { position: relative; padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(3.5rem, 7vh, 5.5rem); }
.vh-hero .eyebrow { color: var(--cream); text-shadow: 0 1px 12px color-mix(in srgb, var(--night) 70%, transparent); }
.vh-hero .eyebrow::before { background: var(--ember); }
.vh-hero__title { margin-top: 1.5rem; max-width: 14ch; text-shadow: 0 2px 40px color-mix(in srgb, var(--night) 35%, transparent); }
.vh-l { display: block; }
.vh-hero__title .serif-i { color: var(--ember-soft); font-size: .78em; }
.vh-hero__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-top: clamp(2rem, 5vh, 3.5rem); padding-top: 1.5rem; border-top: 1px solid var(--line-on-dark); }
.vh-hero__foot .lead { font-size: clamp(1.4rem, 1rem + 1.5vw, 2.35rem); }
.vh-hero__coords { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; margin-top: .9rem; color: var(--muted-on-dark); }
.vh-hero__coords i { display: block; width: clamp(2rem, 8vw, 7rem); height: 1px; background: currentColor; opacity: .6; }
.vh-cue { display: grid; justify-items: center; gap: .8rem; color: var(--cream); }
.vh-cue i { position: relative; display: block; width: 1px; height: 56px; overflow: hidden; background: var(--line-on-dark); }
.vh-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 45%; background: var(--ember); animation: vh-cue 2.2s var(--ease-in-out) infinite; }
@keyframes vh-cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(230%); } }
@media (max-width: 640px) {
  .vh-hero__foot { flex-direction: column; align-items: flex-start; }
  .vh-cue { display: none; }
  }

/* ---------- proloog ---------- */
.vh-proloog__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(2.5rem, 5vw, 5rem) var(--gutter); align-items: start; }
.vh-proloog__text { grid-column: 1 / 8; }
.vh-proloog__fig { grid-column: 8 / 13; position: sticky; top: calc(var(--header-h) + 2rem); }
.vh-proloog__copy { margin-top: clamp(2rem, 4vw, 3rem); }
.vh-proloog__copy em, .vh-pampa em, .vh-vuur em, .vh-gaucho em { font-style: italic; }
.vh-proloog .display .serif-i { color: var(--brand); }
.vh-proloog__sk { display: block; width: clamp(56px, 6vw, 84px); height: auto; aspect-ratio: 1; color: var(--brand); }
.vh-pull { position: relative; margin: clamp(2.5rem, 5vw, 4rem) 0; padding-left: clamp(1.5rem, 3vw, 2.5rem); max-width: 22ch; color: var(--brand); border-left: 1px solid var(--brand); }
.vh-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.vh-facts li { display: grid; gap: .4rem; padding: 1.4rem 1.25rem 0 0; }
.vh-facts li + li { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.vh-facts b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); line-height: 1; }
.vh-facts span { font-size: var(--text-small); color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) {
  .vh-proloog__text, .vh-proloog__fig { grid-column: 1 / -1; }
  .vh-proloog__fig { position: relative; top: 0; max-width: 520px; }
}
@media (max-width: 560px) {
  .vh-facts { grid-template-columns: 1fr; }
  .vh-facts li, .vh-facts li + li { padding: 1rem 0; border-left: 0; border-bottom: 1px solid var(--line); grid-template-columns: 8.5rem 1fr; align-items: baseline; }
}

/* ---------- I · pampa ---------- */
.vh-pampa { overflow: clip; padding-bottom: 0; }
.vh-pampa__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem var(--gutter); align-items: end; }
.vh-pampa__head .vh-chap { grid-column: 1 / 9; }
.vh-pampa__title .serif-i { color: var(--ember-soft); font-size: .7em; }

.vh-pampa__story { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem var(--gutter); align-items: center; padding-block: var(--section-y); }
.vh-pampa__map { grid-column: 5 / 9; }

.vh-gaucho { position: relative; }
.vh-gaucho .media { height: clamp(460px, 88svh, 900px); }
.vh-gaucho__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, color-mix(in srgb, var(--night) 94%, transparent) 0%, color-mix(in srgb, var(--night) 78%, transparent) 32%, color-mix(in srgb, var(--night) 10%, transparent) 62%, transparent 100%); pointer-events: none; }
.vh-gaucho__card { z-index: 2; position: absolute; left: max(var(--gutter), calc((100% - var(--container)) / 2)); bottom: clamp(2rem, 6vw, 5rem); max-width: 30rem; display: grid; gap: 1rem; }
.vh-gaucho__card .lead { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.6rem); }
.vh-gaucho__card .small { color: color-mix(in srgb, var(--cream) 82%, transparent); line-height: 1.7; }
@media (max-width: 900px) {
  .vh-pampa__head .vh-chap { grid-column: 1 / -1; }
  .vh-pampa__map { grid-column: 1 / -1; width: 100%; max-width: 460px; margin-inline: auto; }
  .vh-gaucho .media { height: 62svh; }
  .vh-gaucho__shade { background: linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--night) 90%, transparent) 100%); }
  .vh-gaucho__card { position: relative; left: auto; bottom: auto; max-width: none; margin-top: -4rem; padding: 0 var(--gutter) var(--section-y); }
}

/* ---------- II · het ras en het gras ---------- */
.vh-ras .display .serif-i { color: var(--brand); }

.vh-ras__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem var(--gutter); margin-top: clamp(3.5rem, 7vw, 6rem); align-items: start; }
.vh-ras__aside { grid-column: 1 / 6; position: sticky; top: calc(var(--header-h) + 2rem); display: grid; gap: clamp(2rem, 4vw, 3rem); }
.vh-ras__menu { display: grid; gap: .9rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.vh-ras__menu .lead { font-style: italic; }
.vh-ras__menu .label { color: var(--muted); }
.vh-ras__text { grid-column: 7 / 13; display: grid; gap: clamp(3.5rem, 7vw, 6rem); }
.vh-art { display: grid; gap: 1.2rem; }
.vh-art .body + .body { margin-top: 0; }
.vh-art__n { font-family: var(--font-display); font-size: 1rem; color: var(--brand); display: flex; align-items: center; gap: 1rem; }
.vh-art__n::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.vh-taste { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.vh-taste li { display: grid; gap: .5rem; align-content: start; padding: 1.4rem 1.25rem 1.4rem 0; border-bottom: 1px solid var(--line); counter-increment: taste; }
.vh-taste li:nth-child(even) { padding-left: 1.25rem; padding-right: 0; border-left: 1px solid var(--line); }
.vh-taste b { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1; text-transform: uppercase; }
.vh-taste span { font-size: var(--text-small); color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) {
  .vh-ras__aside, .vh-ras__text { grid-column: 1 / -1; }
  .vh-ras__aside { position: relative; top: 0; }
}
@media (max-width: 560px) {
  .vh-taste { grid-template-columns: 1fr; }
  .vh-taste li:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ---------- IV · beersel ---------- */
.vh-huis__top { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2.5rem var(--gutter); align-items: end; }
.vh-huis__top .vh-chap { grid-column: 1 / 7; }
.vh-huis .display .serif-i { color: var(--brand); }
.vh-huis__intro { grid-column: 7 / 13; }
.vh-huis__intro .lead { margin-bottom: 1.5rem; }
.vh-huis__intro .lead .serif-i { color: var(--brand); }

.vh-huis__collage { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(2rem, 4vw, 4rem) var(--gutter); margin-top: clamp(4rem, 8vw, 7rem); align-items: start; }
.vh-huis__collage figure { margin: 0; }
.vh-huis__a { grid-column: 1 / 6; grid-row: 1 / 3; }
.vh-quote { grid-column: 7 / 13; grid-row: 1; display: grid; gap: 1.25rem; align-content: start; padding-top: clamp(1rem, 4vw, 4rem); margin: 0; }
.vh-quote__q { font-family: var(--font-display); font-style: italic; font-size: clamp(2.6rem, 1.4rem + 4.4vw, 6rem); line-height: .95; color: var(--brand); text-wrap: balance; }
.vh-quote .label { color: var(--muted); }
.vh-quote .link-arrow { justify-self: start; margin-top: .5rem; }
.vh-huis__b { grid-column: 8 / 13; grid-row: 2; }
.vh-huis__c { grid-column: 2 / 5; grid-row: 3; margin-top: -11vw !important; }
.vh-huis__d { grid-column: 6 / 13; grid-row: 3; margin-top: clamp(2rem, 4vw, 5rem) !important; }

.vh-menu { margin-top: clamp(5rem, 10vw, 9rem); display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem var(--gutter); }
.vh-menu__head { grid-column: 1 / 5; display: grid; gap: 1.25rem; align-content: start; }
.vh-menu__list { grid-column: 5 / 13; border-top: 1px solid var(--ink); }
.vh-menu__list a { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) 5rem 4.5rem; gap: 1.5rem; align-items: baseline; padding: 1.6rem 1rem; border-bottom: 1px solid var(--line); isolation: isolate; transition: color .45s var(--ease-out), padding .5s var(--ease-out); }
.vh-menu__list a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-out); }
.vh-menu__list a:hover, .vh-menu__list a:focus-visible { color: var(--cream); padding-left: 1.75rem; }
.vh-menu__list a:hover::before, .vh-menu__list a:focus-visible::before { transform: scaleY(1); }
.vh-menu__name { font-family: var(--font-display); font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); line-height: 1; text-transform: uppercase; }
.vh-menu__sub { font-size: var(--text-small); color: var(--muted); transition: color .45s; }
.vh-menu__list a:hover .vh-menu__sub { color: var(--muted-on-dark); }
.vh-menu__g { font-size: var(--text-small); text-align: right; }
.vh-menu__list .price { text-align: right; font-size: 1.5rem; }
.vh-menu__foot { grid-column: 5 / 13; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
@media (max-width: 900px) {
  .vh-huis__top .vh-chap, .vh-huis__intro, .vh-menu__head, .vh-menu__list, .vh-menu__foot { grid-column: 1 / -1; }
  .vh-huis__a { grid-column: 1 / 9; grid-row: 1; }
  .vh-quote { grid-column: 1 / -1; grid-row: 2; padding-top: 0; }
  .vh-huis__b { grid-column: 4 / 13; grid-row: 3; }
  .vh-huis__c { grid-column: 1 / 7; grid-row: 4; margin-top: 0 !important; }
  .vh-huis__d { grid-column: 7 / 13; grid-row: 4; margin-top: 6rem !important; }
}
@media (max-width: 560px) {
  .vh-huis__a { grid-column: 1 / 11; }
  .vh-huis__b { grid-column: 3 / 13; }
  .vh-huis__c { grid-column: 1 / 8; }
  .vh-huis__d { grid-column: 1 / -1; grid-row: 5; margin-top: 0 !important; }
  .vh-menu__list a { grid-template-columns: 1fr auto; gap: .35rem 1rem; padding: 1.25rem .25rem; }
  .vh-menu__sub { grid-column: 1; grid-row: 2; }
  .vh-menu__g { grid-column: 2; grid-row: 2; }
  .vh-menu__list .price { grid-column: 2; grid-row: 1; }
}

/* ---------- V · het vuur ---------- */
.vh-vuur { overflow: clip; padding-bottom: 0; }
.vh-vuur__top { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem var(--gutter); align-items: start; }
.vh-vuur__meta { grid-column: 1 / -1; }
.vh-vuur__word { grid-column: 1 / -1; grid-row: 2; position: relative; z-index: 2; margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(5.5rem, 1rem + 21vw, 22rem); line-height: .78; letter-spacing: -.01em; color: var(--cream); mix-blend-mode: difference; pointer-events: none; white-space: nowrap; }
.vh-vuur__a { grid-column: 6 / 11; grid-row: 2 / 4; margin: clamp(5rem, 11vw, 12rem) 0 0; position: relative; z-index: 1; }
.vh-vuur__text { grid-column: 1 / 5; grid-row: 3; margin-top: clamp(2rem, 5vw, 5rem); }
.vh-vuur__text .lead { margin-bottom: 1.75rem; color: var(--ember-soft); }
.vh-vuur__b { grid-column: 11 / 13; grid-row: 3; margin: clamp(4rem, 14vw, 16rem) 0 0; }
@media (max-width: 900px) {
  .vh-vuur__a { grid-column: 3 / 13; grid-row: 3; margin-top: -2.5rem; }
  .vh-vuur__text { grid-column: 1 / -1; grid-row: 4; }
  .vh-vuur__b { grid-column: 1 / 7; grid-row: 5; margin-top: 0; }
}

.vh-aplauso { margin-top: clamp(5rem, 9vw, 8rem); padding-block: clamp(1.25rem, 2.5vw, 2rem); border-top: 1px solid var(--line-on-dark); --speed: 38s; }
.vh-aplauso .marquee__track { gap: clamp(2rem, 4vw, 4rem); padding-right: clamp(2rem, 4vw, 4rem); }
.vh-aplauso span { font-family: var(--font-display); font-size: clamp(2.5rem, 1.5rem + 4vw, 6rem); line-height: 1.05; text-transform: uppercase; color: var(--cream); }
.vh-aplauso span:nth-of-type(2) { color: transparent; -webkit-text-stroke: 1px var(--ember); }
.vh-aplauso .chakana-dot { width: clamp(1.25rem, 2.4vw, 2.25rem); height: clamp(1.25rem, 2.4vw, 2.25rem); color: var(--ember); }

/* ---------- VI · bij jou thuis ---------- */
.vh-thuis { overflow: clip; }
.vh-thuis__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem var(--gutter); align-items: start; }
.vh-thuis__lead { grid-column: 1 / 6; position: sticky; top: calc(var(--header-h) + 2rem); display: grid; gap: 1.5rem; }
.vh-thuis .display { font-size: clamp(2.6rem, 1.4rem + 3.6vw, 5rem); }
.vh-thuis .display .serif-i, .vh-thuis .vh-chap__num { color: var(--ember-soft); }
.vh-thuis .lead { color: var(--cream); }
.vh-thuis .body { color: color-mix(in srgb, var(--cream) 82%, transparent); }
.vh-thuis__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.vh-thuis__fig { width: clamp(150px, 16vw, 230px); margin: 1.5rem 0 0; }
.vh-thuis__tips { grid-column: 7 / 13; }
.vh-tips { border-top: 1px solid var(--line-on-dark); }
.vh-tips li { display: grid; grid-template-columns: clamp(3rem, 5vw, 4.5rem) 1fr; gap: 1rem; padding: clamp(1.4rem, 2.4vw, 2rem) 0; border-bottom: 1px solid var(--line-on-dark); }
.vh-tips__n { font-family: var(--font-display); font-size: clamp(2.2rem, 1.5rem + 2vw, 3.5rem); line-height: .85; color: var(--ember-soft); }
.vh-tips h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.85rem); line-height: 1.05; text-transform: uppercase; }
.vh-tips p { margin-top: .5rem; font-size: .95rem; color: color-mix(in srgb, var(--cream) 80%, transparent); max-width: 52ch; }
@media (max-width: 900px) {
  .vh-thuis__lead, .vh-thuis__tips { grid-column: 1 / -1; }
  .vh-thuis__lead { position: relative; top: 0; }
}
@media (max-width: 480px) {
  .vh-thuis__cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .vh-cue i::after { animation: none; }
}

/* gedeelde gap: de gesloten winkelmand-lade (base.css) laat haar schaduw zien aan de rechterrand */
.tm-cart:not(.is-open) { box-shadow: none; }
/* de hover-vulling van .btn piept op sommige breedtes 1px onder de rand uit */
.vh .btn:not(:hover)::before { transform: translateY(110%); }

/* =====================================================================
   III · De rijping: 23 dagen op zee (rustig blok, tekst links, tekening rechts)
   ===================================================================== */
.vh-rij__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2.5rem; align-items: center; }
.vh-rij__text { grid-column: 1 / 7; }
.vh-rij__lead { max-width: 34ch; color: var(--cream); }
.vh-rij__sk { grid-column: 8 / 13; justify-self: center; width: min(100%, 22rem); height: auto; aspect-ratio: 3 / 2; color: var(--ember); }
@media (max-width: 860px) {
  .vh-rij__text, .vh-rij__sk { grid-column: 1 / -1; }
  .vh-rij__sk { justify-self: start; width: min(70%, 15rem); }
}
