@font-face { font-family: "Fraunces"; src: url("../assets/fonts/fraunces-normal.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../assets/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../assets/fonts/hanken-grotesk-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --paper: #f4ede1;
  --paper-2: #ebe1d0;
  --ink: #2a1b14;
  --ink-2: #3a271d;
  --muted: #64503f;
  --wine: #7a1f2b;
  --wine-2: #5f1520;
  --brass: #c79a4f;
  --cream: #f8f2e7;
  --line: rgba(42, 27, 20, .14);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  -webkit-tap-highlight-color: rgba(122, 31, 43, .15);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

/* Type helpers */
.eyebrow { font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--wine); display: inline-flex; align-items: center; gap: .7em; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--brass); }
.h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -.015em; font-variation-settings: "opsz" 120; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 6vw, 64px); max-width: 760px; }
.section-head-split { max-width: none; grid-template-columns: 1fr; align-items: end; }
.section-lead { font-size: 1.15rem; color: var(--muted); max-width: 52ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--wine);
  background: var(--wine); color: var(--cream); font-weight: 600; text-decoration: none; letter-spacing: .01em;
  cursor: pointer; touch-action: manipulation;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--wine-2); border-color: var(--wine-2); }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn-light:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: .95rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 237, 225, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(42, 27, 20, .4); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-sketch, .footer-sketch {
  display: block; width: 104px; aspect-ratio: 297 / 128; background: currentColor;
  -webkit-mask: url("../assets/logo-schets.png") center / contain no-repeat; mask: url("../assets/logo-schets.png") center / contain no-repeat;
}
.brand-sketch { color: var(--ink); }
.brand-name { font: 500 1.05rem/1 var(--serif); letter-spacing: .01em; }
.brand-name em { font-style: italic; color: var(--wine); font-size: 1.2em; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 12px; text-decoration: none; font-weight: 500; font-size: .98rem; border-radius: 999px; transition: background-color .2s; }
.nav a:hover { background: var(--paper-2); }
.menu-toggle { display: none; }

@media (max-width: 959px) {
  .header-cta { display: none; }
  .header-inner { min-height: 64px; }
  .brand-sketch { width: 84px; }
  .menu-toggle { display: grid; place-items: center; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .bars { position: relative; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; } .bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { position: fixed; inset: 64px 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .nav ul { flex-direction: column; }
  .nav a { font: 400 1.6rem/1.2 var(--serif); padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a:hover { background: none; color: var(--wine); }
}

/* Hero */
.hero { padding: clamp(32px, 6vw, 72px) 0 0; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-title { font-size: clamp(3rem, 8.4vw, 6.2rem); letter-spacing: -.03em; line-height: .95; margin: 22px 0 26px; font-variation-settings: "opsz" 144; font-weight: 380; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: block; }
.hero-title em { font-style: italic; color: var(--wine); white-space: nowrap; }
.hero-lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-media { position: relative; margin: 0; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 38% 50%; border-radius: 200px 200px var(--radius) var(--radius); }
.stamp {
  position: absolute; left: -18px; bottom: 36px; width: 128px; height: 128px; border-radius: 50%;
  background: var(--ink); color: var(--cream); display: grid; place-content: center; text-align: center; gap: 4px;
  box-shadow: 0 18px 40px -18px rgba(42, 27, 20, .7);
}
.stamp-year { font: 400 2.2rem/1 var(--serif); }
.stamp-text { font: 600 .66rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); }
.facts li { padding: 22px 16px 26px 0; display: grid; gap: 4px; border-bottom: 1px solid var(--line); }
.facts strong { font: 400 clamp(1.5rem, 2.6vw, 2.1rem)/1.1 var(--serif); }
.facts span { color: var(--muted); font-size: .95rem; }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; }
  .hero-media img { aspect-ratio: 5 / 6; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts li { border-bottom: 0; padding-right: 24px; }
  .facts li + li { border-left: 1px solid var(--line); padding-left: 24px; }
  .section-head-split { grid-template-columns: 1fr auto; }
}
@media (max-width: 959px) {
  .hero-title { font-size: clamp(3rem, 12.6vw, 5.4rem); }
  .hero-media img { border-radius: 160px 160px var(--radius) var(--radius); }
  .stamp { left: auto; right: 12px; bottom: -28px; width: 108px; height: 108px; }
  .stamp-year { font-size: 1.8rem; }
}

/* Welcome */
.welcome { padding: clamp(80px, 12vw, 160px) 0; }
.welcome-grid { display: grid; gap: 56px; }
.quote { font-size: clamp(2rem, 4.2vw, 3.3rem); letter-spacing: -.015em; margin: 22px 0 28px; font-variation-settings: "opsz" 110; }
.quote em { font-style: italic; color: var(--wine); }
.prose { display: grid; gap: 16px; font-size: 1.12rem; max-width: 56ch; color: var(--ink-2); }
.signature { margin-top: 28px; font: italic 400 1.5rem/1.2 var(--serif); color: var(--wine); }
.welcome-media { position: relative; min-height: 420px; }
.photo { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 30px 60px -36px rgba(42, 27, 20, .6); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-tall { width: 82%; aspect-ratio: 4 / 5; }
.photo-small { position: absolute; right: 0; bottom: -24px; width: 50%; aspect-ratio: 1; border: 8px solid var(--paper); }
@media (min-width: 960px) {
  .welcome-grid { grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
}

/* Zaal cinematic */
.zaal { position: relative; background: var(--ink); }
.zaal-stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.zaal-frame { position: absolute; inset: 0; clip-path: inset(14% 18% 14% 18% round 8px); will-change: clip-path; }
.zaal-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); will-change: transform; }
.zaal-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 12, 8, .25) 0%, rgba(20, 12, 8, .55) 55%, rgba(20, 12, 8, .85) 100%); }
.zaal-copy { position: relative; z-index: 2; color: var(--cream); align-self: end; padding-bottom: clamp(48px, 9vh, 96px); }
.zaal-title { font-size: clamp(2.6rem, 7vw, 6rem); letter-spacing: -.025em; margin: 18px 0 28px; max-width: 14ch; font-variation-settings: "opsz" 144; }
.zaal-title .num { font-style: italic; color: var(--brass); font-variant-numeric: tabular-nums; }
.zaal-list { display: flex; flex-wrap: wrap; gap: 10px; }
.zaal-list li { border: 1px solid rgba(248, 242, 231, .4); border-radius: 999px; padding: 8px 18px; font-weight: 500; background: rgba(20, 12, 8, .3); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* Options */
.options { background: var(--ink); color: var(--cream); padding: clamp(80px, 11vw, 150px) 0; }
.options .section-lead { color: rgba(248, 242, 231, .78); }
.kitchen { display: grid; gap: 32px; align-items: center; margin-bottom: clamp(56px, 8vw, 96px); }
.kitchen-photo { margin: 0; overflow: hidden; border-radius: var(--radius); }
.kitchen-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.kitchen-kicker { font: italic 400 clamp(1.8rem, 3.6vw, 2.8rem)/1.1 var(--serif); color: var(--brass); margin-bottom: 26px; }
.menu-list li { display: flex; align-items: baseline; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(248, 242, 231, .16); font: 400 clamp(1.25rem, 2vw, 1.55rem)/1.25 var(--serif); }
.menu-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wine); box-shadow: 0 0 0 3px rgba(199, 154, 79, .35); flex: none; transform: translateY(-3px); }
@media (min-width: 960px) { .kitchen { grid-template-columns: 1fr 1fr; gap: 72px; } }

.cards { display: grid; gap: 1px; background: rgba(248, 242, 231, .14); border: 1px solid rgba(248, 242, 231, .14); border-radius: var(--radius); overflow: hidden; }
.card { background: var(--ink); padding: 30px 26px 34px; display: grid; gap: 10px; align-content: start; transition: background-color .3s var(--ease); }
.card:hover { background: var(--ink-2); }
.card-icon { width: 40px; height: 40px; fill: none; stroke: var(--brass); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; transition: transform .4s var(--ease); }
.card:hover .card-icon { transform: translateY(-3px) rotate(-4deg); }
.card h3 { font-size: 1.6rem; }
.card p { color: rgba(248, 242, 231, .78); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.options-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 48px; }
.link-light { color: var(--cream); font-weight: 500; text-underline-offset: 4px; }
.link-light:hover { color: var(--brass); }

/* Agenda */
.agenda { padding: clamp(80px, 11vw, 150px) 0; }
.next { background: var(--wine); color: var(--cream); border-radius: var(--radius); padding: 22px 26px; min-width: min(100%, 320px); }
.next-label { font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #f0cf96; }
.next-date { font: 400 1.9rem/1.15 var(--serif); margin: 10px 0 6px; }
.next-time { font-size: .95rem; color: rgba(248, 242, 231, .85); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tab { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s; }
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.panel-meta { color: var(--muted); margin-bottom: 22px; }
.panel-meta strong { color: var(--ink); }
.dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.date { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 16px; background: var(--cream); display: grid; gap: 2px; }
.date-day { font: 600 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.date-num { font: 400 2rem/1 var(--serif); font-variant-numeric: tabular-nums; margin-top: 6px; }
.date-month { font-size: .95rem; }
.date.is-past { background: transparent; opacity: .55; display: none; }
.show-past .date.is-past { display: grid; }
.past-toggle { margin-top: 16px; background: none; border: 0; padding: 10px 0; font-weight: 600; color: var(--wine); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.date.is-past .date-num { text-decoration: line-through; text-decoration-thickness: 1px; }
.date.is-next { background: var(--wine); color: var(--cream); border-color: var(--wine); }
.date.is-next .date-day { color: #f0cf96; }
.date.is-next::after { content: "Eerstvolgende"; position: absolute; top: -10px; right: 10px; background: var(--brass); color: var(--ink); font: 700 .62rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 5px 7px; border-radius: 999px; }
.kermis { margin-top: 40px; display: grid; gap: 4px; padding: 22px 26px; border-left: 3px solid var(--brass); background: var(--paper-2); border-radius: 0 var(--radius) var(--radius) 0; max-width: 560px; }
.kermis-title { font: 400 1.4rem/1.2 var(--serif); }

/* Gallery */
.gallery { padding: 0 0 clamp(80px, 11vw, 150px); }
.grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; grid-auto-flow: dense; }
.grid .g-wide { grid-column: span 2; }
.grid .g-tall { grid-row: span 2; }
@media (min-width: 960px) {
  .grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; }
  .grid .g-big { grid-row: span 2; }
}
.grid button { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--paper-2); }
.grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.grid button:hover img { transform: scale(1.04); }
.lightbox { overscroll-behavior: contain; padding: 0; border: 0; background: transparent; max-width: min(92vw, 1200px); max-height: 90vh; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 12, 8, .88); }
.lightbox img { max-height: 86vh; width: auto; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* Contact */
.contact { background: var(--wine-2); color: var(--cream); padding: clamp(80px, 11vw, 150px) 0; }
.contact-grid { display: grid; gap: 56px; }
.contact .h2 { margin: 18px 0 36px; }
.info { display: grid; gap: 26px; margin: 0; }
.info dt { font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #f0cf96; margin-bottom: 8px; }
.info dd { margin: 0; font-size: 1.1rem; }
.info a { text-underline-offset: 4px; }
.info a:hover { color: #f0cf96; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; } }

.form { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); display: grid; gap: 18px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .5); }
.form-title { font-size: 1.9rem; margin-bottom: 4px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { font-weight: 600; font-size: .92rem; padding: 0; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--cream); border: 1px solid rgba(42, 27, 20, .3); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(122, 31, 43, .2); }
.field input[aria-invalid="true"] { border-color: #a3141f; }
.field ::placeholder { color: #7d6a5b; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; margin: 0; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(42, 27, 20, .3); font-weight: 500; font-size: .95rem; transition: background-color .2s, color .2s, border-color .2s; }
.chips input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--wine); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form-note { background: var(--paper-2); border-left: 3px solid var(--wine); padding: 14px 16px; border-radius: 0 var(--radius) var(--radius) 0; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(248, 242, 231, .8); padding: 56px 0 120px; text-align: center; }
.footer-inner { display: grid; justify-items: center; gap: 10px; }
.footer-sketch { width: 180px; color: var(--cream); opacity: .9; margin-bottom: 8px; }
.footer-name { font: 400 1.6rem/1.2 var(--serif); color: var(--cream); }
.site-footer a { text-underline-offset: 4px; }
.site-footer a:hover { color: var(--brass); }
.footer-small { font-size: .9rem; color: rgba(248, 242, 231, .7); }
@media (min-width: 960px) { .site-footer { padding-bottom: 56px; } }

/* Mobile bar */
.mobile-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; padding: 8px; background: rgba(42, 27, 20, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 999px; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .6); transform: translateY(150%); transition: transform .4s var(--ease); }
.mobile-bar.is-visible { transform: none; }
.mobile-bar a { display: grid; place-items: center; min-height: 46px; border-radius: 999px; color: var(--cream); text-decoration: none; font-weight: 600; }
.mobile-bar .primary { background: var(--wine); }
@media (min-width: 960px) { .mobile-bar { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .zaal-frame { clip-path: none; }
  .zaal-frame img { transform: none; }
}
