/* Pallas Optiek — site styles. No framework, no build step. */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --ink: #0f0e0c;
  --ink-2: #1c1a17;
  --ink-3: #2a2723;
  --ivory: #f3eee6;
  --paper: #faf7f2;
  --line: #ddd5c8;
  --muted: #625b51;
  --muted-dark: #b5ac9e;
  --brass: #b08d57;
  --brass-2: #d6b98a;
  --brass-text: #7f612c; /* brass for text on light backgrounds (AA) */
  --focus: #3346ff;
  --serif: "Poppins", ui-sans-serif, system-ui, sans-serif; /* display: Poppins Light */
  --sans: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: min(1320px, 100% - clamp(2.5rem, 8vw, 8rem));
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius: 2px;
  color-scheme: light;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease-out); }
.site-header { view-transition-name: header; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6rem; }
/* Vangnet: nooit zijwaarts scrollen op een telefoon (clip laat sticky-elementen heel) */
html, body { overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1rem/1.75 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
em, i { font-style: normal; }
.prose em { font-weight: 500; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--brass); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--brass-2); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--ivory); padding: .75rem 1rem; transition: top .2s; }
.skip:focus { top: 1rem; }
.wrap { width: var(--wrap); margin-inline: auto; }
main:focus { outline: none; }

/* ---------- type ---------- */
h1, h2, h3, .h2 { font-family: var(--serif); font-weight: 300; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
.h2 { font-size: clamp(1.6rem, 1.25rem + 1.1vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 1rem + .3vw, 1.3rem); font-weight: 400; letter-spacing: -.01em; }
.eyebrow { font: 600 .75rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brass-text); margin: 0 0 1.25rem; display: flex; align-items: center; gap: .75rem; }
.hero .eyebrow, .cta-band .eyebrow, .marquee .eyebrow { color: var(--brass); }
.eyebrow::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; }
.prose { max-width: 68ch; }
.prose p { margin: 0 0 1.1em; }
.prose a { text-decoration-color: var(--brass); }
.prose ul { padding-left: 1.2em; }
.prose--lead { font-size: clamp(1.05rem, 1rem + .15vw, 1.15rem); line-height: 1.75; font-weight: 300; max-width: 52ch; letter-spacing: -.005em; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--ivory);
  display: inline-flex; align-items: center; gap: .9rem; padding: 1.05rem 1.6rem; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); font: 600 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  border-radius: 999px; position: relative; overflow: hidden; isolation: isolate; transition: transform .4s var(--ease-out), color .3s;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--brass); transform: translateY(101%); transition: transform .45s var(--ease-out); z-index: -1; border-radius: inherit; }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { color: var(--ink); }
.btn i { font-style: normal; transition: transform .35s var(--ease-out); }
.btn:hover i { transform: translateX(4px); }
.btn--light { --bg: var(--ivory); --fg: var(--ink); }
.btn--small { padding: .75rem 1.15rem; font-size: .7rem; }
.link-arrow { display: inline-flex; gap: .6rem; align-items: center; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .2rem; }
.link-arrow i { font-style: normal; transition: transform .3s var(--ease-out); }
.link-arrow:hover i { transform: translateX(5px); }

/* ---------- header ---------- */
.announce { background: var(--brass); color: var(--ink); text-align: center; font-size: .85rem; padding: .55rem 1rem; position: relative; z-index: 31; }
.preview-bar { position: sticky; top: 0; z-index: 60; background: var(--focus); color: #fff; text-align: center; font: 600 .8rem/1 var(--sans); padding: .6rem; letter-spacing: .05em; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 40; color: var(--ivory); transition: background .4s, color .4s, transform .5s var(--ease-out), box-shadow .4s; }
.announce ~ .site-header { top: 0; position: sticky; margin-bottom: -5rem; }
.site-header__inner { display: flex; align-items: center; gap: 2rem; height: 5rem; }
.site-header.is-scrolled { background: color-mix(in srgb, var(--ink) 94%, transparent); color: var(--ivory); backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px); box-shadow: 0 1px 0 var(--ink-3); }
.site-header.is-hidden { transform: translateY(-100%); transition: transform .28s var(--ease-out), background .4s, color .4s, box-shadow .4s; }
.site-header.is-mega { background: var(--ink); color: var(--ivory); box-shadow: none; backdrop-filter: none; }
.brandmark { display: block; text-decoration: none; flex: none; }
.brandmark img { height: 3.1rem; width: auto; filter: invert(1); transition: filter .4s; }
.brandmark__word { font: 500 1.45rem/1 var(--serif); letter-spacing: -.03em; display: flex; flex-direction: column; }
.brandmark__word em { font: 600 .55rem/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; margin-top: .3rem; }

/* main menu: a few calm items, groups open a full-width panel */
.nav { margin-left: auto; }
.menu { display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.menu__link, .menu__trigger { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem .95rem; border-radius: 999px; font: 500 .88rem/1 var(--sans); letter-spacing: .01em; color: inherit; text-decoration: none; background: none; border: 0; cursor: pointer; transition: background .3s, color .3s; }
.menu__link:hover, .menu__trigger:hover, .menu__trigger[aria-expanded="true"] { background: color-mix(in srgb, currentColor 10%, transparent); }
.menu__link[aria-current="page"], .menu__trigger.is-active { box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 35%, transparent); }
.chev { width: .45rem; height: .45rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .35s var(--ease-out); }
.menu__trigger[aria-expanded="true"] .chev { transform: translateY(1px) rotate(-135deg); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-cta { --bg: var(--ivory); --fg: var(--ink); }
.a11y-btn { display: inline-flex; align-items: center; gap: .45rem; height: 2.5rem; padding: 0 .9rem 0 .75rem; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); background: none; color: inherit; font: 500 .8rem/1 var(--sans); cursor: pointer; transition: background .3s, border-color .3s; }
.a11y-btn:hover, .a11y-btn[aria-expanded="true"] { background: color-mix(in srgb, currentColor 10%, transparent); border-color: currentColor; }
.nav__meta, .nav-toggle { display: none; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); color: var(--ivory); border-top: 1px solid var(--ink-3); visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .55s var(--ease-out), visibility 0s .55s; }
.mega.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .55s var(--ease-out), visibility 0s; }
.mega__inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 3fr); gap: clamp(2rem, 4vw, 4rem); padding-block: 2.75rem 3.25rem; align-items: start; }
.mega__label { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-2); margin: 0 0 .9rem; }
.mega__text { color: var(--muted-dark); font-size: .92rem; margin: 0; max-width: 28ch; }
.mega__links { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--ink-3); }
.mega__links a { display: grid; grid-template-columns: 2.25rem 1fr auto; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--ink-3); text-decoration: none; color: inherit; transition: padding .45s var(--ease-out); }
.mega__n { font-size: .68rem; letter-spacing: .18em; color: var(--brass); }
.mega__t { font-size: 1.3rem; font-weight: 300; letter-spacing: -.02em; transition: color .3s; }
.mega__d { font-size: .82rem; color: var(--muted-dark); text-align: right; }
.mega__links a:hover, .mega__links a:focus-visible { padding-left: .6rem; }
.mega__links a:hover .mega__t, .mega__links a:focus-visible .mega__t, .mega__links a[aria-current="page"] .mega__t { color: var(--brass-2); }
.mega__media { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); max-height: 20rem; }
.mega__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform 1.2s var(--ease-out); }
.mega__media img.is-swap { opacity: 0; transform: scale(1.04); }
.nav-scrim { position: fixed; inset: 0; z-index: 35; background: rgba(15, 14, 12, .45); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.nav-scrim.is-on { opacity: 1; visibility: visible; transition: opacity .4s; }

@media (max-width: 1080px) {
  .site-header__inner { gap: 1rem; }
  .header-cta { display: none; }
  .a11y-btn__l { display: none; }
  .a11y-btn { width: 2.5rem; padding: 0; justify-content: center; }
  .nav-toggle { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; background: none; border: 0; color: inherit; cursor: pointer; position: relative; z-index: 2; }
  .nav-toggle i, .nav-toggle i::before { display: block; width: 1.5rem; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out); position: relative; }
  .nav-toggle i::before { content: ""; position: absolute; top: 7px; width: 1rem; }
  .nav-toggle[aria-expanded="true"] i { transform: rotate(45deg) translateY(3px); }
  .nav-toggle[aria-expanded="true"] i::before { transform: rotate(-90deg) translateX(7px); width: 1.5rem; }
  .header-actions { margin-left: auto; }
  .nav { position: fixed; inset: 0; z-index: 1; background: var(--ink); color: var(--ivory); padding: 6.5rem max(1.5rem, (100% - var(--wrap)) / 2) 2rem; overflow-y: auto;
    display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; clip-path: circle(0% at calc(100% - 2.5rem) 2.5rem); visibility: hidden; transition: clip-path .7s var(--ease-out), visibility 0s .7s; margin: 0; }
  .nav.is-open { clip-path: circle(150% at calc(100% - 2.5rem) 2.5rem); visibility: visible; transition: clip-path .7s var(--ease-out), visibility 0s; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu__item--group { padding: 1.25rem 0 .5rem; }
  .menu__trigger { pointer-events: none; padding: 0 0 .4rem; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-2); box-shadow: none !important; background: none !important; }
  .menu__trigger .chev { display: none; }
  .menu__link { display: flex; padding: .75rem 0; border-radius: 0; font: 300 1.45rem/1.2 var(--serif); letter-spacing: -.02em; border-bottom: 1px solid var(--ink-3); box-shadow: none !important; }
  .menu__link[aria-current="page"] { color: var(--brass-2); }
  .mega { position: static; visibility: visible; clip-path: none; background: none; border: 0; }
  .mega__inner { display: block; padding: 0; width: auto; }
  .mega__intro, .mega__media { display: none; }
  .mega__links { border-top: 0; }
  .mega__links a { grid-template-columns: 1fr; padding: .7rem 0; border-color: var(--ink-3); }
  .mega__n, .mega__d { display: none; }
  .mega__t { font-size: 1.45rem; }
  .nav__meta { display: block; font-size: .95rem; border-top: 1px solid var(--ink-3); padding-top: 1.25rem; }
  .nav__meta a { font-weight: 500; }
  .nav-open .site-header { color: var(--ivory); background: transparent; box-shadow: none; backdrop-filter: none; }
  .nav-open .brandmark img { filter: invert(1) brightness(1.4); }
  .nav-open { overflow: hidden; }
}

/* ---------- reading aid (leeshulp) ---------- */
.a11y-panel { position: fixed; z-index: 70; top: 5.75rem; right: max(1rem, (100% - var(--wrap)) / 2); width: min(24rem, calc(100% - 2rem)); max-height: calc(100vh - 7rem); overflow: auto;
  background: var(--paper); color: var(--ink); border-radius: 14px; padding: 1.4rem; box-shadow: 0 30px 80px -20px rgba(15, 14, 12, .45), 0 0 0 1px var(--line); }
.a11y-panel[hidden] { display: none; }
.a11y-panel__head { display: flex; justify-content: space-between; align-items: center; }
.a11y-panel h2 { font-size: 1.2rem; margin: 0; font-weight: 400; }
.a11y-close { width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--line); background: none; font-size: 1.3rem; line-height: 1; cursor: pointer; color: inherit; }
.a11y-panel__intro { font-size: .85rem; color: var(--muted); margin: .4rem 0 1.1rem; }
.a11y-size { border: 0; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: auto repeat(3, 1fr); gap: .4rem; align-items: center; }
.a11y-size legend { float: left; font-size: .85rem; font-weight: 500; padding: 0; margin-right: .75rem; }
.a11y-size button { height: 2.75rem; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font-family: var(--sans); }
.a11y-size button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.a11y-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.a11y-opt { width: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 1rem; text-align: left; padding: .75rem .9rem; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font-family: var(--sans); }
.a11y-opt__t { font-size: .92rem; font-weight: 500; }
.a11y-opt__d { font-size: .78rem; color: var(--muted); grid-column: 1; }
.a11y-opt i { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 2.4rem; height: 1.4rem; border-radius: 999px; background: var(--line); position: relative; transition: background .25s; }
.a11y-opt i::after { content: ""; position: absolute; top: .2rem; left: .2rem; width: 1rem; height: 1rem; border-radius: 50%; background: #fff; transition: transform .25s var(--ease-out); box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.a11y-opt[aria-pressed="true"] { border-color: var(--ink); }
.a11y-opt[aria-pressed="true"] i { background: var(--ink); }
.a11y-opt[aria-pressed="true"] i::after { transform: translateX(1rem); }
.a11y-reset { margin-top: 1rem; background: none; border: 0; padding: 0; font: 500 .85rem var(--sans); color: var(--ink); text-decoration: underline; cursor: pointer; }

@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
html[data-textsize="1"] { font-size: 115%; }
html[data-textsize="2"] { font-size: 132%; }
html.a11y-readable { --serif: "Atkinson Hyperlegible", Verdana, sans-serif; --sans: "Atkinson Hyperlegible", Verdana, sans-serif; }
html.a11y-readable body { letter-spacing: .015em; word-spacing: .08em; }
html.a11y-readable p, html.a11y-readable li { line-height: 1.85; }
html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3, html.a11y-readable .h2 { font-weight: 400; letter-spacing: 0; }
html.a11y-contrast { --paper: #fff; --ivory: #fff; --line: #000; --muted: #1a1a1a; --muted-dark: #f0f0f0; --brass-text: #000; --brass-2: #ffd27a; --brass: #ffc95c; }
html.a11y-contrast .band--sand { background: #fff; }
html.a11y-contrast .band + .band { border-top: 2px solid #000; }
html.a11y-contrast .hero__glow, html.a11y-contrast .hero--image .hero__glow { background: rgba(0, 0, 0, .72) !important; }
html.a11y-contrast .card, html.a11y-contrast .form, html.a11y-contrast .faq__item { border-color: #000 !important; }
html.a11y-contrast .prose, html.a11y-contrast .card__body, html.a11y-contrast .member__role, html.a11y-contrast .services__head .prose, html.a11y-contrast .svc__body { color: inherit; }
html.a11y-contrast .brands__grid:hover .brand:not(:hover) { opacity: 1; }
html.a11y-contrast .brands__grid:hover .brand:not(:hover) .brand__media img { filter: none; }
html.a11y-contrast :focus-visible { outline: 3px solid #000; box-shadow: 0 0 0 5px #ffd27a; }
html.a11y-links main a, html.a11y-links footer a { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: .2em; }
html.a11y-calm *, html.a11y-calm *::before, html.a11y-calm *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-calm [data-reveal], html.a11y-calm [data-focus], html.a11y-calm .w > span, html.a11y-calm .snellen__row { opacity: 1 !important; translate: none !important; filter: none !important; clip-path: none !important; }
html.a11y-calm .hero__lens, html.a11y-calm .cursor-lens { display: none !important; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M6 4l30 16-13 3 8 15-6 3-8-15-11 9z' fill='%23000' stroke='%23fff' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 6 4, auto !important; }
html.a11y-cursor .cursor-lens { display: none !important; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--ivory); overflow: hidden; isolation: isolate; }
.hero--lens { min-height: 100svh; display: grid; align-items: end; }
.hero--compact { padding: 11rem 0 clamp(4rem, 8vw, 7rem); }
.hero__inner { position: relative; z-index: 2; padding-bottom: clamp(4rem, 9vh, 7rem); }
.hero--compact .hero__inner { padding-bottom: 0; }
.hero__title { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.75rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 .25em; max-width: 14ch; }
.hero--compact .hero__title { font-size: clamp(2rem, 1.4rem + 1.9vw, 3.1rem); }
.hero__sub { font: 300 clamp(1rem, .95rem + .25vw, 1.15rem)/1.5 var(--serif); color: var(--brass-2); margin: 0 0 2.2rem; max-width: 34ch; }
.hero__actions:empty { display: none; }
.hero__media { position: absolute; inset: -6% 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__glow { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 80% 20%, color-mix(in srgb, var(--brass) 26%, transparent), transparent 70%), radial-gradient(50% 50% at 10% 100%, rgba(51, 70, 255, .16), transparent 70%); }
.hero--image .hero__glow { background: linear-gradient(180deg, rgba(15, 14, 12, .55) 0%, rgba(15, 14, 12, 0) 28%), linear-gradient(75deg, rgba(15, 14, 12, .82) 0%, rgba(15, 14, 12, .35) 45%, rgba(15, 14, 12, 0) 75%); }
/* Compact page heads with an image: full-bleed photo, text on a soft dark gradient */
.hero--compact.hero--image { min-height: min(72vh, 680px); display: grid; align-items: end; }
.hero--compact.hero--image .hero__media { inset: 0; }
.hero--compact.hero--image .hero__media img { object-position: 70% 30%; }
.hero--compact.hero--image .hero__glow { background: linear-gradient(180deg, rgba(15, 14, 12, .6) 0%, rgba(15, 14, 12, 0) 26%), linear-gradient(80deg, rgba(15, 14, 12, .88) 0%, rgba(15, 14, 12, .6) 38%, rgba(15, 14, 12, .1) 70%); }
.hero--compact.hero--image .hero__inner { padding-bottom: clamp(3rem, 7vh, 5rem); }
.hero--compact.hero--image .hero__title { max-width: 14ch; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero--image .hero__sub { text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
@media (max-width: 860px) {
  .hero--compact.hero--image { min-height: 78svh; padding-top: 0; }
  .hero--compact.hero--image .hero__media img { object-position: 62% 25%; }
  .hero--compact.hero--image .hero__glow { background: linear-gradient(180deg, rgba(15, 14, 12, .55) 0%, rgba(15, 14, 12, 0) 20%, rgba(15, 14, 12, .45) 42%, rgba(15, 14, 12, .92) 66%, rgba(15, 14, 12, .96) 100%); }
}
.hero__scroll { position: absolute; z-index: 3; right: max(1.5rem, (100% - var(--wrap)) / 2); bottom: 2.5rem; font: 600 .68rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; display: flex; align-items: center; gap: 1rem; color: var(--muted-dark); }
@media (max-width: 700px) { .hero__scroll { display: none; } }
.hero__scroll::after { content: ""; width: 1px; height: 4rem; background: linear-gradient(var(--muted-dark), transparent); }

/* Lens: a magnifying, full-colour circle that follows the pointer over a softened base layer. */
.hero__lens { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .6s; background: var(--ink-2);
  clip-path: circle(var(--r, 0px) at var(--x, 50%) var(--y, 50%)); }
.hero.lens-on .hero__lens { opacity: 1; }
.hero__lens-inner { position: absolute; inset: 0; display: grid; align-items: end; transform: scale(1.18); transform-origin: var(--x, 50%) var(--y, 50%); }
.hero__lens .hero__media img { filter: none; }
.hero__lens .hero__title { color: var(--brass-2); filter: none !important; }
.hero__lens .hero__glow { background: radial-gradient(circle at var(--x) var(--y), rgba(255, 255, 255, .08), transparent 40%); }
.hero__lens::after { content: ""; position: absolute; left: var(--x); top: var(--y); width: calc(var(--r, 0px) * 2); height: calc(var(--r, 0px) * 2); translate: -50% -50%; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(214, 185, 138, .7), inset 0 0 40px rgba(214, 185, 138, .25), inset -18px -18px 50px rgba(255, 255, 255, .06); }

/* ---------- sections ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 9rem); }
.section + .section { padding-top: 0; }
/* Alternating background bands for light blocks */
.band { position: relative; }
.band--paper { background: var(--paper); }
.band--sand { background: #efe8dc; }
.band + .band { border-top: 1px solid rgba(15, 14, 12, .06); }
.band--sand .card { background: #f6f1e9; }
.band--sand .card:hover { background: #fff; }
.band--sand .form { background: #fff; }
.band--sand .split__media, .band--sand .member__photo { background: #e6ded0; }
.band > .snellen { background: transparent; }
.text--lead { display: grid; }
.text__logo { display: block; width: 4.5rem; height: auto; margin: 0 0 1.5rem; border-radius: 0; }
.text--cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.text--cols .h2 { position: sticky; top: 7rem; }
@media (max-width: 860px) { .text--cols { grid-template-columns: 1fr; } .text--cols .h2 { position: static; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 8rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ivory); }
.split__media img { width: 100%; height: 100%; object-fit: cover; scale: 1.08; transition: scale 1.6s var(--ease-out); }
.split__media.is-in img { scale: 1; }
.split__media--art { background: radial-gradient(circle at 50% 50%, transparent 0 22%, var(--line) 22.2% 22.5%, transparent 22.7% 34%, var(--line) 34.2% 34.4%, transparent 34.6%), var(--ivory); }
.split__art { position: absolute; inset: 26%; border-radius: 50%; border: 1px solid var(--brass);
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 32%), radial-gradient(circle at 50% 50%, rgba(176, 141, 87, .05), rgba(176, 141, 87, .22) 70%, rgba(176, 141, 87, .4));
  box-shadow: 0 40px 80px -30px rgba(15, 14, 12, .35), inset 0 0 0 10px rgba(255, 255, 255, .35); backdrop-filter: blur(2px); }
.split__art::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; border: 1px dashed rgba(176, 141, 87, .55); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } .split__media { aspect-ratio: 4 / 3; } }

.cards__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 0; margin-top: 3rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.card { background: var(--paper); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(1.75rem, 3vw, 2.75rem); position: relative; text-decoration: none; display: flex; flex-direction: column; gap: .6rem; transition: background .4s;
  transform-style: preserve-3d; }
.card:hover { background: #fff; }
.card__num { font: 600 .72rem/1 var(--sans); letter-spacing: .2em; color: var(--brass-text); }
.card h3 { margin: .2rem 0 .4rem; }
.card__body { color: var(--muted); font-size: .98rem; }
.card__body p { margin: 0 0 .8em; }
.card__more { margin-top: auto; font-size: 1.4rem; }


/* Showcase: image cards with the caption below the photo (never text on top of the image) */
.showcase__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 6vw, 7rem); align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.showcase__head .h2 { margin: 0; }
.showcase__head .prose { color: var(--muted); }
.showcase__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.25rem, 2.5vw, 2.25rem); align-items: start; }
.showcase__side { display: grid; gap: clamp(1.25rem, 2.5vw, 2.25rem); }
.tile { display: grid; gap: 1.1rem; color: inherit; text-decoration: none; border-radius: 0 !important; overflow: visible !important; background: none; }
.tile__media { aspect-ratio: 16 / 11; overflow: hidden; border-radius: var(--r-img); background: var(--ivory); }
.tile--lg .tile__media { aspect-ratio: 4 / 4.4; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
a.tile:hover .tile__media img, a.tile:focus-visible .tile__media img { transform: scale(1.04); }
.tile__fallback { display: block; width: 100%; height: 100%; background: var(--ivory); }
.tile__cap { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1.25rem; align-items: start; padding-right: .25rem; }
.tile__cap h3 { margin: 0; grid-column: 1; font-size: clamp(1.15rem, 1rem + .45vw, 1.45rem); font-weight: 400; }
.tile--lg .tile__cap h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); }
.tile__text { grid-column: 1; color: var(--muted); font-size: .95rem; max-width: 46ch; }
.tile__text p { margin: 0; }
.tile__go { grid-column: 2; grid-row: 1 / span 2; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background .35s, color .35s, border-color .35s, transform .4s var(--ease-out); }
a.tile:hover .tile__go, a.tile:focus-visible .tile__go { background: var(--ink); border-color: var(--ink); color: var(--ivory); transform: translateX(3px); }
a.tile:hover h3 { color: var(--brass-text); }
@media (max-width: 860px) { .showcase__head, .showcase__grid { grid-template-columns: 1fr; } .tile--lg .tile__media { aspect-ratio: 4 / 3; } }

/* Services: dark list with image that follows the pointer */
.services { background: var(--ink); color: var(--ivory); padding-block: clamp(5rem, 10vw, 9rem); position: relative; overflow: hidden; }
.services { --svc-cols: 3.5rem minmax(0, 4fr) minmax(0, 6fr) 11rem; --svc-gap: clamp(1rem, 2.5vw, 2.5rem); }
.services__head { display: grid; grid-template-columns: var(--svc-cols); column-gap: var(--svc-gap); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.services__head > div:first-child { grid-column: 1 / 3; }
.services__head > .prose { grid-column: 3 / 5; max-width: 62ch; }
.services__head .h2 { margin: 0; }
.services__head .prose { color: var(--muted-dark); }
.services__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink-3); }
.svc { display: grid; grid-template-columns: var(--svc-cols); column-gap: var(--svc-gap); align-items: baseline; padding: clamp(1.4rem, 2.5vw, 2.2rem) 0; border-bottom: 1px solid var(--ink-3); color: inherit; text-decoration: none; position: relative; transition: padding .5s var(--ease-out); }
.svc::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); background: var(--ink-2); opacity: 0; transition: opacity .4s; z-index: -1; }
.services__list li { position: relative; z-index: 0; }
.svc__n { font-size: .75rem; letter-spacing: .2em; color: var(--brass); }
.svc__title { margin: 0; font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); font-weight: 300; transition: transform .5s var(--ease-out), color .3s; }
.svc__body { color: var(--muted-dark); font-size: .95rem; }
.svc__body p { margin: 0; }
.svc__meta { font-size: .9rem; font-weight: 500; white-space: nowrap; color: var(--brass-2); justify-self: end; text-align: right; }
.svc__meta i { display: inline-block; margin-left: .6rem; transition: transform .4s var(--ease-out); color: var(--ivory); }
a.svc:hover::before, a.svc:focus-visible::before { opacity: 1; }
a.svc:hover .svc__title, a.svc:focus-visible .svc__title { transform: translateX(.6rem); color: var(--brass-2); }
a.svc:hover .svc__meta i { transform: translateX(6px); }
@media (max-width: 860px) { .services__head { grid-template-columns: 1fr; row-gap: 1.25rem; } .services__head > div:first-child, .services__head > .prose { grid-column: 1; } .svc { grid-template-columns: 2.5rem 1fr; row-gap: .5rem; } .svc__body, .svc__meta { grid-column: 2; justify-self: start; text-align: left; } }

/* Snellen chart */
.snellen { background: var(--ivory); padding-block: clamp(5rem, 11vw, 10rem); overflow: hidden; }
.section + .snellen { padding-top: clamp(5rem, 11vw, 10rem); }
.snellen__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 7vw, 8rem); align-items: center; }
.snellen__chart { display: flex; flex-direction: column; align-items: center; gap: .1em; font: 500 clamp(3rem, 6vw, 5.5rem)/1 var(--serif); user-select: none; }
.snellen__row { font-size: calc(var(--s) * 1%); letter-spacing: .18em; line-height: 1.05; transition: filter 1.1s var(--ease-out) calc(var(--k) * 140ms), opacity 1.1s var(--ease-out) calc(var(--k) * 140ms); }
.snellen__row:first-child { color: var(--brass-text); }
@media (max-width: 860px) { .snellen__grid { grid-template-columns: 1fr; } .snellen__chart { font-size: 5.5rem; } }

/* Marquee */
.marquee { background: var(--ink); color: var(--ivory); padding: 1.15rem 0; overflow: hidden; border-block: 1px solid var(--ink-3); }
.marquee__track { display: flex; width: max-content; }
.marquee__track > div { display: flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; flex: none; }
.marquee span { font: 500 .82rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; white-space: nowrap; }
.marquee span:nth-of-type(even) { color: var(--brass-2); }
.marquee i { color: var(--brass); font-size: .55rem; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 45s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Brands: full-bleed portrait tiles, name on the image, the rest dims on hover */
.brands__grid { list-style: none; padding: 0; margin: clamp(2rem, 4vw, 3rem) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.6rem, 1.2vw, 1rem); }
@media (max-width: 1100px) { .brands__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .brands__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.brand { position: relative; background: none; isolation: isolate; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.brand__media { aspect-ratio: 4 / 5; overflow: hidden; display: grid; place-items: center; background: #fff; border-radius: var(--r-img); }
.brand__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease-out), filter .8s var(--ease-out); }

.brand__cap { display: flex; align-items: baseline; gap: .8rem; padding: .9rem .1rem 0; color: var(--ink); min-width: 0; }
.brand__n { font-size: .68rem; letter-spacing: .18em; color: var(--brass-text); }
.brand__name { margin: 0; font: 500 .78rem/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; position: relative; }
.brand__name::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.4rem; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.brand--mono .brand__media { background: var(--ink-2); }
.brand__mono { font: 300 clamp(1.1rem, 1rem + .5vw, 1.4rem)/1.2 var(--serif); color: var(--ivory); text-align: center; padding: 1rem; }
@media (hover: hover) {
  .brands__grid:hover .brand:not(:hover) .brand__media img { filter: grayscale(1) brightness(.92); }
  .brands__grid:hover .brand:not(:hover) { opacity: .7; }
  .brand:hover .brand__media img { transform: scale(1.09); }
  .brand:hover .brand__name::after { transform: scaleX(1); }
  .brand:hover { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) { .brands__grid:hover .brand:not(:hover) { opacity: 1; } }
.brand--light .brand__media img { object-fit: contain; padding: 18%; transform: none; mix-blend-mode: multiply; }
.brand--light::after { display: none; }
.brand--light .brand__n { color: var(--brass-text); }
.brand--light .brand__name::after { background: var(--ink); }
.brand--more { background: var(--ink); }
.brand--more::after { display: none; }
.brand--more a { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: .6rem; padding: clamp(1.25rem, 2vw, 1.75rem); color: var(--ivory); text-decoration: none; }
.brand--more { aspect-ratio: 4 / 5; align-self: start; }
.brand__more-k { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-2); }
.brand__more-t { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); font-weight: 300; line-height: 1.35; max-width: 14ch; }
.brand__more-a { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgba(243, 238, 230, .45); display: grid; place-items: center; margin-top: .5rem; transition: background .4s, color .4s, transform .4s var(--ease-out); }
.brand--more:hover .brand__more-a { background: var(--ivory); color: var(--ink); transform: rotate(-45deg); }

/* Team */
.team__grid { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.member__photo { aspect-ratio: 4 / 5; background: var(--ivory); overflow: hidden; display: grid; place-items: center; margin-bottom: 1.25rem; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.member:hover .member__photo img { transform: scale(1.03); }
.member__photo .brand__mono { font-size: 3.5rem; color: var(--brass-text); }
.member h3 { margin: 0 0 .3rem; }
.member__role { color: var(--muted); font-size: .95rem; }
.member__role p { margin: 0; }

/* Prices */
.prices__list { margin: 2.5rem 0 1.5rem; border-top: 1px solid var(--ink); max-width: 52rem; }
.price { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.price dt { font: 300 clamp(1.05rem, 1rem + .3vw, 1.25rem)/1.3 var(--serif); }
.price dd { margin: 0; font: 500 clamp(1rem, .95rem + .2vw, 1.15rem)/1 var(--sans); font-variant-numeric: tabular-nums; }
.prices__note { color: var(--muted); }

/* FAQ */
.faq__list { margin-top: 2.5rem; border-top: 1px solid var(--ink); max-width: 60rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; font: 400 clamp(1rem, .95rem + .2vw, 1.15rem)/1.4 var(--serif); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { flex: none; width: 1.1rem; height: 1.1rem; position: relative; margin-top: .4rem; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; inset: 50% 0 auto; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__item .prose { padding-bottom: 1.5rem; color: var(--muted); }

.figure { margin-inline: auto; }
.figure img { width: 100%; }
.figure figcaption { font-size: .85rem; color: var(--muted); margin-top: .75rem; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--ivory); padding: clamp(5rem, 12vw, 10rem) 0; position: relative; overflow: hidden; }
.cta-band__inner { position: relative; display: grid; gap: 1.5rem; }
.cta-band .h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.6rem); max-width: 14ch; }
.cta-band .prose { color: var(--muted-dark); }

/* Contact */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); margin-top: 2rem; align-items: start; }
.contact__grid.has-form { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "info form" "hours form"; row-gap: 0; }
.has-form .contact__info { grid-area: info; } .has-form .contact__hours { grid-area: hours; } .has-form .contact__form { grid-area: form; }
.contact__grid:not(.has-form) .hours__title { margin-top: 0; }
.nap { font-style: normal; font-size: 1.15rem; line-height: 1.6; margin: 1.5rem 0; }
.open-status { display: inline-flex; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 600; margin: .5rem 0; }
.open-status .dot { width: .55rem; height: .55rem; border-radius: 50%; background: #c0392b; box-shadow: 0 0 0 4px rgba(192, 57, 43, .18); }
.open-status.is-open .dot { background: #2e9e5b; box-shadow: 0 0 0 4px rgba(46, 158, 91, .2); }
@media (prefers-reduced-motion: no-preference) { .open-status.is-open .dot { animation: pulse 2.4s infinite; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(46, 158, 91, 0); } }
.hours__title { margin-top: 2.5rem; font-size: 1.15rem; }
.hours { margin: 0; max-width: 26rem; }
.hours__row { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.hours__row dt { font-weight: 500; }
.hours__row dd { margin: 0; color: var(--muted); }
.hours__row.is-today dt, .hours__row.is-today dd { color: var(--ink); font-weight: 700; }
.hours__row.is-today dt::after { content: " · vandaag"; font-weight: 500; color: var(--brass-text); }
.hours--footer .hours__row.is-today dt::after { color: var(--brass-2); }
@media (max-width: 860px) { .contact__grid, .contact__grid.has-form { grid-template-columns: 1fr; grid-template-areas: "info" "hours" "form"; } }

/* Form */
.form { background: #fff; border: 1px solid var(--line); padding: clamp(1.5rem, 3.5vw, 3rem); display: grid; gap: 1.1rem; }
.form__title { font-size: 1.3rem; margin: 0; }
.seg { border: 0; padding: 0; margin: 0; display: inline-grid; grid-auto-flow: column; justify-content: start; background: var(--ivory); border-radius: 999px; padding: .3rem; width: max-content; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: .55rem 1.2rem; border-radius: 999px; font-size: .85rem; font-weight: 600; transition: background .3s, color .3s; }
.seg input:checked + span { background: var(--ink); color: var(--ivory); }
.seg input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.field { display: grid; gap: .35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-size: .8rem; font-weight: 600; letter-spacing: .03em; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: .85rem 1rem; border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius); color: var(--ink); width: 100%; transition: border-color .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 20%, transparent); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__err { color: #b3261e; font-size: .82rem; margin: 0; min-height: 0; }
.field__err:empty { display: none; }
.form__note { font-size: .8rem; color: var(--muted); margin: 0; }
.form__status .ok { background: #e7f4ec; color: #1d6b3d; padding: 1rem; margin: 0; }
.form__status .err { background: #fbeaea; color: #8c1d18; padding: 1rem; margin: 0; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[data-only][hidden] { display: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); padding: clamp(4rem, 8vw, 7rem) 0 2rem; font-size: .95rem; overflow: hidden; }
.site-footer a { color: var(--ivory); }
.site-footer__big { font: 300 clamp(2rem, 1.2rem + 3vw, 3.5rem)/1.1 var(--serif); color: var(--ivory); margin: 0 0 clamp(3rem, 6vw, 5rem); letter-spacing: -.03em; display: flex; flex-wrap: wrap; align-items: baseline; gap: .15em; }
.site-footer__big em { color: var(--brass); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 2.5rem; }
.site-footer__h { font: 600 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass-2); margin: 0 0 1.2rem; }
.site-footer address { font-style: normal; line-height: 1.8; }
.hours--footer .hours__row { border-color: var(--ink-3); padding: .35rem 0; }
.hours--footer .hours__row dd { color: var(--muted-dark); }
.hours--footer .hours__row.is-today dt, .hours--footer .hours__row.is-today dd { color: var(--ivory); }
.social { list-style: none; padding: 0; display: flex; gap: 1.25rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--ink-3); margin-top: 3rem; padding-top: 1.5rem; font-size: .8rem; }
.site-footer__bottom p { margin: 0; }

/* ---------- cursor lens (desktop, fine pointers only) ---------- */
.cursor-lens { display: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cursor-lens { display: block; position: fixed; left: 0; top: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%; pointer-events: none; z-index: 90;
    border: 1px solid var(--brass); translate: -50% -50%; transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0) scale(var(--cs, 1));
    transition: transform .18s var(--ease-out), opacity .3s, background .3s; opacity: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
  .cursor-lens.is-on { opacity: 1; }
  .cursor-lens.is-link { --cs: 1.8; background: rgba(176, 141, 87, .18); }
}

/* ---------- motion: progressive enhancement ---------- */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity 1s var(--ease-out), translate 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  [data-reveal].is-in { opacity: 1; translate: 0 0; }
  [data-reveal="clip"] { opacity: 1; translate: none; clip-path: inset(18% 0 18% 0); transition: clip-path 1.4s var(--ease-out); }
  [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }
  [data-focus] { filter: blur(10px); opacity: .25; transition: filter 1.3s var(--ease-out), opacity 1.3s var(--ease-out); }
  [data-focus].is-in { filter: blur(0); opacity: 1; }
  .w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .2em; margin-bottom: -.2em; }
  .w > span { display: inline-block; translate: 0 105%; transition: translate 1.1s var(--ease-out); transition-delay: calc(var(--w) * 55ms); }
  .is-in .w > span { translate: 0 0; }
  .snellen__row { filter: blur(14px); opacity: .2; }
  .snellen.is-in .snellen__row { filter: blur(0); opacity: 1; }
      html:not(.js-ready) [data-reveal], html:not(.js-ready) [data-focus], html:not(.js-ready) .snellen__row { animation: failsafe 0s 2.5s forwards; }
}
@keyframes spin { to { rotate: 360deg; } }
@keyframes failsafe { to { opacity: 1; translate: 0 0; filter: none; clip-path: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track { flex-wrap: wrap; width: auto; }
  .marquee__track > div + div { display: none; }
  .hero__lens { display: none; }
}

@media print {
  .site-header, .cursor-lens, .marquee,   .hero { background: none; color: #000; min-height: 0; padding: 1rem 0; }
  body { background: #fff; }
}

/* Holiday / exceptional opening hours */
.hours-ex { margin-top: 1.25rem; padding: .9rem 1rem; background: rgba(176, 141, 87, .12); border-left: 2px solid var(--brass); max-width: 26rem; font-size: .9rem; }
.hours-ex__title { margin: 0 0 .4rem; font-weight: 600; }
.hours-ex ul { list-style: none; margin: 0; padding: 0; }
.hours-ex li { display: flex; justify-content: space-between; gap: 1rem; padding: .15rem 0; }
.site-footer .hours-ex { background: rgba(176, 141, 87, .1); color: var(--ivory); }

/* Rounded image corners */
:root { --r-img: 16px; --r-img-sm: 10px; }
.split__media, .member__photo, .figure img, .mega__media, .brand--more { border-radius: var(--r-img); }
.split__media, .member__photo, .mega__media, .brand--more { overflow: hidden; isolation: isolate; }
.split__media img, .member__photo img, .tile__media img, .brand__media img { border-radius: 0; }
.card, .form, .hours-ex { border-radius: var(--r-img-sm); }
.cards__grid { border-radius: var(--r-img-sm); overflow: hidden; }
.cards__grid .card { border-radius: 0; }

/* Official logos */
.site-footer__logo { margin: 0 0 clamp(2.5rem, 5vw, 4rem); }
.site-footer__logo img { height: clamp(4.5rem, 7vw, 6.5rem); width: auto; filter: invert(1); }
.marquee__logo { display: inline-flex; align-items: center; height: 1.6rem; }
.marquee__logo img { height: 100%; width: auto; max-width: 8.5rem; filter: invert(1); opacity: .92; }
.brand__name--logo { display: flex; align-items: center; height: 1.35rem; min-width: 0; }
.brand__name--logo img { height: 100%; width: auto; max-width: min(9rem, 100%); object-fit: contain; object-position: left center; }
.brand__name--logo::after { bottom: -.5rem; }
.brand__name--logo.is-tall { height: 2.1rem; }
.marquee__logo.is-tall { height: 2.4rem; }
.marquee__logo.is-xwide { height: 1.15rem; }
.brand__name--logo.is-xwide { height: 1rem; }
html.a11y-contrast .marquee__logo img { opacity: 1; }

/* Focal point chosen in the admin */
.hero .hero__media--boven img { object-position: 60% 8% !important; }
.hero .hero__media--midden img { object-position: 50% 50% !important; }
.hero .hero__media--onder img { object-position: 50% 92% !important; }


/* ---------- CTA as its own light panel, clearly apart from the dark footer ---------- */
.cta-wrap { background: var(--paper); padding: clamp(3rem, 7vw, 5.5rem) 0; }
.band--paper + .cta-wrap { background: #efe8dc; }
.cta-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; background: var(--ivory); border: 1px solid var(--line); border-radius: 28px; padding: clamp(1.75rem, 4vw, 3.5rem); }
.band--paper + .cta-wrap .cta-panel { background: var(--paper); }
.cta-panel .h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.6rem); max-width: 16ch; margin: 0 0 1rem; }
.cta-panel .prose { color: var(--muted); max-width: 48ch; }
.cta-panel__actions { margin-top: 1.75rem; }
.cta-panel__media { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r-img); overflow: hidden; }
.cta-panel__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-panel__media .status-chip { position: absolute; left: 1rem; bottom: 1rem; }
.cta-panel__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-img); padding: clamp(1.25rem, 2.5vw, 2rem); display: grid; gap: 1rem; }
.cta-panel__card address { font-style: normal; line-height: 1.7; color: var(--ink); }
.cta-panel__links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; }
.status-chip { display: inline-flex; align-items: center; gap: .55rem; margin: 0; padding: .5rem .9rem; border-radius: 999px; background: #fff; color: var(--ink); font-size: .85rem; font-weight: 500; box-shadow: 0 6px 20px -12px rgba(15,14,12,.35); justify-self: start; }
.status-chip i { width: .55rem; height: .55rem; border-radius: 50%; background: #b5ac9e; }
.status-chip.is-open i { background: #2f8a4e; box-shadow: 0 0 0 4px rgba(47,138,78,.15); }
.cta-panel__card .status-chip { box-shadow: none; background: #f3eee6; }
@media (max-width: 820px) { .cta-panel { grid-template-columns: 1fr; } }
html.a11y-contrast .cta-panel { background: #fff; border-color: #000; }

/* Brand tiles link to the brand's own website */
.brand__link { display: block; color: inherit; text-decoration: none; }
.brand__link:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: var(--r-img); }
.brand__ext { flex: none; margin-left: auto; font-size: .9rem; color: var(--brass-text); transition: transform .35s var(--ease-out); }
.brand:hover .brand__ext { transform: translate(2px, -2px); }

/* ---------- pop-up ---------- */
.popup { position: fixed; z-index: 80; }
.popup[hidden] { display: none; }
.popup--kaart { right: clamp(.75rem, 2vw, 1.75rem); bottom: clamp(.75rem, 2vw, 1.75rem); width: min(25rem, calc(100vw - 1.5rem)); }
.popup--midden { inset: 0; display: grid; place-items: center; padding: 1rem; background: rgba(15,14,12,0); transition: background .35s; }
.popup--midden.is-open { background: rgba(15,14,12,.45); }
.popup__panel { position: relative; background: var(--ivory); color: var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(15,14,12,.55), 0 0 0 1px rgba(15,14,12,.06);
  opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); }
.popup.is-open .popup__panel { opacity: 1; transform: none; }
.popup--midden .popup__panel { width: min(34rem, 100%); }
.popup__media { aspect-ratio: 16 / 9; background: #e9e2d6; }
.popup__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.popup__body { padding: 1.4rem 1.5rem 1.5rem; }
.popup__title { font-size: 1.25rem; font-weight: 500; line-height: 1.25; margin: 0 2rem .5rem 0; letter-spacing: -.01em; }
.has-img .popup__title { margin-right: 0; }
.popup__text { color: var(--muted); font-size: .95rem; line-height: 1.6; }
.popup__text p { margin: 0 0 .6rem; }
.popup__cta { margin-top: .6rem; }
.popup__close { position: absolute; top: .7rem; right: .7rem; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.35rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.popup__close:hover { background: #fff; }
.popup__close:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (max-width: 560px) { .popup--kaart { left: .75rem; right: .75rem; width: auto; } .popup--kaart .popup__media { aspect-ratio: 21 / 9; } }
@media (prefers-reduced-motion: reduce) { .popup__panel, .popup--midden { transition: none; } }
html.a11y-calm .popup__panel { transition: none; }
