/* SuperFly: warm near-black, one sage accent (from the Amsterdam shopfront). Plain on purpose. */

/* Archivo (SIL OFL), self-hosted so visitors' IPs don't go to Google */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 300 800; font-stretch: 62% 125%; font-display: swap;
  src: url(fonts/archivo-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 300 800; font-stretch: 62% 125%; font-display: swap;
  src: url(fonts/archivo-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  color-scheme: dark;
  --bg: #141312;
  --bg-2: #1c1a19;
  --bg-3: #24221f;
  --text: #efece7;
  --muted: #a39c94;
  --line: rgba(239, 236, 231, .13);
  --accent: #a9c9b5;
  --accent-ink: #12201a;
  --soon: #d9b77a;

  --wrap: 1200px;
  --gut: 16px;
  --r: 4px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --head-h: 64px;
}
@media (min-width: 720px) { :root { --gut: 32px; --head-h: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
html:not(.js) .menubtn, html:not(.js) .lang, html:not(.js) .finder { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: calc(760px + 2 * var(--gut)); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -.015em; margin-bottom: 28px; }
.body { color: var(--muted); font-size: 18px; max-width: 56ch; }
.body + .body { margin-top: 16px; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r); border: 1px solid transparent;
  font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #c2dccb; }
.btn--ghost { border-color: rgba(239, 236, 231, .38); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text); }
.locinfo .links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 12px; }
.link { background: none; border: 0; padding: 10px 0; min-height: 44px; cursor: pointer; font-size: 15px; color: var(--text); }
.link--sm { font-size: 14px; color: var(--muted); padding: 6px 0 0; min-height: 36px; }

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid transparent; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand img { width: 40px; height: auto; }
.brand__word { font-stretch: 125%; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; font-size: 14px; }
.nav { display: none; gap: 4px; margin: 0 auto; }
.nav a { text-decoration: none; padding: 10px 12px; font-size: 15px; color: var(--muted); }
.nav a:hover, .nav a.is-active { color: var(--text); }
.header__end { display: flex; align-items: center; gap: 12px; margin-left: auto; }
@media (min-width: 960px) {
  .nav { display: flex; }
  .header__end { margin-left: 0; }
  .menubtn { display: none !important; }
}

.lang { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r); }
.lang button { background: none; border: 0; min-width: 44px; min-height: 40px; font-size: 13px; color: var(--muted); cursor: pointer; }
.lang button[aria-pressed="true"] { color: var(--text); background: rgba(239, 236, 231, .08); }
.header .lang { display: none; }
@media (min-width: 560px) { .header .lang { display: inline-flex; } }

.menubtn { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; padding: 0 11px; }
.menubtn span { display: block; height: 1.5px; background: var(--text); }
.menubtn[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menubtn[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.sheet { position: fixed; inset: var(--head-h) 0 0; z-index: 39; background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; padding: 24px var(--gut) 32px; overflow-y: auto; }
.sheet__nav { display: flex; flex-direction: column; }
.sheet__nav a { font-size: 28px; font-weight: 600; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sheet__foot { margin-top: 32px; }
body.no-scroll { overflow: hidden; }

/* Hero */
.hero { position: relative; z-index: 1; min-height: min(80vh, 760px); display: flex; flex-direction: column; justify-content: flex-end; padding: 96px 0 0; isolation: isolate; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__shade { position: absolute; inset: 0; background: rgba(14, 13, 12, .6); z-index: -1; }
.hero__in { padding-bottom: 48px; }
.hero__title { font-size: clamp(40px, 7vw, 72px); line-height: 1.02; letter-spacing: -.02em; margin-bottom: 16px; }
.hero__lead { font-size: clamp(17px, 1.6vw, 19px); color: #d6d0c8; max-width: 46ch; margin-bottom: 28px; }

/* Same three columns as the location tabs at every width, so the row can land on them (app.js) */
.statusrow { --sr-line: rgba(239, 236, 231, .22); list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--sr-line); position: relative; }
.statusrow li { min-width: 0; }
.statusrow li + li button { border-left: 1px solid var(--sr-line); padding-left: 12px; }
.statusrow button { all: unset; box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; width: 100%; height: 100%; min-height: 64px; padding: 12px 8px 14px 0; cursor: pointer; }
.statusrow button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.statusrow .s-name { font-size: 17px; font-weight: 600; }
.statusrow button:hover .s-name { color: var(--accent); }
.statusrow .status { font-size: 13px; }
@media (max-width: 479px) { .statusrow .status { white-space: normal; } }
@media (max-width: 379px) {
  .statusrow li + li button { padding-left: 8px; }
  .statusrow button { padding-right: 4px; }
  .statusrow .s-name { font-size: 16px; }
}
@media (min-width: 720px) {
  .statusrow li + li button { padding-left: 24px; }
  .statusrow button { padding: 16px 24px 20px 0; min-height: 72px; }
  .statusrow .status { font-size: 15px; }
}
/* Short screens (phone held sideways): keep the open/closed row in view */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 0; padding-top: 24px; }
  .hero__title { font-size: 36px; margin-bottom: 8px; }
  .hero__lead { margin-bottom: 16px; }
  .hero__in { padding-bottom: 20px; }
  .statusrow li + li button { padding-left: 16px; }
  .statusrow button { min-height: 44px; padding: 8px 12px 10px 0; gap: 0; }
}

/* Opening status: just coloured text */
.status { font-size: 15px; color: var(--muted); white-space: nowrap; }
.status.is-open { color: var(--accent); }
.status.is-soon { color: var(--soon); }

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 960px) { .section { padding: 104px 0; } }
.section--band { background: var(--bg-2); }

/* Locations */
.head--row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.head--row .h2 { margin-bottom: 0; }
.finder { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
@media (min-width: 720px) { .finder { align-items: flex-end; text-align: right; } }
.finder__out { font-size: 15px; color: var(--muted); }
.finder__out:empty { display: none; }
.finder__out strong { color: var(--text); font-weight: 600; }

.tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.tab {
  background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer;
  padding: 14px 4px 14px; text-align: left; min-height: 56px; color: var(--muted); display: flex; flex-direction: column; gap: 2px;
}
.tab__name { font-size: clamp(17px, 3vw, 24px); font-weight: 600; color: inherit; }
.tab .status { font-size: 13px; }
/* While the hero status row is on its way down, it stands in for the tab names (app.js) */
.tabs.is-waiting .tab > * { opacity: 0; }
.tabs.is-waiting:focus-within .tab > * { opacity: 1; }
.tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.tab:hover { color: var(--text); }
.tab .near { font-size: 13px; color: var(--text); }
@media (max-width: 479px) { .tab .status { white-space: normal; } }

.locpanel { display: grid; gap: 32px; }
@media (min-width: 960px) { .locpanel { grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: start; } }

.gallery { display: grid; gap: 8px; container-type: inline-size; }
.gallery__main { all: unset; cursor: zoom-in; display: block; aspect-ratio: 3 / 2; background: var(--bg-3); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.thumb { all: unset; cursor: zoom-in; aspect-ratio: 1; overflow: hidden; background: var(--bg-3); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
/* Same thumb-row height as a 3-photo shop, whatever the photo count */
@supports (height: 1cqi) { .thumb { aspect-ratio: auto; height: calc((100cqi - 16px) / 3); } }
.thumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.locinfo h3 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.015em; line-height: 1.1; margin-bottom: 6px; }
.locinfo .lead { color: var(--muted); margin: 14px 0 24px; max-width: 52ch; }
.facts { margin: 0 0 28px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { margin: 0; }

.map { margin-top: 8px; position: relative; }
.map:empty { display: none; } /* not loaded yet: no empty row in the layout */
.map.is-loaded { aspect-ratio: 16 / 9; border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__big { position: absolute; left: 8px; bottom: 8px; background: var(--bg); color: var(--text); font-size: 14px; padding: 8px 12px; border-radius: var(--r); }
/* New-tab links: small arrow, not read aloud (screen readers get aria-describedby="newtab") */
a[target="_blank"]:not(.btn)::after { content: "\2197" / ""; margin-left: .25em; font-size: .85em; opacity: .7; }
@media (min-width: 960px) { .map { grid-column: 1 / -1; margin-top: 0; } .map.is-loaded { aspect-ratio: 21 / 8; } }

/* About */
.about { display: grid; gap: 40px; }
@media (min-width: 960px) { .about { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; } }
.about__fig { margin: 0; }
.about__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about__fig figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* Rules */
.rules { margin: 0; padding: 0 0 0 1.2em; display: grid; gap: 12px; font-size: 18px; }
.rules li { padding-left: 4px; }
.rules li::marker { color: var(--muted); }
.h3 { font-size: 22px; line-height: 1.2; margin: 48px 0 16px; }
.rules--soft { color: var(--muted); font-size: 17px; }
.note { color: var(--muted); font-size: 15px; margin-top: 20px; }
.note a { color: var(--text); }

/* FAQ */
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; min-height: 60px; font-size: 18px; font-weight: 500; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; flex: none; font-size: 22px; line-height: 1; color: var(--muted); }
.faq__list details[open] summary::after { content: "−"; }
.faq__list p { color: var(--muted); padding: 0 32px 22px 0; max-width: 60ch; }
.faq__list a { color: var(--text); }

/* Footer */
.footer { padding: 56px 0 32px; font-size: 15px; border-top: 1px solid var(--line); }
.footer__top { display: grid; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) {
  .footer__top { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 64px; align-items: start; }
  .footer__top .footer__grid { grid-template-columns: 1fr; gap: 24px; }
}
.footer__grid .num { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 13px; vertical-align: 2px; }

/* Overview map: static, self-hosted OSM render with numbered pins (positions from the build script) */
.overview { margin: 0; max-width: 560px; }
.overview__map { position: relative; }
.overview__map img { width: 100%; height: auto; border: 1px solid var(--line); }
.overview figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.overview figcaption a { color: var(--muted); }
.pin { position: absolute; width: 44px; height: 44px; transform: translate(-50%, -50%); display: grid; place-items: center; text-decoration: none; }
.pin span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 15px; box-shadow: 0 0 0 3px var(--bg); }
.pin:hover span, .pin:focus-visible span { background: #c2dccb; }
.pin--hoofddorp { left: 27.78%; top: 89.96%; }
.pin--beverwijk { left: 18.34%; top: 11.29%; }
.pin--amsterdam { left: 83.84%; top: 69.96%; }
.ref { position: absolute; transform: translate(-50%, -50%); font-size: 12px; color: var(--text); background: rgba(20, 19, 18, .8); padding: 2px 6px; border-radius: var(--r); }
.ref--schiphol { left: 48.23%; top: 88.44%; }
.footer__grid h3 { font-size: 17px; margin-bottom: 8px; }
.footer__grid p { color: var(--muted); }
.footer__grid a { color: var(--text); display: inline-flex; align-items: center; min-height: 44px; }
.footer__grid .status { display: block; margin: 8px 0 2px; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 24px; color: var(--muted); font-size: 14px; }
.footer__bottom a { margin-left: auto; color: var(--muted); }
.footer__bottom .ig { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; transition: color .15s; }
.footer__bottom .ig:hover, .footer__bottom .ig:focus-visible { color: var(--text); }
.footer__bottom .ig svg { flex: none; }
@media (max-width: 719px) { .footer__bottom a { margin-left: 0; } }

/* 404 */
.notfound { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; padding-top: 48px; padding-bottom: 48px; }
.notfound .brand { margin-bottom: 24px; }
.notfound .h2 { margin-bottom: 0; }

/* Dialogs */
dialog { color: inherit; }
dialog:not([open]) { display: none; } /* browsers without <dialog> support would show it inline */
dialog::backdrop { background: rgba(10, 9, 8, .85); }
.age { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 32px 24px 24px; width: min(400px, calc(100vw - 32px)); text-align: center; }
.age img { margin: 0 auto 20px; width: 52px; }
.age h2 { font-size: 24px; margin-bottom: 8px; }
.age p { color: var(--muted); margin-bottom: 24px; }
.age__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.age__no { margin: 16px 0 0 !important; color: var(--text) !important; }
.lang--center { margin-top: 20px; }

.lb { background: transparent; border: 0; padding: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; overflow: hidden; }
.lb[open] { display: grid; place-items: center; }
.lb::backdrop { background: rgba(10, 9, 8, .94); }
.lb__fig { margin: 0; max-width: min(1400px, calc(100vw - 32px)); }
.lb__fig img { max-height: calc(100vh - 140px); width: auto; margin: 0 auto; }
.lb__fig figcaption { color: var(--muted); font-size: 14px; text-align: center; margin-top: 12px; }
.lb__close, .lb__nav { position: fixed; width: 48px; height: 48px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(20, 19, 18, .7); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.lb__close { top: 16px; right: 16px; }
.lb__nav { top: 50%; transform: translateY(-50%); }
.lb__nav--prev { left: 16px; }
.lb__nav--next { right: 16px; }
@media (max-width: 719px) { .lb__nav { top: auto; bottom: 16px; transform: none; } }

/* Windows high contrast: colour-only cues disappear, so use system colours that survive */
@media (forced-colors: active) {
  .tab[aria-selected="true"] { border-bottom: 4px solid Highlight; }
  .pin span, .footer__grid .num { forced-color-adjust: none; background: Canvas; color: CanvasText; border: 2px solid CanvasText; }
}

/* Print (hotel desks, tour guides): black on white, text only */
@media print {
  :root { --bg: #fff; --bg-2: #fff; --bg-3: #fff; --text: #000; --muted: #333; --line: #bbb; color-scheme: light; }
  body { font-size: 11pt; }
  .header, .hero__img, .hero__shade, .hero .btn, .statusrow, .finder, .tabs, .gallery, .btns, .links, .map,
  .about__fig, .overview, .faq__list, #vragen, dialog, .skip, a[target="_blank"]::after,
  .status, .link--sm { display: none !important; } /* live status is wrong once on paper */
  .hero { min-height: 0; padding: 0; }
  .hero__lead { color: #000; }
  .section { padding: 16px 0; }
  .locpanel { display: block; }
  .footer__top, .footer__grid { display: block; }
  .footer__grid > div { break-inside: avoid; margin-bottom: 12px; }
}
