@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/sora-var-latin.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 Tight';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-tight-var-latin.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-400-latin.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-500-latin.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: 'Sora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/sora-var-latin-ext.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: 'Inter Tight';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-tight-var-latin-ext.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-400-latin-ext.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-500-latin-ext.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;
}
/* ---------------------------------------------------------------
   Koppes Reijnen Holding B.V. / koppesreijnen.nl
   --------------------------------------------------------------- */

:root {
  --accent: oklch(0.55 0.15 250);
  --accent-ink: oklch(0.48 0.15 250);
  --accent-ink-hover: oklch(0.38 0.15 250);
  --accent-wash: oklch(0.9 0.05 250);
  --bg: #f7f8fa;
  --surface: #fff;
  --line: #e3e6eb;
  --grid-line: #e9ecf1;
  --ink: #16181d;
  --ink-soft: #4a4f59;
  --ink-mute: #8a8f99;
  --sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --wrap: 1120px;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent-ink-hover); }
::selection { background: var(--accent-wash); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0 0 8px 0;
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: 13px;
}
.skip-link:focus { left: 0; }

.page { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

/* --- Navigation ------------------------------------------------ */

.nav {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(247, 248, 250, 0.9);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.nav__inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; }
.brand:hover { color: inherit; }
.brand__mark {
  width: 28px;
  height: 28px;
  flex: none;
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent-ink);
}
.brand__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.langswitch {
  display: flex;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px;
  background: var(--surface);
}
.langswitch a {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 4px;
  color: var(--ink-mute);
  transition: color 0.15s, background 0.15s;
}
.langswitch a:hover { color: var(--ink); }
.langswitch a[aria-current="true"] { background: var(--accent); color: #fff; }

/* --- Hero ------------------------------------------------------ */

.hero {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  border-bottom: 1px solid var(--line);
}
.hero__inner { padding-block: 120px 88px; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(42px, 6.5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.03;
  margin: 0 0 28px;
  max-width: 780px;
  text-wrap: balance;
}
.hero__lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 0 48px;
  text-wrap: pretty;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent-ink);
  margin-bottom: 24px;
}

/* --- Key facts -------------------------------------------------- */

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  max-width: 780px;
}
.facts__item { flex: 1 1 160px; background: var(--surface); padding: 20px 24px; }
.facts dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.facts dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
}

/* --- Sections -------------------------------------------------- */

.section { border-top: 1px solid var(--line); }
.section--alt { background: var(--surface); }
.section__inner {
  padding-block: 88px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
}
.section__index {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
}
.section h2 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.section__lead {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 560px;
}

/* --- Portfolio card -------------------------------------------- */

.venture {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 36px;
  max-width: 620px;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.venture:hover {
  color: inherit;
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(30, 50, 100, 0.08);
}
.venture__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.venture__mark {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 9px;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}
.venture__name {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 0;
}
.venture__url { display: block; font-family: var(--mono); font-size: 12px; color: var(--accent-ink); }
.venture p { margin: 0 0 20px; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 5px 12px;
}

/* --- Expertise ------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  padding: 28px;
}
.card__num { font-family: var(--mono); font-size: 12px; color: var(--accent-ink); margin-bottom: 14px; }
.card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 10px;
}
.card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

/* Card variant used in the network section: the whole card is a link, and it
   sits on the grey section background rather than the white one, so it takes
   the surface colour the way the portfolio card does. Scoped to
   .cards--links so the plain .card list in the expertise section, where the
   <li> itself is the card, keeps its normal block layout. */
.cards--links > li { display: flex; }
.card--link {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--surface);
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.card--link:hover {
  color: inherit;
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(30, 50, 100, 0.08);
}
.card__role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent-ink);
  margin: 0 0 14px;
}
/* margin-top:auto pins the URL to the bottom, so it lines up across cards of
   unequal text length. */
.card__url {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-ink);
}

/* --- Board / link buttons -------------------------------------- */

.prose { max-width: 620px; }
.prose p { margin: 0 0 24px; font-size: 16px; line-height: 1.65; color: var(--ink-soft); }

.linkrow { display: flex; flex-wrap: wrap; gap: 12px; }
.linkrow a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 10px 18px;
  font-family: var(--mono);
  font-size: 13px;
  transition: border-color 0.15s;
}
.linkrow a:hover { border-color: var(--accent); }
.linkrow--center { justify-content: center; }

.email {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* --- Footer ---------------------------------------------------- */

.foot { border-top: 1px solid var(--line); }
.foot__inner {
  padding-block: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
}
.foot__inner a { color: var(--ink-mute); }
.foot__inner a:hover { color: var(--accent-ink); }

/* --- Error page ------------------------------------------------ */

.notfound { flex: 1; display: grid; place-items: center; padding: 96px 32px; text-align: center; }
.notfound h1 {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.notfound p { font-size: 17px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 32px; }

/* --- Responsive ------------------------------------------------ */

@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .section__inner { grid-template-columns: 1fr; gap: 24px; padding-block: 56px; }
  .hero__inner { padding-block: 72px 56px; }
  .venture { padding: 28px; }
}

@media (max-width: 480px) {
  .brand__name { font-size: 13px; }
}

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

@media print {
  .nav, .skip-link { display: none; }
  body { background: #fff; }
  .hero { background-image: none; }
}
