/* Kraft Kafé public site. Brand tokens match the admin panel. */
:root {
  --plum: #6B3F5F; --plum-dark: #4A2A42; --plum-tint: #F3EAF0;
  --rose: #D4A0A8; --rose-light: #F9EDEF;
  --cream: #FAF3EC; --cream-dark: #F0E6DA;
  --teal: #3D8A96; --teal-text: #2C6670; --teal-light: #EAF5F7;
  --wa: #1F7A4D;
  --ink: #3A2E2E; --muted: #6E5F57; --line: #E6DACD; --white: #fff;
  --danger: #A63A3A;
  --r: 18px; --r-sm: 10px;
  --shadow: 0 1px 2px rgba(74, 42, 66, .06), 0 12px 32px rgba(74, 42, 66, .10);
  --font: 'Raleway', system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  --script: 'Great Vibes', cursive;
  --wrap: 2000px; --gutter: clamp(16px, 4vw, 72px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--font); color: var(--ink); background: var(--cream); overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: var(--plum); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--plum-dark); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.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; background: var(--plum); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-text); margin-bottom: .8em; }
.script { font-family: var(--script); font-weight: 400; color: var(--plum); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }

/* icons: Phosphor SVGs drawn through a mask so they take the text colour */
.ico { display: inline-block; width: 1.25em; height: 1.25em; flex: none; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ico-wa { --i: url(/icons/whatsapp-logo.svg); } .ico-phone { --i: url(/icons/phone.svg); }
.ico-mail { --i: url(/icons/envelope.svg); } .ico-pin { --i: url(/icons/map-pin.svg); }
.ico-fb { --i: url(/icons/facebook-logo.svg); } .ico-clock { --i: url(/icons/clock.svg); }
.ico-cal { --i: url(/icons/calendar-blank.svg); } .ico-users { --i: url(/icons/users.svg); }
.ico-right { --i: url(/icons/arrow-right.svg); } .ico-left { --i: url(/icons/arrow-left.svg); }
.ico-x { --i: url(/icons/x.svg); } .ico-play { --i: url(/icons/play.svg); }
.ico-check { --i: url(/icons/check.svg); } .ico-heart { --i: url(/icons/hand-heart.svg); }
.ico-brush { --i: url(/icons/paint-brush.svg); } .ico-coffee { --i: url(/icons/coffee.svg); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .18s var(--ease), background-color .18s, box-shadow .18s; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--plum); color: #fff; box-shadow: 0 6px 18px rgba(107, 63, 95, .25); }
.btn-primary:hover { background: var(--plum-dark); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #17603C; }
.btn-ghost { background: transparent; color: var(--plum); border-color: currentColor; }
.btn-ghost:hover { background: var(--plum-tint); }
.btn-sm { min-height: 44px; padding: 9px 16px; font-size: .92rem; }
.btn[aria-disabled="true"] { background: var(--cream-dark); color: var(--muted); box-shadow: none; pointer-events: none; }

/* header */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(250, 243, 236, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-head.scrolled { border-bottom-color: var(--line); }
.head-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { font-family: var(--script); font-size: 2.1rem; line-height: 1; color: var(--plum); text-decoration: none; margin-right: auto; padding: 6px 0; }
.nav { display: flex; gap: 6px; }
.nav a { padding: 10px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover, .nav a[aria-current] { background: var(--plum-tint); color: var(--plum-dark); }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--plum-tint); color: var(--plum); cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor; border-radius: 0; transition: transform .2s; }
@media (max-width: 860px) {
  .head-in .btn { display: none; }
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; padding: 8px 16px 20px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 14px 12px; font-size: 1.1rem; border-radius: 10px; }
  .nav .nav-wa { display: flex; margin-top: 8px; }
}
@media (min-width: 861px) { .nav .nav-wa { display: none; } }

/* hero: text left, a wall of Marie's work right, a slow strip of crafts below */
.hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 0; overflow: hidden;
  background: radial-gradient(60% 70% at 88% 30%, var(--rose-light) 0%, transparent 70%), radial-gradient(40% 50% at 0% 100%, var(--plum-tint) 0%, transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-bottom: clamp(40px, 6vw, 80px); }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.015em; margin-bottom: .35em; }
.hero h1 .script { display: block; font-size: 1.12em; line-height: 1.15; margin-top: .02em; padding-bottom: .06em; color: var(--plum); }
.hero .lead { margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-wall { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: repeat(6, 1fr); gap: 14px; height: clamp(440px, 64vh, 600px); }
.hero-wall .w { margin: 0; overflow: hidden; box-shadow: var(--shadow); background: var(--cream-dark); }
.hero-wall .w img { width: 100%; height: 100%; object-fit: cover; display: block; }
.w-door { grid-column: 1; grid-row: 1 / 7; border-radius: 999px 999px 22px 22px; }
.w-paint { grid-column: 2; grid-row: 1 / 4; border-radius: 22px 22px 22px 80px; }
.w-mosaic { grid-column: 2; grid-row: 4 / 7; border-radius: 22px; }
.hero-wall .w-polaroid { position: absolute; left: -9%; bottom: 6%; width: 42%; padding: 8px 8px 34px; background: #fff; border-radius: 4px; transform: rotate(-5deg); overflow: visible; box-shadow: 0 2px 4px rgba(74, 42, 66, .08), 0 22px 40px rgba(74, 42, 66, .18); }
.hero-wall .w-polaroid img { height: auto; aspect-ratio: 4 / 3; }
.hero-wall .w-polaroid figcaption { position: absolute; bottom: 2px; left: 0; right: 0; text-align: center; font-family: var(--script); font-size: 1.45rem; color: var(--plum); }
.w-badge { position: absolute; right: -14px; top: -18px; width: 118px; height: 118px; animation: badge-spin 28s linear infinite; filter: drop-shadow(0 8px 18px rgba(74, 42, 66, .2)); }
.w-badge circle { fill: var(--plum); }
.w-badge text { fill: #fff; font: 700 11.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.w-badge .heart { fill: var(--rose); }
@keyframes badge-spin { to { transform: rotate(360deg); } }

.next-class { margin-top: 28px; display: flex; align-items: center; gap: 16px; padding: 14px 20px 14px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; max-width: 470px; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .2s var(--ease), border-color .2s; }
.next-class:hover { border-color: var(--rose); transform: translateY(-2px); }
.next-class .nc-date { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 62px; height: 62px; border-radius: 14px; background: var(--plum); line-height: 1; }
.next-class .nc-date b { font: 700 1.55rem/1 var(--serif); color: #fff; }
.next-class .nc-date small { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rose-light); }
.next-class .nc-body { min-width: 0; }
.next-class .nc-body small { display: block; color: var(--muted); font-size: .92rem; }
.next-class .nc-body b { display: block; color: var(--plum-dark); font-size: 1.08rem; }
.next-class .nc-seats { color: var(--teal-text); font-weight: 700; }
.next-class .nc-seats.few { color: #8A5A00; }

.craft-strip { display: flex; overflow: hidden; background: var(--plum); color: #fff; padding: 16px 0; }
.craft-track { display: flex; flex: none; margin: 0; padding: 0; list-style: none; animation: craft-roll 46s linear infinite; }
.craft-track li { display: flex; align-items: center; white-space: nowrap; font: italic 400 1.35rem/1 var(--serif); padding: 0 22px; }
.craft-track li::after { content: ''; width: 8px; height: 8px; margin-left: 44px; border-radius: 50%; background: var(--rose); }
.craft-strip:hover .craft-track { animation-play-state: paused; }
@keyframes craft-roll { to { transform: translateX(-100%); } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-wall { height: 380px; margin: 4px 6px 0 14px; gap: 10px; }
  .hero-wall .w-polaroid { left: -12px; bottom: -10px; width: 46%; }
  .w-badge { width: 92px; height: 92px; right: -6px; top: -14px; }
  .craft-track li { font-size: 1.12rem; padding: 0 16px; }
  .craft-track li::after { margin-left: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .w-badge, .craft-track { animation: none; }
  .craft-strip { justify-content: center; }
  .craft-track { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; row-gap: 12px; }
  .craft-track[aria-hidden] { display: none; }
}

/* sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.alt { background: var(--white); }
.section.plum { background: var(--plum-dark); color: #F5EBF1; }
.section.plum h2, .section.plum h3 { color: #fff; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 36px; }
.sec-head > div { max-width: 640px; }
.sec-head p { color: var(--muted); margin: 0; }

/* what we do */
.crafts { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.craft { position: relative; grid-column: span 4; border-radius: var(--r); overflow: hidden; background: var(--plum-dark); min-height: 280px; color: #fff; text-decoration: none; isolation: isolate; }
.craft.wide { grid-column: span 8; }
.craft img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.craft::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(43, 22, 38, 0) 35%, rgba(43, 22, 38, .86) 100%); }
.craft:hover img { transform: scale(1.04); }
.craft-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; }
.craft h3 { color: #fff; margin: 0 0 4px; font-size: 1.35rem; }
.craft p { margin: 0; font-size: 1rem; color: #F3E6EE; max-width: 46ch; }
@media (max-width: 960px) { .craft, .craft.wide { grid-column: span 6; } }
@media (max-width: 600px) { .crafts { gap: 12px; } .craft, .craft.wide { grid-column: span 12; min-height: 230px; } }

/* timetable */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font: 600 .95rem var(--font); cursor: pointer; }
.chip:hover { border-color: var(--rose); }
.chip[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }
.rooster { display: grid; gap: 28px; }
.rooster-day .day-h { font-family: var(--font); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-text); margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.rooster-day .day-h::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.slot { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: center; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; }
.slot-time { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--plum); line-height: 1.1; }
.slot-time small { display: block; font: 500 .82rem var(--font); color: var(--muted); margin-top: 3px; }
.slot h5 { margin: 0 0 2px; font: 700 1.1rem/1.3 var(--font); color: var(--ink); }
.slot p { margin: 0; color: var(--muted); font-size: 1rem; }
.slot .desc { margin-top: 6px; color: var(--ink); font-size: 1rem; }
.slot .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; font-size: .9rem; color: var(--muted); }
.slot .meta span { display: inline-flex; align-items: center; gap: 5px; }
.slot .meta .ico { width: 1.05em; height: 1.05em; color: var(--teal); }
.slot .few { color: var(--danger); font-weight: 700; }
.slot-cta { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.badge-type { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: var(--rose-light); color: var(--plum-dark); font-size: .75rem; font-weight: 700; vertical-align: 2px; }
.rooster-empty { padding: 36px 24px; background: var(--white); border: 1.5px dashed var(--line); border-radius: var(--r); text-align: center; }
.rooster-empty p { max-width: 52ch; margin: 0 auto 16px; color: var(--muted); }
.rooster-note { margin-top: 18px; font-size: 1rem; color: var(--muted); }
@media (max-width: 640px) {
  .slot { grid-template-columns: 70px 1fr; padding: 16px; gap: 6px 14px; }
  .slot-time { font-size: 1.15rem; }
  .slot-cta { grid-column: 1 / -1; margin-top: 8px; }
  .slot-cta .btn { width: 100%; }
}

/* gallery teaser + gallery page */
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.album-card { display: block; text-decoration: none; color: inherit; }
.album-card .cov { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--cream-dark); }
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.album-card:hover img { transform: scale(1.04); }
.album-card h3 { margin: 12px 0 2px; font-size: 1.15rem; }
.album-card p { margin: 0; font-size: 1rem; color: var(--muted); }
.album-skel .cov { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }

.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 18px; scrollbar-width: thin; }
.tabs .chip { flex: none; }
.masonry { columns: 3 260px; column-gap: 14px; }
.masonry button { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--cream-dark); cursor: zoom-in; position: relative; break-inside: avoid; }
.masonry img { width: 100%; height: auto; transition: transform .5s var(--ease); }
.masonry button:hover img { transform: scale(1.03); }
.masonry .vid::after { content: ''; position: absolute; inset: 50% auto auto 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(43, 22, 38, .72) url(/icons/play.svg) 55% 50% / 26px no-repeat; filter: invert(0); }
.masonry .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; background: linear-gradient(180deg, transparent, rgba(43, 22, 38, .75)); color: #fff; font-size: .88rem; text-align: left; opacity: 0; transition: opacity .2s; }
.masonry button:hover .cap, .masonry button:focus-visible .cap { opacity: 1; }
.album-intro { max-width: 62ch; color: var(--muted); margin: -6px 0 22px; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(28, 16, 25, .94); display: grid; grid-template-rows: auto 1fr auto; color: #fff; border: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; }
/* display:grid above beats the browser's own dialog:not([open]){display:none}, so a closed
   viewer stayed on screen as an empty dark layer that caught every tap (verify, 2 Nov). */
.lb:not([open]) { display: none; }
.lb::backdrop { background: rgba(28, 16, 25, .94); }
html:has(dialog.lb[open]) { overflow: hidden; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.lb-count { font-size: .92rem; opacity: .85; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 64px; touch-action: pan-y; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: calc(100dvh - 150px); object-fit: contain; border-radius: 6px; }
.lb-cap { text-align: center; padding: 12px 20px 22px; min-height: 52px; font-size: .98rem; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .26); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
@media (max-width: 640px) { .lb-stage { padding: 0 8px; } .lb-prev, .lb-next { top: auto; bottom: -58px; transform: none; } .lb-prev { left: 16px; } .lb-next { right: 16px; } }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-grid img { border-radius: var(--r); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.quote { margin: 26px 0 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--rose); font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--plum-dark); }
.quote cite { display: block; margin-top: 8px; font: 600 .9rem var(--font); font-style: normal; color: var(--muted); }
.points { display: grid; gap: 12px; padding: 0; margin: 22px 0 0; list-style: none; }
.points li { display: flex; gap: 12px; align-items: flex-start; }
.points .ico { color: var(--teal); margin-top: 3px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; color: #fff; text-decoration: none; transition: background-color .2s; }
.contact-card:hover { background: rgba(255, 255, 255, .13); }
.contact-card .ico { width: 28px; height: 28px; color: var(--rose); margin-bottom: 6px; }
.contact-card span { font-size: .85rem; color: #E6D3DF; letter-spacing: .04em; }
.contact-card b { font-weight: 700; font-size: 1.02rem; overflow-wrap: anywhere; }
.section.plum .lead { color: #E6D3DF; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .contact-grid { grid-template-columns: 1fr; } }

.reg-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; padding: 22px 24px; border-radius: 16px; background: var(--rose-light); color: var(--plum-dark); }
.reg-strip p { margin: 0; font-weight: 600; }

/* footer */
.site-foot { padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); background: #2E1A29; color: #D9C6D3; font-size: 1rem; }
.foot-in { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.site-foot a { color: #fff; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; }
.foot-links span { display: inline-flex; align-items: center; min-height: 44px; }

/* forms (registreer) */
.form-card { max-width: 640px; margin: 0 auto; background: var(--white); border-radius: 22px; box-shadow: var(--shadow); padding: clamp(24px, 5vw, 44px); }
.form-card label { display: block; font-weight: 700; margin: 18px 0 6px; font-size: .96rem; }
.form-card input[type=text], .form-card input[type=tel], .form-card input[type=email], .form-card input:not([type]) { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: 400 1.02rem var(--font); color: var(--ink); background: var(--white); }
.form-card input:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px var(--plum-tint); }
.form-card input[aria-invalid="true"] { border-color: var(--danger); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.hint { font-size: 1rem; color: var(--muted); margin: 6px 0 0; }
.field-error { color: var(--danger); font-size: .9rem; font-weight: 600; margin: 6px 0 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 24px 0 8px; padding: 16px; background: var(--cream); border-radius: 12px; font-size: 1rem; font-weight: 500 !important; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--plum); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.form-msg.err { background: #FBECEC; color: var(--danger); }
.form-msg.ok { background: var(--teal-light); color: var(--teal-text); }
.done { text-align: center; padding: 20px 0; }
.done .ico { width: 56px; height: 56px; color: var(--teal); margin: 0 auto 12px; display: block; }

/* prose (privacy) */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* reveal on scroll: progressive, never hides content without JS */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
h1 { margin-bottom: .3em; }

/* hidden must win over any display rule (the empty "next class" strip showed on live) */
[hidden] { display: none !important; }

/* ── seats per night (2 Nov) ───────────────────────────────────────────── */
.cap { margin-top: 12px; max-width: 360px; }
.cap-bar { height: 8px; border-radius: 999px; background: var(--cream-dark); overflow: hidden; }
.cap-bar span { display: block; height: 100%; border-radius: inherit; background: var(--teal); }
.cap-text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 6px 0 0 !important; font-size: .95rem !important; color: var(--muted); }
.cap-text b { color: var(--teal-text); font-size: 1rem; }
.cap-few .cap-bar span { background: var(--gold, #C9963A); }
.cap-few .cap-text b { color: #8A5A12; }
.cap-full .cap-bar span { background: var(--plum); }
.cap-full .cap-text b { color: var(--plum); }
.slot.is-full { background: var(--cream); }

/* ── galery v2: drifting reels, no scrollbars ─────────────────────────── */
.tabs { flex-wrap: wrap; overflow: visible; padding: 4px 0 6px; scrollbar-width: none; }
.tabs .chip { flex: none; }
@media (max-width: 640px) { .tabs { gap: 6px; } .tabs .chip { min-height: 36px; padding: 4px 12px; font-size: .84rem; } }
.site-foot { padding-bottom: 100px; }
.gal-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.reels { display: grid; gap: clamp(36px, 5vw, 64px); margin-top: 18px; }
.reel-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.reel-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0 0 2px; }
.reel-head p { margin: 0; color: var(--muted); max-width: 60ch; }
.reel-acts { display: flex; gap: 8px; }
/* the reel runs edge to edge of the screen, outside the page column */
.reel-view { display: flex; width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.reel-track { display: flex; flex: none; gap: 14px; padding-right: 14px; animation: reel var(--dur, 60s) linear infinite; }
.reel-view.rev .reel-track { animation-direction: reverse; }
.reel-view:hover .reel-track, .reel-view:focus-within .reel-track { animation-play-state: paused; }
@keyframes reel { to { transform: translateX(-100%); } }
.reel-tile { flex: none; height: clamp(180px, 24vw, 280px); padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--cream-dark); cursor: zoom-in; position: relative; box-shadow: 0 1px 2px rgba(74, 42, 66, .06), 0 10px 24px rgba(74, 42, 66, .10); }
.reel-tile img { height: 100%; width: auto; max-width: none; display: block; transition: transform .6s var(--ease); }
.reel-tile:not([width]) img { aspect-ratio: 4 / 3; object-fit: cover; }
.reel-tile:hover img { transform: scale(1.05); }
.reel-tile.vid::after { content: ''; position: absolute; inset: 50% auto auto 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(43, 22, 38, .72) url(/icons/play.svg) 56% 50% / 22px no-repeat; }
.masonry button { animation: rise .6s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
  .reel-track { animation: none; }
  .reel-track[aria-hidden] { display: none; }
  .reel-view { width: auto; margin-left: 0; -webkit-mask: none; mask: none; }
  .reel-track { flex-wrap: wrap; flex: 1 1 auto; }
  .masonry button { animation: none; }
}

/* viewer as slideshow */
.ico-pause { --i: url(/icons/pause.svg); }
.lb { grid-template-rows: auto auto 1fr auto; background: #1C1019; }
.lb-bar { height: 3px; background: rgba(255, 255, 255, .1); }
.lb-bar i { display: block; height: 100%; width: 0; background: var(--rose); }
.lb.is-playing .lb-bar i { animation: lb-progress linear forwards; }
@keyframes lb-progress { from { width: 0; } to { width: 100%; } }
.lb-tools { display: flex; gap: 8px; }
.lb-play[aria-pressed="true"] { background: var(--rose); color: var(--plum-dark); }
.lb-media { position: relative; width: 100%; height: 100%; min-height: 0; overflow: hidden; }
.lb-item { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .7s ease; }
.lb-item.on { opacity: 1; }
.lb-item img, .lb-item video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lb-item.kb img { animation: kenburns 7s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1) translateX(0); } to { transform: scale(1.07) translateX(var(--kx, 2.5%)); } }
.lb-stage { height: 100%; }
.lb-foot { text-align: center; padding: 10px 20px 22px; min-height: 64px; }
.lb-album { margin: 0; font-family: var(--script); font-size: 1.6rem; color: var(--rose); line-height: 1.2; }
.lb-foot .lb-cap { padding: 2px 0 0; min-height: 0; margin: 0; }
@media (max-width: 640px) { .lb-foot { padding-bottom: 76px; } }
@media (prefers-reduced-motion: reduce) { .lb-item { transition: none; } .lb-item.kb img { animation: none; } }

/* floating WhatsApp, every page */
.wa-fab { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60; display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 6px 14px rgba(20, 70, 45, .25), 0 18px 40px rgba(20, 70, 45, .22); transition: transform .2s var(--ease), box-shadow .2s; }
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(20, 70, 45, .3), 0 22px 48px rgba(20, 70, 45, .26); }
.wa-fab:active { transform: scale(.97); }
.wa-fab .ico { width: 28px; height: 28px; }
@media (max-width: 640px) { .wa-fab { width: 60px; padding: 0; justify-content: center; } .wa-fab span:not(.ico) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }
html:has(dialog[open]) .wa-fab { display: none; }

/* contact: one phone card, then e-mail, address and a map */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 16px; align-items: stretch; }
.contact-stack { display: grid; gap: 14px; align-content: start; }
.contact-card.phone-card { gap: 10px; }
.phone-card .num { font: 700 1.5rem/1.2 var(--font); color: #fff; letter-spacing: .01em; }
.phone-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.phone-acts .btn { min-height: 48px; }
.btn-light { background: #fff; color: var(--plum-dark); border-color: #fff; }
.btn-light:hover { background: var(--rose-light); }
.map-card { position: relative; display: block; min-height: 340px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); background: var(--cream-dark); }
.map-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) sepia(.08); transition: transform .8s var(--ease); }
.map-card:hover img { transform: scale(1.03); }
.map-pin { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -46px 0 0 -23px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--plum); box-shadow: 0 6px 16px rgba(43, 22, 38, .35); }
.map-pin::after { content: ''; position: absolute; inset: 14px; border-radius: 50%; background: var(--rose); }
.map-pulse { position: absolute; left: 50%; top: 50%; width: 22px; height: 10px; margin: -4px 0 0 -11px; border-radius: 50%; background: rgba(43, 22, 38, .3); }
.map-label { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, .95); color: var(--plum-dark); font-weight: 700; box-shadow: var(--shadow); }
.map-label span { font-weight: 600; color: var(--teal-text); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.map-credit { position: absolute; right: 8px; top: 8px; font-size: .72rem; padding: 2px 6px; border-radius: 4px; background: rgba(255, 255, 255, .85); color: var(--ink); }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } .map-card { min-height: 300px; } }
.gal-page { padding-top: clamp(28px, 4vw, 52px); }
.hero h1 { margin-bottom: .2em; }

/* v5 polish: phone layout */
.about-grid img { height: auto; }
@media (min-width: 961px) { .crafts .craft.wide:last-child { grid-column: span 12; min-height: 300px; } }
@media (max-width: 600px) {
  .craft { grid-column: span 6; min-height: 190px; }
  .craft.wide { grid-column: span 12; min-height: 220px; }
  .craft:not(.wide) p { display: none; }
  .craft-text { padding: 14px 16px; }
  .craft h3 { font-size: 1.1rem; }
  .craft.wide h3 { font-size: 1.3rem; }
  .albums { grid-template-columns: 1fr 1fr; gap: 14px; }
  .album-card h3 { font-size: 1rem; margin-top: 8px; }
  .album-card p { font-size: .88rem; }
}
@media (max-width: 640px) {
  .filters { flex-wrap: nowrap; gap: 6px; width: 100%; }
  .filters .chip { flex: 1 1 auto; padding: 6px 8px; font-size: .84rem; }
  .slot { grid-template-columns: 1fr; gap: 2px; padding: 14px 16px; }
  .slot-time { display: flex; align-items: baseline; gap: 8px; font-size: 1.1rem; }
  .slot-time small { display: inline; margin: 0; font-size: .86rem; }
  .slot-cta { margin-top: 10px; }
}

/* v6: full-width layout + klasrooster as a week grid that fits one screen */
/* wider screens: hero text gets room, gallery cards keep a sensible size */
@media (min-width: 1600px) {
  .hero-wall { height: clamp(520px, 66vh, 720px); }
  .albums { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
  .craft { min-height: 340px; }
}
/* klasrooster calendar: a row per week, Monday to Sunday */
.rooster { gap: 18px; }
.cal-head { display: none; }
.week-h { font: 700 1.05rem/1.2 var(--serif); color: var(--plum-dark); margin: 0 0 8px; }
.cal-row { display: grid; grid-template-columns: 1fr; gap: 8px; }
.cal-day.empty { display: none; }
.cal-date { display: flex; align-items: baseline; gap: 6px; margin: 0 0 6px; font: 700 .82rem/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-text); }
.cal-dow { color: var(--plum-dark); }
.cal-day.today .cal-date::after { content: 'Vandag'; margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: var(--plum); color: #fff; font-size: .68rem; letter-spacing: .06em; }
.cal-slot { display: grid; gap: 2px; padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--rose); border-radius: 12px; margin-bottom: 8px; }
.cal-slot.is-full { background: var(--cream); border-left-color: var(--line); }
.cal-time { margin: 0; font: 700 1.05rem/1.2 var(--serif); color: var(--plum); }
.cal-time small { font: 500 .82rem var(--font); color: var(--muted); }
.cal-slot h5 { margin: 0; font: 700 1rem/1.25 var(--font); color: var(--ink); }
.cal-meta { margin: 0; font-size: .86rem; color: var(--muted); }
.cal-seats { margin: 0; font-size: .86rem; font-weight: 700; color: var(--teal-text); }
.cal-seats.few { color: #8A5A00; } .cal-seats.full { color: var(--danger); }
.btn-xs { min-height: 40px; padding: 7px 12px; font-size: .88rem; margin-top: 8px; width: 100%; }
@media (max-width: 1099px) { .btn-xs { min-height: 44px; } }
@media (min-width: 1100px) {
  .cal-head { display: grid; grid-template-columns: 120px repeat(7, 1fr); gap: 10px; padding-left: 0; }
  .cal-head::before { content: ''; }
  .cal-head span { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-left: 4px; }
  .cal-week { display: grid; grid-template-columns: 120px 1fr; gap: 10px; align-items: stretch; }
  .week-h { margin: 10px 0 0; font-size: 1rem; }
  .cal-row { grid-template-columns: repeat(7, 1fr); gap: 10px; }
  .cal-day, .cal-day.empty { display: block; min-height: 120px; padding: 8px; border-radius: 14px; background: var(--cream); }
  .cal-day.past { opacity: .45; }
  .cal-day.today { background: var(--plum-tint); }
  .cal-date .cal-dow { display: none; }
  .cal-slot { padding: 10px 11px; margin-bottom: 6px; }
  .cal-slot h5 { font-size: .95rem; }
  .cal-time { font-size: 1rem; }
}
#klasse .sec-head { margin-bottom: 20px; }
#klasse .rooster-note { margin-top: 12px; }
@media (min-width: 1100px) { #klasse.section { padding-block: 56px; } }
@media (min-width: 1100px) {
  .cal-head { grid-template-columns: 26px repeat(7, 1fr); }
  .cal-week { grid-template-columns: 26px 1fr; }
  .week-h { margin: 0; writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; font: 700 .74rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .cal-day, .cal-day.empty { min-height: 96px; padding: 7px; }
  .cal-date { margin-bottom: 5px; font-size: .76rem; }
  .cal-slot { gap: 1px; padding: 8px 10px; }
  .cal-time { font-size: .95rem; }
  .cal-slot h5 { font-size: .9rem; line-height: 1.2; }
  .cal-meta, .cal-seats { font-size: .78rem; line-height: 1.35; }
  .btn-xs { min-height: 34px; padding: 5px 10px; font-size: .82rem; margin-top: 6px; }
}
@media (min-width: 1100px) {
  #klasse.section { padding-block: 28px 48px; }
  #klasse .sec-head { margin-bottom: 14px; }
  #klasse .eyebrow { margin-bottom: .4em; }
  #klasse h2 { font-size: 2.3rem; margin-bottom: .25em; }
  .cal-head { margin-bottom: -6px; }
}
/* home: every album drifts past; hover or focus pauses it */
.album-band .album-card { flex: none; width: clamp(220px, 22vw, 340px); }
.album-band .album-card h3 { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .album-band .reel-track { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } }
/* captions: short on the grid, the full write-up in the viewer */
.masonry .cap { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lb-foot .lb-cap { max-width: 68ch; margin: 0 auto; max-height: 22vh; overflow-y: auto; line-height: 1.55; white-space: pre-line; }
