/* Terrapin wachtlijst. Tokens en basis uit website/src/styles/terrapin.css (stijl F, terrapin-design/DESIGN.md). */
@font-face {
  font-family: "Funnel Display";
  src: url("/fonts/FunnelDisplay.ttf") format("truetype");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Albert Sans";
  src: url("/fonts/AlbertSans.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Hedvig Letters Serif";
  src: url("/fonts/HedvigLettersSerif.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  --bg: #FFFFFF;
  --bg2: #F3F4F1;
  --tint: #EEF1E4;
  --ink: #1A2E2A;
  --text2: #3F514C;
  --text3: #5E6F69;
  --green: #2A5C38;
  --red: #A8321E;
  --red-soft: #F2DCD5;
  --soft: #D9DBC6;
  --hair: rgba(26, 46, 42, 0.25);
  --hair-strong: rgba(26, 46, 42, 0.4);
  --mark: #BF5A33;
  /* Funnel Display for names and the wordmark, Albert Sans for the work,
     Hedvig upright for the secondary line (place, date, party). */
  --disp: "Funnel Display", system-ui, sans-serif;
  --ui: "Albert Sans", system-ui, sans-serif;
  --serif: "Hedvig Letters Serif", Georgia, serif;
  /* Type roles */
  --title-font: var(--disp); --title-wdth: 100%; --title-weight: 700; --title-case: none; --title-track: -0.02em;
  --head-font: var(--disp); --head-weight: 600; --serif-axes: normal;
  --meta-font: var(--serif); --meta-style: normal; --meta-wdth: 100%; --meta-weight: 400; --meta-adjust: none;
  --num-font: var(--ui); --num-wdth: 100%;
  --mark-font: var(--disp); --mark-style: normal; --mark-wdth: 100%; --mark-weight: 700;
  --mark-size: 27px; --mark-track: -0.01em; --mark-case: none; --mark-color: #1E2A25;
  --gutter: 48px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}
/* Numbers: pins, counts, days */
.pin-dot, .task .num, .row .open b, .agenda .day b, .pt .nr, .phead-open b, .tab .n {
  font-family: var(--num-font); font-stretch: var(--num-wdth);
}


* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.45 var(--ui);
  font-variant-numeric: lining-nums tabular-nums;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--soft); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
html { scrollbar-color: var(--hair-strong) transparent; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.it { font-family: var(--meta-font); font-style: var(--meta-style); font-stretch: var(--meta-wdth); font-size-adjust: var(--meta-adjust); font-weight: var(--meta-weight); }
.muted { color: var(--text2); }
.icon { width: 18px; height: 18px; flex: none; }

/* Contour band header */
.band {
  position: relative;
  overflow: hidden;
  background: var(--tint);
}
.band canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.band-inner { position: relative; padding: 24px var(--gutter) 0; max-width: 1440px; margin: 0 auto; }

.brandbar { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand svg { width: 36px; height: 36px; }
/* The dot on the i is the orange dot of the mark, the point on the map. */
.wordmark .i { position: relative; display: inline-block; }
.wordmark .i::after { content: ""; position: absolute; left: 50%; bottom: 0.6em; width: 0.19em; height: 0.19em; margin-left: -0.095em; border-radius: 50%; background: var(--mark); }
.wordmark {
  font-family: var(--mark-font); font-style: var(--mark-style); font-stretch: var(--mark-wdth); font-weight: var(--mark-weight);
  font-size: var(--mark-size); letter-spacing: var(--mark-track); text-transform: var(--mark-case);
  line-height: 1; color: var(--mark-color); font-variation-settings: var(--serif-axes);
}
.sync {
  display: inline-flex; align-items: center; gap: 8px;
  margin-left: 28px; font-size: 17px; color: var(--text2);
}
.sync-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.sync[data-waiting="true"] .sync-dot { background: var(--red); }
.bureau {
  margin-left: auto;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--hair-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--meta-font); font-style: var(--meta-style); font-stretch: var(--meta-wdth); font-size-adjust: var(--meta-adjust); font-size: 15px; color: var(--text2);
  background: color-mix(in srgb, var(--bg) 60%, transparent);
}

.title {
  margin: 0;
  font-family: var(--title-font);
  font-stretch: var(--title-wdth);
  font-weight: var(--title-weight);
  font-size: 46px;
  line-height: 1;
  letter-spacing: var(--title-track);
  text-transform: var(--title-case);
  font-variation-settings: var(--serif-axes);
}
.subtitle { margin: 10px 0 0; font-size: 18px; color: var(--text2); }

/* Wachtlijst */
.wl-band { height: 420px; background: var(--bg); }
.wl-band canvas { -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%); mask-image: linear-gradient(to bottom, #000 60%, transparent 100%); }
.band-inner { text-shadow: 0 0 2px var(--bg), 0 0 4px var(--bg), 0 0 8px var(--bg), 0 0 12px var(--bg); }
.wl-hero { position: relative; max-width: 1040px; margin: 0 auto; padding: 0 var(--gutter); }
.wl-hero-in { margin-top: -228px; max-width: 720px; text-shadow: 0 0 2px var(--bg), 0 0 4px var(--bg), 0 0 8px var(--bg), 0 0 12px var(--bg); }
.kicker { margin: 0 0 14px; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text2); }
.wl .title { font-size: clamp(38px, 6vw, 60px); line-height: 1.02; }
.wl .subtitle { font-size: 19px; line-height: 1.5; max-width: 600px; margin-top: 18px; }
.wl-grid { max-width: 1040px; margin: 56px auto 72px; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 400px; gap: 72px; align-items: start; }
.wl-points { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.wl-points li { display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; padding: 22px 0; border-bottom: 1px solid var(--hair); }
.wl-points .nr { font: 300 30px/1 var(--ui); color: var(--ink); padding-top: 2px; }
.wl-points h2 { margin: 0; font: 600 22px/1.2 var(--disp); }
.wl-points p { margin: 6px 0 0; font-size: 17px; line-height: 1.45; color: var(--text2); }
.wl-form { border-top: 2px solid var(--ink); padding-top: 22px; }
.wl-form h2 { margin: 0; font: 600 22px/1.2 var(--disp); }
.wl-form .lead { margin: 8px 0 24px; font-size: 16px; line-height: 1.5; color: var(--text2); }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text2); margin-bottom: 6px; }
.field span i { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--text3); }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0 14px; font: 400 17px var(--ui); color: var(--ink);
  background: var(--bg); border: 1px solid var(--hair-strong); border-radius: 2px; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin: 6px 0 22px; font-size: 15px; line-height: 1.45; color: var(--text2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-primary { width: 100%; min-height: 48px; padding: 0 22px; border: 0; border-radius: 2px; background: var(--ink); color: #fff; font: 500 14px var(--ui); letter-spacing: 0.06em; text-transform: uppercase; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--green); }
.btn-primary[disabled] { opacity: 0.6; cursor: progress; }
.form-msg { margin: 14px 0 0; font-size: 16px; min-height: 1.45em; }
.form-msg.err { color: var(--red); }
.form-msg.ok { color: var(--ink); }
.wl-done { border-top: 2px solid var(--ink); padding-top: 22px; }
.wl-done[hidden], .wl-form[hidden] { display: none; }
.wl-done h2 { margin: 0; font: 600 22px/1.2 var(--disp); }
.wl-done p { margin: 8px 0 0; font-size: 17px; color: var(--text2); }
.wl-foot { width: min(calc(100% - 2 * var(--gutter)), calc(1040px - 2 * var(--gutter))); margin: 0 auto; padding: 22px 0 40px; border-top: 1px solid var(--hair); display: flex; gap: 24px; font-size: 14px; color: var(--text3); }
.wl-foot a { text-decoration: underline; text-underline-offset: 3px; }
.prose { text-shadow: 0 0 2px var(--bg), 0 0 4px var(--bg), 0 0 8px var(--bg), 0 0 12px var(--bg); max-width: 680px; margin: -150px auto 72px; padding: 0 var(--gutter); position: relative; }
.prose h2 { margin: 32px 0 6px; font: 600 22px/1.2 var(--disp); }
.prose p { margin: 0 0 10px; font-size: 17px; line-height: 1.55; color: var(--text2); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .back { display: inline-block; margin-top: 24px; color: var(--ink); }
.small-band { height: 300px; }
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .wl-band { height: 340px; }
  .wl-hero-in { margin-top: -190px; }
  .wl-grid { grid-template-columns: 1fr; gap: 48px; margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0ms !important; } }
