/* Brouwerij Koelnacht: one stylesheet for every page. Fonts are self-hosted (SIL OFL, licences in /assets/fonts). */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
/* Layout: one night, top to bottom. The scroll is the clock (22:00 → 06:30): night sections are dark, the page turns to dawn light after the range. */
:root {
  --night: #141A2E;
  --night-deep: #0B0F1D;
  --mist: #F2EADB;
  --mist-2: #E9DFCB;
  --ink: #1C1A17;
  --copper: #B8673A;
  --ember: #E8A54B;
  --stage-minuit: #3B1822;
  --stage-bleue: #34496A;
  --stage-lueur: #E3A048;
  --on-night: #EEE7D9;
  --on-night-dim: rgba(238, 231, 217, .7);
  --rule-night: rgba(238, 231, 217, .2);
  --ink-dim: rgba(28, 26, 23, .7);
  --rule-day: rgba(28, 26, 23, .18);

  --display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --t-hero: clamp(3.1rem, min(7.2vw, 13vh), 8.6rem);
  --t-h2: clamp(2.3rem, 5vw, 4.4rem);
  --t-h3: clamp(1.45rem, 2.1vw, 1.8rem);
  --t-body: 1.0625rem;
  --t-small: .9rem;
  --t-label: .72rem;

  --gl: max(clamp(16px, 4.5vw, 56px), env(safe-area-inset-left, 0px));
  --gr: max(clamp(16px, 4.5vw, 56px), env(safe-area-inset-right, 0px));
  --wrap: 1280px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--night);
  color: var(--on-night);
  font: 400 var(--t-body)/1.62 var(--body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
html.locked, html.locked body { overflow: hidden; }
img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 112px); margin-inline: auto; padding-left: var(--gl); padding-right: var(--gr); }
.eyebrow { font: 500 var(--t-label)/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .78; }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.2rem); max-width: min(34em, 100%); }
@media (min-width: 901px) { .hero .lede { max-width: min(34em, 48vw); } }

.btn {
  display: inline-flex; align-items: center; gap: .55em; min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font: 600 .95rem/1 var(--body); text-decoration: none; letter-spacing: .01em;
  background: var(--mist); color: var(--ink);
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ink { background: var(--ink); color: var(--mist); }

/* ---------- Header ---------- */
/* Language switch: two small mono pills, NL (default, Belgian Dutch) and EN */
.lang { display: inline-flex; border: 1px solid currentColor; border-radius: 999px; padding: 2px; gap: 2px; flex: none; }
.lang button { font: 500 .72rem/1 var(--mono); letter-spacing: .08em; min-width: 34px; min-height: 30px; padding: 0 8px; border: 0; border-radius: 999px; background: transparent; color: inherit; cursor: pointer; opacity: .7; }
.lang button[aria-pressed="true"] { background: var(--on-night); color: var(--night); opacity: 1; }
.bar[data-tone="light"] .lang button[aria-pressed="true"], .gate .lang button[aria-pressed="true"] { background: var(--ink); color: var(--mist); }
.lang-pending body { visibility: hidden; }
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--on-night);
  transition: background-color .4s ease, color .4s ease, box-shadow .4s ease;
}
.bar.scrolled { background: rgba(11, 15, 29, .62); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--rule-night); }
.bar[data-tone="light"] { color: var(--ink); }
.bar[data-tone="light"].scrolled { background: rgba(242, 234, 219, .8); box-shadow: 0 1px 0 var(--rule-day); }
.bar-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.mark { display: block; color: inherit; text-decoration: none; flex: none; }
.mark svg { height: 30px; width: auto; }
.clock { font: 500 .78rem/1 var(--mono); letter-spacing: .06em; display: flex; gap: .7em; align-items: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
.clock .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sun, #9FB2CF); box-shadow: 0 0 10px var(--sun, #9FB2CF); }
.clock .phase { opacity: .7; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a { font-size: .9rem; font-weight: 500; text-decoration: none; opacity: .86; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.nav .btn { min-height: 40px; padding: 0 18px; font-size: .85rem; opacity: 1; }
.bar[data-tone="light"] .nav .btn { background: var(--ink); color: var(--mist); }
@media (max-width: 880px) { .nav a:not(.btn) { display: none; } .clock .phase { display: none; } .nav { gap: 12px; } }
@media (max-width: 520px) { .nav .btn .more { display: none; } .nav .btn { padding: 0 14px; } }
.nav .btn { gap: 0; }
@media (max-width: 420px) { .mark svg { height: 24px; } .bar-in { gap: 14px; } }

/* Sun track: a small sun rises past the horizon as the page scrolls (same logic as the labels) */
.suntrack {
  position: fixed; z-index: 30; top: 50%; right: calc(env(safe-area-inset-right, 0px) + 22px);
  height: 36vh; width: 18px; transform: translateY(-50%); color: var(--on-night); pointer-events: none;
  transition: color .4s ease;
}
.suntrack[data-tone="light"] { color: var(--ink); }
.suntrack .line { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: currentColor; opacity: .35; }
.suntrack .horizon { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; opacity: .8; }
.suntrack .sun { position: absolute; left: 2px; width: 14px; height: 14px; border-radius: 50%; top: calc((1 - var(--p, 0)) * 100% - 7px); background: var(--sun, #9FB2CF); box-shadow: 0 0 14px var(--sun, #9FB2CF); }
.suntrack small { position: absolute; left: 50%; transform: translateX(-50%); font: 500 .62rem/1 var(--mono); letter-spacing: .08em; opacity: .7; white-space: nowrap; }
.suntrack .t-top { top: -22px; } .suntrack .t-bot { bottom: -22px; }
@media (max-width: 1100px) { .suntrack { display: none; } }

/* ---------- Shared full-bleed media ---------- */
.media { position: absolute; inset: 0; overflow: hidden; }
.media img, .media canvas { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(640px, 94svh); display: flex; align-items: flex-start; overflow: clip; isolation: isolate; }
.hero .kb { position: absolute; inset: 0; transform-origin: 62% 58%; animation: kb 28s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.075) translate(-.6%, -.8%); } }
.hero-scrim { position: absolute; inset: 0; background:
  linear-gradient(100deg, rgba(11,15,29,.86) 0%, rgba(11,15,29,.55) 38%, rgba(11,15,29,0) 66%),
  linear-gradient(180deg, rgba(11,15,29,.5) 0%, rgba(11,15,29,0) 26%, rgba(11,15,29,0) 70%, var(--night) 100%); }
.hero-in { position: relative; z-index: 2; padding-top: calc(env(safe-area-inset-top, 0px) + clamp(120px, 16vh, 170px)); padding-bottom: 160px; display: grid; gap: 26px; }
.hero-title { font-size: var(--t-hero); line-height: .9; letter-spacing: -.02em; max-width: 9.5em; }
.hero-title span, .hero-title em { display: block; }
.hero-title em { font-style: italic; color: #F3D3A0; }
/* The headline never runs into the hero can: the room left of the can's visible edge (the image is 17.6% transparent
   on the left), divided by the longest line's width in ems (Dutch 8.9, English 7.8). */
@media (min-width: 901px) {
  .hero-title { --room: calc(100vw - max(2vw, var(--gr)) - min(80svh, 820px, 56vw) * .746 * .824 - max(0px, (100vw - 1392px) / 2) - var(--gl) - 32px);
    font-size: min(var(--t-hero), calc(var(--room) / 8.9)); }
  html[lang="en"] .hero-title { font-size: min(var(--t-hero), calc(var(--room) / 7.8)); }
}
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-can {
  position: absolute; z-index: 3; right: max(2vw, var(--gr)); bottom: -4%;
  height: min(80svh, 820px, 56vw); width: auto; max-width: none; pointer-events: none;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.45));
  transform: translate3d(0, var(--rise, 0px), 0) rotate(var(--tilt, 3deg));
}
.scroll-cue { position: absolute; z-index: 4; left: var(--gl); bottom: 28px; font: 500 var(--t-label)/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; display: flex; align-items: center; gap: 14px; opacity: .8; }
.scroll-cue::before { content: ""; width: 44px; height: 1px; background: currentColor; }
@media (max-width: 900px) {
  .hero-can { height: 50svh; right: -6vw; bottom: -3%; }
  .hero-in { padding-bottom: 46svh; }
  .hero-scrim { background: linear-gradient(180deg, rgba(11,15,29,.82) 0%, rgba(11,15,29,.55) 45%, rgba(11,15,29,.15) 70%, var(--night) 100%); }
}

/* ---------- Story (sticky, night to dawn) ---------- */
.story { position: relative; height: 330svh; background: var(--night); }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.story .dawn { opacity: var(--dawn, 0); }
.story-scrim { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(11,15,29,.88) 0%, rgba(11,15,29,.62) 34%, rgba(11,15,29,.08) 62%),
  linear-gradient(180deg, var(--night) 0%, rgba(11,15,29,0) 18%, rgba(11,15,29,0) 82%, var(--night) 100%); }
.story-in { position: relative; z-index: 2; height: 100%; display: grid; align-content: center; gap: 34px; padding-top: 80px; padding-bottom: 40px; }
.story h2 { font-size: var(--t-h2); line-height: 1; max-width: 8em; }
.beats { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; max-width: 30rem; }
.beat { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; padding-top: 16px; border-top: 1px solid var(--rule-night); opacity: .42; transition: opacity .5s ease; }
.beat.on { opacity: 1; }
.beat time { font: 500 .8rem/1.6 var(--mono); letter-spacing: .06em; padding-top: 3px; font-variant-numeric: tabular-nums; }
.beat h3 { font-size: var(--t-h3); line-height: 1.15; }
.beat p { grid-column: 2; color: var(--on-night-dim); font-size: .98rem; margin-top: 4px; }
.thermo { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.thermo .val { font: 400 clamp(3rem, 6vw, 5rem)/1 var(--display); font-variant-numeric: tabular-nums; min-width: 2.2ch; }
.thermo .bar-t { flex: 1 1 160px; max-width: 220px; height: 2px; background: var(--rule-night); position: relative; align-self: center; }
.thermo .bar-t i { position: absolute; inset: 0 auto 0 0; width: calc(var(--heat, 1) * 100%); background: linear-gradient(90deg, #9FB2CF, var(--ember) 60%, #E2643A); }
@media (max-width: 760px) {
  .story-scrim { background: linear-gradient(180deg, rgba(11,15,29,.9) 0%, rgba(11,15,29,.45) 40%, rgba(11,15,29,.75) 62%, var(--night) 100%); }
  .story-in { align-content: end; padding-bottom: 28px; gap: 22px; }
  .beat { grid-template-columns: 54px 1fr; }
  .beat:not(.on) p { display: none; }
}

/* ---------- Pour (sticky, scroll fills the glass) ---------- */
.pour { position: relative; height: 300svh; background: #0D0906; }
.pour .stage { background: #0D0906; }
.pour-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pour-in { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding-top: 80px; }
.pour-copy { max-width: 25rem; display: grid; gap: 24px; }
.pour h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: 1.02; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 12px; opacity: .45; transition: opacity .4s ease; color: var(--on-night); }
.steps li.on { opacity: 1; }
.steps li::before { content: counter(s); font: 500 .78rem/1.9 var(--mono); width: 26px; height: 26px; border: 1px solid currentColor; border-radius: 50%; text-align: center; }
.readout { font: 500 .8rem/1.4 var(--mono); letter-spacing: .06em; font-variant-numeric: tabular-nums; display: flex; gap: 10px; align-items: baseline; }
.readout b { font: 400 2.4rem/1 var(--display); letter-spacing: 0; color: #F3D3A0; }
@media (max-width: 760px) {
  .pour-canvas { height: 58%; }
  .pour-in { align-items: flex-end; padding-bottom: 28px; }
  .pour-copy { gap: 14px; }
  .pour-copy::before { content: ""; position: absolute; inset: 52% 0 0 0; background: linear-gradient(180deg, rgba(13,9,6,0), #0D0906 18%); z-index: -1; }
  .steps li:not(.on) { display: none; }
}

/* ---------- Range (sticky, three beers) ---------- */
.range { position: relative; height: 340svh; }
.range .stage { background: var(--stage, var(--stage-minuit)); color: var(--on-night); transition: background-color .7s ease, color .7s ease; }
.range .stage.light { color: var(--ink); }
.range-in { height: 100%; display: grid; grid-template-rows: auto 1fr; padding-top: 96px; padding-bottom: 24px; gap: 8px; }
.range-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { font: 600 .85rem/1 var(--body); padding: 11px 16px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; opacity: .7; }
.tab[aria-selected="true"] { opacity: 1; background: currentColor; }
.tab[aria-selected="true"] span { color: var(--stage, var(--stage-minuit)); filter: none; }
.range .stage.light .tab[aria-selected="true"] span { color: var(--stage-lueur); }
.range-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(16px, 4vw, 64px); align-items: center; min-height: 0; }
.can-stage { position: relative; height: min(70svh, 720px); min-height: 0; touch-action: pan-y; cursor: grab; }
.can-stage:active { cursor: grabbing; }
.can-stage img, .can-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; max-width: none; }
.can-stage canvas { opacity: 0; transition: opacity .6s ease; }
.can-stage.gl canvas { opacity: 1; }
.can-stage.gl img { opacity: 0; transition: opacity .6s ease; }
.drag-hint { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); font: 500 var(--t-label)/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .6; white-space: nowrap; }
.beer { display: grid; gap: 18px; max-width: 34rem; }
.beer[hidden] { display: none !important; }
.beer .moment { font: 500 var(--t-label)/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; display: flex; gap: 12px; align-items: center; }
.beer .moment i { width: 34px; height: 1px; background: currentColor; position: relative; }
.beer .moment i::after { content: ""; position: absolute; left: 11px; width: 12px; height: 12px; border-radius: 50%; background: currentColor; top: var(--sun-y, 0); }
.beer h2 { font-size: clamp(3rem, 7.2vw, 6.6rem); line-height: .92; }
.beer .style { font-size: 1.05rem; font-weight: 600; }
.beer .desc { max-width: 31em; opacity: .9; }
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 6px 0 0; border-top: 1px solid currentColor; }
.specs div { padding: 12px 12px 0 0; min-width: 0; }
.specs dt { font: 500 .66rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.specs dd { margin: 4px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.pairs { font-size: .95rem; opacity: .9; }
.pairs b { font-weight: 600; }
@media (max-width: 860px) {
  .range-in { padding-top: 84px; }
  .range-grid { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; align-items: stretch; gap: 10px; }
  .can-stage { height: auto; min-height: 200px; }
  .beer { gap: 10px; }
  .beer h2 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .beer .desc { font-size: .95rem; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pairs, .drag-hint { display: none; }
}
@media (max-width: 860px) and (max-height: 760px) { .beer .desc { display: none; } }

/* ---------- Dawn: light sections ---------- */
.day { background: var(--mist); color: var(--ink); }
.day .eyebrow { opacity: .7; }
.sec-head { display: grid; gap: 16px; max-width: 44rem; }
.sec-head h2 { font-size: var(--t-h2); line-height: 1.02; }
.sec-head p:not(.eyebrow) { color: var(--ink-dim); max-width: 36em; }

.ingredients { position: relative; padding-block: clamp(120px, 16vw, 220px) clamp(80px, 10vw, 140px); background: linear-gradient(180deg, var(--stage-lueur) 0px, #EED3A3 90px, var(--mist) 260px); }
.botanicals { margin-top: clamp(48px, 7vw, 96px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.botanicals figure { margin: 0; display: grid; gap: 18px; align-content: start; }
.botanicals .art { height: clamp(220px, 26vw, 330px); display: flex; align-items: flex-end; justify-content: center; border-bottom: 1px solid var(--rule-day); padding-bottom: 18px; }
.botanicals .art svg { height: 100%; width: auto; transform: translate3d(0, var(--dy, 0px), 0) rotate(var(--rot, 0deg)); transition: transform .1s linear; }
.botanicals h3 { font-size: var(--t-h3); }
.botanicals figcaption { display: grid; gap: 6px; }
.botanicals figcaption p { color: var(--ink-dim); font-size: .98rem; }
.botanicals .src { font: 500 var(--t-label)/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); opacity: .7; }
.also { margin-top: clamp(40px, 6vw, 72px); padding-top: 20px; border-top: 1px solid var(--rule-day); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 54rem; }
.also p { color: var(--ink-dim); }
.also b { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .botanicals, .also { grid-template-columns: 1fr; } .botanicals .art { height: 240px; } }

.visit { padding-block: clamp(80px, 10vw, 140px); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.visit-photo { margin: 0; position: sticky; top: 100px; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 5; max-width: 100%; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(var(--zoom, 1.12)); transform-origin: 50% 40%; }
.visit-photo figcaption { position: absolute; left: 14px; bottom: 12px; font: 500 var(--t-label)/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mist); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.visit-copy { display: grid; gap: 26px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin: 0; }
.facts dt { font: 500 .66rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); }
.facts dd { margin: 4px 0 0; font-weight: 600; }
.facts dd span { display: block; font-weight: 400; color: var(--ink-dim); font-size: .92rem; }
.tour { display: grid; gap: 18px; padding: 24px; background: var(--mist-2); border-radius: 6px; }
.tour h3 { font-size: 1.6rem; }
.tour fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.tour legend { font: 500 .66rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--rule-day); background: var(--mist); font-weight: 600; font-size: .9rem; font-variant-numeric: tabular-nums; }
.chip input:checked + span { background: var(--ink); color: var(--mist); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 2px; }
.stepper { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--rule-day); border-radius: 999px; background: var(--mist); width: max-content; }
.stepper button { width: 42px; height: 42px; border: 0; background: transparent; font: 600 1.2rem/1 var(--body); color: var(--ink); cursor: pointer; border-radius: 50%; }
.stepper output { min-width: 5.5em; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.tour .row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.tour .total { font-weight: 600; font-variant-numeric: tabular-nums; }
.status { font-size: .95rem; min-height: 1.5em; }
.status:empty { display: none; }
.status b { font-weight: 600; }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } .visit-photo { position: relative; top: 0; aspect-ratio: 4 / 3; } }

.find { padding-block: clamp(70px, 9vw, 120px); border-top: 1px solid var(--rule-day); }
.find-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.search { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.search label { display: grid; gap: 6px; font: 500 .66rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); }
.search input { width: 9.5em; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 600 1.05rem/1 var(--body); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.results { margin-top: 24px; display: grid; gap: 0; }
.results .sum { font-weight: 600; margin-bottom: 10px; }
.results .err { color: #8A2E1E; font-weight: 600; }
.results ul { list-style: none; margin: 0; padding: 0; }
.results li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 0; border-top: 1px solid var(--rule-day); }
.results li:last-child { border-bottom: 1px solid var(--rule-day); }
.results li b { font-weight: 600; }
.results li span { color: var(--ink-dim); font-size: .92rem; }
.results li em { font-style: normal; font: 500 .8rem/1.6 var(--mono); font-variant-numeric: tabular-nums; grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.results .note { margin-top: 12px; font-size: .85rem; color: var(--ink-dim); }
@media (max-width: 860px) { .find-grid { grid-template-columns: 1fr; } }

footer { background: var(--ink); color: var(--mist); padding-block: clamp(60px, 8vw, 100px) calc(36px + env(safe-area-inset-bottom, 0px)); }
.foot { display: grid; gap: 40px; }
.foot .big svg { width: min(100%, 760px); height: auto; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; font-size: .92rem; }
.foot-cols p { color: rgba(242, 234, 219, .72); }
.foot-cols h3 { font: 500 .66rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; color: var(--mist); }
.foot-cols nav { display: grid; gap: 6px; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; }
.foot-legal { font-size: .8rem; color: rgba(242, 234, 219, .6); border-top: 1px solid rgba(242, 234, 219, .16); padding-top: 18px; }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr; } }

/* ---------- Age gate ---------- */
.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px)); background: rgba(8, 10, 20, .58); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.gate-card { width: min(100%, 440px); background: var(--mist); color: var(--ink); border-radius: 8px; padding: 32px; display: grid; gap: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.gate-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gate-card .gate-top > svg { height: 34px; width: auto; }
.gate-card h2 { font-size: 2.3rem; line-height: 1.05; }
.gate-card p { color: var(--ink-dim); }
.gate-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gate-actions .ghost { color: var(--ink); }
.gate-no { color: #8A2E1E; font-weight: 600; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .hero .kb { animation: none; }
  .beat, .steps li, .range .stage, .btn { transition: none; }
}
/* ---------- Multi-page additions (the site at koelnacht.alessiowinkel.com) ---------- */
/* the published artifact's wrapper supplied this; a standalone page needs it, or the age gate never closes */
[hidden] { display: none !important; }
.nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
/* a page that opens on a light section: room for the fixed header */
.first { padding-top: clamp(132px, 14vw, 190px) !important; }

/* Phones: the menu */
.menu-btn { display: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; font: 600 .85rem/1 var(--body); cursor: pointer; }
.menu { border-top: 1px solid var(--rule-night); background: rgba(11, 15, 29, .96); color: var(--on-night); }
.bar[data-tone="light"] .menu { background: rgba(242, 234, 219, .98); color: var(--ink); border-top-color: var(--rule-day); }
.menu .wrap { display: grid; padding-block: 8px 20px; }
.menu a { font: 400 2rem/1.1 var(--display); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--rule-night); }
.bar[data-tone="light"] .menu a { border-bottom-color: var(--rule-day); }
.menu a[aria-current="page"] { color: var(--ember); }
.bar[data-tone="light"] .menu a[aria-current="page"] { color: var(--copper); }
.bar.open { background: rgba(11, 15, 29, .96); }
.bar.open[data-tone="light"] { background: rgba(242, 234, 219, .98); }
@media (max-width: 880px) { .menu-btn { display: inline-flex; align-items: center; } }
@media (min-width: 881px) { .menu { display: none !important; } }
@media (max-width: 420px) { .clock { display: none; } }

/* Home: after the night, three ways in */
.next { padding-block: clamp(80px, 10vw, 140px); }
.next-grid { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.next-card { display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--ink); background: var(--mist-2); border-radius: 6px; overflow: hidden; }
.next-card .pic { aspect-ratio: 4 / 3; overflow: hidden; background: var(--night); position: relative; }
.next-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.next-card .pic.can { background: var(--stage-lueur); }
.next-card .pic.can img { object-fit: contain; padding: 18px 0 0; }
.next-card .txt { display: grid; gap: 8px; align-content: start; padding: 22px 24px 26px; }
.next-card h3 { font-size: var(--t-h3); display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.next-card h3::after { content: "→"; font-family: var(--body); font-size: 1.1rem; transition: transform .2s ease; }
.next-card p { color: var(--ink-dim); font-size: .98rem; }
.next-card:hover .pic img { transform: scale(1.04); }
.next-card:hover h3::after { transform: translateX(4px); }
@media (max-width: 860px) { .next-grid { grid-template-columns: 1fr; } .next-card { grid-template-columns: 38% 1fr; grid-template-rows: none; } .next-card .pic { aspect-ratio: auto; min-height: 132px; } }

.foot-credit { font-size: .85rem; color: rgba(242, 234, 219, .8); }
.foot-credit a { color: var(--ember); text-underline-offset: 3px; }

/* home: the ad and the launch film */
.films { padding-block: clamp(80px, 10vw, 140px); background: var(--night); color: var(--on-night); }
.films .sec-head p:not(.eyebrow) { color: var(--on-night-dim); }
.films-grid { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 48px); }
.film { margin: 0; display: grid; gap: 18px; align-content: start; min-width: 0; }
.film .screen { aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #000; }
.film video { display: block; width: 100%; height: 100%; background: #000; }
.film figcaption { display: grid; gap: 6px; }
.film h3 { font-size: var(--t-h3); line-height: 1.15; }
.film p { color: var(--on-night-dim); font-size: .98rem; }
.films-credit { margin-top: clamp(32px, 4vw, 52px); padding-top: 18px; border-top: 1px solid var(--rule-night); color: var(--on-night-dim); font-size: .88rem; max-width: 62em; }
@media (max-width: 860px) { .films-grid { grid-template-columns: minmax(0, 1fr); } }
/* 404 */
.nf { min-height: 100svh; position: relative; display: grid; align-items: center; overflow: clip; isolation: isolate; }
.nf .media img { opacity: .55; }
.nf-in { position: relative; z-index: 2; display: grid; gap: 22px; padding-block: 140px 80px; }
.nf h1 { font-size: var(--t-h2); line-height: 1; max-width: 12em; }
.nf p:not(.eyebrow) { color: var(--on-night-dim); max-width: 30em; }
@media (prefers-reduced-motion: reduce) { .next-card .pic img, .next-card h3::after { transition: none; } }
/* "Book a tour" is longer than "Rondleiding": keep the header button on one line on phones. */
.nav .btn { white-space: nowrap; }
