/* ==========================================================================
   koppesmedia.nl — Koppes Media studio site.

   One stylesheet, no build step. Every colour is a custom property declared
   twice: a hex fallback first, the oklch() the design was drawn in second.
   Browsers that understand oklch take the later declaration; the rest keep
   the hex. Never use a raw colour literal below the :root block.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --bg: #0b0d13;
  --bg: oklch(0.16 0.012 270);
  --bg-deep: #06070c;
  --bg-deep: oklch(0.13 0.012 270);
  --row-hover: #13161d;
  --row-hover: oklch(0.2 0.014 270 / 0.8);

  /* Text */
  --ink: #efeeeb;
  --ink: oklch(0.95 0.004 90);
  --ink-muted: #a1a4ac;
  --ink-muted: oklch(0.72 0.012 270);
  --ink-dim: #7d8088;
  --ink-dim: oklch(0.6 0.012 270);
  --ink-faint: #53555c;
  --ink-faint: oklch(0.45 0.012 270);

  /* Rules and decorative strokes, dark to light */
  --num-ghost: #121419;
  --num-ghost: oklch(0.19 0.012 270);
  --line-soft: #181a20;
  --line-soft: oklch(0.22 0.012 270);
  --grid: #1d1f25;
  --grid: oklch(0.24 0.012 270 / 0.5);
  --stroke: #22242a;
  --stroke: oklch(0.26 0.012 270);
  --line: #26292f;
  --line: oklch(0.28 0.012 270);
  --shape: #3e424d;
  --shape: oklch(0.38 0.02 270);

  /* Accent */
  --coral: #fc5855;
  --coral: oklch(0.68 0.2 25);
  --code: #795b58;
  --code: oklch(0.5 0.04 25);

  /* Metrics */
  --wrap: 1760px;
  --gutter: clamp(20px, 4vw, 48px);
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

  /* The display face: heavy, wide, uppercase. Used for every large heading. */
  --display-weight: 900;
  --display-stretch: 125%;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  /* Decorative layers are clipped per-section; this is the last defence
     against a stray absolutely positioned element widening the page. */
  overflow-x: hidden;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--coral); }

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

::selection { background: var(--coral); color: var(--bg); }

img, svg { max-width: 100%; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--coral);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.skip-link:focus { left: 0; color: var(--bg); }

/* Shared helpers ---------------------------------------------------------- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  position: relative;
}

/* Small uppercase monospace label — eyebrows, section titles, meta lines. */
.mono-label {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mono-label--coral { color: var(--coral); }

/* Heavy wide uppercase display type. */
.display {
  margin: 0;
  font-weight: var(--display-weight);
  font-stretch: var(--display-stretch);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.92;
}

/* Outlined ("ghost") text. Without text-stroke support the transparent fill
   would make the word invisible, so restore it in that case. */
.outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.outline--coral { -webkit-text-stroke-color: var(--coral); }
@supports not (-webkit-text-stroke: 1px red) {
  .outline { color: inherit; }
  .outline--coral { color: var(--coral); }
}

.dot { color: var(--coral); }

/* --------------------------------------------------------------------------
   3. Animations
   -------------------------------------------------------------------------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes codeScroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes spinSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-28px); } }
@keyframes blink { 0%, 100% { opacity: 0.8; } 50% { opacity: 0.15; } }

.rise { animation: rise 0.8s var(--ease) both; }
.rise--1 { animation-delay: 0.1s; }
.rise--2 { animation-delay: 0.2s; }
.rise--3 { animation-delay: 0.35s; }

/* --------------------------------------------------------------------------
   4. Page frame — fixed pixel grid behind everything
   -------------------------------------------------------------------------- */
.pxgrid {
  position: fixed;
  inset: -20vh 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 75%);
  will-change: transform;
}

.page { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   5. Masthead
   -------------------------------------------------------------------------- */
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  flex-wrap: wrap;
  padding: clamp(16px, 3vw, 28px) var(--gutter);
  border-bottom: 1px solid var(--line);
  animation: rise 0.7s var(--ease) both;
}

.masthead__brand {
  font-weight: var(--display-weight);
  font-stretch: var(--display-stretch);
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.masthead__nav {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.masthead__side {
  display: flex;
  align-items: center;
  gap: 16px;
}

.masthead__meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-dim);
  white-space: nowrap;
}

/* Language switch --------------------------------------------------------- */
.langswitch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12px;
}
/* One of the two is an <a> to the other language, the other a <span> for the
   current one — so this has to style both, and only the link may hover. */
.langswitch__btn {
  display: inline-block;
  appearance: none;
  border: none;
  cursor: pointer;
  padding: 6px 12px;
  font: inherit;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  background: transparent;
  color: var(--ink-dim);
  transition: background 0.2s, color 0.2s;
}
a.langswitch__btn:hover { color: var(--ink); }
.langswitch__btn.is-active {
  background: var(--coral);
  color: var(--bg);
}

/* Hamburger — only meaningful once JS can open the panel, so it stays hidden
   until the .js class is set and the viewport is narrow. */
.masthead__menu {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  padding: 0;
}

.mobilenav {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
  animation: rise 0.3s var(--ease) both;
}
.mobilenav[hidden] { display: none; }
.mobilenav a {
  padding: 20px var(--gutter);
  font-weight: var(--display-weight);
  font-stretch: var(--display-stretch);
  text-transform: uppercase;
  font-size: 28px;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line-soft);
}
.mobilenav a:last-child { border-bottom: none; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  padding: clamp(64px, 9vw, 128px) var(--gutter) clamp(48px, 6vw, 88px);
  position: relative;
  overflow: hidden;
}

.hero__ghost {
  position: absolute;
  top: 0;
  right: clamp(-40px, -2vw, -16px);
  font-weight: var(--display-weight);
  font-stretch: var(--display-stretch);
  font-size: clamp(160px, 26vw, 420px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--stroke);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.hero__eyebrow {
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__pulse {
  flex: none;
  width: 10px;
  height: 10px;
  background: var(--coral);
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}

.hero__title {
  font-size: clamp(44px, 9.5vw, 168px);
  will-change: transform;
}

.hero__lead {
  max-width: 520px;
  margin: 40px 0 0;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--ink-muted);
  text-wrap: pretty;
}

.hero__coords {
  position: absolute;
  bottom: -24px;
  right: 8%;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-faint);
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
  will-change: transform;
}
.hero__coords span:first-child { font-size: 20px; color: var(--coral); }

/* --------------------------------------------------------------------------
   7. Decorative hero backdrop — scrolling code and floating shapes
   -------------------------------------------------------------------------- */
.backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.coderain {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 48px;
  padding: 0 24px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1;
  color: var(--code);
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 0%, transparent 85%);
  mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 0%, transparent 85%);
}
.coderain__col { overflow: hidden; flex: 1; min-width: 0; }

/* Each track holds its lines twice, so translating it -50% loops seamlessly.
   Staggered durations and directions keep the columns from marching in step. */
.coderain__track { animation: codeScroll 26s linear infinite; }
.coderain__col:nth-child(2) .coderain__track { animation-duration: 35s; animation-direction: reverse; }
.coderain__col:nth-child(3) .coderain__track { animation-duration: 44s; }
.coderain__col:nth-child(4) .coderain__track { animation-duration: 53s; animation-direction: reverse; }
.coderain__col:nth-child(5) .coderain__track { animation-duration: 62s; }
.coderain__track span {
  display: block;
  padding: 10px 0;
  white-space: nowrap;
}

.shape { position: absolute; }
.shape--ring {
  top: 12%;
  right: 6%;
  width: 220px;
  height: 220px;
  border: 1px dashed var(--shape);
  border-radius: 50%;
  animation: spinSlow 40s linear infinite;
}
.shape--ring::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--coral);
  border-radius: 50%;
}
.shape--ring2 {
  top: 18%;
  right: 9.5%;
  width: 130px;
  height: 130px;
  border: 1px solid var(--shape);
  border-radius: 50%;
  animation: spinSlow 25s linear infinite reverse;
}
.shape--ring2::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 14px;
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
}
.shape--square {
  bottom: 14%;
  left: 38%;
  width: 64px;
  height: 64px;
  border: 1px solid var(--coral);
  transform: rotate(15deg);
  animation: floatY 7s ease-in-out infinite;
  opacity: 0.6;
}
.shape--chip {
  top: 20%;
  left: 55%;
  width: 26px;
  height: 26px;
  background: var(--coral);
  opacity: 0.35;
  animation: floatY 9s 1.5s ease-in-out infinite;
}
.shape--diamond {
  bottom: 28%;
  right: 22%;
  width: 40px;
  height: 40px;
  border: 1px solid var(--shape);
  transform: rotate(45deg);
  animation: floatY 8s 0.8s ease-in-out infinite;
}
.shape--plus {
  font-family: var(--mono);
  color: var(--shape);
  animation: blink 5.5s ease-in-out infinite;
}
.shape--plus1 { top: 32%; left: 30%; color: var(--coral); font-size: 26px; animation-duration: 4s; }
.shape--plus2 { bottom: 18%; left: 12%; font-size: 20px; animation-delay: 1s; }
.shape--plus3 { top: 10%; left: 46%; font-size: 18px; animation-duration: 6s; animation-delay: 2s; }
.shape--dot1 {
  top: 55%;
  left: 68%;
  width: 8px;
  height: 8px;
  background: var(--shape);
  border-radius: 50%;
  animation: floatY 6s ease-in-out infinite;
}
.shape--dot2 {
  top: 68%;
  right: 10%;
  width: 5px;
  height: 5px;
  background: var(--coral);
  border-radius: 50%;
  animation: floatY 10s 2s ease-in-out infinite;
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   8. Section chrome
   -------------------------------------------------------------------------- */
.section {
  padding: clamp(56px, 7vw, 104px) var(--gutter);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 48px;
}
.section__title {
  margin: 0;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.section__count {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-dim);
}

/* Oversized section number bled off the left edge. */
.section__ghostnum {
  position: absolute;
  top: 40px;
  left: -2vw;
  z-index: 0;
  font-weight: var(--display-weight);
  font-stretch: var(--display-stretch);
  font-size: clamp(200px, 30vw, 520px);
  line-height: 1;
  color: var(--num-ghost);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

/* --------------------------------------------------------------------------
   9. Work
   -------------------------------------------------------------------------- */
.project {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  color: inherit;
  transition: background 0.3s;
}
.project:last-of-type { border-bottom: 1px solid var(--line); }
.project:hover { background: var(--row-hover); color: inherit; }

.project__num {
  font-weight: var(--display-weight);
  font-stretch: var(--display-stretch);
  font-size: clamp(72px, 10vw, 160px);
  line-height: 0.85;
  transition: color 0.3s;
}
.project:hover .project__num { color: var(--coral); }

.project__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.project__name {
  margin: 0;
  font-weight: var(--display-weight);
  font-stretch: var(--display-stretch);
  text-transform: uppercase;
  font-size: clamp(28px, 4.5vw, 56px);
  letter-spacing: -0.01em;
}
.project__tag {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--coral);
  border: 1px solid var(--coral);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.project__desc {
  margin: 16px 0 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-muted);
  text-wrap: pretty;
}
.project__arrow {
  font-size: 40px;
  font-weight: 900;
  color: var(--ink);
  transform: rotate(-45deg);
  transition: transform 0.3s, color 0.3s;
}
.project:hover .project__arrow {
  transform: rotate(0deg);
  color: var(--coral);
}

/* --------------------------------------------------------------------------
   10. About
   -------------------------------------------------------------------------- */
.about {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}
.about__lead {
  margin: 0;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.about__lead a {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 6px;
}
.about__body {
  margin: 24px 0 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-muted);
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   11. Footer / contact
   -------------------------------------------------------------------------- */
.footer {
  padding: clamp(64px, 8vw, 112px) var(--gutter) 48px;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  position: relative;
}
.footer__label { margin-bottom: 24px; }
.footer__email {
  display: inline-block;
  max-width: 100%;
  font-weight: var(--display-weight);
  font-stretch: var(--display-stretch);
  text-transform: uppercase;
  font-size: clamp(22px, 4.2vw, 96px);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(40px, 5vw, 80px);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-dim);
  flex-wrap: wrap;
  gap: 16px;
}
.footer__bottom p { margin: 0; }
.footer__links { display: flex; gap: 24px; }
.footer__links a { color: var(--ink-dim); }
.footer__links a:hover { color: var(--coral); }

/* --------------------------------------------------------------------------
   12. 404
   -------------------------------------------------------------------------- */
.notfound {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 80px var(--gutter);
  position: relative;
  z-index: 1;
}
.notfound__code {
  margin: 24px 0 0;
  font-size: clamp(72px, 20vw, 260px);
  line-height: 0.9;
}
.notfound__text {
  margin: 32px 0 40px;
  max-width: 460px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-muted);
}
.notfound__back { align-self: flex-start; }


/* --------------------------------------------------------------------------
   12. Buttons — pill, monospace, uppercase. Ghost by default, coral when solid.
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  appearance: none;
  cursor: pointer;
  padding: 12px 24px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  border: 1px solid var(--coral);
  background: transparent;
  color: var(--coral);
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--coral); color: var(--bg); }
.btn--solid { background: var(--coral); color: var(--bg); }
.btn--solid:hover { background: transparent; color: var(--coral); }

/* A button that has to read as a link — the consent re-opener in the footer. */
.linklike {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   13. Consent bar

   Without JS nothing can be loaded or stored, so there is nothing to ask —
   hence the .js gate rather than a plain `display: block`.
   -------------------------------------------------------------------------- */
.footer__cookies { display: none; color: var(--ink-dim); }
.js .footer__cookies { display: inline; }
.js .footer__cookies[hidden] { display: none; }
.footer__cookies:hover { color: var(--coral); }

.cookiebar { display: none; }
.js .cookiebar {
  display: block;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
}
.js .cookiebar[hidden] { display: none; }

.cookiebar__inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 20px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}
.cookiebar__copy { flex: 1 1 380px; min-width: 0; padding-right: 32px; }
.cookiebar__title {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
}
.cookiebar__text {
  margin: 0;
  max-width: 66ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
}
.cookiebar__link {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--coral);
  border-bottom: 1px solid currentColor;
}
.cookiebar__actions { display: flex; gap: 10px; flex-shrink: 0; }

.cookiebar__close {
  position: absolute;
  top: 10px;
  right: calc(var(--gutter) - 10px);
  border: 0;
  background: none;
  padding: 4px 10px;
  font-size: 20px;
  line-height: 1;
  color: var(--ink-dim);
  cursor: pointer;
}
.cookiebar__close:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   14. Statement page (privacy.html)
   -------------------------------------------------------------------------- */
.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) var(--gutter) 88px;
  position: relative;
  z-index: 1;
}
.doc__title {
  margin: 0;
  font-size: clamp(34px, 6vw, 72px);
}
.doc__updated {
  margin: 16px 0 48px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.doc h2 {
  margin: 44px 0 14px;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
}
.doc p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-muted);
  text-wrap: pretty;
}
.doc a:not(.btn) { color: var(--coral); border-bottom: 1px solid currentColor; }

.doc__tablewrap { overflow-x: auto; margin: 22px 0 8px; }
.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}
.doc th,
.doc td {
  text-align: left;
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.doc th {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  white-space: nowrap;
}
.doc td { color: var(--ink-muted); line-height: 1.6; }
.doc td:first-child {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
}

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

/* --------------------------------------------------------------------------
   15. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .about { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 760px) {
  /* Without JS the inline nav is the only way to reach the sections, so it
     stays; the hamburger appears only once JS can drive the panel. */
  .js .masthead__nav { display: none; }
  .js .masthead__menu { display: flex; }
  .masthead__meta { display: none; }

  .project {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 0;
  }
  .project__arrow { display: none; }

  .coderain { gap: 24px; }
  .coderain__col:nth-child(n + 4) { display: none; }

  .shape--ring,
  .shape--ring2 { display: none; }
}

@media (max-width: 760px) {
  .cookiebar__inner { padding: 18px var(--gutter) 20px; gap: 16px; }
  .cookiebar__copy { flex-basis: 100%; padding-right: 34px; }
  .cookiebar__actions { width: 100%; }
  .cookiebar__actions .btn { flex: 1 1 0; text-align: center; padding: 12px 16px; }
}

/* The hero headline is the one place the two languages do not fit the same
   box: "PRODUCTEN" is a character longer than "PRODUCTS", and at the shared
   44px floor it runs past a 375px viewport — taking the coral full stop with
   it, clipped by the hero's overflow. Only the Dutch page needs the smaller
   floor, and only while the viewport is narrow enough to bite. */
@media (max-width: 460px) {
  html[lang="nl"] .hero__title { font-size: clamp(36px, 9.5vw, 44px); }
}

@media (max-width: 420px) {
  .footer__email { font-size: 20px; }
}

/* --------------------------------------------------------------------------
   16. Reduced motion — stop the ambient loops, keep the layout identical
   -------------------------------------------------------------------------- */
@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;
  }
  /* `rise` ends at opacity 1, so collapsing it leaves everything visible;
     the ambient loops simply hold their first frame. */
}
