@font-face {
  font-family: "Calibre";
  src: url("/assets/fonts/calibre/Calibre-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Calibre";
  src: url("/assets/fonts/calibre/Calibre-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --rnm-donkerblauw: #213a73;
  --rnm-mediumblauw: #2f6f9d;
  --rnm-lichtblauw: #a4b5c6;
  --rnm-wit: #ffffff;
  --rnm-zwart: #000000;
  --rnm-ink: #14213f;
  --rnm-muted: #4d6192;
  --rnm-soft: #ebeef4;
  --rnm-sky: #e4eff6;
  --breda-rood: #e5133c;
  --shadow: 0 18px 40px rgba(20, 33, 63, .16);
  --radius: 8px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --focus-ring: #005fcc;
  --focus-ring-contrast: #ffffff;
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  min-height: 100%;
  background: var(--rnm-donkerblauw);
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  margin: 0;
  color: var(--rnm-ink);
  background:
    linear-gradient(150deg, rgba(70, 137, 182, .12), transparent 28rem),
    var(--rnm-wit);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .58;
}

a {
  color: var(--rnm-mediumblauw);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--focus-ring-contrast);
}

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

.app-shell {
  min-height: 100vh;
}

.visitor-layout {
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr;
  background: var(--rnm-wit);
}

.visitor-layout.no-header {
  grid-template-rows: 1fr;
}

.visitor-layout.no-header .hero,
.visitor-layout.no-header .language-screen {
  min-height: 100vh;
}

.brand-top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: max(14px, env(safe-area-inset-top)) 18px 14px;
  color: var(--rnm-wit);
  background: var(--rnm-donkerblauw);
  box-shadow: 0 8px 24px rgba(20, 33, 63, .18);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-tools {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px;
}

.brand-logo,
.admin-brand-logo {
  display: block;
  flex: 0 0 auto;
  pointer-events: none;
}

.brand-logo-top {
  width: min(238px, 62vw);
  height: 60px;
}

.admin-brand-logo {
  width: 174px;
  height: 44px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: var(--rnm-wit);
  background: rgba(255, 255, 255, .08);
  font-size: .82rem;
  font-weight: 650;
  white-space: nowrap;
}

.header-language-code-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: var(--rnm-wit);
  background: rgba(255, 255, 255, .12);
  font-family: "Calibre", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.header-language-code-button:hover {
  background: rgba(255, 255, 255, .2);
}

.hero {
  overflow: hidden;
  display: grid;
  align-content: end;
  min-height: calc(100vh - 72px);
  padding: 34px 18px 24px;
  color: var(--rnm-wit);
  background:
    linear-gradient(180deg, rgba(33, 58, 115, .25), rgba(33, 58, 115, .95)),
    url("/assets/hero-water.svg") center / cover no-repeat,
    var(--rnm-donkerblauw);
}

.welcome-hero {
  align-content: stretch;
  min-height: 100svh;
  padding: 28px 24px calc(28px + var(--safe-bottom));
  background:
    linear-gradient(180deg, rgba(3, 30, 77, .08), rgba(3, 30, 77, .98)),
    url("/assets/hero-water.svg") center bottom / cover no-repeat,
    var(--rnm-donkerblauw);
}

.welcome-panel {
  display: grid;
  min-height: calc(100svh - 56px - var(--safe-bottom));
  grid-template-rows: auto auto auto minmax(0, 1fr) auto auto;
  align-content: stretch;
  gap: clamp(14px, 2.2vh, 22px);
}

.welcome-route-panel {
  align-self: center;
  display: grid;
  gap: 12px;
  width: min(100%, 640px);
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 16px;
  color: var(--rnm-wit);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .11), rgba(70, 137, 182, .1)),
    rgba(3, 30, 77, .16);
  box-shadow: 0 14px 38px rgba(3, 18, 47, .22);
  backdrop-filter: blur(18px);
}

.welcome-route-panel h2 {
  max-width: 16ch;
  margin: 0;
  color: var(--rnm-wit);
  font-size: clamp(1.7rem, 8.2vw, 2.9rem);
  line-height: 1;
  letter-spacing: 0;
}

.welcome-route-panel p {
  max-width: 42rem;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: .98rem;
  line-height: 1.48;
}

.welcome-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.welcome-facts span:last-child {
  grid-column: 1 / -1;
}

.welcome-facts span {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 10px 9px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
}

.welcome-facts svg {
  flex: 0 0 auto;
  color: var(--rnm-lichtblauw);
}

.welcome-facts strong {
  color: var(--rnm-wit);
  font-size: .86rem;
  line-height: 1.12;
  white-space: normal;
}

.welcome-route-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  color: var(--rnm-wit);
  font-weight: 800;
  text-decoration: none;
}

.welcome-route-link:hover {
  color: var(--rnm-lichtblauw);
}

.welcome-route-link:focus-visible {
  outline: 3px solid var(--rnm-wit);
  outline-offset: 4px;
}

.hero-panel {
  width: min(100%, 760px);
  margin: 0 auto;
}

.welcome-logo {
  margin-bottom: 2px;
}

.brand-logo-welcome {
  width: min(286px, 78vw);
  height: 72px;
}

.hero h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--rnm-wit);
  font-size: clamp(3.2rem, 13vw, 5.1rem);
  line-height: .98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 36rem;
  margin: -8px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: 1.05rem;
  line-height: 1.5;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.language-option {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--radius);
  color: var(--rnm-wit);
  background: rgba(255, 255, 255, .12);
  text-align: left;
}

.language-option[aria-pressed="true"] {
  border-color: var(--rnm-wit);
  background: var(--rnm-mediumblauw);
  box-shadow: inset 0 0 0 1px var(--rnm-wit);
}

.language-option strong {
  font-size: 1rem;
}

.language-option span {
  color: rgba(255, 255, 255, .76);
  font-size: .82rem;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.welcome-actions {
  margin-top: 2px;
  padding: 0;
  background: transparent;
  justify-content: center;
}

.welcome-actions .primary-button,
.welcome-actions .secondary-button {
  flex: 0 1 auto;
  width: min(100%, 300px);
  min-height: 54px;
}

.welcome-actions .glass-button {
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .1) 40%, rgba(70, 137, 182, .86)),
    rgba(70, 137, 182, .82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .6),
    inset 0 -16px 28px rgba(33, 58, 115, .2),
    0 14px 34px rgba(0, 0, 0, .28);
}

.location-note {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 10px;
  max-width: 30rem;
  margin: -2px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: .92rem;
  line-height: 1.45;
  text-align: center;
}

.accessibility-mode-panel {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.accessibility-mode-copy {
  display: grid;
  gap: 4px;
}

.accessibility-mode-copy h2 {
  margin: 0;
  color: var(--rnm-donkerblauw);
  font-size: 1.22rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-mode-panel .accessibility-mode-copy h2,
.hero-mode-panel .story-kicker {
  color: var(--rnm-wit);
}

.accessibility-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.accessibility-mode-option {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 104px;
  padding: 12px;
  border: 1px solid var(--rnm-lichtblauw);
  border-radius: var(--radius);
  color: var(--rnm-ink);
  background: var(--rnm-wit);
  text-align: left;
  box-shadow: 0 10px 24px rgba(20, 33, 63, .08);
}

.accessibility-mode-option[aria-pressed="true"] {
  border-color: var(--rnm-donkerblauw);
  background: var(--rnm-sky);
  box-shadow: inset 0 0 0 2px var(--rnm-donkerblauw);
}

.accessibility-mode-option strong,
.accessibility-mode-option span {
  display: block;
}

.accessibility-mode-option strong {
  color: var(--rnm-donkerblauw);
  font-size: .96rem;
  line-height: 1.2;
}

.accessibility-mode-option span {
  color: var(--rnm-muted);
  font-size: .82rem;
  line-height: 1.35;
}

.hero-mode-panel .accessibility-mode-option {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .94);
}

.tour-mode-panel {
  margin: 0;
}

.tour-mode-panel .accessibility-mode-copy {
  display: none;
}

.tour-mode-panel .accessibility-mode-option {
  min-height: 74px;
}

.tour-mode-panel .accessibility-mode-option span {
  display: none;
}

.state-mode-panel {
  margin: 18px 0;
  text-align: left;
}

.primary-button,
.secondary-button,
.icon-button,
.danger-button {
  min-height: 48px;
  border-radius: var(--radius);
  font-weight: 700;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  color: var(--rnm-wit);
  background: var(--rnm-mediumblauw);
}

.primary-button:hover {
  background: #245d86;
}

.glass-button {
  position: relative;
  overflow: hidden;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, .48);
  color: var(--rnm-wit);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .08) 42%, rgba(70, 137, 182, .66)),
    rgba(70, 137, 182, .54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .55),
    inset 0 -18px 32px rgba(33, 58, 115, .18),
    0 18px 42px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.glass-button::before {
  position: absolute;
  inset: 1px 1px auto;
  height: 42%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0));
  content: "";
  pointer-events: none;
}

.glass-button:hover,
.glass-button:focus-visible {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .1) 42%, rgba(70, 137, 182, .78)),
    rgba(70, 137, 182, .66);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .62),
    inset 0 -18px 32px rgba(33, 58, 115, .2),
    0 22px 50px rgba(0, 0, 0, .32);
  transform: translateY(-1px);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  color: var(--rnm-donkerblauw);
  background: var(--rnm-wit);
  border: 1px solid var(--rnm-lichtblauw);
}

.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--rnm-wit);
  background: #6f1d2a;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 48px;
  color: var(--rnm-donkerblauw);
  background: var(--rnm-wit);
  border: 1px solid var(--rnm-lichtblauw);
}

.notice {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 4px solid var(--rnm-mediumblauw);
  border-radius: var(--radius);
  color: var(--rnm-ink);
  background: rgba(255, 255, 255, .92);
  line-height: 1.45;
}

.notice.compact {
  margin: 10px 0;
  background: var(--rnm-soft);
}

.language-screen {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 72px);
  padding: 44px 18px calc(44px + var(--safe-bottom));
  background: var(--rnm-donkerblauw);
}

.language-panel {
  display: grid;
  align-content: start;
  gap: 24px;
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 22px 0;
}

.language-brand {
  display: grid;
  justify-items: center;
  margin-bottom: 4px;
}

.brand-logo-language {
  width: min(360px, 84vw);
  height: auto;
}

.rondvaart-wordmark-logo {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  color: var(--rnm-wit);
  text-align: left;
}

.rondvaart-wordmark-symbol {
  display: block;
  width: 44px;
  height: auto;
}

.rondvaart-wordmark-text {
  display: grid;
  color: var(--rnm-wit);
  font-family: "Calibre", Inter, sans-serif;
  font-size: 2.25rem;
  letter-spacing: .01em;
  line-height: .88;
  white-space: normal;
}

.rondvaart-wordmark-medium {
  font-weight: 500;
}

.rondvaart-wordmark-bold {
  font-weight: 700;
}

.brand-logo-top.rondvaart-wordmark-logo {
  width: min(238px, 62vw);
  gap: 9px;
}

.brand-logo-top .rondvaart-wordmark-symbol {
  width: 30px;
}

.brand-logo-top .rondvaart-wordmark-text {
  font-size: 1.35rem;
}

.brand-logo-welcome.rondvaart-wordmark-logo {
  width: min(286px, 78vw);
}

.brand-logo-welcome .rondvaart-wordmark-symbol {
  width: 36px;
}

.brand-logo-welcome .rondvaart-wordmark-text {
  font-size: 1.85rem;
}

.language-heading {
  display: grid;
  gap: 8px;
  color: var(--rnm-wit);
  text-align: center;
}

.language-heading p,
.language-heading h1,
.language-heading span {
  margin: 0;
}

@media (max-width: 380px) {
  .rondvaart-wordmark-logo {
    gap: 10px;
  }

  .rondvaart-wordmark-symbol {
    width: 38px;
  }

  .rondvaart-wordmark-text {
    font-size: 1.95rem;
  }

  .brand-logo-top .rondvaart-wordmark-symbol {
    width: 28px;
  }

  .brand-logo-top .rondvaart-wordmark-text {
    font-size: 1.2rem;
  }

  .brand-logo-welcome .rondvaart-wordmark-symbol {
    width: 32px;
  }

  .brand-logo-welcome .rondvaart-wordmark-text {
    font-size: 1.65rem;
  }
}

.language-heading p,
.language-section-title {
  color: rgba(255, 255, 255, .74);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.language-heading h1 {
  color: var(--rnm-wit);
  font-size: clamp(2.15rem, 8vw, 3.65rem);
  line-height: 1;
  letter-spacing: 0;
}

.language-heading span {
  color: rgba(255, 255, 255, .82);
  font-size: .95rem;
  line-height: 1.45;
}

.language-search-wrap {
  position: relative;
  width: min(100%, 620px);
  margin: 0 auto;
  z-index: 10;
}

.search-field {
  display: grid;
  width: 100%;
}

.search-field input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 2px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius);
  color: var(--rnm-donkerblauw);
  background: var(--rnm-wit);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
  text-align: left;
  font-weight: 750;
}

.search-field input::placeholder {
  color: var(--rnm-muted);
  opacity: 1;
}

.language-section {
  display: grid;
  gap: 14px;
  width: min(100%, 620px);
  margin: 0 auto;
}

.preferred-language-grid,
.language-list {
  display: grid;
  gap: 10px;
}

.preferred-language-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.language-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 10px 12px;
  border: 2px solid rgba(255, 255, 255, .24);
  border-radius: var(--radius);
  color: var(--rnm-wit);
  background: rgba(255, 255, 255, .08);
  text-align: left;
}

.preferred-language-row {
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  min-height: 126px;
  padding: 16px 8px;
  gap: 9px;
  background: rgba(255, 255, 255, .13);
  text-align: center;
}

.language-row[aria-pressed="true"] {
  border-color: var(--rnm-wit);
  background: rgba(255, 255, 255, .18);
  box-shadow: inset 0 0 0 2px var(--rnm-mediumblauw);
}

.language-row .flag {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  font-size: 1.55rem;
  line-height: 1;
}

.preferred-language-row .flag {
  width: 46px;
  height: 46px;
  font-size: 1.62rem;
}

.language-label {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.preferred-language-row .language-label {
  justify-items: center;
  gap: 4px;
}

.language-name {
  overflow: hidden;
  color: var(--rnm-wit);
  font-size: 1rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preferred-language-row .language-name {
  font-size: clamp(.82rem, 3.4vw, 1rem);
  text-align: center;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.language-label span {
  overflow: hidden;
  color: rgba(255, 255, 255, .7);
  font-size: .82rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preferred-language-row .language-label span {
  font-size: .76rem;
  text-align: center;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.language-dropdown {
  position: static;
  z-index: 30;
  display: grid;
  gap: 10px;
  max-height: min(52vh, 360px);
  margin-top: 12px;
  padding: 12px;
  overflow: auto;
  border: 2px solid rgba(255, 255, 255, .32);
  border-radius: var(--radius-lg);
  background: var(--rnm-wit);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.language-dropdown-title {
  color: var(--rnm-donkerblauw);
}

.language-dropdown .language-row {
  border-color: rgba(33, 58, 115, .16);
  color: var(--rnm-donkerblauw);
  background: #f4f7fb;
}

.language-dropdown .language-row[aria-pressed="true"] {
  border-color: var(--rnm-mediumblauw);
  background: #e8f1f8;
}

.language-dropdown .language-name {
  color: var(--rnm-donkerblauw);
}

.language-dropdown .language-label span {
  color: var(--rnm-muted);
}

.language-empty {
  margin: 0;
  padding: 12px;
  color: var(--rnm-muted);
  font-weight: 750;
}

.language-continue {
  width: min(100%, 620px);
  margin: 0 auto;
}

.qr-start-status {
  width: min(100%, 620px);
  margin: 0 auto;
  color: var(--rnm-donkerblauw);
}

.preload-note {
  margin: 2px 0 0;
  color: var(--rnm-wit);
  text-align: center;
  font-size: .9rem;
  line-height: 1.45;
}

.accessibility-panel {
  width: min(100%, 680px);
}

.accessibility-onboarding-screen {
  align-items: start;
}

.accessibility-onboarding-panel {
  width: min(100%, 620px);
  margin: 0 auto;
}

.accessibility-onboarding-panel .accessibility-mode-copy {
  display: none;
}

.accessibility-onboarding-panel .accessibility-mode-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

.accessibility-onboarding-panel .accessibility-mode-option {
  min-height: 108px;
  padding: 16px;
  border-color: rgba(255, 255, 255, .32);
  color: var(--rnm-wit);
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}

.accessibility-onboarding-panel .accessibility-mode-option strong {
  color: var(--rnm-wit);
}

.accessibility-onboarding-panel .accessibility-mode-option span {
  color: rgba(255, 255, 255, .78);
}

.accessibility-onboarding-panel .accessibility-mode-option[aria-pressed="true"] {
  border-color: var(--rnm-wit);
  background: rgba(255, 255, 255, .18);
  box-shadow:
    inset 0 0 0 2px var(--rnm-mediumblauw),
    0 16px 34px rgba(0, 0, 0, .18);
}

.accessibility-continue {
  width: min(100%, 620px);
  margin: 0 auto;
}

.privacy-panel {
  width: min(100%, 700px);
}

.privacy-summary {
  display: grid;
  gap: 12px;
  width: min(100%, 620px);
  margin: 0 auto;
}

.privacy-summary-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--radius);
  color: var(--rnm-wit);
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}

.privacy-summary-card strong {
  color: var(--rnm-wit);
  font-size: .84rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.privacy-summary-card span {
  color: rgba(255, 255, 255, .82);
  line-height: 1.5;
}

.audio-tip-card {
  border-color: rgba(255, 255, 255, .5);
  background:
    linear-gradient(135deg, rgba(70, 137, 182, .28), rgba(255, 255, 255, .12)),
    rgba(255, 255, 255, .1);
}

.privacy-local-test {
  width: min(100%, 620px);
  margin: -4px auto 0;
}

[data-screen-title]:focus {
  border-radius: 4px;
  outline: none;
  box-shadow: none;
}

.tour-screen {
  display: grid;
  gap: 18px;
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 18px 16px calc(90px + var(--safe-bottom));
}

.progress-bar {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: var(--rnm-soft);
}

.progress-bar span {
  display: block;
  height: 100%;
  width: var(--progress, 0%);
  background: var(--rnm-mediumblauw);
  transition: width .25s ease;
}

.story-card {
  display: grid;
  gap: 16px;
  min-height: 0;
}

.story-heading {
  display: grid;
  gap: 8px;
}

.story-kicker {
  color: var(--rnm-mediumblauw);
  font-size: .86rem;
  font-weight: 800;
}

.story-heading h2 {
  margin: 0;
  color: var(--rnm-donkerblauw);
  font-size: 3.4rem;
  line-height: 1;
  letter-spacing: 0;
}

.story-body {
  margin: 0;
  color: var(--rnm-ink);
  font-size: 1.08rem;
  line-height: 1.62;
}

.story-scroll {
  max-height: min(34vh, 300px);
  min-height: 0;
  overflow-y: auto;
  padding-right: 8px;
  overscroll-behavior: contain;
  scrollbar-color: var(--rnm-mediumblauw) transparent;
  scrollbar-width: thin;
}

.story-scroll:focus-visible {
  outline: 3px solid var(--rnm-mediumblauw);
  outline-offset: 5px;
}

.media-compare {
  position: relative;
  contain: layout paint;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--rnm-ink);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.media-compare img {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--rnm-ink);
  object-fit: contain;
  object-position: center;
}

.media-now {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--split, 50%));
}

.compare-range {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 46px;
  width: calc(100% - 28px);
  accent-color: var(--rnm-mediumblauw);
}

.compare-labels {
  position: absolute;
  inset: 12px 12px auto;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.compare-labels span {
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--rnm-wit);
  background: rgba(20, 33, 63, .75);
  font-size: .76rem;
  font-weight: 700;
}

.player {
  position: sticky;
  bottom: calc(14px + var(--safe-bottom));
  z-index: 8;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--rnm-lichtblauw);
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.play-button {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--rnm-wit);
  background: var(--rnm-donkerblauw);
}

.player-title {
  min-width: 0;
}

.player-title strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.route-controls button {
  min-height: 44px;
  padding: 0 10px;
  border-radius: var(--radius);
  color: var(--rnm-donkerblauw);
  background: var(--rnm-soft);
  font-weight: 700;
}

.empty-state,
.finish-state,
.loading-state {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 72px);
  padding: 24px 18px;
  text-align: center;
}

.finish-review-state {
  color: var(--rnm-wit);
  background:
    linear-gradient(180deg, rgba(33, 58, 115, .1), rgba(33, 58, 115, .96)),
    url("/assets/hero-water.svg") center / cover no-repeat,
    var(--rnm-donkerblauw);
}

.finish-review-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(100%, 680px);
  padding: 30px 22px;
}

.finish-review-logo {
  margin-bottom: 10px;
}

.finish-review-card h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--rnm-wit);
  font-size: clamp(3rem, 12vw, 5.2rem);
  line-height: .98;
  letter-spacing: 0;
}

.finish-review-card p {
  max-width: 34rem;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 1.04rem;
  line-height: 1.55;
}

.finish-review-actions {
  display: flex;
  justify-content: center;
  width: min(100%, 420px);
  margin-top: 10px;
}

.review-button {
  width: 100%;
}

.state-card {
  width: min(100%, 640px);
  padding: 24px;
  border: 1px solid var(--rnm-lichtblauw);
  border-radius: var(--radius);
  background: var(--rnm-wit);
  box-shadow: var(--shadow);
}

.state-card h1,
.state-card h2 {
  margin: 0 0 10px;
  color: var(--rnm-donkerblauw);
  font-size: 2.5rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.state-card p {
  margin: 0 0 18px;
  color: var(--rnm-muted);
  line-height: 1.55;
}

.finish-review-state {
  min-height: calc(100vh - 72px);
  background:
    linear-gradient(145deg, rgba(70, 137, 182, .42), transparent 36rem),
    var(--rnm-donkerblauw);
}

.finish-review-card {
  position: relative;
  display: grid;
  gap: 18px;
  width: min(100%, 760px);
  padding: clamp(28px, 7vw, 64px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--radius);
  color: var(--rnm-wit);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05) 42%, rgba(164, 181, 198, .18)),
    rgba(33, 58, 115, .78);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .32);
}

.finish-review-card::before {
  position: absolute;
  inset: -26% -12% auto auto;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--rnm-mediumblauw), var(--rnm-lichtblauw));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 28% 100%);
  content: "";
  opacity: .42;
}

.finish-review-logo,
.finish-review-card .story-kicker,
.finish-review-card h1,
.finish-review-card p,
.finish-review-actions {
  position: relative;
  z-index: 1;
}

.finish-review-logo {
  justify-self: start;
}

.finish-review-card .story-kicker {
  color: rgba(255, 255, 255, .72);
}

.finish-review-card h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--rnm-wit);
  font-size: clamp(3rem, 10vw, 6.8rem);
  line-height: .94;
  letter-spacing: 0;
}

.finish-review-card p {
  max-width: 42rem;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 1.08rem;
  line-height: 1.55;
}

.finish-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.review-button {
  min-width: min(100%, 260px);
  min-height: 62px;
  text-decoration: none;
}

.spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border: 5px solid var(--rnm-soft);
  border-top-color: var(--rnm-mediumblauw);
  border-radius: 50%;
  animation: spin .9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

[data-access-mode="audio"] .player {
  grid-template-columns: auto 1fr auto;
  padding: 14px;
  border: 2px solid var(--rnm-donkerblauw);
}

[data-access-mode="audio"] .play-button {
  width: 72px;
  height: 72px;
}

[data-access-mode="audio"] .player-title strong {
  font-size: 1.08rem;
}

[data-access-mode="audio"] .story-body {
  font-size: 1.18rem;
}

[data-access-mode="audio"] .story-scroll {
  max-height: min(38vh, 340px);
}

[data-access-mode="audio"] .route-controls button {
  min-height: 54px;
}

[data-access-mode="audio"] .media-compare {
  box-shadow: none;
}

[data-access-mode="simple"] {
  --rnm-donkerblauw: #000000;
  --rnm-mediumblauw: #005fcc;
  --rnm-lichtblauw: #000000;
  --rnm-ink: #000000;
  --rnm-muted: #1d1d1d;
  --rnm-soft: #ffffff;
  --rnm-sky: #f2f7ff;
  --shadow: none;
  --focus-ring: #005fcc;
  font-size: 112%;
}

[data-access-mode="simple"] body {
  color: #000000;
  background: #ffffff;
}

[data-access-mode="simple"] .visitor-layout,
[data-access-mode="simple"] .hero,
[data-access-mode="simple"] .welcome-hero,
[data-access-mode="simple"] .language-screen {
  color: #000000;
  background: #ffffff;
}

[data-access-mode="simple"] .brand-top {
  color: #ffffff;
  background: #000000;
  box-shadow: none;
}

[data-access-mode="simple"] .hero h1,
[data-access-mode="simple"] .hero-copy,
[data-access-mode="simple"] .location-note,
[data-access-mode="simple"] .preload-note,
[data-access-mode="simple"] .hero-mode-panel .accessibility-mode-copy h2,
[data-access-mode="simple"] .hero-mode-panel .story-kicker {
  color: #000000;
}

[data-access-mode="simple"] .welcome-actions {
  padding: 0;
  background: transparent;
}

[data-access-mode="simple"] .welcome-route-panel,
[data-access-mode="simple"] .welcome-facts span {
  color: #000000;
  background: #ffffff;
  border: 2px solid #000000;
  box-shadow: none;
}

[data-access-mode="simple"] .welcome-route-panel h2,
[data-access-mode="simple"] .welcome-route-panel p,
[data-access-mode="simple"] .welcome-route-link,
[data-access-mode="simple"] .welcome-facts strong,
[data-access-mode="simple"] .welcome-facts svg {
  color: #000000;
}

[data-access-mode="simple"] .primary-button,
[data-access-mode="simple"] .secondary-button,
[data-access-mode="simple"] .icon-button,
[data-access-mode="simple"] .danger-button,
[data-access-mode="simple"] .route-controls button,
[data-access-mode="simple"] .language-row,
[data-access-mode="simple"] .accessibility-mode-option,
[data-access-mode="simple"] .search-field input,
[data-access-mode="simple"] .state-card,
[data-access-mode="simple"] .finish-review-card,
[data-access-mode="simple"] .player {
  border: 2px solid #000000;
  box-shadow: none;
}

[data-access-mode="simple"] .primary-button,
[data-access-mode="simple"] .play-button {
  color: #ffffff;
  background: #000000;
}

[data-access-mode="simple"] .secondary-button,
[data-access-mode="simple"] .icon-button,
[data-access-mode="simple"] .route-controls button,
[data-access-mode="simple"] .accessibility-mode-option,
[data-access-mode="simple"] .finish-review-card,
[data-access-mode="simple"] .privacy-summary-card {
  color: #000000;
  background: #ffffff;
}

[data-access-mode="simple"] .accessibility-mode-option[aria-pressed="true"] {
  color: #ffffff;
  background: #000000;
}

[data-access-mode="simple"] .accessibility-mode-option[aria-pressed="true"] strong,
[data-access-mode="simple"] .accessibility-mode-option[aria-pressed="true"] span {
  color: #ffffff;
}

[data-access-mode="simple"] .accessibility-onboarding-panel .accessibility-mode-option strong,
[data-access-mode="simple"] .accessibility-onboarding-panel .accessibility-mode-option span {
  color: #000000;
}

[data-access-mode="simple"] .accessibility-onboarding-panel .accessibility-mode-option[aria-pressed="true"] strong,
[data-access-mode="simple"] .accessibility-onboarding-panel .accessibility-mode-option[aria-pressed="true"] span {
  color: #ffffff;
}

[data-access-mode="simple"] .privacy-summary-card,
[data-access-mode="simple"] .privacy-summary-card strong,
[data-access-mode="simple"] .privacy-summary-card span,
[data-access-mode="simple"] .finish-review-card .story-kicker,
[data-access-mode="simple"] .finish-review-card h1,
[data-access-mode="simple"] .finish-review-card p {
  color: #000000;
}

[data-access-mode="simple"] .finish-review-card::before {
  display: none;
}

[data-access-mode="simple"] .story-heading h2 {
  font-size: 2.85rem;
}

[data-access-mode="simple"] .story-body {
  font-size: 1.22rem;
  line-height: 1.72;
}

[data-access-mode="simple"] .story-scroll {
  max-height: min(46vh, 420px);
  padding: 12px;
  border: 2px solid #000000;
  background: #ffffff;
}

[data-access-mode="simple"] .media-compare {
  display: none;
}

.admin-body {
  background: var(--rnm-soft);
}

.admin-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 290px 1fr;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  padding: 20px;
  color: var(--rnm-wit);
  background: var(--rnm-donkerblauw);
}

.admin-brand {
  margin-bottom: 24px;
}

.admin-product-title {
  display: block;
  margin: -8px 0 22px;
  color: var(--rnm-wit);
  font-size: .95rem;
}

.admin-user {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--rnm-wit);
  font-size: .9rem;
}

.admin-nav {
  display: grid;
  gap: 8px;
}

.admin-nav button {
  min-height: 42px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--rnm-wit);
  background: rgba(255, 255, 255, .08);
  text-align: left;
  font-weight: 700;
}

.admin-nav button[aria-pressed="true"] {
  color: var(--rnm-donkerblauw);
  background: var(--rnm-wit);
}

.admin-add-point {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: var(--radius);
  color: var(--rnm-wit);
  background: rgba(70, 137, 182, .42);
  font-weight: 800;
}

.admin-add-point:hover,
.admin-add-point:focus-visible {
  background: var(--rnm-mediumblauw);
}

.admin-main {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 24px;
}

.admin-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.admin-header h1 {
  margin: 0;
  color: var(--rnm-donkerblauw);
  font-size: 2.8rem;
  line-height: 1;
  letter-spacing: 0;
}

.admin-header p {
  max-width: 58rem;
  margin: 8px 0 0;
  color: var(--rnm-muted);
  line-height: 1.5;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 18px;
}

.admin-grid-wide {
  grid-template-columns: minmax(0, 1fr);
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-tabs button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--rnm-lichtblauw);
  border-radius: var(--radius);
  color: var(--rnm-donkerblauw);
  background: var(--rnm-wit);
  font-weight: 800;
}

.admin-tabs button[aria-pressed="true"] {
  color: var(--rnm-wit);
  background: var(--rnm-donkerblauw);
}

.panel {
  padding: 18px;
  border: 1px solid var(--rnm-lichtblauw);
  border-radius: var(--radius);
  background: var(--rnm-wit);
}

.panel h2,
.panel h3 {
  margin: 0 0 14px;
  color: var(--rnm-donkerblauw);
}

.panel-heading-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.panel-heading-row h2,
.panel-heading-row .panel-intro {
  margin-bottom: 0;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.language-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}

.language-toolbar label {
  color: var(--rnm-muted);
  font-size: .82rem;
  font-weight: 800;
}

.language-toolbar select {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--rnm-lichtblauw);
  border-radius: var(--radius);
  background: var(--rnm-wit);
}

.field,
.field-wide {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label,
.field-wide label {
  color: var(--rnm-muted);
  font-size: .82rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea,
.field-wide input,
.field-wide select,
.field-wide textarea {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid var(--rnm-lichtblauw);
  border-radius: var(--radius);
  color: var(--rnm-ink);
  background: var(--rnm-wit);
}

.field textarea,
.field-wide textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.upload-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.asset-preview {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid var(--rnm-lichtblauw);
  border-radius: var(--radius);
  background: var(--rnm-soft);
}

.asset-preview strong {
  color: var(--rnm-donkerblauw);
}

.asset-preview span {
  color: var(--rnm-muted);
  font-size: .92rem;
  font-weight: 700;
}

.audio-preview audio {
  width: 100%;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 48px;
  min-width: 48px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid var(--rnm-donkerblauw);
  border-radius: var(--radius);
  color: var(--rnm-donkerblauw);
  background: var(--rnm-wit);
  font-weight: 800;
}

.button-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.panel-intro {
  max-width: 62rem;
  margin: 0 0 14px;
  color: var(--rnm-muted);
  line-height: 1.5;
}

.analytics-panel {
  display: grid;
  gap: 14px;
}

.analytics-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.analytics-card {
  display: grid;
  gap: 8px;
  min-height: 108px;
  padding: 14px;
  border: 1px solid var(--rnm-lichtblauw);
  border-radius: var(--radius);
  background: var(--rnm-soft);
}

.analytics-card span,
.analytics-meta span,
.language-bar-label span {
  color: var(--rnm-muted);
  font-size: .9rem;
  font-weight: 700;
}

.analytics-card strong {
  color: var(--rnm-donkerblauw);
  font-size: 2.2rem;
  line-height: 1;
}

.analytics-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--rnm-soft);
}

.analytics-meta strong,
.language-bar-label strong {
  color: var(--rnm-donkerblauw);
}

.language-bars {
  display: grid;
  gap: 12px;
}

.language-bar-row {
  display: grid;
  gap: 8px;
}

.language-bar-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.language-bar-track {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: var(--rnm-soft);
}

.language-bar-fill {
  height: 100%;
  min-width: 3px;
  border-radius: inherit;
  background: var(--rnm-mediumblauw);
}

.season-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.season-summary div {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--rnm-lichtblauw);
  border-radius: var(--radius);
  background: var(--rnm-soft);
}

.season-summary strong {
  color: var(--rnm-donkerblauw);
}

.season-summary span {
  color: var(--rnm-ink);
}

.copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.completion-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--radius);
  color: var(--rnm-donkerblauw);
  background: var(--rnm-soft);
  font-size: .82rem;
  font-weight: 800;
}

.warning-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 6px;
  border-radius: 999px;
  background: #d94b39;
}

.validation-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.validation-list li {
  padding: 10px 12px;
  border-left: 4px solid #d94b39;
  border-radius: var(--radius);
  background: #fff4f1;
}

.sticky-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 0 0;
  background: var(--rnm-wit);
  z-index: 2;
}

.is-hidden {
  display: none !important;
}

.login-form {
  display: grid;
  gap: 14px;
}

.form-status {
  min-height: 1.4em;
  color: var(--lg-graphite);
  font-weight: 700;
}

.point-list {
  display: grid;
  gap: 8px;
}

.point-item {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 62px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--rnm-ink);
  background: var(--rnm-soft);
  text-align: left;
}

.point-item[aria-pressed="true"] {
  color: var(--rnm-wit);
  background: var(--rnm-donkerblauw);
}

.point-item span {
  font-size: .82rem;
  opacity: .78;
}

.token-output {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--rnm-soft);
}

.token-panel .field-grid {
  grid-template-columns: 1fr;
}

.qr-print-card {
  display: grid;
  place-items: center;
  width: min(100%, 360px);
  padding: 16px;
  border: 1px solid var(--rnm-lichtblauw);
  border-radius: var(--radius);
  background: #fff;
}

.qr-print-card img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
}

.secondary-link {
  color: var(--rnm-donkerblauw);
  font-weight: 800;
}

.qr-card {
  display: grid;
  gap: 8px;
  align-items: center;
  min-height: 164px;
  padding: 14px;
  border: 2px solid var(--rnm-donkerblauw);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, #000 10px, transparent 10px) 0 0 / 20px 20px,
    linear-gradient(#000 10px, transparent 10px) 0 0 / 20px 20px,
    #fff;
}

.qr-card code {
  display: block;
  padding: 10px;
  color: var(--rnm-ink);
  background: rgba(255, 255, 255, .92);
  word-break: break-all;
}

.status-line {
  min-height: 24px;
  color: var(--rnm-muted);
  font-size: .9rem;
  font-weight: 700;
}

@media (max-width: 820px) {
  .hero h1 {
    font-size: 3rem;
  }

  .story-heading h2 {
    font-size: 2.35rem;
  }

  .state-card h1,
  .state-card h2,
  .admin-header h1 {
    font-size: 2rem;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-grid,
  .field-grid,
  .season-summary,
  .analytics-cards {
    grid-template-columns: 1fr;
  }

  .admin-header {
    display: grid;
  }

  .panel-heading-row,
  .language-bar-label {
    display: grid;
  }

  .route-controls {
    grid-template-columns: 1fr;
  }

  .accessibility-mode-grid {
    grid-template-columns: 1fr;
  }

  .accessibility-mode-option {
    min-height: 0;
  }
}

@media (min-width: 760px) {
  .language-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .welcome-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .welcome-facts span:last-child {
    grid-column: auto;
  }

  .story-card {
    grid-template-columns: minmax(0, .95fr) minmax(320px, .8fr);
    align-items: start;
  }

  .story-heading,
  .story-scroll,
  .route-controls,
  .progress-bar,
  .notice {
    grid-column: 1;
  }

  .story-scroll {
    max-height: min(42vh, 420px);
  }

  .media-compare {
    grid-column: 2;
    grid-row: 1 / span 4;
  }
}

/* Premium visitor UI */
.visitor-layout {
  background:
    linear-gradient(180deg, #071a33 0%, #0b1d3a 46%, #08172d 100%);
}

.brand-top {
  min-height: 60px;
  padding: max(10px, env(safe-area-inset-top)) 18px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background:
    linear-gradient(180deg, rgba(8, 23, 45, .98), rgba(11, 29, 58, .94)),
    var(--rnm-donkerblauw);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand-logo-top.rondvaart-wordmark-logo,
.brand-logo-language.rondvaart-wordmark-logo {
  align-items: center;
}

.brand-logo-top .rondvaart-wordmark-text {
  font-size: 1.08rem;
  line-height: .9;
}

.brand-logo-top .rondvaart-wordmark-symbol {
  width: 26px;
}

.header-language-code-button {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.language-screen {
  position: relative;
  overflow: hidden;
  align-items: start;
  padding: max(26px, env(safe-area-inset-top)) 22px calc(28px + var(--safe-bottom));
  background:
    linear-gradient(180deg, rgba(6, 18, 38, .72), rgba(6, 18, 38, .98)),
    linear-gradient(145deg, rgba(30, 91, 255, .18), transparent 42%),
    url("/assets/hero-water.svg") center bottom / cover no-repeat,
    #0b1d3a;
}

.language-screen::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 58%, rgba(93, 215, 255, .08) 58.15%, transparent 58.6%),
    linear-gradient(135deg, transparent 0 66%, rgba(255, 255, 255, .045) 66.1%, transparent 66.45%);
  content: "";
  pointer-events: none;
}

.language-panel {
  position: relative;
  z-index: 1;
  gap: 18px;
  width: min(100%, 430px);
  min-height: calc(100svh - 54px - var(--safe-bottom));
  padding: 0;
}

.language-brand {
  justify-items: start;
  margin-bottom: 12px;
}

.brand-logo-language.rondvaart-wordmark-logo {
  width: min(232px, 68vw);
  gap: 9px;
}

.brand-logo-language .rondvaart-wordmark-symbol {
  width: 30px;
}

.brand-logo-language .rondvaart-wordmark-text {
  font-size: 1.22rem;
  line-height: .9;
}

.language-heading {
  gap: 10px;
  text-align: center;
}

.language-heading p,
.language-section-title {
  color: rgba(255, 255, 255, .72);
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .07em;
}

.language-heading h1 {
  font-size: clamp(2.25rem, 10vw, 3rem);
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}

.language-heading span {
  color: rgba(255, 255, 255, .82);
  font-size: .9rem;
}

.search-field {
  position: relative;
}

.search-field::before {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: translateY(-55%);
}

.search-field::after {
  position: absolute;
  left: 29px;
  top: calc(50% + 6px);
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  content: "";
  pointer-events: none;
  transform: rotate(45deg);
}

.search-field input {
  min-height: 50px;
  padding: 0 18px 0 44px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 10px;
  color: var(--rnm-wit);
  background: rgba(255, 255, 255, .07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 16px 36px rgba(0, 0, 0, .18);
  font-size: .9rem;
  font-weight: 650;
}

.search-field input::placeholder {
  color: rgba(255, 255, 255, .66);
}

.language-section {
  gap: 12px;
  width: 100%;
}

.preferred-language-grid {
  gap: 8px;
}

.preferred-language-row,
.language-row {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .045)),
    rgba(19, 42, 82, .78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 14px 28px rgba(0, 0, 0, .16);
}

.preferred-language-row {
  min-height: 114px;
  padding: 14px 8px;
}

.language-row[aria-pressed="true"] {
  border-color: rgba(93, 215, 255, .95);
  background:
    linear-gradient(180deg, rgba(38, 101, 210, .34), rgba(255, 255, 255, .065)),
    rgba(19, 42, 82, .9);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .38),
    0 0 0 1px rgba(93, 215, 255, .36),
    0 0 22px rgba(93, 215, 255, .42),
    0 18px 34px rgba(0, 0, 0, .22);
}

.language-row[aria-pressed="true"]::after {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: var(--rnm-wit);
  background: #5dd7ff;
  content: "✓";
  font-size: .72rem;
  font-weight: 900;
  line-height: 1;
}

.language-row .flag {
  width: 44px;
  height: 44px;
  box-shadow: 0 12px 22px rgba(0, 0, 0, .24);
}

.preferred-language-row .flag {
  width: 50px;
  height: 50px;
}

.language-name {
  color: var(--rnm-wit);
  font-weight: 850;
}

.language-label span {
  color: rgba(255, 255, 255, .66);
}

.language-dropdown {
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px;
  background: rgba(247, 250, 255, .96);
}

.glass-button,
.primary-button {
  border-radius: 13px;
}

.language-continue,
.accessibility-continue {
  min-height: 54px;
  border-color: rgba(125, 196, 255, .72);
  background:
    linear-gradient(180deg, rgba(69, 130, 255, .95), rgba(20, 78, 211, .98)),
    #1e5bff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .42),
    inset 0 -12px 24px rgba(5, 22, 56, .28),
    0 0 0 1px rgba(93, 215, 255, .24),
    0 18px 42px rgba(8, 34, 95, .42);
  font-size: 1.05rem;
}

.accessibility-onboarding-panel .accessibility-mode-option,
.privacy-summary-card {
  border-color: rgba(255, 255, 255, .16);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .045)),
    rgba(19, 42, 82, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.tour-screen {
  gap: 14px;
  width: min(100%, 470px);
  min-height: calc(100vh - 60px);
  padding: 18px 18px calc(96px + var(--safe-bottom));
  color: var(--rnm-wit);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 280px),
    #0b1d3a;
}

.progress-bar {
  height: 4px;
  margin: 2px 0 4px;
  background: rgba(255, 255, 255, .11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.progress-bar span {
  background: linear-gradient(90deg, #5dd7ff, #1e5bff);
  box-shadow: 0 0 18px rgba(93, 215, 255, .5);
}

.story-card {
  gap: 14px;
}

.story-heading {
  gap: 8px;
}

.story-kicker {
  color: rgba(255, 255, 255, .72);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.story-heading h2 {
  color: var(--rnm-wit);
  font-size: clamp(1.35rem, 5.4vw, 2rem);
  font-weight: 850;
  letter-spacing: 0;
}

.story-scroll {
  max-height: min(27vh, 248px);
  padding-right: 2px;
  overflow-y: auto;
  color: rgba(255, 255, 255, .9);
  scrollbar-color: rgba(93, 215, 255, .7) transparent;
}

.story-body {
  color: rgba(255, 255, 255, .9);
  font-size: .92rem;
  line-height: 1.44;
}

.media-compare {
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 9px;
  background: #061226;
  box-shadow:
    0 0 0 2px rgba(125, 196, 255, .16),
    0 18px 40px rgba(0, 0, 0, .34),
    0 0 26px rgba(93, 215, 255, .16);
}

.media-compare img {
  object-fit: cover;
}

.compare-labels {
  inset: 10px 10px auto;
}

.compare-labels span {
  padding: 6px 10px;
  background: rgba(5, 16, 35, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  font-size: .72rem;
}

.compare-range {
  bottom: 20px;
  accent-color: #5dd7ff;
}

.route-controls {
  overflow: hidden;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 10px;
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.route-controls button {
  min-height: 44px;
  border-radius: 0;
  color: rgba(255, 255, 255, .82);
  background: transparent;
  font-size: .86rem;
}

.route-controls button + button {
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.route-controls button[data-action="current"] {
  color: var(--rnm-wit);
  background:
    linear-gradient(180deg, rgba(48, 110, 255, .9), rgba(17, 62, 165, .9)),
    #1e5bff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .24),
    0 0 20px rgba(30, 91, 255, .34);
}

.route-controls button:disabled {
  opacity: .4;
}

.player {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  bottom: calc(12px + var(--safe-bottom));
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(93, 215, 255, .25);
  border-radius: 14px;
  color: var(--rnm-wit);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035)),
    rgba(8, 23, 45, .94);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .05),
    0 18px 44px rgba(0, 0, 0, .38),
    0 0 26px rgba(93, 215, 255, .13);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.play-button {
  width: 50px;
  height: 50px;
  background:
    linear-gradient(180deg, rgba(93, 215, 255, .82), rgba(30, 91, 255, .95)),
    #1e5bff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .34),
    0 0 0 1px rgba(125, 196, 255, .34),
    0 0 18px rgba(93, 215, 255, .38);
}

.player-title {
  display: grid;
  gap: 7px;
}

.player-title strong {
  color: rgba(255, 255, 255, .94);
  font-size: .86rem;
}

.audio-waveform {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: 3px;
  width: min(100%, 122px);
  height: 16px;
}

.audio-waveform i {
  display: block;
  height: 45%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(93, 215, 255, .9), rgba(30, 91, 255, .35));
}

.audio-waveform i:nth-child(2n) { height: 72%; }
.audio-waveform i:nth-child(3n) { height: 100%; }
.audio-waveform i:nth-child(5n) { height: 58%; }

.player-duration {
  color: rgba(255, 255, 255, .76);
  font-size: .78rem;
  font-weight: 750;
  white-space: nowrap;
}

.player .icon-button {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  border-color: rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .055);
}

.loading-state {
  min-height: calc(100vh - 60px);
  color: var(--rnm-wit);
  background:
    linear-gradient(180deg, rgba(6, 18, 38, .36), rgba(6, 18, 38, .92)),
    url("/assets/rondvaart/32-de-grote-kerk-nu.jpg") center / cover no-repeat,
    #0b1d3a;
}

.loading-card,
.state-card {
  border-color: rgba(255, 255, 255, .18);
  border-radius: 14px;
  color: var(--rnm-wit);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .055)),
    rgba(19, 42, 82, .56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 26px 64px rgba(0, 0, 0, .34),
    0 0 30px rgba(93, 215, 255, .14);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.state-card h1,
.state-card h2,
.state-card p {
  color: var(--rnm-wit);
}

.spinner {
  border-color: rgba(255, 255, 255, .22);
  border-top-color: #5dd7ff;
  box-shadow: 0 0 24px rgba(93, 215, 255, .34);
}

@media (min-width: 760px) {
  .language-panel {
    width: min(100%, 460px);
  }

  .tour-screen {
    width: min(100%, 980px);
  }

  .story-card {
    grid-template-columns: minmax(0, .95fr) minmax(360px, .82fr);
  }

  .story-scroll {
    max-height: min(43vh, 390px);
  }
}

@media (max-width: 390px) {
  .preferred-language-grid {
    gap: 7px;
  }

  .preferred-language-row {
    min-height: 104px;
    padding: 12px 6px;
  }

  .preferred-language-row .flag {
    width: 44px;
    height: 44px;
  }
}

[data-access-mode="audio"] .player {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  padding: 10px;
}

[data-access-mode="audio"] .play-button {
  width: 64px;
  height: 64px;
}

[data-access-mode="audio"] .story-scroll {
  max-height: min(30vh, 300px);
}

[data-access-mode="simple"] .visitor-layout,
[data-access-mode="simple"] .language-screen,
[data-access-mode="simple"] .tour-screen,
[data-access-mode="simple"] .loading-state {
  color: #000000;
  background: #ffffff;
}

[data-access-mode="simple"] .language-screen::before {
  display: none;
}

[data-access-mode="simple"] .language-heading h1,
[data-access-mode="simple"] .language-heading p,
[data-access-mode="simple"] .language-heading span,
[data-access-mode="simple"] .story-heading h2,
[data-access-mode="simple"] .story-kicker,
[data-access-mode="simple"] .story-body,
[data-access-mode="simple"] .story-scroll,
[data-access-mode="simple"] .state-card h1,
[data-access-mode="simple"] .state-card h2,
[data-access-mode="simple"] .state-card p {
  color: #000000;
}

[data-access-mode="simple"] .language-row,
[data-access-mode="simple"] .preferred-language-row,
[data-access-mode="simple"] .privacy-summary-card,
[data-access-mode="simple"] .state-card,
[data-access-mode="simple"] .player,
[data-access-mode="simple"] .route-controls {
  border: 2px solid #000000;
  color: #000000;
  background: #ffffff;
  box-shadow: none;
}

[data-access-mode="simple"] .language-row[aria-pressed="true"],
[data-access-mode="simple"] .preferred-language-row[aria-pressed="true"],
[data-access-mode="simple"] .route-controls button[data-action="current"] {
  color: #ffffff;
  background: #000000;
  box-shadow: none;
}

[data-access-mode="simple"] .language-row[aria-pressed="true"] .language-name,
[data-access-mode="simple"] .language-row[aria-pressed="true"] .language-label span {
  color: #ffffff;
}

[data-access-mode="simple"] .language-name,
[data-access-mode="simple"] .language-label span,
[data-access-mode="simple"] .route-controls button,
[data-access-mode="simple"] .player-title strong,
[data-access-mode="simple"] .player-duration {
  color: #000000;
}

[data-access-mode="simple"] .search-field::before,
[data-access-mode="simple"] .search-field::after,
[data-access-mode="simple"] .audio-waveform {
  display: none;
}

[data-access-mode="simple"] .search-field input,
[data-access-mode="simple"] .player .icon-button,
[data-access-mode="simple"] .secondary-button {
  border: 2px solid #000000;
  color: #000000;
  background: #ffffff;
  box-shadow: none;
}

[data-access-mode="simple"] .primary-button,
[data-access-mode="simple"] .language-continue,
[data-access-mode="simple"] .accessibility-continue,
[data-access-mode="simple"] .play-button {
  border: 2px solid #000000;
  color: #ffffff;
  background: #000000;
  box-shadow: none;
}

/* UI kit alignment pass */
:root {
  --premium-navy: #0b1d3a;
  --premium-ocean: #132a52;
  --premium-royal: #1e5bff;
  --premium-glow: #5db7ff;
  --premium-mist: #f5f7fa;
  --premium-silver: #e5e8ef;
  --premium-button:
    linear-gradient(180deg, rgba(87, 139, 255, .98) 0%, rgba(30, 91, 255, .96) 48%, rgba(16, 64, 187, .98) 100%);
  --premium-button-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .48),
    inset 0 -14px 24px rgba(4, 24, 75, .28),
    0 0 0 1px rgba(93, 183, 255, .44),
    0 0 22px rgba(93, 183, 255, .28),
    0 18px 38px rgba(6, 22, 62, .42);
}

.language-panel {
  gap: 14px;
  width: min(100%, 396px);
}

.language-brand {
  margin-bottom: 18px;
}

.brand-logo-language.rondvaart-wordmark-logo {
  width: min(190px, 58vw);
}

.brand-logo-language .rondvaart-wordmark-symbol {
  width: 25px;
}

.brand-logo-language .rondvaart-wordmark-text {
  font-size: 1rem;
}

.language-heading {
  gap: 8px;
}

.language-heading p,
.language-section-title,
.story-kicker {
  color: rgba(245, 247, 250, .74);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.language-heading h1 {
  font-size: clamp(2rem, 7.4vw, 2.45rem);
  line-height: 1.04;
  font-weight: 800;
}

.language-heading span {
  font-size: .78rem;
  line-height: 1.55;
}

.search-field input {
  min-height: 46px;
  border-color: rgba(229, 232, 239, .42);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035)),
    rgba(19, 42, 82, .76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 0 0 1px rgba(255, 255, 255, .04);
  font-size: .82rem;
}

.preferred-language-grid {
  gap: 7px;
}

.preferred-language-row,
.language-row,
.accessibility-onboarding-panel .accessibility-mode-option,
.privacy-summary-card {
  border-color: rgba(229, 232, 239, .18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .035)),
    rgba(19, 42, 82, .82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    inset 0 -1px 0 rgba(0, 0, 0, .18),
    0 12px 26px rgba(0, 0, 0, .18);
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
}

.preferred-language-row {
  min-height: 100px;
  padding: 12px 7px;
}

.language-row[aria-pressed="true"],
.accessibility-onboarding-panel .accessibility-mode-option[aria-pressed="true"] {
  border-color: rgba(93, 183, 255, .96);
  background:
    radial-gradient(circle at 50% -10%, rgba(93, 183, 255, .22), transparent 48%),
    linear-gradient(180deg, rgba(30, 91, 255, .28), rgba(255, 255, 255, .045)),
    rgba(19, 42, 82, .9);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .32),
    0 0 0 1px rgba(93, 183, 255, .52),
    0 0 18px rgba(93, 183, 255, .58),
    0 0 38px rgba(93, 183, 255, .24),
    0 18px 34px rgba(0, 0, 0, .28);
}

.language-row[aria-pressed="true"]::after {
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, .85), transparent 28%),
    linear-gradient(180deg, #67dcff, #2d98ff);
  box-shadow: 0 0 16px rgba(93, 183, 255, .72);
}

.language-row .flag {
  border: 1px solid rgba(255, 255, 255, .72);
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, .98), rgba(255, 255, 255, .78) 56%, rgba(226, 232, 244, .62)),
    rgba(245, 247, 250, .84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -8px 16px rgba(19, 42, 82, .08),
    0 10px 22px rgba(0, 0, 0, .24),
    0 0 0 4px rgba(255, 255, 255, .035);
}

.preferred-language-row .flag {
  width: 42px;
  height: 42px;
  font-size: 1.42rem;
}

.language-name {
  font-size: .84rem;
}

.language-label span {
  font-size: .72rem;
}

.primary-button,
.glass-button,
.language-continue,
.accessibility-continue,
.review-button,
.welcome-actions .glass-button {
  min-height: 52px;
  border: 1px solid rgba(93, 183, 255, .74);
  border-radius: 12px;
  color: var(--rnm-wit);
  background: var(--premium-button);
  box-shadow: var(--premium-button-shadow);
  font-size: .96rem;
  font-weight: 800;
}

.primary-button:hover,
.primary-button:focus-visible,
.glass-button:hover,
.glass-button:focus-visible {
  background: var(--premium-button);
  box-shadow: var(--premium-button-shadow);
  transform: translateY(-1px);
}

.glass-button::before {
  inset: 1px 1px auto;
  height: 44%;
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0));
}

.tour-screen {
  gap: 11px;
  width: min(100%, 420px);
  align-content: start;
  grid-auto-rows: max-content;
  padding: 14px 18px calc(78px + var(--safe-bottom));
}

.brand-top {
  min-height: 56px;
  padding: max(8px, env(safe-area-inset-top)) 18px 8px;
}

.brand-logo-top .rondvaart-wordmark-symbol {
  width: 24px;
}

.brand-logo-top .rondvaart-wordmark-text {
  font-size: .96rem;
}

.header-language-code-button {
  width: 36px;
  height: 36px;
  min-width: 36px;
  font-size: .86rem;
}

.progress-bar {
  height: 3px;
  margin: 0 0 8px;
}

.story-card {
  gap: 10px;
  grid-template-columns: 1fr;
  align-items: start;
}

.story-heading,
.story-scroll,
.media-compare,
.route-controls,
.progress-bar {
  grid-column: 1;
  grid-row: auto;
  min-width: 0;
}

.story-heading {
  gap: 4px;
}

.story-heading h2 {
  font-size: 1.18rem;
  line-height: 1.08;
}

.story-scroll {
  max-height: min(31vh, 245px);
  padding-right: 13px;
  background:
    linear-gradient(to left, rgba(93, 183, 255, .26) 0 2px, rgba(255, 255, 255, .055) 2px 4px, transparent 4px);
  box-shadow: inset -1px 0 0 rgba(93, 183, 255, .28);
  scrollbar-width: thin;
  scrollbar-color: rgba(93, 183, 255, .86) rgba(255, 255, 255, .06);
}

.story-body {
  font-size: .82rem;
  line-height: 1.42;
}

.media-compare {
  justify-self: center;
  width: min(100%, 380px);
  aspect-ratio: 16 / 9.5;
  border: 2px solid rgba(229, 232, 239, .72);
  border-radius: 8px;
  outline: 1px solid rgba(93, 183, 255, .58);
  outline-offset: 2px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .16),
    0 0 0 3px rgba(93, 183, 255, .16),
    0 0 22px rgba(93, 183, 255, .54),
    0 0 42px rgba(93, 183, 255, .18),
    0 16px 34px rgba(0, 0, 0, .34);
}

.story-scroll::-webkit-scrollbar {
  width: 5px;
}

.story-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
}

.story-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(93, 183, 255, .96), rgba(30, 91, 255, .86));
  box-shadow: 0 0 10px rgba(93, 183, 255, .46);
}

.media-compare::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 50%);
  z-index: 2;
  width: 2px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 0 16px rgba(255, 255, 255, .45);
  content: "";
  transform: translateX(-50%);
  pointer-events: none;
}

.media-compare::before {
  position: absolute;
  left: var(--split, 50%);
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--premium-navy);
  background:
    radial-gradient(circle at 32% 24%, #ffffff, #f5f7fa 64%, #dfe6f3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    0 8px 20px rgba(0, 0, 0, .28),
    0 0 0 1px rgba(229, 232, 239, .9);
  content: "‹  ›";
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.compare-range {
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.route-controls {
  align-self: start;
  border-color: rgba(229, 232, 239, .28);
  border-radius: 8px;
}

.route-controls button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  min-height: 34px;
  font-size: .76rem;
}

.route-controls button[data-action="current"] {
  background: var(--premium-button);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .28),
    0 0 16px rgba(30, 91, 255, .34);
}

.player {
  align-self: start;
  grid-template-columns: 46px minmax(0, 1fr) auto auto;
  gap: 9px;
  padding: 7px;
  border-color: rgba(93, 183, 255, .32);
  border-radius: 12px;
}

.play-button {
  width: 46px;
  height: 46px;
  background: var(--premium-button);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .48),
    0 0 0 1px rgba(93, 183, 255, .64),
    0 0 18px rgba(93, 183, 255, .68);
}

.player-title {
  gap: 5px;
  display: grid;
  min-width: 0;
}

.player-title strong {
  font-size: .74rem;
}

.audio-waveform {
  display: flex;
  align-items: center;
  gap: 1px;
  width: 100%;
  min-width: 0;
  height: 10px;
}

.audio-waveform i {
  flex: 1 1 0;
  min-width: 1px;
  height: 1px;
  border-radius: 999px;
  background: rgba(93, 183, 255, .98);
  box-shadow:
    0 0 4px rgba(93, 183, 255, .78),
    0 0 9px rgba(30, 91, 255, .34);
}

.audio-waveform i:nth-child(4n + 1) { height: 2px; }
.audio-waveform i:nth-child(4n + 2) { height: 5px; }
.audio-waveform i:nth-child(4n + 3) { height: 3px; }
.audio-waveform i:nth-child(7n) { height: 7px; }

.player-duration {
  font-size: .72rem;
}

.player .icon-button {
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  border-radius: 8px;
}

.loading-state {
  background:
    linear-gradient(180deg, rgba(6, 18, 38, .32), rgba(6, 18, 38, .94)),
    url("/assets/rondvaart/32-de-grote-kerk-nu.jpg") center / cover no-repeat,
    #0b1d3a;
}

.loading-card {
  width: min(86vw, 310px);
  padding: 34px 24px;
  border-color: rgba(229, 232, 239, .34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    0 0 0 1px rgba(93, 183, 255, .12),
    0 0 34px rgba(93, 183, 255, .22),
    0 26px 64px rgba(0, 0, 0, .4);
}

@media (orientation: landscape) and (max-height: 520px) and (max-width: 759px) {
  .tour-screen {
    width: 100%;
    max-width: none;
    min-height: calc(100svh - 56px);
    padding: 10px 12px calc(62px + var(--safe-bottom));
  }

  .story-card {
    grid-template-columns: minmax(0, 1fr) minmax(220px, .92fr);
    column-gap: 14px;
  }

  .story-heading,
  .story-scroll {
    grid-column: 1;
  }

  .media-compare {
    grid-column: 2;
    grid-row: 1 / span 3;
    width: 100%;
    max-height: calc(100svh - 132px);
  }

  .story-scroll {
    max-height: min(30svh, 108px);
  }

  .route-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .player {
    grid-template-columns: 42px minmax(0, 1fr) auto auto;
    padding: 6px;
  }

  .play-button {
    width: 42px;
    height: 42px;
  }
}

/* Luistergids platform site */
:root {
  --lg-ivory: #f4f1ea;
  --lg-graphite: #1f1f1f;
  --lg-teal: #0f6b66;
  --lg-vermilion: #d94b39;
  --lg-olive: #6b7352;
  --lg-brass: #7a5f00;
  --lg-mist: #dde1de;
  --lg-line: #d8d0bf;
  --lg-panel: #fffaf0;
  --lg-shadow: 0 18px 38px rgba(31, 31, 31, .12);
  --lg-radius: 8px;
  --lg-sans: Sora, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --lg-serif: Lora, Georgia, "Times New Roman", serif;
}

.site-body {
  min-height: 100vh;
  color: var(--lg-graphite);
  background:
    linear-gradient(180deg, rgba(221, 225, 222, .42), transparent 360px),
    var(--lg-ivory);
  font-family: var(--lg-sans);
  overflow-x: hidden;
}

.site-body a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  width: 1px;
  height: 1px;
  padding: 10px 14px;
  border-radius: var(--lg-radius);
  color: var(--lg-ivory);
  background: var(--lg-graphite);
  overflow: hidden;
  clip-path: inset(50%);
  transform: translateY(calc(-100% - 24px));
  transition: transform .18s ease;
}

.skip-link:focus {
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  transform: translateY(0);
}

.section-shell,
.site-header-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(31, 31, 31, .16);
  background: rgba(244, 241, 234, .94);
  backdrop-filter: blur(14px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 88px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-logo img {
  display: block;
  width: auto;
  max-width: min(218px, 56vw);
  height: 56px;
}

.site-nav,
.site-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.site-nav a {
  min-width: 0;
  min-height: 40px;
  padding: 11px 10px;
  border-radius: var(--lg-radius);
  color: rgba(31, 31, 31, .84);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--lg-teal);
  background: rgba(15, 107, 102, .08);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--lg-radius);
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 107, 102, .18);
}

.button:focus-visible,
.site-nav a:focus-visible,
.platform-card:focus-within {
  outline: 3px solid var(--lg-brass);
  outline-offset: 3px;
}

.button-primary,
.button-login {
  color: #fff;
  background: var(--lg-teal);
}

.site-body .button-primary,
.site-body .button-login {
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible,
.button-login:hover,
.button-login:focus-visible {
  background: #0a5a56;
}

.button-secondary {
  border-color: rgba(31, 31, 31, .28);
  color: var(--lg-graphite);
  background: rgba(255, 250, 240, .72);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--lg-teal);
  color: var(--lg-teal);
  background: #fffaf0;
}

.button-light {
  color: var(--lg-teal);
  background: var(--lg-ivory);
}

.site-body .button-light {
  color: var(--lg-teal);
}

.site-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: 44px;
  align-items: center;
  padding: 58px 0 34px;
}

.hero-copy-block {
  max-width: 620px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--lg-olive);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-hero h1,
.section-heading h2,
.accessibility-band h2,
.split-section h2,
.app-highlight h2,
.support-page h1 {
  margin: 0;
  color: var(--lg-graphite);
  font-family: var(--lg-serif);
  font-weight: 700;
  letter-spacing: 0;
}

.site-hero h1 {
  max-width: 12ch;
  font-size: 4.5rem;
  line-height: .98;
  overflow-wrap: break-word;
}

.site-hero h1 span {
  color: var(--lg-vermilion);
}

.hero-lede {
  max-width: 34rem;
  margin: 18px 0 24px;
  font-size: 1.08rem;
  line-height: 1.55;
}

.trust-list {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(31, 31, 31, .76);
  font-size: .94rem;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-list li::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lg-vermilion);
  content: "";
}

.route-visual {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-radius);
  background:
    linear-gradient(90deg, rgba(31, 31, 31, .05) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(rgba(31, 31, 31, .045) 1px, transparent 1px) 0 0 / 38px 38px,
    #efe8da;
  box-shadow: var(--lg-shadow);
}

.route-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-line {
  fill: none;
  stroke-linecap: round;
}

.map-line-soft {
  stroke: rgba(107, 115, 82, .32);
  stroke-width: 2;
}

.route-draw {
  stroke: var(--lg-teal);
  stroke-dasharray: 11 11;
  stroke-width: 5;
  animation: routeFloat 8s linear infinite;
}

.pin path {
  stroke: var(--lg-ivory);
  stroke-width: 4;
}

.pin circle {
  fill: var(--lg-ivory);
}

.pin-teal path {
  fill: var(--lg-teal);
}

.pin-brass path {
  fill: var(--lg-brass);
}

.pin-vermilion path {
  fill: var(--lg-vermilion);
}

.sound-bars {
  fill: none;
  stroke: var(--lg-olive);
  stroke-width: 5;
  stroke-linecap: round;
}

.visual-card,
.visual-note {
  position: absolute;
  display: grid;
  gap: 6px;
  border: 1px solid rgba(31, 31, 31, .12);
  border-radius: var(--lg-radius);
  background: rgba(255, 250, 240, .92);
  box-shadow: 0 16px 28px rgba(31, 31, 31, .15);
}

.visual-card {
  min-width: 190px;
  padding: 18px;
}

.visual-card span,
.visual-note span {
  color: var(--lg-olive);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.visual-card strong,
.visual-note strong {
  font-family: var(--lg-serif);
  font-size: 1.34rem;
}

.visual-card-large {
  top: 78px;
  right: 48px;
}

.visual-card-small {
  right: 152px;
  bottom: 112px;
}

.visual-note {
  left: 34px;
  bottom: 30px;
  max-width: 220px;
  padding: 16px;
  color: #fff;
  background: var(--lg-teal);
}

.visual-note span {
  color: rgba(244, 241, 234, .78);
  text-transform: none;
}

.section-block {
  padding: 70px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.accessibility-band h2,
.split-section h2,
.app-highlight h2 {
  font-size: 3rem;
  line-height: 1.04;
}

.section-heading p,
.split-section p,
.accessibility-band p,
.app-highlight p,
.support-page p {
  line-height: 1.6;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.platform-card,
.gov-grid article,
.support-panel {
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-radius);
  background: rgba(255, 250, 240, .72);
  box-shadow: 0 10px 24px rgba(31, 31, 31, .06);
}

.platform-card {
  display: grid;
  gap: 12px;
  min-height: 220px;
  padding: 22px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.platform-card:hover {
  border-color: rgba(15, 107, 102, .52);
  transform: translateY(-3px);
  box-shadow: var(--lg-shadow);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--lg-teal);
  font-weight: 900;
}

.platform-card h3,
.gov-grid h3,
.support-panel h2 {
  margin: 0;
  color: var(--lg-graphite);
  font-family: var(--lg-serif);
  font-size: 1.55rem;
  letter-spacing: 0;
}

.platform-card p,
.gov-grid p,
.support-panel p {
  margin: 0;
  color: rgba(31, 31, 31, .76);
  line-height: 1.55;
}

.accessibility-band {
  padding: 72px 0;
  color: var(--lg-ivory);
  background:
    linear-gradient(90deg, rgba(244, 241, 234, .08) 1px, transparent 1px) 0 0 / 36px 36px,
    var(--lg-teal);
}

.accessibility-band h2,
.accessibility-band p,
.accessibility-band .eyebrow {
  color: var(--lg-ivory);
}

.accessibility-band .eyebrow {
  color: var(--lg-brass);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .75fr);
  gap: 36px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 16px;
  border: 1px solid rgba(244, 241, 234, .25);
  border-radius: var(--lg-radius);
  background: rgba(244, 241, 234, .08);
  font-weight: 800;
}

.process-list {
  display: grid;
  gap: 12px;
}

.process-list div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 3px 14px;
  padding: 16px;
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-radius);
  background: var(--lg-panel);
}

.process-list span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--lg-graphite);
  background: var(--lg-brass);
  font-weight: 900;
}

.process-list strong {
  font-family: var(--lg-serif);
  font-size: 1.3rem;
}

.process-list p {
  margin: 0;
}

.gov-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gov-grid article {
  min-height: 160px;
  padding: 18px;
}

.app-highlight {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 22px;
  align-items: center;
  margin-bottom: 76px;
  padding: 26px;
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-radius);
  background: var(--lg-panel);
  box-shadow: var(--lg-shadow);
}

.app-highlight img {
  border-radius: 18px;
}

.site-footer {
  border-top: 1px solid var(--lg-line);
  background: #efe8da;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 30px 0;
}

.site-footer p {
  margin: 0;
  color: rgba(31, 31, 31, .72);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer a {
  font-weight: 800;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--lg-teal);
}

.support-body {
  background: var(--lg-ivory);
}

.support-page {
  min-height: calc(100vh - 89px);
  padding: 68px 0;
}

.support-page h1 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: 4rem;
  line-height: 1;
}

.support-page > p {
  max-width: 740px;
  font-size: 1.08rem;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-item {
  align-content: start;
  min-height: 0;
}

.faq-item h3 {
  margin: 0;
  color: var(--lg-graphite);
  font-family: var(--lg-serif);
  font-size: 1.45rem;
  letter-spacing: 0;
}

.support-panel {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.start-card {
  max-width: 620px;
  margin-top: 28px;
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-radius);
  background: var(--lg-panel);
  box-shadow: var(--lg-shadow);
}

.start-status {
  padding: 14px 16px;
  border: 1px solid rgba(31, 31, 31, .12);
  border-radius: var(--lg-radius);
  background: rgba(15, 107, 102, .08);
  color: var(--lg-graphite);
  font-weight: 800;
}

.start-status[data-state="success"] {
  border-color: rgba(15, 107, 102, .28);
  background: rgba(15, 107, 102, .13);
}

.start-status[data-state="error"] {
  border-color: rgba(217, 75, 57, .35);
  background: rgba(217, 75, 57, .1);
}

.status-list {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding-left: 20px;
  color: rgba(31, 31, 31, .76);
}

@keyframes routeFloat {
  to {
    stroke-dashoffset: -120;
  }
}

@media (max-width: 980px) {
  .site-header-inner {
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 12px 0;
  }

  .site-nav {
    order: 3;
    flex: 0 0 100%;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .site-hero {
    padding-top: 38px;
  }

  .site-hero h1,
  .support-page h1 {
    font-size: 3.25rem;
  }

  .route-visual {
    min-height: 430px;
  }

  .use-case-grid,
  .support-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gov-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer-inner,
  .app-highlight {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section-shell,
  .site-header-inner {
    width: min(calc(100% - 28px), 362px);
    max-width: 362px;
    margin-right: 14px;
    margin-left: 14px;
  }

  .site-header {
    position: static;
  }

  .site-header-inner,
  .site-actions,
  .hero-actions {
    align-items: stretch;
  }

  .site-header-inner {
    flex-direction: column;
  }

  .site-actions,
  .button {
    width: 100%;
  }

  .site-nav {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 6px;
    border: 1px solid rgba(31, 31, 31, .12);
    font-size: .84rem;
    text-align: center;
  }

  .hero-copy-block,
  .hero-lede {
    max-width: 362px;
  }

  .site-hero {
    gap: 28px;
    padding: 30px 0 20px;
  }

  .site-hero h1,
  .support-page h1 {
    max-width: none;
    font-size: 2.22rem;
  }

  .section-heading h2,
  .accessibility-band h2,
  .split-section h2,
  .app-highlight h2 {
    font-size: 2.1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .route-visual {
    min-height: 360px;
  }

  .visual-card {
    min-width: 142px;
    padding: 12px;
  }

  .visual-card strong {
    font-size: 1rem;
  }

  .visual-card-large {
    top: 54px;
    right: 18px;
  }

  .visual-card-small {
    right: 34px;
    bottom: 90px;
  }

  .visual-note {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }

  .use-case-grid,
  .gov-grid,
  .support-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section-block,
  .accessibility-band,
  .support-page {
    padding: 48px 0;
  }

  .platform-card {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

/* Matte Rondvaart app release UI */
:root {
  --rdm-navy: #213a73;
  --rdm-ink: #11234b;
  --rdm-blue: #4b97c5;
  --rdm-blue-soft: #dcebf6;
  --rdm-ice: #f4f8fb;
  --rdm-line: #c9d6e4;
  --rdm-muted: #536681;
  --rdm-shadow: 0 14px 30px rgba(17, 35, 75, .12);
}

.visitor-layout {
  overflow: hidden;
  min-height: 100dvh;
  background: var(--rdm-ice);
  color: var(--rdm-ink);
}

.brand-top {
  position: relative;
  z-index: 3;
  min-height: 82px;
  padding: max(14px, env(safe-area-inset-top)) 22px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  background: var(--rdm-navy);
  box-shadow: none;
}

.brand-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-language-code-button,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  min-height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 18px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  box-shadow: none;
  font-size: 1.28rem;
  line-height: 1;
}

.header-language-code-button:focus-visible {
  outline: 3px solid rgba(75, 151, 197, .72);
  outline-offset: 3px;
}

.primary-button,
.glass-button,
.route-controls button,
.secondary-button {
  min-height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(75, 151, 197, .34);
  background: var(--rdm-blue);
  color: #fff;
  box-shadow: 0 12px 26px rgba(33, 58, 115, .16);
  font-size: 1.04rem;
  font-weight: 900;
  letter-spacing: 0;
}

.secondary-button,
.route-controls button {
  background: #fff;
  color: var(--rdm-navy);
  box-shadow: none;
}

.primary-button:hover,
.primary-button:focus-visible,
.glass-button:hover,
.glass-button:focus-visible,
.route-controls button:hover,
.route-controls button:focus-visible {
  transform: none;
  filter: none;
  box-shadow: 0 12px 26px rgba(33, 58, 115, .18);
}

.empty-state,
.loading-state,
.finish-review-state {
  position: relative;
  display: grid;
  align-items: start;
  min-height: calc(100dvh - 82px);
  padding: 28px 22px calc(34px + env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg, rgba(244, 248, 251, .96) 0%, rgba(244, 248, 251, .8) 48%, rgba(224, 237, 248, .72) 100%),
    var(--state-line-art) center bottom / min(94vw, 560px) auto no-repeat,
    var(--rdm-ice);
}

.location-state {
  --state-line-art: url("/assets/ui/grote-kerk-line-art.png");
}

.loading-state {
  --state-line-art: url("/assets/ui/spanjaardsgat-line-art.png");
}

.finish-review-state {
  --state-line-art: url("/assets/ui/academiesingel-finish-line-art.png");
}

.state-card,
.finish-review-card {
  width: min(100%, 390px);
  margin: 0 auto;
  padding: 30px 28px;
  border: 1px solid rgba(201, 214, 228, .9);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--rdm-shadow);
  color: var(--rdm-ink);
}

.state-card h1,
.finish-review-card h1 {
  margin: 16px 0 12px;
  color: var(--rdm-ink);
  font-size: clamp(2rem, 10vw, 2.55rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.state-card p,
.finish-review-card p {
  margin: 0 0 24px;
  color: var(--rdm-muted);
  font-size: 1.18rem;
  line-height: 1.45;
  font-weight: 800;
}

.state-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(201, 214, 228, .7);
  border-radius: 24px;
  background: #e8f2fa;
  box-shadow: none;
}

.state-icon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.loading-card {
  align-self: start;
}

.loading-progress {
  overflow: hidden;
  height: 8px;
  margin-top: 28px;
  border-radius: 999px;
  background: #d4e5f3;
}

.loading-progress span {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: var(--rdm-blue);
}

.tour-screen {
  display: grid;
  gap: 14px;
  min-height: calc(100dvh - 82px);
  padding: 8px 14px calc(14px + env(safe-area-inset-bottom));
  background: #f7fafc;
}

.progress-bar {
  height: 8px;
  margin: -8px -14px 2px;
  background: #e4edf5;
}

.progress-bar span {
  background: var(--rdm-blue);
}

.story-card {
  display: grid;
  gap: 18px;
  min-height: 0;
  padding: 22px;
  border: 1px solid rgba(201, 214, 228, .94);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(17, 35, 75, .1);
}

.story-heading {
  display: grid;
  gap: 10px;
}

.story-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.story-kicker {
  color: var(--rdm-blue);
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.story-heading h2 {
  margin: 0;
  color: var(--rdm-ink);
  font-size: clamp(2rem, 8vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.story-audio-control {
  flex: 0 0 auto;
}

.story-audio-button {
  display: inline-grid;
  grid-template-columns: 34px minmax(58px, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  max-width: 178px;
  padding: 7px 10px 7px 7px;
  border: 1px solid rgba(201, 214, 228, .94);
  border-radius: 18px;
  background: #f8fbfd;
  color: var(--rdm-navy);
  box-shadow: none;
}

.story-audio-button[aria-pressed="true"] {
  border-color: rgba(75, 151, 197, .6);
  background: #edf6fb;
}

.story-audio-button img {
  width: 34px;
  height: 34px;
  border-radius: 12px;
}

.story-audio-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.story-audio-copy strong,
.story-audio-duration {
  font-size: .82rem;
  line-height: 1;
}

.story-audio-rail {
  display: block;
  overflow: hidden;
  width: 58px;
  height: 5px;
  border-radius: 999px;
  background: #d7e5f1;
}

.story-audio-rail i {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: var(--rdm-blue);
}

.story-audio-duration {
  color: var(--rdm-muted);
  font-weight: 900;
}

.media-compare {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  border: 1px solid var(--rdm-line);
  border-radius: 8px;
  box-shadow: none;
}

.media-compare img {
  object-fit: cover;
}

.compare-labels span {
  border-radius: 12px;
  background: rgba(17, 35, 75, .86);
  box-shadow: none;
}

.story-scroll {
  max-height: min(34dvh, 310px);
  overflow-y: auto;
  padding-right: 4px;
  outline: none;
}

.story-scroll:focus-visible {
  outline: 3px solid rgba(75, 151, 197, .46);
  outline-offset: 6px;
  border-radius: 6px;
}

.story-body {
  margin: 0;
  color: var(--rdm-ink);
  font-size: clamp(1.34rem, 5.2vw, 1.58rem);
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: 0;
}

.route-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.route-controls button {
  min-width: 0;
  min-height: 52px;
  padding: 10px 8px;
  border-color: rgba(201, 214, 228, .94);
  font-size: .96rem;
}

.route-controls button[data-action="current"] {
  background: var(--rdm-navy);
  color: #fff;
}

.finish-review-card {
  text-align: left;
}

.finish-review-card .finish-state-icon {
  margin: 10px 0 18px;
}

.finish-review-actions {
  margin-top: 8px;
}

.review-button {
  width: 100%;
}

.player {
  display: none;
}

@media (min-width: 760px) {
  .story-scroll {
    max-height: min(42dvh, 420px);
  }
}

@media (orientation: landscape) and (max-height: 560px) and (max-width: 940px) {
  .brand-top {
    min-height: 62px;
    padding: 8px 18px;
  }

  .brand-logo-top {
    max-height: 36px;
  }

  .header-language-code-button,
  .pill {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .empty-state,
  .loading-state,
  .finish-review-state {
    min-height: calc(100dvh - 62px);
    padding: 18px 28px calc(18px + env(safe-area-inset-bottom));
    background-size: min(46vw, 420px) auto;
    background-position: left bottom;
  }

  .state-card,
  .finish-review-card {
    width: min(52vw, 430px);
    margin-right: 0;
    margin-left: auto;
    padding: 22px 24px;
  }

  .state-card h1,
  .finish-review-card h1 {
    font-size: clamp(1.82rem, 5vw, 2.35rem);
  }

  .state-card p,
  .finish-review-card p {
    font-size: 1.08rem;
    line-height: 1.38;
  }

  .state-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }

  .state-icon img {
    width: 44px;
    height: 44px;
  }

  .tour-screen {
    grid-template-rows: auto minmax(0, 1fr) auto;
    min-height: calc(100dvh - 62px);
    overflow: hidden;
    padding: 6px 12px calc(10px + env(safe-area-inset-bottom));
  }

  .story-card {
    grid-template-columns: minmax(250px, .92fr) minmax(0, 1.08fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 14px 18px;
    height: calc(100dvh - 165px);
    min-height: 0;
    overflow: hidden;
    padding: 14px 16px;
  }

  .story-heading,
  .story-scroll {
    grid-column: 2;
  }

  .media-compare {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: stretch;
    aspect-ratio: auto;
    min-height: 0;
    height: 100%;
  }

  .story-heading h2 {
    font-size: clamp(1.65rem, 4.2vw, 2.18rem);
  }

  .story-body {
    font-size: clamp(1.22rem, 3.3vw, 1.44rem);
    line-height: 1.4;
  }

  .story-scroll {
    min-height: 0;
    max-height: 100%;
    overflow-y: auto;
  }

  .route-controls {
    grid-template-columns: repeat(3, minmax(82px, 1fr));
  }

  .route-controls button {
    min-height: 48px;
  }
}

@media (max-width: 360px) {
  .story-card {
    padding: 18px;
  }

  .story-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .story-audio-button {
    max-width: 100%;
  }
}

/* Cohesive matte UI preview for QR start and live guide */
:root {
  --matte-navy: #213a73;
  --matte-navy-deep: #162a5c;
  --matte-blue: #4689b6;
  --matte-blue-soft: #dceaf3;
  --matte-paper: #f7f9fc;
  --matte-card: #ffffff;
  --matte-line: #c9d6e4;
  --matte-ink: #13264f;
  --matte-muted: #546886;
}

.visitor-layout.no-header .language-screen.qr-language-screen {
  display: grid;
  align-items: stretch;
  min-height: 100svh;
  padding: max(14px, env(safe-area-inset-top)) clamp(18px, 4vw, 32px) calc(24px + var(--safe-bottom));
  color: #fff;
  background:
    linear-gradient(180deg, rgba(33, 58, 115, .96), rgba(22, 42, 92, .99)),
    var(--matte-navy);
}

.visitor-layout.no-header .language-screen.qr-language-screen::before {
  inset: auto -12% -10% -12%;
  height: min(42svh, 360px);
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(164, 181, 198, .13) 42.2%, transparent 42.7%),
    linear-gradient(135deg, transparent 0 59%, rgba(70, 137, 182, .12) 59.2%, transparent 59.7%),
    linear-gradient(180deg, transparent, rgba(164, 181, 198, .08));
  opacity: 1;
}

.visitor-layout.no-header .language-panel.qr-language-panel {
  display: grid;
  align-content: start;
  gap: clamp(16px, 2.8svh, 26px);
  width: min(100%, 760px);
  min-height: calc(100svh - 38px - var(--safe-bottom));
  margin: 0 auto;
  padding: 0;
}

.visitor-layout.no-header .language-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 54px;
  margin: 0 0 clamp(20px, 6svh, 70px);
}

.visitor-layout.no-header .brand-logo-language.rondvaart-wordmark-logo {
  width: min(238px, 62vw);
}

.visitor-layout.no-header .language-heading {
  gap: 8px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.visitor-layout.no-header .language-heading p,
.visitor-layout.no-header .language-section-title {
  color: rgba(255, 255, 255, .76);
  font-size: clamp(.72rem, 1.8vw, .86rem);
  font-weight: 850;
  letter-spacing: .14em;
}

.visitor-layout.no-header .language-heading h1 {
  color: #fff;
  font-size: clamp(1.95rem, 7.4vw, 3.6rem);
  line-height: 1.02;
  font-weight: 850;
}

.visitor-layout.no-header .language-heading span {
  color: rgba(255, 255, 255, .84);
  font-size: clamp(.94rem, 2.45vw, 1.15rem);
  line-height: 1.45;
}

.visitor-layout.no-header .search-field input {
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 16px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: 1rem;
}

.visitor-layout.no-header .preferred-language-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.visitor-layout.no-header .preferred-language-row,
.visitor-layout.no-header .language-row,
.visitor-layout.no-header .accessibility-onboarding-panel .accessibility-mode-option,
.visitor-layout.no-header .privacy-summary-card {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  background: rgba(255, 255, 255, .095);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.visitor-layout.no-header .preferred-language-row {
  min-height: 104px;
  padding: 14px 10px;
}

.visitor-layout.no-header .language-row[aria-pressed="true"],
.visitor-layout.no-header .accessibility-onboarding-panel .accessibility-mode-option[aria-pressed="true"] {
  border-color: rgba(164, 181, 198, .84);
  background: rgba(70, 137, 182, .42);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08);
}

.visitor-layout.no-header .language-row[aria-pressed="true"]::after {
  background: var(--matte-blue);
  box-shadow: none;
}

.visitor-layout.no-header .language-row .flag {
  border: 1px solid rgba(255, 255, 255, .56);
  background: #f6f8fb;
  box-shadow: none;
}

.visitor-layout.no-header .language-name {
  font-size: clamp(.98rem, 2.4vw, 1.18rem);
}

.visitor-layout.no-header .language-label span,
.visitor-layout.no-header .accessibility-onboarding-panel .accessibility-mode-option span,
.visitor-layout.no-header .privacy-summary-card span {
  color: rgba(255, 255, 255, .78);
}

.visitor-layout.no-header .language-continue,
.visitor-layout.no-header .accessibility-continue {
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  background: var(--matte-blue);
  box-shadow: none;
  font-size: 1.08rem;
}

.visitor-layout.no-header .glass-button::before {
  display: none;
}

.visitor-layout.no-header .accessibility-mode-grid,
.visitor-layout.no-header .privacy-summary {
  gap: 12px;
}

.visitor-layout.no-header .accessibility-onboarding-panel,
.visitor-layout.no-header .privacy-summary {
  width: 100%;
}

.visitor-layout.no-header .accessibility-onboarding-panel .accessibility-mode-option,
.visitor-layout.no-header .privacy-summary-card {
  min-height: 96px;
  padding: 18px 20px;
}

.visitor-layout.no-header .privacy-summary-card strong,
.visitor-layout.no-header .accessibility-onboarding-panel .accessibility-mode-option strong {
  color: #fff;
  font-size: 1.05rem;
}

.tour-screen {
  width: 100%;
  min-height: calc(100svh - 82px);
  height: calc(100svh - 82px);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 10px clamp(12px, 3.5vw, 24px) calc(14px + var(--safe-bottom));
  color: var(--matte-ink);
  background: var(--matte-paper);
}

.progress-bar {
  width: 100%;
  max-width: 860px;
  height: 5px;
  margin: 0 auto 6px;
  border-radius: 999px;
  background: #e3ebf3;
  box-shadow: none;
}

.progress-bar span {
  background: var(--matte-blue);
  box-shadow: none;
}

.story-card {
  width: min(100%, 860px);
  min-height: 0;
  height: 100%;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, .82fr) minmax(0, 1fr);
  align-items: stretch;
}

.story-heading {
  gap: 6px;
}

.story-heading-row {
  align-items: center;
}

.story-kicker {
  color: var(--matte-blue);
  font-size: clamp(.74rem, 2.1vw, .9rem);
  letter-spacing: .12em;
}

.story-heading h2 {
  color: var(--matte-ink);
  font-size: clamp(1.72rem, 6.4vw, 3.2rem);
  line-height: 1.04;
}

.story-audio-button {
  min-height: 44px;
  border: 2px solid rgba(70, 137, 182, .58);
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
  padding: 5px 9px 5px 6px;
}

.story-audio-button[data-audio-state="playing"],
.story-audio-button[data-audio-state="paused"] {
  border-color: var(--matte-blue);
  background: #eef6fb;
  box-shadow: inset 0 0 0 1px rgba(70, 137, 182, .18);
}

.story-audio-button[data-audio-state="paused"] {
  background: #fff;
}

.story-audio-button[data-audio-state="playing"] .story-audio-rail i {
  width: 72%;
}

.story-audio-button[data-audio-state="paused"] .story-audio-rail i {
  width: 54%;
  background: var(--matte-navy);
}

.story-audio-button img {
  width: 28px;
  height: 28px;
}

.media-compare {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--matte-line);
  border-radius: 10px;
  outline: 0;
  background: #d9e4ed;
  box-shadow: none;
  touch-action: none;
  user-select: none;
}

.media-compare::after {
  background: rgba(255, 255, 255, .94);
  box-shadow: none;
}

.media-compare::before {
  display: none;
}

.compare-handle {
  position: absolute;
  left: var(--split, 50%);
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(19, 38, 79, .12);
  border-radius: 50%;
  background: #fff;
  box-shadow: none;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.compare-handle svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--matte-ink);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.compare-labels {
  inset: 12px 12px auto;
}

.compare-labels span {
  border-radius: 14px;
  background: rgba(19, 38, 79, .86);
  box-shadow: none;
}

.story-scroll {
  height: 100%;
  max-height: 100%;
  min-height: 0;
  padding: 0;
  overflow-y: auto;
  background: transparent;
  box-shadow: none;
}

.story-body {
  color: var(--matte-ink);
  font-size: clamp(1.03rem, 3.8vw, 1.22rem);
  line-height: 1.48;
  font-weight: 750;
}

.route-controls {
  width: min(100%, 860px);
  margin: 10px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.route-controls button {
  min-height: 52px;
  height: auto;
  border: 1px solid var(--matte-line);
  border-radius: 18px;
  color: var(--matte-ink);
  background: #fff;
  box-shadow: none;
  font-size: clamp(.88rem, 2.35vw, .98rem);
}

.route-controls button + button {
  border-left: 1px solid var(--matte-line);
}

.route-controls button[data-action="current"] {
  color: #fff;
  background: var(--matte-navy);
  box-shadow: none;
}

.route-controls button:disabled {
  color: #9aa8bb;
  background: #eef3f7;
}

@media (min-width: 700px) {
  .visitor-layout.no-header .preferred-language-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .story-card {
    display: grid;
    grid-template-columns: minmax(280px, .94fr) minmax(0, 1.06fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 16px 24px;
    align-items: start;
  }

  .story-heading,
  .story-scroll {
    grid-column: 2;
    min-height: 0;
    overflow-y: auto;
  }

  .media-compare {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    aspect-ratio: 16 / 10;
  }
}

@media (orientation: landscape) and (max-height: 560px) and (max-width: 940px) {
  .visitor-layout.no-header .language-screen.qr-language-screen {
    padding: max(8px, env(safe-area-inset-top)) 22px calc(14px + var(--safe-bottom));
  }

  .visitor-layout.no-header .language-panel.qr-language-panel {
    align-content: start;
    gap: 10px;
    width: min(100%, 900px);
    min-height: calc(100svh - 22px - var(--safe-bottom));
  }

  .visitor-layout.no-header .language-brand {
    min-height: 54px;
    margin-bottom: 8px;
  }

  .visitor-layout.no-header .language-heading h1 {
    font-size: clamp(1.8rem, 5.6vw, 2.8rem);
  }

  .visitor-layout.no-header .language-heading span {
    font-size: .92rem;
  }

  .visitor-layout.no-header .preferred-language-row {
    min-height: 76px;
    padding: 10px;
  }

  .visitor-layout.no-header .accessibility-onboarding-panel .accessibility-mode-option,
  .visitor-layout.no-header .privacy-summary-card {
    min-height: 70px;
    padding: 12px 14px;
  }

  .tour-screen {
    min-height: calc(100svh - 62px);
    height: calc(100svh - 62px);
    padding: 8px 14px calc(10px + var(--safe-bottom));
  }

  .story-card {
    width: min(100%, 920px);
    grid-template-columns: minmax(250px, .9fr) minmax(0, 1.1fr);
    gap: 12px 18px;
  }

  .story-heading h2 {
    font-size: clamp(1.44rem, 3.7vw, 2.05rem);
  }

  .media-compare {
    aspect-ratio: 16 / 10;
  }

  .story-body {
    font-size: clamp(.98rem, 2.65vw, 1.15rem);
    line-height: 1.42;
  }

  .story-scroll {
    max-height: calc(100svh - 205px);
    overflow-y: auto;
  }

  .route-controls {
    width: min(100%, 920px);
    margin-top: 8px;
  }

  .route-controls button {
    min-height: 46px;
  }
}

@media (max-width: 380px) {
  .visitor-layout.no-header .language-panel.qr-language-panel {
    gap: 12px;
  }

  .visitor-layout.no-header .preferred-language-row {
    min-height: 92px;
  }

  .story-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .story-audio-button {
    width: 100%;
    justify-content: center;
  }
}
