/* De Willisstee – site styles. Colours only via var(--token) from tokens.css. */

:root {
  --gutter: clamp(16px, 4vw, 32px);
  --maxw: 1200px;
  --mobile-bar-h: 72px;
  --pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
ul, ol { padding: 0; margin: 0; list-style: none; }
dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem); }
h2 { font-size: clamp(1.875rem, 1.35rem + 1.9vw, 2.75rem); }
h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0 0 var(--space-4); max-width: 68ch; text-wrap: pretty; }
li { max-width: 68ch; }

a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
a[aria-disabled="true"] { color: var(--ink-muted); text-decoration: none; cursor: default; }

:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  background: var(--brand-ink); color: var(--on-brand);
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-s);
}
.skip-link:focus { top: var(--space-4); }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--sand { background: var(--surface); }
.section--brand { background: var(--brand-ink); color: var(--on-brand); }
.section--brand h2, .section--brand a { color: var(--on-brand); }
.section--brand :focus-visible { outline-color: var(--on-brand); }

.section__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: var(--space-3) var(--space-5);
  margin-bottom: var(--space-6);
}
.section__head h2 { margin: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-ink);
  margin: 0 0 var(--space-3);
}

.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; gap: var(--space-2); }
.link-arrow::after { content: "\2192"; content: "\2192" / ""; transition: transform 200ms var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }
.link-arrow[aria-disabled="true"]::after { content: none; }

.note { font-size: 1rem; color: var(--ink-muted); }

.split { display: grid; gap: var(--space-7); align-items: center; }
.split__text > :last-child { margin-bottom: 0; }
.frame { border-radius: var(--radius-l); overflow: hidden; }
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 6fr; gap: clamp(48px, 6vw, 96px); }
  .split--reverse { grid-template-columns: 6fr 5fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 var(--space-5);
  border: 2px solid transparent; border-radius: var(--pill);
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background-color 180ms ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn--primary { background: var(--brand-ink); color: var(--on-brand); }
.btn--ghost { background: transparent; color: var(--brand-ink); border-color: var(--brand-ink); }
.btn--ghost:hover { background: var(--bg); }
.btn--light { background: var(--bg); color: var(--brand-ink); }
.section--brand .btn--light { color: var(--brand-ink); }

/* ---------- Cards and labels ---------- */
.card { background: var(--surface); border-radius: var(--radius-l); padding: var(--space-6); }
.section--sand .card { background: var(--bg); }

.tag-voorbeeld {
  display: inline-block;
  padding: 1px var(--space-2);
  border: 1.5px dashed var(--ink-muted);
  border-radius: var(--radius-s);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.875rem; font-weight: 600; line-height: 1.4;
  vertical-align: middle;
}

/* ---------- Header and navigation ---------- */
.site-header { position: relative; z-index: 40; background: var(--bg); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
  min-height: 80px; padding-block: var(--space-3);
}
.site-header__logo { display: inline-flex; align-items: center; min-height: 44px; }
.site-header__logo img { height: 44px; width: auto; }

.site-nav__list a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--ink); font-weight: 500; text-decoration: none;
}
.site-nav__list a:hover { color: var(--brand-ink); text-decoration: underline; text-decoration-thickness: 2px; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: var(--space-3);
  min-height: 44px; min-width: 44px; padding: 0 var(--space-4);
  background: transparent; border: 2px solid var(--ink); border-radius: var(--pill);
  font-weight: 600; font-size: 1rem; cursor: pointer;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 200ms var(--ease), opacity 200ms ease;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); background: var(--ink); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); background: var(--ink); }

@media (max-width: 859.98px) {
  /* Without JS (no .js on <html>) the menu stays open below the logo and the toggle is hidden. */
  .site-header__inner { flex-wrap: wrap; }
  .site-nav { flex-basis: 100%; padding-bottom: var(--space-4); }
  html:not(.js) .menu-toggle { display: none; }
  .js .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg);
    padding: var(--space-2) var(--gutter) var(--space-6);
    box-shadow: var(--shadow-card);
  }
  .js .menu-toggle[aria-expanded="true"] + .site-nav { display: block; }
  .site-nav__list a { display: flex; min-height: 52px; font-size: 1.25rem; }
  .site-nav__cta { width: 100%; margin-top: var(--space-4); }
}
@media (min-width: 860px) {
  .menu-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: var(--space-6); }
  .site-nav__list { display: flex; gap: var(--space-5); }
}

/* ---------- Hero ---------- */
.hero { padding-top: var(--space-4); }
.hero__media { border-radius: var(--radius-l); overflow: hidden; background: var(--surface); }
.hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero__card {
  position: relative; z-index: 1;
  background: var(--surface);
  border-radius: var(--radius-l);
  padding: var(--space-6) var(--space-5);
  margin: calc(-1 * var(--space-7)) var(--space-3) 0;
  box-shadow: var(--shadow-card);
}
.hero__title { margin-bottom: var(--space-4); }
.hero__lead { font-size: 1.1875rem; margin-bottom: var(--space-5); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (min-width: 600px) {
  .hero__media img { aspect-ratio: 3 / 2; }
  .hero__card { margin: calc(-1 * var(--space-8)) var(--space-6) 0; padding: var(--space-7); }
}
@media (min-width: 960px) {
  /* The photo stays near its native 768px so it remains sharp; the card overlaps its left edge. */
  .hero__grid { display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; }
  .hero__media { grid-column: 5 / -1; grid-row: 1; }
  .hero__card { grid-column: 1 / 7; grid-row: 1; margin: var(--space-7) 0; }
}

/* ---------- Agenda: event cards and date sheets ---------- */
.event-grid { display: grid; gap: var(--space-4); }
@media (min-width: 700px) { .event-grid { grid-template-columns: 1fr 1fr; gap: var(--space-5); } }
.event-grid .agenda-week { grid-column: 1 / -1; }

.event-card {
  display: grid; grid-template-columns: auto 1fr; align-items: start; gap: var(--space-5);
  background: var(--surface);
  border-radius: var(--radius-l);
  padding: var(--space-5);
}
.section--sand .event-card { background: var(--bg); }
.event-card__title { font-size: 1.375rem; margin: var(--space-1) 0 var(--space-2); }
.event-card__meta { font-size: 1rem; color: var(--ink-muted); margin-bottom: var(--space-3); }
.event-card__body > :last-child { margin-bottom: 0; }

.date-sheet {
  display: flex; flex-direction: column;
  width: 76px; text-align: center;
  background: var(--bg);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.section--sand .date-sheet { background: var(--surface); }
.date-sheet__month {
  order: -1;
  background: var(--brand-ink); color: var(--on-brand);
  font-size: 0.9375rem; font-weight: 600; line-height: 1;
  padding: var(--space-2) 0;
}
.date-sheet__day {
  font-family: var(--font-head);
  font-size: 2.25rem; font-weight: 600; line-height: 1;
  color: var(--accent);
  padding: var(--space-3) 0 var(--space-3);
}

.agenda-week { font-size: 1.5rem; margin: var(--space-7) 0 var(--space-2); }
.agenda-week:first-child { margin-top: 0; }

.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-4);
  border: 2px solid var(--brand-ink); border-radius: var(--pill);
  background: transparent; color: var(--brand-ink);
  font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}
.chip:hover { background: var(--surface); }
.chip[aria-pressed="true"] { background: var(--brand-ink); color: var(--on-brand); }
[data-agenda-filters] { display: flex; flex-wrap: wrap; gap: var(--space-2); }
[data-agenda-count] { font-weight: 600; color: var(--ink-muted); }
.empty { background: var(--surface); border-radius: var(--radius-l); padding: var(--space-6); margin: 0; }

/* ---------- Spaces tiles ---------- */
.room-grid { display: grid; gap: var(--space-5); }
@media (min-width: 640px) {
  .room-grid { grid-template-columns: 1fr 1fr; }
  .room-card--wide { grid-column: span 2; }
}
@media (min-width: 960px) {
  .room-grid { grid-template-columns: repeat(3, 1fr); }
}
.room-card {
  position: relative;
  display: flex; flex-direction: column;
  max-width: none;
  background: var(--bg);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.room-card img { width: 100%; height: clamp(200px, 22vw, 300px); object-fit: cover; }
.room-card__body { padding: var(--space-5); }
.room-card__title { margin-bottom: var(--space-2); }
.room-card__title a { color: var(--ink); text-decoration: none; }
.room-card__title a::after { content: ""; position: absolute; inset: 0; }
.room-card__title a:focus-visible { outline: none; }
/* Ring the whole tile for keyboard focus only (no ring on mouse click). */
.room-card:has(.room-card__title a:focus-visible) { outline: 3px solid var(--brand-ink); outline-offset: 3px; }
@supports not selector(:has(a)) {
  .room-card__title a:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 3px; }
}
.room-card__facts { font-size: 1rem; margin: 0; }
.room-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.room-card:hover .room-card__title a { color: var(--brand-ink); }

/* ---------- Rental highlight ---------- */
.included { display: grid; gap: var(--space-4); margin: var(--space-6) 0; }
.included li { padding-left: var(--space-5); position: relative; }
.included li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 10px; height: 10px; border-radius: 50%; background: var(--on-brand);
}
.included strong { display: block; font-family: var(--font-head); font-size: 1.375rem; font-weight: 600; line-height: 1.25; }
.price-note { font-weight: 600; margin-bottom: var(--space-5); }

/* ---------- Café ---------- */
.cafe-list { display: grid; gap: var(--space-2); margin: var(--space-5) 0 var(--space-6); }
.cafe-list li { padding-left: var(--space-5); position: relative; }
.cafe-list li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 10px; height: 10px; border-radius: 50%; background: var(--brand);
}
.hours__title { font-size: 1.25rem; margin-bottom: var(--space-3); }
.hours { display: grid; gap: var(--space-2); margin-bottom: var(--space-3); max-width: 26rem; }
.hours div { display: flex; justify-content: space-between; gap: var(--space-4); }
.hours dd { font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Clubs scroll row ---------- */
.clubs {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), (100% - var(--maxw)) / 2);
  padding: var(--space-2) max(var(--gutter), (100% - var(--maxw)) / 2) var(--space-5);
  scrollbar-color: var(--ink-muted) transparent;
}
.clubs:focus-visible { outline-offset: -3px; }
.clubs__row { display: flex; gap: var(--space-4); width: max-content; }
.club {
  flex: 0 0 auto;
  width: clamp(220px, 24vw, 270px);
  min-height: 168px;
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-5);
  background: var(--surface);
  border-radius: var(--radius-l);
  scroll-snap-align: start;
}
.club:nth-child(3n + 2) { background: var(--brand-ink); color: var(--on-brand); }
.club__name { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.club__what { font-size: 1rem; }

/* ---------- News ---------- */
.news-grid { display: grid; gap: var(--space-5); }
.news-card { background: var(--bg); border-radius: var(--radius-l); overflow: hidden; display: flex; flex-direction: column; }
.news-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.news-card__body { padding: var(--space-5); }
.news-card__body > :last-child { margin-bottom: 0; }
.news-card__date { font-size: 1rem; color: var(--ink-muted); margin-bottom: var(--space-2); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.news-card__title { font-size: 1.375rem; margin-bottom: var(--space-3); }
.news-card--lead .news-card__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
@media (min-width: 900px) {
  .news-grid { grid-template-columns: 7fr 5fr; grid-template-rows: 1fr 1fr; }
  .news-card--lead { grid-row: span 2; }
  .news-card--lead .news-card__body { padding: var(--space-6); }
  .news-card:not(.news-card--lead) { flex-direction: row; }
  .news-card:not(.news-card--lead) img { width: 40%; aspect-ratio: auto; height: 100%; min-height: 220px; }
  .news-card:not(.news-card--lead) .news-card__body { flex: 1; }
}

/* ---------- Practical info ---------- */
.visit { display: grid; gap: var(--space-7); align-items: stretch; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 96px); } }
.facts { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
.facts div { display: grid; gap: var(--space-1); }
@media (min-width: 600px) { .facts div { grid-template-columns: 11rem 1fr; gap: var(--space-4); } }
.facts dt { font-weight: 600; }

.map-card {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-3);
  min-height: 320px;
  padding: var(--space-6);
  background: var(--surface);
  border-radius: var(--radius-l);
  color: var(--ink);
  text-decoration: none;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.map-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.map-card__pin {
  position: absolute; top: var(--space-6); left: var(--space-6);
  width: 56px; height: 56px;
  background: var(--brand);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.map-card__pin::after {
  content: ""; position: absolute; inset: 18px;
  background: var(--surface); border-radius: 50%;
}
.map-card__address { font-family: var(--font-head); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; }
.map-card__cta { color: var(--brand-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 0.18em; }

/* ---------- Forms (used by zalen and contact) ---------- */
.form { display: grid; gap: var(--space-5); }
.field { display: grid; gap: var(--space-2); }
.field label, .field legend { font-weight: 600; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; min-height: 48px;
  padding: var(--space-3) var(--space-4);
  background: var(--bg); color: var(--ink);
  border: 2px solid var(--ink-muted); border-radius: var(--radius-m);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--brand-ink); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--accent) !important; }
.field__hint { font-size: 1rem; color: var(--ink-muted); margin: 0; }
.field__error {
  margin: 0;
  padding-left: var(--space-3);
  border-left: 4px solid var(--accent);
  color: var(--ink);
  font-size: 1rem; font-weight: 600;
}
.field__error:empty { display: none; }
fieldset.field, .field fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.field--check label, .check { display: inline-flex; align-items: center; gap: var(--space-3); min-height: 44px; font-weight: 500; }
.field input[type="checkbox"], .field input[type="radio"] { width: 22px; height: 22px; accent-color: var(--brand-ink); }
.form-success {
  background: var(--surface);
  border-left: 6px solid var(--brand);
  border-radius: var(--radius-l);
  padding: var(--space-6);
}
.form-success > :last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink); color: var(--bg);
  padding: var(--space-8) 0 calc(var(--space-8) + var(--space-7));
}
.site-footer a { color: var(--bg); }
.site-footer a[aria-disabled="true"] { color: var(--bg); opacity: 0.75; }
.site-footer :focus-visible { outline-color: var(--bg); }
.site-footer .tag-voorbeeld { color: var(--bg); border-color: var(--bg); }
.site-footer__name {
  font-family: var(--font-head);
  font-size: clamp(2.75rem, 1.5rem + 6vw, 6rem);
  font-weight: 600; line-height: 1; letter-spacing: -0.03em;
  margin: 0 0 var(--space-7); max-width: none;
}
.site-footer__grid { display: grid; gap: var(--space-6); }
@media (min-width: 600px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); } }
.site-footer__heading { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-bottom: var(--space-3); }
.site-footer__grid p { font-size: 1rem; }
.site-footer__links { display: grid; gap: var(--space-1); font-size: 1rem; }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__news { margin: var(--space-7) 0 0; font-size: 1rem; }

/* ---------- Mobile bar ---------- */
.mobile-bar {
  position: sticky; bottom: 0; z-index: 30;
  display: flex; gap: var(--space-3);
  padding: var(--space-3) var(--gutter) calc(var(--space-3) + env(safe-area-inset-bottom));
  background: var(--bg);
  box-shadow: var(--shadow-card);
}
.mobile-bar__btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; border-radius: var(--pill);
  border: 2px solid var(--brand-ink);
  color: var(--brand-ink); font-weight: 600; text-decoration: none;
}
.mobile-bar__btn--primary { background: var(--brand-ink); color: var(--on-brand); }
@media (min-width: 860px) { .mobile-bar { display: none; } }

/* ---------- Venue switcher (demo) ---------- */
/* Venue-specific bits in the shared chrome. No data-venue on <html> means De Willisstee. */
[data-venue="boei"] [data-venue-only="willisstee"],
[data-venue="phoenix"] [data-venue-only="willisstee"],
html:not([data-venue]) [data-venue-not="willisstee"],
[data-venue="willisstee"] [data-venue-not="willisstee"],
[data-venue="boei"] [data-venue-not="boei"],
[data-venue="phoenix"] [data-venue-not="phoenix"] { display: none; }
.venue-switch {
  position: fixed; z-index: 50;
  left: var(--space-3); right: var(--space-3);
  bottom: calc(var(--mobile-bar-h) + var(--space-2) + env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 var(--space-1);
  padding: var(--space-1) var(--space-2);
  background: var(--ink); color: var(--bg);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
  font-size: 0.875rem; line-height: 1.3;
}
.venue-switch__label { font-weight: 600; padding-inline: var(--space-2); }
.venue-switch__btn {
  min-height: 44px; padding: 0 var(--space-3);
  background: transparent; color: var(--bg);
  border: 0; border-radius: var(--pill);
  font-size: 0.875rem; font-weight: 600; cursor: pointer;
}
.venue-switch__btn:hover { text-decoration: underline; }
.venue-switch__btn[aria-pressed="true"] { background: var(--bg); color: var(--ink); text-decoration: none; }
.venue-switch :focus-visible { outline-color: var(--bg); }
.venue-switch__note { flex-basis: 100%; margin: 0; padding: 0 var(--space-2) var(--space-2); text-align: center; max-width: none; }
.venue-switch__note:empty { display: none; }
@media (max-width: 479.98px) {
  /* Narrow phones: keep the pill on one row. The group keeps its aria-label "Demo: bekijk als". */
  .venue-switch { left: var(--space-2); right: var(--space-2); }
  .venue-switch::before { content: "Demo"; content: "Demo" / ""; font-weight: 600; padding-inline: var(--space-2); }
  .venue-switch__label {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
  }
  .venue-switch__btn { padding: 0 var(--space-3); }
}
@media (min-width: 860px) {
  .venue-switch {
    left: var(--space-4); right: auto; bottom: var(--space-4);
    justify-content: flex-start;
    max-width: 30rem;
    border-radius: var(--pill);
  }
  .venue-switch:has(.venue-switch__note:not(:empty)) { border-radius: var(--radius-l); }
  .venue-switch__note { text-align: left; }
}

/* ---------- Motion ---------- */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
.reveal-ready .room-grid .reveal:nth-child(2),
.reveal-ready .news-grid .reveal:nth-child(2),
.reveal-ready .split .reveal:nth-child(2),
.reveal-ready .visit .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-ready .room-grid .reveal:nth-child(3),
.reveal-ready .news-grid .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-ready .room-grid .reveal:nth-child(4) { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .reveal, .reveal-ready .reveal { opacity: 1 !important; transform: none !important; }
  .btn:hover, .btn:active, .room-card:hover, .map-card:hover,
  .link-arrow:hover::after { transform: none !important; }
}

/* ---------- Zalen page ---------- */
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.page-intro { padding-top: clamp(40px, 5vw, 72px); padding-bottom: var(--space-7); }
.page-intro__lead { font-size: 1.1875rem; max-width: 60ch; margin-bottom: var(--space-5); }

.room-grid--detail { grid-template-columns: 1fr; }
@media (min-width: 720px) { .room-grid--detail { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .room-grid--detail { grid-template-columns: 1fr 1fr; } }
.room-card--detail:hover { transform: none; box-shadow: none; }
.room-card--detail .room-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); flex: 1; }
.room-card--detail .room-card__title { margin-bottom: 0; }
.room-facts { display: grid; gap: var(--space-2); width: 100%; font-size: 1rem; }
.room-facts div { display: grid; grid-template-columns: 8.5rem 1fr; gap: var(--space-3); }
.room-facts dt { font-weight: 600; }
.room-card__price { font-weight: 600; margin: var(--space-2) 0 0; }
.room-card--detail .btn { margin-top: auto; }
@media (max-width: 480px) { .room-facts div { grid-template-columns: 1fr; gap: 0; } }

.steps { display: grid; gap: var(--space-5); counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { max-width: none; padding-top: var(--space-4); border-top: 3px solid var(--brand-ink); }
.step__num { font-family: var(--font-head); font-size: 2.5rem; font-weight: 600; line-height: 1; color: var(--brand-ink); display: block; margin-bottom: var(--space-3); }
.step h3 { margin-bottom: var(--space-2); }
.step p { margin: 0; }

.request { display: grid; gap: var(--space-6); align-items: start; }
@media (min-width: 960px) { .request { grid-template-columns: 4fr 7fr; gap: var(--space-8); } }
.request__panel { min-width: 0; }
.form__row { display: grid; gap: var(--space-5); }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__row > * { min-width: 0; }
.form__status { margin: 0; font-weight: 600; }
.form__status:empty { display: none; }
.form .btn { justify-self: start; border: 2px solid transparent; cursor: pointer; }
.field--check, fieldset.field, .field fieldset { min-width: 0; }
.form-success:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 3px; }

/* ---------- Agenda page ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.agenda-count { margin: var(--space-4) 0 var(--space-5); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; gap: var(--space-7); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); } }
.contact-block { min-width: 0; }
.contact-block > :last-child { margin-bottom: 0; }
.contact-list { display: grid; gap: var(--space-2); margin: 0 0 var(--space-4); padding: 0; list-style: none; }
.contact-list--wide { max-width: 60ch; }
.route .contact-list { margin: 0; gap: var(--space-3); }
@media (min-width: 900px) {
  .route { display: grid; grid-template-columns: 4fr 7fr; gap: var(--space-8); align-items: baseline; }
  .route h2 { margin: 0; }
}
