/* ── Self-hosted webfonts ────────────────────────────────────────────
   Served from kurumi.nl so no request reaches a third party, no
   visitor IP is disclosed and no consent question arises. Latin and
   latin-ext subsets only, which covers Dutch and English. Inter ships
   as a variable font, hence the single file for the 100-900 range. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-var-latin.260c81a4759b.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-var-latin-ext.1ad231aac0a8.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Zen Kaku Gothic New';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/zen-kaku-gothic-new-500-latin.2bf423987772.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Zen Kaku Gothic New';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/zen-kaku-gothic-new-700-latin.0f3fa14fae77.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Zen Kaku Gothic New';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/zen-kaku-gothic-new-900-latin.a7dcc8a3560d.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Zen Kaku Gothic New';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/zen-kaku-gothic-new-500-latin-ext.01eae33e2a19.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Zen Kaku Gothic New';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/zen-kaku-gothic-new-700-latin-ext.bbe3b37d359b.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Zen Kaku Gothic New';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/zen-kaku-gothic-new-900-latin-ext.2c47940a2e8e.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* ═══════════════════════════════════════════════════════════════════════
   Kurumi — shared design system
   Palette: dark graphite ink + warm paper + a single walnut-gold accent
   (kurumi = walnut). Type: Zen Kaku Gothic New for display, Inter for body.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --c-ink: #15181d;            /* dark section / page background */
  --c-ink-2: #1c2027;          /* raised surfaces on dark */
  --c-paper: #f2efe8;          /* warm light section background */
  --c-accent: #d2a24c;         /* walnut gold */
  --c-accent2: #b8862f;        /* deep gold, hover / on light bg */
  --c-line: rgba(255, 255, 255, 0.08);
  --c-line-dark: rgba(21, 24, 29, 0.12);
  --t-hi: #ffffff;
  --t-lo: rgba(255, 255, 255, 0.72);
  --t-dim: rgba(255, 255, 255, 0.50);
  --t-ink: #17181a;
  --t-ink-lo: #43454a;
  --nav-h: 72px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Zen Kaku Gothic New', 'Inter', system-ui, sans-serif;
  --transition: 0.2s ease;
  --radius: 6px;
}

/* ── Reset ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  background-color: var(--c-ink);
  color: var(--t-lo);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ol, ul { margin: 0; }
a { text-decoration: none; color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--t-hi);
  line-height: 1.2;
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ── Section scaffolding ─────────────────────────────────────────────── */
.section { padding: 5.5rem 2rem; }

.section-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.section-dark { background-color: var(--c-ink); }
.section-raised { background-color: var(--c-ink-2); }

.section-paper {
  background-color: var(--c-paper);
  color: var(--t-ink-lo);
}

.section-paper h2, .section-paper h3 { color: var(--t-ink); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  background-color: var(--c-accent);
  flex-shrink: 0;
}

.section-paper .eyebrow { color: var(--c-accent2); }
.section-paper .eyebrow::before { background-color: var(--c-accent2); }

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 2.75rem;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn-accent {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background-color: var(--c-accent);
  color: #171205;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn-accent:hover { background-color: #e0b463; }
.btn-accent:active { transform: translateY(1px); }

/* ── Navigation ──────────────────────────────────────────────────────── */
nav.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 1000;
  background-color: rgba(21, 24, 29, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  border-bottom: 1px solid var(--c-line);
}

a.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--t-hi);
  letter-spacing: 0.01em;
}


.nav-panel {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Hidden above the breakpoint: the links sit in the bar and there is nothing
   to toggle. */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition);
}

.nav-toggle:hover { border-color: var(--c-accent); }

/* Three bars drawn from one element: the middle is the element itself, the
   outer two are its pseudo-elements. */
.nav-toggle-icon { position: relative; }

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--t-hi);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
}

.nav-toggle-icon::before { transform: translateY(-6px); }
.nav-toggle-icon::after { transform: translateY(6px); }

.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background-color: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { transform: rotate(-45deg); }

ol.tab-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
}

ol.tab-menu li a {
  display: block;
  padding: 0.4rem 0.85rem;
  color: var(--t-lo);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

ol.tab-menu li a:hover {
  color: var(--t-hi);
  background: rgba(255, 255, 255, 0.08);
}

ol.tab-menu li.active a { color: var(--c-accent); }

a.lang-switch {
  margin-left: 1rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--t-dim);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: color var(--transition), border-color var(--transition);
}

a.lang-switch:hover {
  color: var(--c-accent);
  border-color: var(--c-accent);
}

/* ── Footer ──────────────────────────────────────────────────────────── */
footer.footer {
  width: 100%;
  background-color: #101318;
  border-top: 1px solid var(--c-line);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

div.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

div.footer-brand .footer-company-name {
  margin-left: calc(40px + 0.65rem);
}

div.footer-company-name p {
  margin: 0;
  line-height: 1.3;
  color: var(--t-dim);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

/* Trade name, address, KvK and VAT number: required on a Dutch commercial
   site by art. 3:15d BW, so it sits in the footer on every page. */
div.footer-legal-details {
  margin-left: calc(40px + 0.65rem);
  margin-top: 0.75rem;
}

div.footer-legal-details p {
  margin: 0;
  line-height: 1.5;
  color: var(--t-dim);
  font-size: 0.75rem;
}

div.footer-legal-details a {
  color: var(--t-dim);
  transition: color var(--transition);
}

div.footer-legal-details a:hover { color: var(--c-accent); }

a.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

a.footer-linkedin svg { width: 14px; height: 14px; flex-shrink: 0; }

div.footer-menu-left { display: flex; gap: 2.5rem; }

ol.footer-menu, ol.flags, ol.footer-extra {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

ol.footer-menu li a, ol.flags li a, ol.footer-extra li a {
  color: var(--t-dim);
  font-size: 0.875rem;
  transition: color var(--transition);
}

ol.footer-menu li a:hover, ol.flags li a:hover, ol.footer-extra li a:hover {
  color: var(--c-accent);
}

ol.footer-menu li.active a { color: var(--c-accent); }

/* ── Contact block (home + contact page) ─────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  max-width: 1140px;
  margin: 0 auto;
  align-items: start;
}

.contact-info > p { margin-bottom: 0.4rem; }

.contact-lines {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--t-hi);
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-line svg {
  width: 18px;
  height: 18px;
  stroke: var(--c-accent);
  flex-shrink: 0;
}

/* Static, self-hosted map. An <a> rather than a live map canvas: it opens
   OpenStreetMap in a new tab instead of pulling a third-party script in. */
.mapbox {
  position: relative;
  display: block;
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #2a3040;
  border: 1px solid var(--c-line);
}

.mapbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.mapbox:hover img { transform: scale(1.03); }

/* ODbL requires attribution wherever the tiles are shown. */
.map-credit {
  position: absolute;
  right: 6px;
  bottom: 5px;
  font-size: 0.62rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.55);
  background-color: rgba(21, 24, 29, 0.65);
  padding: 2px 6px;
  border-radius: 3px;
}

.contact-form-panel {
  background-color: var(--c-ink-2);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1.75rem;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ── Forms (contact form) ────────────────────────────────────────────── */

/* Visible, permanent labels. The fields used to carry a placeholder and
   nothing else, which vanishes the moment anyone types and left the inputs
   with no accessible name. */
.form-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--t-lo);
}

.form-privacy-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--t-dim);
}

.form-privacy-note a {
  color: var(--t-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}

.form-privacy-note a:hover { color: var(--c-accent); }

.form-control {
  display: block;
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--t-hi);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control::placeholder { color: var(--t-dim); }

.form-control:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(210, 162, 76, 0.22);
}

textarea.form-control {
  resize: none;
  overflow: auto;
  height: 10em;
}

/* Honeypot. Moved off-screen rather than display:none, because some bots skip
   fields that are not rendered at all. Screen readers skip it via aria-hidden
   on the wrapper and tabindex="-1" on the input. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.mb-3 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.w-100 { width: 100%; }
.list-unstyled { list-style: none; margin: 0; padding: 0; }
.text-danger { color: #e05d5d; }
.small { font-size: 0.85rem; }

div.execution_reply {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
}

div.execution_reply.is-success { background-color: rgba(48, 158, 88, 0.9); }
div.execution_reply.is-error { background-color: rgba(190, 54, 54, 0.9); }

div.execution_reply p {
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
  color: #fff;
}

/* ── Scrollbar ───────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #1a1f24; }
::-webkit-scrollbar-thumb { background: #444; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-accent); }

/* ── Responsive nav/footer ───────────────────────────────────────────── */
@media (max-width: 640px) {
  nav.menu { padding: 0 0.75rem; }
  .brand-logo { width: 30px; height: 30px; }
  .brand-name { font-size: 1.05rem; }
  a.brand { gap: 0.45rem; flex-shrink: 0; }

  .nav-toggle { display: flex; }

  /* Full-width drawer under the bar. Squeezing the links into the bar is what
     pushed the language switch off a 320px screen. */
  .nav-panel {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0.75rem 1rem;
    background-color: rgba(21, 24, 29, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--c-line);
  }

  .nav-panel.is-open { display: flex; }

  ol.tab-menu { flex-direction: column; gap: 0; }

  ol.tab-menu li a {
    padding: 0.75rem 0.5rem;
    font-size: 1rem;
    border-radius: 0;
    border-bottom: 1px solid var(--c-line);
  }

  a.lang-switch {
    margin: 0.9rem 0 0;
    align-self: flex-start;
    padding: 0.45rem 0.9rem;
  }

  footer.footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.25rem;
  }

  .section { padding: 3.5rem 1.25rem; }
}
