/* Scenic Strides Visuals - "Rondom": every page hangs from one horizon line. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-var.de2f1fe81758.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --navy: #0f2452;
  --navy-2: #152d62;
  --navy-3: #1f3c7d;
  --sky: #a9bfdd;
  --sky-2: #dfe7f1;
  --mist: #f4f6f8;
  --white: #ffffff;
  --flag: #ff5a36;
  --flag-hover: #ff7352;
  --ink: #0f2452;
  --ink-2: #3d4a66;
  --on-dark: #eef3f8;
  --on-dark-2: #b7c7dc;
  --rule-dark: rgba(169, 191, 221, 0.3);
  --rule-light: rgba(15, 36, 82, 0.16);
  --error: #b3261e;
  --open: #15803d;
  --soon: #3f67a8; /* "Binnenkort": closed for requests, competition still to come */

  --radius: 4px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --step--1: clamp(0.84rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.3rem);
  --step-4: clamp(2.6rem, 1.8rem + 4.2vw, 6rem);

  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--navy-3) var(--mist);
}

body {
  margin: 0;
  /* Short pages: main grows so the footer always sits at the bottom of the window. */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--mist);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: var(--step-0);
  line-height: 1.55;
  font-stretch: 100%;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--flag);
}

::selection {
  background: var(--sky);
  color: var(--navy);
}

.on-dark ::selection,
.on-dark::selection {
  background: var(--flag);
  color: var(--navy);
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--flag);
  outline-offset: 3px;
  border-radius: 2px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

main {
  flex: 1 0 auto;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  background: var(--flag);
  color: var(--navy);
  padding: 10px 14px;
  font-weight: 700;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- type ---------- */

.display {
  font-size: var(--step-4);
  font-weight: 820;
  font-stretch: 125%;
  letter-spacing: -0.025em;
  line-height: 0.94;
}

.title {
  font-size: var(--step-3);
  font-weight: 780;
  font-stretch: 118%;
  letter-spacing: -0.02em;
}

.subtitle {
  font-size: var(--step-2);
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.012em;
  line-height: 1.1;
}

.lead {
  font-size: var(--step-1);
  line-height: 1.45;
  max-width: 40ch;
}

.prose {
  max-width: 68ch;
}

.prose > * + * {
  margin-top: 1em;
}

.prose h2 {
  font-size: var(--step-2);
  font-weight: 720;
  font-stretch: 112%;
  margin-top: 2.2em;
}

.prose h3 {
  font-size: var(--step-1);
  font-weight: 700;
  margin-top: 1.6em;
}

.prose ul {
  padding-left: 1.2em;
}

.prose li + li {
  margin-top: 0.35em;
}

.muted {
  color: var(--ink-2);
}

.on-dark .muted {
  color: var(--on-dark-2);
}

.degree {
  font-stretch: 80%;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
}

/* ---------- buttons ---------- */

.btn {
  --btn-bg: var(--flag);
  --btn-fg: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0.75em 1.35em;
  border: 0;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 760;
  font-stretch: 108%;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(15, 36, 82, 0.25), 0 8px 24px -12px rgba(255, 90, 54, 0.7);
  transition: background-color 0.25s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.btn:hover {
  background: var(--flag-hover);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.3s var(--ease-out);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  box-shadow: inset 0 0 0 1px currentColor;
}

.btn--ghost:hover {
  background: rgba(169, 191, 221, 0.16);
}

.btn--dark {
  --btn-bg: var(--navy);
  --btn-fg: var(--on-dark);
  box-shadow: 0 8px 24px -14px rgba(15, 36, 82, 0.8);
}

.btn--dark:hover {
  background: var(--navy-3);
}

.btn--small {
  min-height: 42px;
  padding: 0.5em 1em;
  font-size: var(--step--1);
}

.btn--block {
  width: 100%;
}

.text-link {
  font-weight: 650;
  display: inline-flex;
  gap: 0.4em;
  align-items: center;
}

.text-link svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

/* ---------- header ---------- */

.site-header {
  position: relative;
  z-index: 20;
  background: var(--navy);
  color: var(--on-dark);
}

.site-header--overlay {
  position: absolute;
  inset: 0 0 auto;
  background: linear-gradient(to bottom, rgba(15, 36, 82, 0.94) 0%, rgba(15, 36, 82, 0.86) 62%, rgba(15, 36, 82, 0) 100%);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--on-dark);
}

.brand img {
  width: 64px;
  height: auto;
}

.brand__name {
  font-weight: 760;
  font-stretch: 115%;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.01em;
}

.brand__name span {
  display: block;
  font-weight: 500;
  font-stretch: 90%;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  margin-top: 5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
}

.nav a:not(.btn) {
  color: var(--on-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding-block: 8px;
  background: linear-gradient(var(--flag), var(--flag)) left bottom / 0 1px no-repeat;
  transition: background-size 0.35s var(--ease-out);
}

.nav a:not(.btn):hover,
.nav a[aria-current="page"] {
  background-size: 100% 1px;
}

/* Phone menu (static/js/nav.js): hidden on wide screens. */
.nav__toggle,
.mobile-menu {
  display: none;
}

@media (max-width: 720px) {
  .nav a:not(.btn) {
    display: none;
  }

  .nav {
    gap: 10px;
  }

  .nav__toggle:not([hidden]) {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--rule-dark);
    border-radius: var(--radius);
    background: transparent;
    color: var(--on-dark);
    cursor: pointer;
  }

  .nav__toggle svg {
    width: 24px;
    height: 24px;
  }

  .nav__toggle-close,
  .nav__toggle[aria-expanded="true"] .nav__toggle-open {
    display: none;
  }

  .nav__toggle[aria-expanded="true"] .nav__toggle-close {
    display: block;
  }

  .mobile-menu:not([hidden]) {
    display: block;
    position: absolute;
    inset: 100% 0 auto;
    background: var(--navy);
    border-top: 1px solid var(--rule-dark);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.6);
  }

  .mobile-menu ul {
    list-style: none;
    margin-inline: auto;
    padding: 6px 0 14px;
  }

  .mobile-menu a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--rule-dark);
    color: var(--on-dark);
    font-size: var(--step-1);
    font-weight: 650;
    text-decoration: none;
  }

  .mobile-menu li:last-child a {
    border-bottom: 0;
  }

  /* The home page header floats over the panorama; give the open menu a solid bar. */
  .menu-open .site-header--overlay {
    background: var(--navy);
  }

  .brand img {
    width: 52px;
  }

  .brand__name span {
    display: none;
  }
}

/* ---------- the 360 hero ---------- */

.pano {
  position: relative;
  min-height: 100svh;
  min-height: max(640px, 100svh);
  overflow: hidden;
  background: var(--navy) url("../placeholders/panorama-small.03a954290d74.jpg") 0 55% / auto 160% repeat-x;
  color: var(--navy);
  isolation: isolate;
  touch-action: pan-y;
}

.pano.is-live {
  background-image: none;
}

.pano__canvas,
.pano__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pano__canvas {
  cursor: grab;
  z-index: 0;
  /* Same colours, more punch: deeper darks and fuller colour in the 360° image. */
  filter: saturate(1.25) contrast(1.3);
}

.pano::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Light veil only right behind the text, so the rest of the image stays crisp. */
  background: linear-gradient(100deg, rgba(223, 231, 241, 0.82) 0%, rgba(223, 231, 241, 0.55) 26%, rgba(223, 231, 241, 0) 42%);
}

@media (max-width: 720px) {
  .pano::before {
    background: linear-gradient(to bottom, rgba(223, 231, 241, 0.84) 0%, rgba(223, 231, 241, 0.6) 40%, rgba(223, 231, 241, 0) 58%);
  }
}

.pano__canvas:active {
  cursor: grabbing;
}

.pano__overlay {
  pointer-events: none;
  z-index: 1;
}

.pano__copy {
  position: relative;
  z-index: 2;
  padding-top: clamp(120px, 17vh, 190px);
  /* Never let the buttons slide under the strip at the bottom: the hero grows instead. */
  padding-bottom: calc(var(--strip-h, 88px) + 40px);
  pointer-events: none;
}

.pano__copy > * {
  pointer-events: auto;
}

.pano__copy .display {
  max-width: none;
  color: var(--navy);
}

.pano__copy .display em {
  font-style: normal;
  color: var(--flag); /* "Gefilmd in 360°." in the brand orange, like the buttons and flags */
}

.pano__promise {
  margin-top: clamp(18px, 3vh, 28px);
  font-size: var(--step-1);
  line-height: 1.4;
  font-weight: 560;
  max-width: 32ch;
}

.pano__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3.6vh, 34px);
}

.pano__actions .btn--ghost {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(6px);
}

.pano__hint {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  top: calc(76px + 18px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 9px;
  border-radius: 999px;
  background: rgba(15, 36, 82, 0.72);
  color: var(--on-dark);
  font-size: var(--step--1);
  font-weight: 600;
  pointer-events: none;
  transition: opacity 0.6s var(--ease-out);
}

.pano__hint svg {
  width: 20px;
  height: 20px;
}

.pano.has-dragged .pano__hint {
  opacity: 0;
}

.pano__tag {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  bottom: calc(var(--strip-h, 88px) + 14px);
  padding: 4px 9px;
  border-radius: 2px;
  background: var(--navy);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--on-dark);
  pointer-events: none;
}

.pano__strip {
  position: absolute;
  z-index: 3;
  inset: auto 0 0;
  background: var(--navy);
  color: var(--on-dark);
  border-top: 1px solid var(--rule-dark);
}

.pano__strip-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 88px;
  overflow-x: auto;
  scrollbar-width: none;
}

.pano__strip-inner::-webkit-scrollbar {
  display: none;
}

.pano__strip-label {
  flex: none;
  font-weight: 700;
  font-stretch: 110%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sky);
}

.pano__strip a {
  flex: none;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--on-dark);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid transparent;
}

.pano__strip a:hover {
  border-bottom-color: var(--flag);
}

.pano__strip a small {
  color: var(--on-dark-2);
  font-size: var(--step--1);
}

@media (max-width: 720px) {
  .pano__copy {
    padding-top: 108px;
    /* Room for the "Sleep om rond te kijken" label and the strip at the bottom. */
    padding-bottom: calc(var(--strip-h, 88px) + 76px);
  }

  /* Phones: "Bekijk wedstrijden" is in the menu; the two main buttons get the full width. */
  .pano__more {
    display: none;
  }

  .pano__actions .btn {
    flex: 1 1 100%;
  }

  .pano__hint {
    top: auto;
    bottom: calc(var(--strip-h, 88px) + 12px);
    right: 16px;
  }

  .pano__tag {
    display: none;
  }
}

/* ---------- sections ---------- */

.section {
  padding-block: clamp(72px, 11vw, 150px);
}

.section--navy {
  background: var(--navy);
  color: var(--on-dark);
}

.section--sky {
  background: var(--sky);
  color: var(--navy);
}

.section--sky-2 {
  background: var(--sky-2);
}

.section__head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(36px, 6vw, 72px);
  max-width: 60ch;
}

/* The horizon rule with degree ticks, used as the page's ruling line. */
.horizon {
  position: relative;
  height: 28px;
  color: currentColor;
  --tick: currentColor;
}

.horizon::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.horizon::after {
  content: "";
  position: absolute;
  inset: calc(50% - 5px) 0 auto;
  height: 11px;
  background:
    repeating-linear-gradient(to right, currentColor 0 1px, transparent 1px calc(100% / 36)),
    repeating-linear-gradient(to right, currentColor 0 1px, transparent 1px calc(100% / 72));
  background-size: 100% 11px, 100% 5px;
  background-position: 0 0, 0 3px;
  background-repeat: no-repeat;
  opacity: 0.4;
}

/* ---------- little planet: every jump ---------- */

.planet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

.planet__stage {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 620px);
  justify-self: center;
}

.planet__img {
  position: absolute;
  inset: 11%;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  animation: planet-turn 120s linear infinite;
}

.planet__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.planet__ring .track {
  fill: none;
  stroke: var(--rule-dark);
  stroke-width: 1;
}

.planet__ring .cam circle {
  fill: var(--navy);
  stroke: var(--sky);
  stroke-width: 1.2;
  transition: fill 0.5s var(--ease-out), stroke 0.5s var(--ease-out);
}

.planet__ring .cam text {
  fill: var(--on-dark-2);
  font-size: 10px;
  font-weight: 650;
  font-stretch: 85%;
  text-anchor: middle;
  dominant-baseline: central;
  transition: fill 0.5s var(--ease-out);
}

.planet__ring .cam.is-lit circle {
  fill: var(--flag);
  stroke: var(--flag);
}

.planet__ring .cam.is-lit text {
  fill: var(--navy);
}

.planet__ring .rider {
  fill: var(--white);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
}

.planet__readout {
  position: absolute;
  left: 50%;
  bottom: -44px;
  transform: translateX(-50%);
  white-space: nowrap;
  color: var(--on-dark-2);
}

.planet__readout strong {
  color: var(--on-dark);
}

.planet__copy .title {
  max-width: 13ch;
}

.planet__copy .lead {
  margin-top: 24px;
  color: var(--on-dark-2);
}

.facts {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule-dark);
}

.facts li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-dark);
  align-items: baseline;
}

.facts b {
  font-size: var(--step-1);
  font-weight: 780;
  font-stretch: 118%;
  color: var(--sky);
}

@keyframes planet-turn {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .planet {
    grid-template-columns: 1fr;
  }
}

/* ---------- the round: how it works, laid along 360 degrees ---------- */

.round {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.round::before {
  content: "";
  position: absolute;
  inset: 22px 0 auto;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
}

.round li {
  position: relative;
  padding: 0 clamp(12px, 2vw, 28px) 0 0;
}

.round .degree {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 8px;
  padding-top: 16px;
  color: var(--ink-2);
}

.round .degree::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--mist);
  box-sizing: content-box;
  margin: -8px 0 0 -3px;
}

.round__close {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
  color: var(--ink-2);
}

.round h3 {
  margin-top: 18px;
  font-size: var(--step-1);
  font-weight: 760;
  font-stretch: 112%;
  line-height: 1.12;
}

.round p {
  margin-top: 10px;
  color: var(--ink-2);
  max-width: 30ch;
}

@media (max-width: 820px) {
  .round {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-left: 28px;
  }

  .round::before {
    inset: 0 auto 0 6px;
    width: 1px;
    height: auto;
  }

  .round li {
    padding: 0;
  }

  .round .degree {
    margin-left: -30px;
    padding-top: 0;
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: center;
    gap: 12px;
  }

  .round .degree::before {
    margin: 0;
  }

  .round__close {
    justify-content: flex-start;
  }

  .round h3 {
    margin-top: 4px;
  }
}

/* ---------- prices ---------- */

.prices {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-top: 1px solid var(--rule-light);
}

.price {
  padding: clamp(28px, 4vw, 48px) clamp(0px, 3vw, 40px) clamp(28px, 4vw, 48px) 0;
  display: grid;
  gap: 12px;
  align-content: start;
}

.price + .price {
  border-left: 1px solid var(--rule-light);
  padding-left: clamp(20px, 3vw, 40px);
}

.price__amount {
  font-size: var(--step-4);
  font-weight: 820;
  font-stretch: 125%;
  letter-spacing: -0.03em;
  line-height: 0.9;
}

.price__amount small {
  font-size: var(--step-1);
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: 0;
}

.price__name {
  font-size: var(--step-1);
  font-weight: 740;
}

.price__example {
  color: var(--ink-2);
}

.price-notes {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  color: var(--ink-2);
}

.price-notes span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.price-notes svg {
  width: 18px;
  height: 18px;
  color: var(--navy);
}

@media (max-width: 640px) {
  .prices {
    grid-template-columns: 1fr;
  }

  .price + .price {
    border-left: 0;
    border-top: 1px solid var(--rule-light);
    padding-left: 0;
  }
}

/* ---------- competitions list ---------- */

.events {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule-light);
}

.on-dark .events {
  border-top-color: var(--rule-dark);
}

.event-row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) auto auto;
  gap: 12px 28px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule-light);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.on-dark .event-row {
  border-bottom-color: var(--rule-dark);
}

a.event-row:hover {
  background: rgba(169, 191, 221, 0.18);
  box-shadow: -14px 0 0 rgba(169, 191, 221, 0.18), 14px 0 0 rgba(169, 191, 221, 0.18);
  text-decoration: none;
}

.event-row__date {
  font-weight: 700;
  font-stretch: 90%;
  line-height: 1.15;
}

.event-row__date small {
  display: block;
  font-weight: 500;
  color: var(--ink-2);
}

.on-dark .event-row__date small {
  color: var(--on-dark-2);
}

.event-row__name {
  font-size: var(--step-1);
  font-weight: 740;
  font-stretch: 108%;
  line-height: 1.15;
}

.event-row__name small {
  display: block;
  font-size: var(--step--1);
  font-weight: 500;
  font-stretch: 100%;
  margin-top: 4px;
  color: var(--ink-2);
}

.on-dark .event-row__name small {
  color: var(--on-dark-2);
}

.flags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.flag-chip {
  --c: var(--sky);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px 4px 7px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 650;
  background: rgba(15, 36, 82, 0.06);
}

.on-dark .flag-chip {
  background: rgba(169, 191, 221, 0.12);
}

.flag-chip::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(15, 36, 82, 0.2);
}

.status-pill {
  --pill: var(--open);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 700;
  white-space: nowrap;
  color: var(--pill);
  background: color-mix(in srgb, var(--pill) 12%, transparent);
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pill);
}

.status-pill.is-soon {
  --pill: var(--soon);
}

.status-pill.is-closed {
  --pill: var(--error);
}

@media (max-width: 760px) {
  .event-row {
    grid-template-columns: 1fr auto;
  }

  .event-row__date {
    grid-column: 1 / -1;
  }

  .event-row .flags {
    grid-column: 1;
  }
}

.more-link {
  margin-top: 28px;
}

.empty {
  padding: 40px 0;
  color: var(--ink-2);
  border-top: 1px solid var(--rule-light);
}

/* ---------- closing band ---------- */

.closer {
  position: relative;
  overflow: hidden;
  background: var(--navy) url("../placeholders/view-trees.de1545dcac6e.jpg") 60% 50% / cover;
  color: var(--navy);
}

.closer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(223, 231, 241, 0.92) 30%, rgba(223, 231, 241, 0.1) 75%);
}

.closer .wrap {
  position: relative;
  z-index: 1;
  padding-block: clamp(80px, 12vw, 160px);
  display: grid;
  gap: 24px;
  justify-items: start;
}

.closer .title {
  max-width: 14ch;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--navy);
  color: var(--on-dark);
  padding-block: 64px 36px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.site-footer img {
  width: 110px;
  height: auto;
}

.site-footer p {
  color: var(--on-dark-2);
  margin-top: 16px;
  max-width: 34ch;
}

.site-footer h2 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--sky);
  margin-bottom: 14px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: var(--on-dark);
}

.site-footer__legal {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: var(--step--1);
  color: var(--on-dark-2);
}

@media (max-width: 720px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__grid > :first-child {
    grid-column: 1 / -1;
  }
}

/* ---------- page heads (inner pages) ---------- */

.page-head {
  background: var(--navy);
  color: var(--on-dark);
  padding-block: clamp(40px, 7vw, 88px) 0;
  overflow: hidden;
}

.page-head .title {
  max-width: 18ch;
}

.page-head__meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  color: var(--on-dark-2);
}

.page-head .horizon {
  margin-top: clamp(36px, 6vw, 64px);
  color: var(--sky);
}

/* ---------- forms (Operate) ---------- */

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding-block: clamp(36px, 6vw, 72px) clamp(64px, 9vw, 120px);
}

@media (max-width: 960px) {
  .form-layout {
    grid-template-columns: 1fr;
  }
}

.fieldset {
  margin: 0;
  padding: 0 0 40px;
  border: 0;
  min-width: 0;
}

.fieldset + .fieldset {
  padding-top: 36px;
  box-shadow: 0 -1px 0 var(--rule-light);
}

.fieldset legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 14px;
  font-size: var(--step-2);
  font-weight: 760;
  font-stretch: 112%;
  line-height: 1.1;
}

.fieldset legend + * {
  clear: both;
}

.fieldset__intro {
  padding-top: 8px;
  color: var(--ink-2);
  max-width: 56ch;
}

.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 20px;
  margin-top: 24px;
}

.fields > .span-2 {
  grid-column: 1 / -1;
}

@media (max-width: 560px) {
  .fields {
    grid-template-columns: 1fr;
  }
}

.field {
  display: grid;
  gap: 7px;
  align-content: start;
}

.field label,
.field .label {
  font-weight: 660;
  font-size: 0.95rem;
}

.field .help {
  font-size: var(--step--1);
  color: var(--ink-2);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="time"],
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(15, 36, 82, 0.28);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6b7489;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(15, 36, 82, 0.5);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(169, 191, 221, 0.8);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--error);
}

.field--big input {
  font-size: var(--step-2);
  font-weight: 760;
  font-stretch: 110%;
  min-height: 64px;
  letter-spacing: 0.01em;
}

.errorlist {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--error);
  font-size: var(--step--1);
  font-weight: 600;
}

.form-errors {
  margin-bottom: 28px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: #fbe9e7;
  color: #7a1c14;
}

.form-errors strong {
  display: block;
  margin-bottom: 4px;
}

/* Course picker: flag-coloured choices. */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 10px;
  margin-top: 20px;
}

.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid rgba(15, 36, 82, 0.2);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice:hover {
  border-color: rgba(15, 36, 82, 0.45);
}

.choice:has(input:checked) {
  border-color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--navy);
  background: #eef3f8;
}

.choice:has(input:focus-visible) {
  outline: 2px solid var(--flag);
  outline-offset: 3px;
}

.choice__flag {
  flex: none;
  width: 14px;
  height: 20px;
  background: var(--c, var(--sky));
  clip-path: polygon(0 0, 100% 30%, 0 60%);
}

.choice__text {
  display: grid;
  gap: 2px;
  min-width: 0; /* long course/level names wrap instead of pushing the check out of the card */
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.choice__text strong {
  font-weight: 720;
}

.choice__text small {
  color: var(--ink-2);
}

.choice__check {
  margin-left: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(15, 36, 82, 0.3);
  display: grid;
  place-items: center;
  flex: none;
}

.choice__check svg {
  width: 14px;
  height: 14px;
  opacity: 0;
  color: var(--white);
}

.choice:has(input:checked) .choice__check {
  background: var(--navy);
  border-color: var(--navy);
}

.choice:has(input:checked) .choice__check svg {
  opacity: 1;
}

/* Scope: two large options with their price. */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 560px) {
  .scope-grid {
    grid-template-columns: 1fr;
  }
}

.scope {
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 20px;
}

.scope .choice__check {
  position: absolute;
  right: 16px;
  top: 16px;
}

.scope__price {
  font-size: var(--step-2);
  font-weight: 800;
  font-stretch: 118%;
  line-height: 1;
}

.scope__price small {
  font-size: 0.5em;
  font-weight: 600;
  font-stretch: 100%;
}

/* Obstacle picker: numbered boards along a horizon. */
.picker {
  margin-top: 22px;
}

.picker[hidden] {
  display: none;
}

.picker__course[hidden] {
  display: none;
}

.picker__row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 6px;
}

.board {
  position: relative;
  cursor: pointer;
}

.board input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.board span {
  display: grid;
  place-items: center;
  min-width: 52px;
  min-height: 52px;
  padding: 6px 8px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(15, 36, 82, 0.22);
  font-weight: 780;
  font-stretch: 92%;
  line-height: 1;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.board small {
  display: block;
  font-weight: 500;
  font-size: 0.66rem;
  margin-top: 4px;
  max-width: 8ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-2);
}

.board:hover span {
  border-color: var(--navy);
}

.board input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--on-dark);
  transform: translateY(-2px);
}

.board input:checked + span small {
  color: var(--sky);
}

.board input:focus-visible + span {
  outline: 2px solid var(--flag);
  outline-offset: 3px;
}

.picker__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  font-size: var(--step--1);
}

.linkish {
  font: inherit;
  font-weight: 650;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

/* Toggle row (checkbox) */
.toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  min-height: 52px;
  cursor: pointer;
  font-weight: 650;
}

.toggle input {
  appearance: none;
  flex: none;
  width: 48px;
  height: 28px;
  margin: 0;
  border-radius: 999px;
  background: rgba(15, 36, 82, 0.2);
  position: relative;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out);
}

.toggle input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(15, 36, 82, 0.35);
  transition: transform 0.3s var(--ease-out);
}

.toggle input:checked {
  background: var(--navy);
}

.toggle input:checked::after {
  transform: translateX(20px);
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
}

.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--navy);
}

/* Stoppage rows */
.stops[hidden] {
  display: none;
}

.stop {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  margin-top: 14px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--rule-light);
  position: relative;
}

.stop .span-all {
  grid-column: 1 / -1;
}

.stop__remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--ink-2);
  border-radius: var(--radius);
}

.stop__remove:hover {
  background: var(--mist);
  color: var(--ink);
}

.stop__remove svg {
  width: 18px;
  height: 18px;
}

.stop.is-removed {
  display: none;
}

@media (max-width: 640px) {
  .stop {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }
}

.add-stop {
  margin-top: 14px;
}

/* Honeypot */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Sticky summary */
.summary {
  position: sticky;
  top: 24px;
  background: var(--navy);
  color: var(--on-dark);
  border-radius: var(--radius);
  overflow: hidden;
}

.summary__img {
  aspect-ratio: 16 / 9;
  background: var(--navy-2) url("../placeholders/view-fence.5d0be2da16db.jpg") center / cover;
}

.summary__body {
  padding: 22px 22px 24px;
  display: grid;
  gap: 16px;
}

.summary dl {
  margin: 0;
  display: grid;
  gap: 10px;
}

.summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule-dark);
}

.summary dt {
  color: var(--on-dark-2);
}

.summary dd {
  margin: 0;
  font-weight: 650;
  text-align: right;
}

.summary__price {
  display: grid;
  gap: 2px;
}

.summary__price strong.is-empty {
  font-size: var(--step-0);
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--on-dark-2);
}

.summary__price strong {
  font-size: var(--step-3);
  font-weight: 820;
  font-stretch: 122%;
  line-height: 1;
  letter-spacing: -0.02em;
}

.summary__note {
  font-size: var(--step--1);
  color: var(--on-dark-2);
}

@media (max-width: 960px) {
  .summary {
    position: static;
    order: -1;
  }

  .summary__img {
    display: none;
  }
}

/* ---------- status page ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(28px, 5vw, 48px) 0 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rule-dark);
}

.steps li {
  position: relative;
  padding: 26px 12px 26px 0;
  color: var(--on-dark-2);
  font-weight: 600;
  font-size: var(--step--1);
}

.steps li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: inset 0 0 0 1px var(--sky);
}

.steps li.is-done {
  color: var(--on-dark);
}

.steps li.is-done::before {
  background: var(--sky);
}

.steps li.is-current {
  color: var(--on-dark);
}

.steps li.is-current::before {
  background: var(--white);
  box-shadow: none;
}

.status-body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(40px, 6vw, 80px) clamp(64px, 9vw, 120px);
  align-items: start;
}

@media (max-width: 900px) {
  .status-body {
    grid-template-columns: 1fr;
  }
}

.panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 36px);
  box-shadow: 0 1px 2px rgba(15, 36, 82, 0.06), 0 18px 40px -28px rgba(15, 36, 82, 0.35);
}

.panel > * + * {
  margin-top: 18px;
}

.quote-amount {
  font-size: var(--step-4);
  font-weight: 820;
  font-stretch: 125%;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.obstacle-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.obstacle-list li {
  min-width: 40px;
  padding: 6px 8px;
  text-align: center;
  border-radius: 2px;
  background: var(--mist);
  font-weight: 700;
  font-stretch: 92%;
  line-height: 1;
}

.obstacle-list li.is-missing {
  background: transparent;
  color: var(--ink-2);
  text-decoration: line-through;
  box-shadow: inset 0 0 0 1px var(--rule-light);
}

.obstacle-list li.is-skipped {
  background: transparent;
  color: var(--ink-2);
  opacity: 0.5;
}

.details {
  margin: 0;
  display: grid;
  gap: 0;
}

.details div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-light);
}

.details dt {
  color: var(--ink-2);
}

.details dd {
  margin: 0;
  font-weight: 600;
}

.messages {
  list-style: none;
  margin: 0;
  padding: 0;
}

.messages li {
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--sky-2);
  color: var(--navy);
  font-weight: 600;
  margin-top: 12px;
}

.messages li.error {
  background: #fbe9e7;
  color: #7a1c14;
}

/* ---------- motion safety ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- example video (home #voorbeeld) ---------- */

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 1040px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 24px 60px -30px rgba(15, 36, 82, 0.55);
}

.video__play,
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video__play {
  padding: 0;
  background: none;
  cursor: pointer;
}

.video__play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.3s var(--ease-out);
}

.video__play:hover img,
.video__play:focus-visible img {
  transform: scale(1.02);
  filter: brightness(0.92);
}

.video__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(64px, 9vw, 92px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--flag);
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 30px -8px rgba(255, 90, 54, 0.8);
  transition: transform 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}

.video__icon::after {
  content: "";
  position: absolute;
  left: 54%;
  top: 50%;
  border-style: solid;
  border-width: 0.9em 0 0.9em 1.5em;
  border-color: transparent transparent transparent var(--navy);
  transform: translate(-50%, -50%);
  font-size: clamp(12px, 1.4vw, 15px);
}

.video__play:hover .video__icon,
.video__play:focus-visible .video__icon {
  background: var(--flag-hover);
  transform: translate(-50%, -50%) scale(1.06);
}

.video__note {
  margin-top: 12px;
  font-size: var(--step--1);
}

.video__cta {
  margin-top: 24px;
}

/* ---------- price build-up on the status page ---------- */

.breakdown {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  font-size: var(--step--1);
}

.breakdown th,
.breakdown td {
  padding: 7px 0;
  border-bottom: 1px solid var(--rule-light);
  vertical-align: top;
}

.breakdown th {
  font-weight: 500;
  text-align: left;
  padding-right: 16px;
}

.breakdown td {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.breakdown__free th,
.breakdown__free td {
  color: var(--ink-2);
}

.breakdown__total th,
.breakdown__total td {
  font-weight: 760;
  border-bottom: 0;
  border-top: 2px solid var(--navy);
}

/* ---------- agenda (/agenda/ and the home page block) ---------- */

.agenda {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule-light);
}

.agenda__item {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-light);
}

.agenda__date {
  flex: none;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--on-dark);
  line-height: 1;
}

.agenda__day {
  font-size: 1.6rem;
  font-weight: 800;
  font-stretch: 118%;
}

.agenda__month {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky);
}

.agenda__text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.agenda__text strong {
  font-size: var(--step-1);
  font-weight: 740;
  line-height: 1.2;
}

.agenda__text span {
  color: var(--ink-2);
}
