/* Hallmark · shape: Showing Room (a full-screen film opens the page, then the reels on phones on a green stage, the packages, the work in a darkroom band, the process, the maker, a band for makelaars, a green close) · genre: editorial · theme: custom (the dvh-v2 house tokens: stone, ink, deep green) · redesign: full · job: hire · idea: "a Brabant filmmaker's homepage that opens like a screening: the picture first, the words set on it like a title card" · vibe: "licht, filmisch, warm, grijsgroen, vakmanschap"
 * ground: oklch(90.3% 0.023 93) stone, with darkroom and #1E4035 bands · accent: oklch(42% 0.022 160) on stone, sage on dark · display: Libre Baskerville · body: Inter (both kept from v2) · hero: Filmdoek, a full-screen loop of the Monaco film with the head set on it as a title card · nav: edge-aligned bar over the film, stone once the film has passed · footer: colophon block · imagery: the owner's film, stills and photographs, reels on phones · signature: the reels on phones standing on a green stage, growing under the pointer and playing on a click
 * axes: light/roman-serif/chromatic-green · posture: Committed, stone carries the page, the darkroom and the deep green carry the bands · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, the phones stay empty until the owner sends the reels; the Monaco film carries the page until then */
/* Hallmark · hero-review: in-thread · carried over from the approved Filmdoek study (2 findings there, 2 resolved) · round 5: the head moved up to the middle of the film at the owner's request, the scrim now darkens the middle instead of the foot */
/* Hallmark · finish-review: in-thread · round 5, 0 new findings; the head sits in the middle of the film on desktop, phones keep the head over the lower half with the buttons in thumb reach · earlier rounds: 5 resolved · open notes: 58, the owner asked for a longer story about himself, and the vastgoed formats are his own copy */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- page ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: calc(var(--z-sticky-nav) + 1); background: var(--color-night); }
html.past-hero body::before { background: var(--color-paper); }

/* ---------- surfaces: stone by default, the dark and green bands swap the tokens ---------- */
.on-dark, .on-green, .nav:not(.is-scrolled), .phone { --fg: var(--color-on-dark); --fg-2: var(--color-on-dark-2); --rule: var(--color-dark-rule); --line: var(--color-dark-line); --wash: var(--color-dark-wash); --slot: var(--color-night-slot); --signal: var(--color-sage); --btn-bg: var(--color-sage); --btn-bg-hover: var(--color-sage-strong); --btn-fg: var(--color-ink); --focus: var(--color-focus-on-dark); color: var(--fg); }
.on-dark { --bg: var(--color-night); background: var(--bg); color: var(--color-on-dark); }
.on-green { --bg: var(--color-green); background: var(--bg); color: var(--color-on-dark); }
.skip { position: absolute; left: var(--space-md); top: var(--space-md); z-index: var(--z-modal); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-pill); background: var(--color-sage); color: var(--color-ink); font-weight: 600; text-decoration: none; transform: translateY(-300%); }
.skip:focus-visible { transform: none; }
.section { padding-block: var(--section-gap); }
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-md); align-items: end; margin-bottom: var(--space-2xl); }
.head h2 { grid-column: 1 / span 7; font-size: var(--text-section); line-height: 1.08; max-width: 14em; }
.head .lead { grid-column: 9 / span 4; }
.lead { font-size: var(--text-lead); line-height: 1.5; color: var(--fg-2); max-width: 32em; }
.cap { font-size: var(--text-xs); line-height: 1.45; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg); text-decoration: underline; text-decoration-color: var(--line); transition: text-decoration-color var(--dur-short) var(--ease-out); }
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid transparent; border-radius: var(--radius-pill); font-size: 0.9375rem; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover { background: var(--btn-bg-hover); }
.btn--quiet { background: transparent; color: var(--fg); border-color: var(--line); }
.btn--quiet:hover { background: var(--wash); border-color: var(--fg-2); }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ---------- nav: over the film, solid once the page moves ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: var(--z-sticky-nav); border-bottom: var(--rule-hair) solid transparent; transition: background-color var(--dur-long) var(--ease-out), border-color var(--dur-long) var(--ease-out); }
.nav.is-scrolled { background: var(--color-paper); border-bottom-color: var(--rule); }
.nav__in { height: var(--nav-h); display: flex; align-items: center; gap: var(--space-xl); }
.nav__logo { display: flex; flex-shrink: 0; border-radius: var(--radius-card); }
.nav__logo img { height: 48px; width: auto; }
.nav__links { display: flex; gap: var(--space-xl); margin-left: auto; }
.nav__links a { position: relative; padding-block: var(--space-xs); font-size: 0.9375rem; color: var(--fg); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--dur-long) var(--ease-out); }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--fg); }
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); }
.nav__cta { min-height: 44px; }
.nav__menu { display: none; min-height: 44px; }

.menu { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--fg); opacity: 0; transition: opacity var(--dur-long) var(--ease-out); }
.menu::backdrop { background: var(--color-scrim-0); }
.menu.is-open { opacity: 1; }
.menu__in { min-height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding-top: env(safe-area-inset-top, 0px); padding-bottom: calc(var(--space-xl) + env(safe-area-inset-bottom, 0px)); }
.menu__top { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.menu__top img { height: 40px; width: auto; }
.menu__links { display: grid; align-content: center; gap: var(--space-2xs); }
.menu__links a { font: 400 var(--text-display-s)/1.15 var(--font-display); letter-spacing: var(--tracking-display); text-decoration: none; padding-block: var(--space-2xs); opacity: 0; transform: translateY(12px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); transition-delay: calc(var(--mi, 0) * 50ms + 80ms); }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu__foot { display: grid; gap: var(--space-sm); }
.menu__foot .btn { width: 100%; }

/* ---------- hero: the film, with the head set on it like a title card ---------- */
.hero { margin-top: calc(-1 * var(--nav-h)); }
.hero__stage { position: relative; }
.hero__frame { position: relative; width: 100%; height: 100svh; min-height: 32rem; overflow: hidden; background: var(--slot); }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--color-scrim) 0%, var(--color-scrim-0) 22%, var(--color-scrim-soft) 36%, var(--color-scrim-soft) 62%, var(--color-scrim-0) 86%); }
/* the head sits just above the middle of the film: the nav's height clear at the top, a little more at the bottom for the pause button */
.hero__copy { position: absolute; inset: 0; z-index: var(--z-raised); display: grid; align-content: center; padding-block: var(--nav-h) calc(var(--nav-h) + var(--space-xl)); }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); align-items: end; }
.hero__title { grid-column: 1 / span 8; font-size: var(--text-display); line-height: 1.04; max-width: 12.5em; }
.hero__side { grid-column: 9 / span 4; display: grid; gap: var(--space-md); }
.hero__side .lead { color: var(--fg); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

.hero__pause { position: absolute; z-index: var(--z-raised); right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); bottom: var(--space-lg); display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--color-glass); color: var(--color-on-dark); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.hero__pause:hover { background: var(--color-scrim); }
.hero__pause:active { transform: translateY(1px); }
.hero__pause svg { width: 14px; height: 14px; }
.hero__pause .i-play, .hero__pause[data-paused="true"] .i-pause { display: none; }
.hero__pause[data-paused="true"] .i-play { display: block; }

/* the film opens out of a slit, the head rises word by word */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: 0.06em 0.16em; margin-block: -0.06em -0.16em; }
.w__i { display: inline-block; }
.js [data-split].is-split .w__i { transform: translateY(112%); }
.js [data-split].is-split.is-in .w__i { transform: none; transition: transform var(--dur-reveal) var(--ease-out); transition-delay: calc(var(--wi, 0) * 50ms + var(--wd, 0ms)); }
.js .hero__frame { clip-path: inset(44% 0 44% 0); }
.js .hero__media { transform: scale(1.06); }
.js .hero__side { opacity: 0; transform: translateY(12px); }
.is-loaded .hero__frame { clip-path: inset(0 0 0 0); transition: clip-path 1300ms var(--ease-in-out); }
.is-loaded .hero__media { transform: none; transition: transform 2400ms var(--ease-out); }
.is-loaded .hero__side { opacity: 1; transform: none; transition: opacity var(--dur-reveal) var(--ease-out) 700ms, transform var(--dur-reveal) var(--ease-out) 700ms; }
.hero__title { --wd: 450ms; }

/* ---------- reels: phones that grow under the pointer and play on a click ---------- */
.reels__stage { position: relative; }
.reels__stage::before { content: ""; position: absolute; top: 16%; bottom: 0; -webkit-mask-image: linear-gradient(to bottom, var(--color-scrim-0) 0, var(--color-ink) 10rem); mask-image: linear-gradient(to bottom, var(--color-scrim-0) 0, var(--color-ink) 10rem); left: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); border-radius: var(--radius-card); background: radial-gradient(90% 120% at 50% 0%, var(--color-green-lit) 0%, var(--color-green) 70%); }
.reels__row { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); padding-bottom: var(--space-2xl); }
.reel { display: grid; gap: var(--space-md); justify-items: center; align-content: start; }
.phone { position: relative; width: min(100%, 20rem); padding: var(--space-sm); border-radius: var(--radius-phone); background: var(--color-ink); box-shadow: inset 0 0 0 1px var(--rule), 0 40px 60px -36px var(--color-shade); transition: transform var(--dur-long) var(--ease-out), box-shadow var(--dur-long) var(--ease-out); }
.reel.has-reel .phone:hover, .reel.has-reel .phone:focus-within { transform: scale(1.04); box-shadow: inset 0 0 0 1px var(--line), 0 48px 70px -34px var(--color-shade); }
.phone__screen { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius-screen); overflow: hidden; background: var(--slot); }
.phone__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone__empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: var(--space-sm); padding: var(--space-lg); text-align: center; font-size: var(--text-sm); color: var(--fg-2); }
.phone__empty img { width: 56px; height: auto; opacity: 0.5; }
.phone__play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; transition: opacity var(--dur-short) var(--ease-out); }
.phone__play > span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--color-glass); color: var(--color-on-dark); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.phone__play svg { width: 20px; height: 20px; margin-left: var(--space-2xs); }
.reel.has-reel .phone:hover .phone__play > span { background: var(--color-sage); color: var(--color-ink); }
.reel.is-playing .phone__play { opacity: 0; }
.phone__tap { position: absolute; inset: 0; z-index: 3; width: 100%; padding: 0; border: 0; border-radius: var(--radius-screen); background: transparent; cursor: pointer; }
.phone__tap:focus-visible { outline-offset: -4px; }
.phone__tap:active { transform: translateY(1px); }
.phone__bar { position: absolute; left: var(--space-lg); right: var(--space-lg); bottom: var(--space-md); z-index: 2; height: 3px; border-radius: var(--radius-hair); background: var(--line); overflow: hidden; pointer-events: none; }
.phone__bar i { display: block; height: 100%; background: var(--fg); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.phone__count { position: absolute; left: var(--space-md); top: var(--space-md); z-index: 2; padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-card); background: var(--color-glass); font-size: var(--text-xs); font-variant-numeric: tabular-nums; pointer-events: none; }
.reel:not(.has-reel) .phone__tap, .reel:not(.has-reel) .phone__play, .reel:not(.has-reel) .phone__bar, .reel:not(.has-reel) .phone__count, .reel.has-reel .phone__empty { display: none; }
.reel__cap { display: grid; gap: var(--space-3xs); justify-items: center; text-align: center; }
.reel__what { font-size: var(--text-sm); color: var(--color-on-dark-2); }
.reel__name { color: var(--color-on-dark); font-family: var(--font-display); font-size: var(--text-lg); letter-spacing: var(--tracking-display); }
.reels__note { margin-top: var(--space-2xl); }

/* ---------- packages ---------- */
.pak__list { border-top: var(--rule-hair) solid var(--rule); }
.pak { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); column-gap: var(--gap-columns); row-gap: var(--space-xs); align-items: baseline; padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--rule); }
.pak h3 { font-size: var(--text-title); }
.pak p { color: var(--fg-2); max-width: 36em; }
.pak .pak__price { justify-self: end; font-family: var(--font-display); font-size: var(--text-price); line-height: 1; color: var(--fg); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.pak__month { margin-top: var(--space-xl); padding-inline: var(--space-xl); border-radius: var(--radius-card); }
.pak__month .pak { border-bottom-color: var(--line); }
.pak__month .pak:last-child { border-bottom: 0; }
.pak__per { display: block; margin-top: var(--space-xs); font-family: var(--font-body); font-size: var(--text-sm); color: var(--fg-2); text-align: right; }
.pak__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); margin-top: var(--space-2xl); }

/* ---------- work: films, then the contact sheet ---------- */
.pakketten { background: var(--color-paper-2); }
.werk { padding-bottom: var(--space-2xl); }
.films { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.film { display: grid; gap: var(--space-sm); text-decoration: none; border-radius: var(--radius-card); }
.film__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-card); overflow: hidden; }
.film__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__play { position: absolute; left: var(--space-md); bottom: var(--space-md); display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--color-glass); color: var(--color-on-dark); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.film__play svg { width: 16px; height: 16px; }
.film__title { font-family: var(--font-display); font-size: var(--text-lg); letter-spacing: var(--tracking-display); }
.film:hover .film__play { background: var(--color-sage); color: var(--color-ink); }
.film:hover .film__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
.film:active .film__frame { transform: translateY(1px); }
.film:focus-visible { outline-offset: 4px; }

.album { margin-top: var(--space-3xl); }
.album__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-md); align-items: end; margin-bottom: var(--space-xl); }
.album__head h3 { grid-column: 1 / span 6; font-size: var(--text-title); }
.album__side { grid-column: 8 / span 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); }
.album__side p { color: var(--fg-2); max-width: 28em; }
.sheet__nav { display: flex; gap: var(--space-xs); }
.sheet__btn, .lb__btn { display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; border: var(--rule-hair) solid var(--line); border-radius: 50%; background: transparent; color: var(--fg); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.sheet__btn svg, .lb__btn svg { width: 16px; height: 16px; }
.sheet__btn:hover, .lb__btn:hover { background: var(--fg); color: var(--bg); }
.sheet__btn:active, .lb__btn:active { transform: translateY(1px); }
.sheet__btn:disabled { opacity: 0.4; cursor: not-allowed; background: transparent; color: var(--fg); transform: none; }
.sheet__rail { --frame-h: clamp(15rem, 26vw, 24rem); display: flex; gap: var(--space-sm); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--fg-2) transparent; padding-block: var(--space-2xs) var(--space-md); padding-left: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); padding-right: var(--gutter); scroll-padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); }
.sheet__rail:focus-visible { outline-offset: -2px; }
.frame { flex: none; display: grid; gap: var(--space-xs); scroll-snap-align: start; }
.frame__btn { display: block; padding: 0; border: 0; border-radius: var(--radius-card); background: transparent; cursor: zoom-in; transition: box-shadow var(--dur-short) var(--ease-out); }
.frame__btn:hover { box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--fg-2); }
.frame__btn:focus-visible { outline-offset: 4px; }
.frame__btn:active { transform: translateY(1px); }
.frame__btn img { height: var(--frame-h); width: auto; max-width: none; border-radius: var(--radius-card); }
.frame__no { font-size: var(--text-sm); color: var(--fg-2); font-variant-numeric: tabular-nums; }
.album__more { margin-top: var(--space-md); }

/* ---------- process ---------- */
.werkwijze { background: var(--color-paper-2); padding-top: var(--space-3xl); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); counter-reset: step; }
.step { display: grid; gap: var(--space-sm); align-content: start; padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1; color: var(--signal); font-variant-numeric: tabular-nums lining-nums; }
.step h3 { font-size: var(--text-title); }
.step p { color: var(--fg-2); }

/* ---------- the maker ---------- */
.over__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: center; }
.over__text { grid-column: 1 / span 6; display: grid; gap: var(--space-lg); }
.over__text .lead { max-width: none; }
.over__text h2 { font-size: var(--text-section); line-height: 1.08; }
.over__text p:not(.lead) { color: var(--fg-2); }
.over__fig { grid-column: 8 / span 5; display: grid; gap: var(--space-sm); }
.over__frame { aspect-ratio: 4 / 5; border-radius: var(--radius-card); }
.over__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- band for makelaars ---------- */
.band { background: var(--color-paper-2); }
.band__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: center; padding-block: var(--section-gap-s); }
.band__fig { grid-column: 1 / span 7; aspect-ratio: 3 / 2; border-radius: var(--radius-card); }
.band__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band__text { grid-column: 9 / span 4; display: grid; gap: var(--space-md); justify-items: start; }
.band h2 { font-size: var(--text-section); line-height: 1.08; }
.band__text p { color: var(--fg-2); }

/* ---------- close ---------- */
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: start; }
.contact__main { grid-column: 1 / span 6; display: grid; gap: var(--space-lg); justify-items: start; }
.contact__main h2 { font-size: var(--text-section); line-height: 1.08; }
.ways { grid-column: 8 / span 5; border-top: var(--rule-hair) solid var(--line); }
.way { display: flex; align-items: center; gap: var(--space-md); padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--line); }
.way__main { flex: 1; min-width: 0; display: grid; gap: var(--space-3xs); min-height: 44px; align-content: center; text-decoration: none; border-radius: var(--radius-card); }
.way__label { font-size: var(--text-sm); color: var(--fg-2); }
.way__value { font-size: var(--text-lg); overflow-wrap: anywhere; }
.way__main:hover .way__value { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
.copy { flex: none; min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--line); border-radius: var(--radius-pill); background: transparent; font-size: var(--text-sm); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.copy:hover { background: var(--fg); color: var(--bg); }
.copy:active { transform: translateY(1px); }
.copy[data-state="copied"] { background: var(--color-sage); color: var(--color-ink); border-color: var(--color-sage); }

/* ---------- footer ---------- */
.foot { border-top: var(--rule-hair) solid var(--rule); }
.foot__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); padding-block: var(--space-3xl) var(--space-2xl); }
.foot__brand { grid-column: 1 / span 5; display: grid; gap: var(--space-md); align-content: start; }
.foot__brand img { width: auto; height: 64px; }
.foot__brand p { color: var(--fg-2); max-width: 30em; }
.foot__links { grid-column: 7 / span 3; display: grid; align-content: start; gap: var(--space-2xs); }
.foot__contact { grid-column: 10 / span 3; display: grid; align-content: start; gap: var(--space-2xs); }
.foot a { display: inline-flex; align-items: center; min-height: 36px; justify-self: start; color: var(--fg); text-decoration: none; }
.foot a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
.foot__bot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-sm); padding-block: var(--space-lg) calc(var(--space-lg) + env(safe-area-inset-bottom, 0px)); border-top: var(--rule-hair) solid var(--rule); font-size: var(--text-sm); color: var(--fg-2); }

/* ---------- lightbox ---------- */
.lb { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--color-backdrop); color: var(--fg); opacity: 0; transition: opacity var(--dur-long) var(--ease-out); }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb.is-open { opacity: 1; }
.lb::backdrop { background: var(--color-scrim-0); }
.lb__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding: calc(var(--space-md) + env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) var(--space-md) max(var(--gutter), env(safe-area-inset-left, 0px)); }
.lb__title { font: 400 var(--text-lg)/1.3 var(--font-display); }
.lb__count { margin-left: var(--space-sm); font: 400 var(--text-sm)/1 var(--font-body); color: var(--fg-2); font-variant-numeric: tabular-nums; }
.lb__stage { position: relative; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 calc(var(--gutter) + var(--space-2xl)); touch-action: pan-y; }
.lb__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: opacity var(--dur-short) var(--ease-out); }
.lb__img.is-swapping { opacity: 0; }
.lb__prev, .lb__next { position: absolute; top: 50%; translate: 0 -50%; }
.lb__prev { left: max(var(--gutter), env(safe-area-inset-left, 0px)); }
.lb__next { right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.lb__alt { padding: var(--space-md) var(--gutter) calc(var(--space-lg) + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: var(--text-sm); color: var(--fg-2); }

/* ---------- vastgoed: three kinds of picture, and the area ---------- */
.formats__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.format { display: grid; gap: var(--space-sm); align-content: start; }
.format__frame { aspect-ratio: 4 / 5; border-radius: var(--radius-card); margin-bottom: var(--space-sm); }
.format__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.format h3 { font-size: var(--text-title); }
.format p { color: var(--fg-2); }
.contact__main .ways { grid-column: auto; width: 100%; margin-top: var(--space-sm); }
.contact__area { grid-column: 8 / span 5; display: grid; gap: var(--space-md); align-content: start; }
.contact__area h3 { font-size: var(--text-title); }
.contact__area > p:not(.legend) { color: var(--fg-2); font-size: var(--text-sm); max-width: 46ch; }
.map { width: 100%; height: auto; max-height: 34rem; }
.map .prov { fill: var(--color-green-rule); stroke: var(--color-green); stroke-width: 1.6; stroke-linejoin: round; }
.map .prov--nb { fill: var(--color-sage); }
.map .ring { fill: none; stroke: var(--fg); stroke-width: 1.2; stroke-dasharray: 4 5; }
.map .ring-t { font: 400 10px var(--font-body); fill: var(--fg-2); }
.map .city circle { fill: var(--fg); }
.map .city text { font: 600 12px var(--font-body); fill: var(--fg); paint-order: stroke; stroke: var(--color-green); stroke-width: 4px; stroke-linejoin: round; }
.map .city--far circle { fill: var(--fg-2); }
.map .city--far text { font-weight: 400; font-size: 11px; fill: var(--fg-2); }
.map .home .core { fill: var(--fg); stroke: var(--color-green); stroke-width: 3; }
.map .home .pill { fill: var(--fg); }
.map .home .pill-t { font: 600 12px var(--font-body); fill: var(--color-green); }
.legend { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); font-size: var(--text-sm); color: var(--fg-2); }
.legend span { display: inline-flex; align-items: center; gap: var(--space-xs); }
.legend i { width: 12px; height: 12px; }
.legend__home { border-radius: 50%; background: var(--fg); }
.legend__nb { border-radius: 2px; background: var(--color-sage); }
.legend__ring { border: 1.5px dashed var(--fg); border-radius: 50%; }

/* ---------- tablet and phone ---------- */
@media (max-width: 75rem) {
  .films { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .films .film:first-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-2xl); }
}
@media (max-width: 60rem) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: inline-flex; margin-left: auto; }
  .nav__logo img { height: 40px; }
  .hero__stage { display: grid; align-content: end; min-height: 100svh; }
  .hero__frame { position: absolute; inset: 0; height: auto; min-height: 0; }
  .reels__stage::before { left: 0; right: 0; top: 12%; border-radius: 0; }
  .hero__frame::after { background: linear-gradient(to bottom, var(--color-scrim) 0%, var(--color-scrim-0) 18%, var(--color-scrim-0) 26%, var(--color-scrim) 50%, var(--color-night) 100%); }
  .hero__copy { position: relative; padding-block: calc(var(--nav-h) + 40vw) var(--space-3xl); }
  .head, .hero__grid, .album__head, .over__grid, .band__in, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .head h2, .head .lead, .hero__title, .hero__side, .album__head h3, .album__side, .over__text, .over__fig, .band__fig, .band__text, .contact__main, .ways, .contact__area { grid-column: 1 / -1; }
  .reels__row { display: flex; gap: var(--space-md); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)); scroll-padding-inline: var(--gutter); }
  .reels__row::-webkit-scrollbar { display: none; }
  .reel { flex: 0 0 min(76vw, 20rem); scroll-snap-align: center; }
  .reels__wrap { padding-inline: 0; }
  .pak { grid-template-columns: minmax(0, 1fr) auto; }
  .pak p { grid-column: 1 / -1; grid-row: 2; }
  .pak .pak__price { grid-column: 2; grid-row: 1; }
  .pak__month { padding-inline: var(--space-lg); }
  .pak__month .pak { grid-template-columns: minmax(0, 1fr); }
  .pak__month .pak .pak__price { grid-column: 1; grid-row: auto; justify-self: start; }
  .pak__month .pak__per { text-align: left; }
  .formats__list { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); }
  .format__frame { aspect-ratio: 3 / 2; }
  .foot__brand, .foot__links, .foot__contact { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .films { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn { flex: 1 1 auto; }
  .pak .pak__price { font-size: var(--text-xl); }
  .pak__per { text-align: left; }
  .lb__stage { padding: 0; }
  .lb__prev, .lb__next { top: auto; bottom: var(--space-md); translate: none; }
}
