/* ==========================================================================
   Bemax BV, main stylesheet
   Aesthetic: Industrial Precision, engineering-grade editorial
   Palette derived from the logo and from the client's own product photography
   ========================================================================== */

@import url('../fonts/fonts.css');

/* --------------------------------------------------------------------------
   01. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colour */
  --ink:            #101820;
  --ink-soft:       #1c2733;
  --ink-softer:     #263442;
  --brand:          #0067b5;
  --brand-deep:     #004c86;
  --brand-tint:     #e8f1f8;
  --accent:         #8dc63f;
  --accent-deep:    #74a831;
  --concrete:       #f1f0ee;
  --concrete-mid:   #d9d7d3;
  --text:           #5a6068;
  --text-dim:       #666c74;   /* AA on white (5.3:1) and on concrete (4.7:1) */
  --white:          #ffffff;
  --divider:        rgba(16, 24, 32, 0.10);
  --divider-strong: rgba(16, 24, 32, 0.18);
  --divider-dark:   rgba(255, 255, 255, 0.12);
  --error:          #c0392b;

  /* Type */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  --fs-display: clamp(2.25rem, 1.2rem + 4.2vw, 4rem);
  --fs-h1:      clamp(2rem, 1.15rem + 3.4vw, 3.4rem);
  --fs-h2:      clamp(1.85rem, 1.1rem + 3.1vw, 3.25rem);
  --fs-h3:      clamp(1.125rem, 1rem + 0.55vw, 1.375rem);
  --fs-h4:      1.0625rem;
  --fs-eyebrow: 0.8125rem;
  --fs-body:    1.0625rem;
  --fs-small:   0.9375rem;
  --fs-tiny:    0.8125rem;

  /* Space */
  --section-y:  clamp(64px, 9vw, 120px);
  --gutter:     clamp(20px, 4vw, 48px);
  --container:  1440px;
  --radius:     4px;
  --radius-sm:  2px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur:  0.4s;
}

/* --------------------------------------------------------------------------
   02. Reset and base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }

button { font: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.015em; }
h4 { font-size: var(--fs-h4); letter-spacing: -0.01em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
address { font-style: normal; }

::selection { background: var(--accent); color: var(--ink); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--concrete); }
::-webkit-scrollbar-thumb { background: var(--brand); border: 3px solid var(--concrete); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-deep); }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: var(--fs-tiny);
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--white); }

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

/* --------------------------------------------------------------------------
   03. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section-y) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--concrete { background: var(--concrete); }
.section--flush-bottom { padding-bottom: 0; }

/* Dark section: ink over a product photograph */
.section--dark {
  position: relative;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  isolation: isolate;
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark .section-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.section--dark .section-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.55) contrast(1.05);
}
.section--dark .section-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 24, 32, 0.94) 0%, rgba(16, 24, 32, 0.80) 45%, rgba(16, 24, 32, 0.92) 100%),
    linear-gradient(90deg, rgba(0, 103, 181, 0.20) 0%, rgba(16, 24, 32, 0) 70%);
}

.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.split {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left  { grid-template-columns: 1.35fr 1fr; }
  .split--wide-right { grid-template-columns: 1fr 1.35fr; }
  .split--top { align-items: start; }
}

/* --------------------------------------------------------------------------
   04. Section headings
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  flex: 0 0 6px;
  /* Sits on the first line even when the label wraps */
  margin-top: 0.28em;
  background: var(--accent);
}
.section--dark .eyebrow { color: rgba(255, 255, 255, 0.72); }

.section-head { max-width: 42rem; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { max-width: 54rem; margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center p { max-width: 44rem; margin-inline: auto; }
.section-head p { margin-top: 20px; font-size: 1.09rem; }

.section-head--row { max-width: none; }
@media (min-width: 1024px) {
  .section-head--row {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: end;
  }
  .section-head--row > div:last-child { padding-bottom: 6px; }
}

.lead { font-size: clamp(1.09rem, 1rem + 0.35vw, 1.25rem); line-height: 1.6; }

/* --------------------------------------------------------------------------
   05. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: var(--white);
  --btn-block: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 8px 0 24px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  transition: color var(--dur) var(--ease);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--btn-block);
  transition: width var(--dur) var(--ease);
  z-index: -1;
}
.btn:hover { color: var(--white); }
.btn:hover::before { width: 100%; }

.btn__arrow {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: 0 0 40px;
  background: var(--btn-block);
  border-radius: var(--radius-sm);
  transition: background var(--dur) var(--ease);
}
.btn__arrow svg { width: 18px; height: 18px; stroke: var(--white); }
.btn:hover .btn__arrow { background: var(--brand); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-block: var(--ink);
  box-shadow: inset 0 0 0 1px var(--divider-strong);
}
.btn--ghost:hover { --btn-fg: var(--white); }

.btn--light {
  --btn-bg: var(--white);
  --btn-fg: var(--ink);
  --btn-block: var(--brand);
}
.btn--light:hover .btn__arrow { background: var(--ink); }

.btn--on-dark {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-fg: var(--white);
  --btn-block: var(--brand);
  box-shadow: inset 0 0 0 1px var(--divider-dark);
}
.btn--on-dark:hover .btn__arrow { background: var(--white); }
.btn--on-dark:hover .btn__arrow svg { stroke: var(--ink); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  align-items: center;
  margin-top: 32px;
}

/* Text link with sliding underline */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink);
}
.link-arrow span {
  position: relative;
}
.link-arrow span::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.link-arrow:hover { color: var(--brand); }
.link-arrow:hover span::after { transform: scaleX(1); }
.link-arrow i {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  flex: 0 0 26px;
  background: var(--accent);
  border-radius: 50%;
  transform: rotate(-45deg);
  transition: transform var(--dur) var(--ease);
}
.link-arrow i svg { width: 12px; height: 12px; stroke: var(--ink); }
.link-arrow:hover i { transform: rotate(0deg); }
.section--dark .link-arrow { color: var(--white); }

/* --------------------------------------------------------------------------
   06. Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 32, 0.28);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.header.is-solid::before {
  background: var(--ink);
  border-bottom-color: rgba(255, 255, 255, 0.10);
}
.header.is-hidden { transform: translateY(-100%); }

/* Pages without a video hero get a solid bar from the start */
.header--opaque::before { background: var(--ink); }

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  min-height: 84px;
  padding: 14px 0;
}

.header__logo { flex: 0 0 auto; }
.header__logo img { width: clamp(132px, 12vw, 168px); height: auto; }

.header__nav { flex: 1 1 auto; display: none; }
.header__aside { display: none; margin-left: auto; align-items: center; gap: 18px; }

@media (min-width: 1024px) {
  .header__nav { display: block; }
  .header__aside { display: flex; }
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 0.6vw, 8px);
  list-style: none;
}
.nav-list > li { position: relative; }

.nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px clamp(7px, 0.7vw, 10px);
  font-family: var(--font-display);
  font-size: clamp(0.875rem, 0.78rem + 0.18vw, 0.9375rem);
  font-weight: 600;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.nav-list > li > a:hover { color: var(--white); }
.nav-list > li > a svg { width: 10px; height: 10px; opacity: 0.6; }

/* active page marker */
.nav-list > li > a[aria-current] { color: var(--white); }
.nav-list > li > a[aria-current]::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 4px;
  width: 18px; height: 2px;
  background: var(--accent);
  transform: translateX(-50%);
}

/* Dropdowns */
.nav-list .submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  min-width: 268px;
  padding: 10px;
  list-style: none;
  background: var(--brand);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(16, 24, 32, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px) scaleY(0.96);
  transform-origin: top;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.nav-list > li:hover > .submenu,
.nav-list > li:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scaleY(1);
}
.nav-list .submenu a {
  display: block;
  padding: 9px 14px;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-list .submenu a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}
/* The dropdown panel is already brand blue, so the current item lifts in white */
.nav-list .submenu a[aria-current] {
  background: rgba(255, 255, 255, 0.24);
  color: var(--white);
}
.nav-list .submenu .submenu__head {
  padding: 6px 14px 10px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  margin-bottom: 8px;
}

/* Header aside: language + phone */
.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: var(--fs-tiny);
  letter-spacing: 0.06em;
}
.lang a, .lang span {
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.55);
}
.lang [aria-current] { color: var(--white); background: rgba(255, 255, 255, 0.12); }
.lang a:hover { color: var(--white); }
.lang [aria-disabled='true'] { opacity: 0.45; cursor: not-allowed; }

.header .btn { min-height: 48px; padding-left: 18px; white-space: nowrap; flex-shrink: 0; }
.header .btn__arrow { width: 34px; height: 34px; flex-basis: 34px; }

/* The full number only fits beside the nav from 1400px. Below that the phone
   button collapses to its icon; the number stays in the accessible name. */
.header .btn { padding: 7px; }
.header .btn > span:first-child {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (min-width: 1400px) {
  .header .btn { padding: 0 8px 0 18px; }
  .header .btn > span:first-child {
    position: static;
    width: auto; height: auto;
    overflow: visible;
    clip-path: none;
  }
}
/* FR is not live yet, so the switcher yields its space on narrow desktops */
.header .lang { display: none; }
@media (min-width: 1180px) { .header .lang { display: flex; } }

/* Hamburger */
.burger {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-left: auto;
  padding: 0;
  background: var(--brand);
  border: none;
  border-radius: var(--radius);
  transition: background 0.25s var(--ease);
}
.burger:hover { background: var(--brand-deep); }
@media (min-width: 1024px) { .burger { display: none; } }

.burger__lines { position: relative; width: 20px; height: 14px; }
.burger__lines span {
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.burger__lines span:nth-child(1) { top: 0; }
.burger__lines span:nth-child(2) { top: 6px; }
.burger__lines span:nth-child(3) { top: 12px; }
.burger[aria-expanded='true'] .burger__lines span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.burger[aria-expanded='true'] .burger__lines span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] .burger__lines span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   07. Hero, home
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 88svh;
  padding: 168px 0 clamp(72px, 10vw, 132px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  isolation: isolate;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .hero { min-height: min(94svh, 940px); padding-top: 200px; }
}

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img,
.hero__media video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
}
/* A portrait phone shows only a centre slice of the 16:9 frame, so the crop is
   pulled slightly left, where the tanks and putten sit in most shots of the
   loop. Poster and video move together, otherwise the image jumps as the video
   fades in. Reset once the frame is essentially uncropped. */
.hero__media img,
.hero__media video { object-position: 42% 50%; }
@media (min-width: 1024px) {
  .hero__media img,
  .hero__media video { object-position: 50% 50%; }
}

/* Poster sits underneath; the video fades in over it once decoded. */
.hero__media video { opacity: 0; transition: opacity 0.9s var(--ease); }
.hero__media video.is-ready { opacity: 1; }

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(16, 24, 32, 0.70) 0%, rgba(16, 24, 32, 0.24) 32%, rgba(16, 24, 32, 0.82) 100%),
    linear-gradient(96deg, rgba(16, 24, 32, 0.74) 0%, rgba(16, 24, 32, 0.20) 60%, rgba(0, 103, 181, 0.16) 100%);
}

.hero__grid { display: grid; gap: 40px; align-items: end; }
.hero h1 {
  max-width: 22ch;
  font-size: var(--fs-display);
  color: var(--white);
}
.hero .eyebrow { color: rgba(255, 255, 255, 0.78); }
.hero__lead {
  max-width: 58ch;
  margin-top: 26px;
  font-size: clamp(1.03rem, 0.98rem + 0.3vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.80);
}


/* Video play trigger */
.play-trigger {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
}
.play-trigger:hover { color: var(--white); }
.play-trigger__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  flex: 0 0 52px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.play-trigger__ring::after {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: pulse-ring 2.4s var(--ease) infinite;
}
.play-trigger:hover .play-trigger__ring { background: var(--brand); border-color: var(--brand); }
.play-trigger__ring svg { width: 14px; height: 14px; margin-left: 2px; fill: var(--white); }
@keyframes pulse-ring {
  0%   { transform: scale(1);    opacity: 0.8; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* Hero entrance choreography */
@media (scripting: enabled) {
  .hero [data-enter] {
    opacity: 0;
    transform: translateY(18px);
  }
  .hero.is-entered [data-enter] {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: calc(var(--enter-i, 0) * 0.12s);
  }
}

/* --------------------------------------------------------------------------
   08. Page hero, inner pages
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(340px, 46vw, 520px);
  padding: 150px 0 clamp(44px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  isolation: isolate;
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.6) contrast(1.05);
}
.page-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 24, 32, 0.80) 0%, rgba(16, 24, 32, 0.38) 38%, rgba(16, 24, 32, 0.86) 100%),
    linear-gradient(94deg, rgba(16, 24, 32, 0.70) 0%, rgba(16, 24, 32, 0.16) 64%, rgba(0, 103, 181, 0.18) 100%);
}
.page-hero h1 { max-width: 26ch; color: var(--white); }
.page-hero__lead { max-width: 62ch; margin-top: 20px; color: rgba(255, 255, 255, 0.80); }
.page-hero .eyebrow { color: rgba(255, 255, 255, 0.78); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
}
.breadcrumb a { color: rgba(255, 255, 255, 0.72); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 8px; opacity: 0.5; }

/* --------------------------------------------------------------------------
   09. Category cards, overlapping the hero
   -------------------------------------------------------------------------- */
.categories { position: relative; z-index: 3; }
@media (min-width: 1024px) { .categories { margin-top: -104px; } }

.cat-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.cat-card:hover { border-color: var(--brand); transform: translateY(-4px); }

.cat-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--concrete);
}
.cat-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.cat-card:hover .cat-card__media img { transform: scale(1.05); }

.chip {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 11px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(16, 24, 32, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
}

.cat-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 18px;
  padding: clamp(22px, 2.4vw, 30px);
}
.cat-card__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.cat-card__title .num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-dim);
}
.cat-card__body > p { color: var(--text); font-size: var(--fs-small); }

.cat-card__list {
  list-style: none;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--divider);
  columns: 1;
}
.cat-card__list li { margin-bottom: 2px; }
.cat-card__list a {
  display: block;
  padding: 5px 0 5px 16px;
  position: relative;
  font-size: var(--fs-small);
  color: var(--text);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.cat-card__list a::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 5px; height: 5px;
  margin-top: -2px;
  background: var(--concrete-mid);
  transition: background 0.2s var(--ease);
}
.cat-card__list a:hover { color: var(--brand); padding-left: 20px; }
.cat-card__list a:hover::before { background: var(--accent); }

/* --------------------------------------------------------------------------
   10. Stats
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  margin-top: 40px;
  background: var(--divider);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { padding: 24px clamp(18px, 2vw, 28px); background: var(--white); }
.section--concrete .stat { background: var(--concrete); }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.stat__num .suffix { color: var(--accent); }
.stat__label {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.section--dark .stats { background: var(--divider-dark); border-color: var(--divider-dark); }
.section--dark .stat { background: var(--ink-soft); }
.section--dark .stat__num { color: var(--white); }
.section--dark .stat__label { color: rgba(255, 255, 255, 0.55); }

/* --------------------------------------------------------------------------
   11. Spec rows, technical data
   -------------------------------------------------------------------------- */
.spec-list { list-style: none; }
.spec {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 24px;
  padding: 20px 0;
  border-top: 1px solid var(--divider-dark);
}
/* Fixed key column so every value starts on the same line */
@media (min-width: 560px) {
  .spec { grid-template-columns: 148px 1fr; }
}
.spec:last-child { border-bottom: 1px solid var(--divider-dark); }
.spec__key {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding-top: 3px;
}
.spec__val { color: rgba(255, 255, 255, 0.82); }
.spec__val strong { display: block; color: var(--white); font-weight: 600; font-family: var(--font-display); }

/* Light variant */
.spec-list--light .spec { border-color: var(--divider); }
.spec-list--light .spec__key { color: var(--brand); }
.spec-list--light .spec__val { color: var(--text); }
.spec-list--light .spec__val strong { color: var(--ink); }

/* --------------------------------------------------------------------------
   12. Feature / value cards
   -------------------------------------------------------------------------- */
.value-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  padding: clamp(24px, 2.6vw, 36px);
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease);
}
.value-card:hover { border-color: var(--brand); }
.value-card__num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--brand);
}
.value-card p { font-size: var(--fs-small); }
/* Doubled class so the dark variant always outranks any section-scoped rule */
.value-card.value-card--dark {
  background: var(--ink);
  border-color: transparent;
}
.value-card--dark h3 { color: var(--white); }
.value-card--dark p { color: rgba(255, 255, 255, 0.72); }
.value-card--dark .value-card__num { color: var(--accent); }

.icon-tile {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  background: var(--brand-tint);
  border-radius: var(--radius);
  transition: background var(--dur) var(--ease);
}
.icon-tile svg { width: 24px; height: 24px; stroke: var(--brand); fill: none; }
.value-card:hover .icon-tile { background: var(--brand); }
.value-card:hover .icon-tile svg { stroke: var(--white); }
.value-card--dark .icon-tile { background: rgba(255, 255, 255, 0.08); }
.value-card--dark .icon-tile svg { stroke: var(--accent); }

/* Checklist */
.checklist { list-style: none; }
.checklist li {
  position: relative;
  padding: 11px 0 11px 30px;
  border-bottom: 1px solid var(--divider);
  font-size: var(--fs-small);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 18px;
  width: 7px; height: 7px;
  background: var(--accent);
}
.section--dark .checklist li { border-color: var(--divider-dark); color: rgba(255, 255, 255, 0.78); }

/* Pill tags */
.pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.pills li {
  padding: 9px 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: 100px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.pills li:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.section--concrete .pills li { background: var(--white); }

/* --------------------------------------------------------------------------
   13. Photo grid, products in beeld
   -------------------------------------------------------------------------- */
.photo-grid {
  display: grid;
  gap: clamp(12px, 1.4vw, 20px);
  grid-template-columns: repeat(2, 1fr);
}
.photo {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--concrete);
  aspect-ratio: 4 / 3;
}

@media (min-width: 900px) {
  /* Bento: one large tile, two small, one wide. The grid carries the aspect
     ratio so both rows resolve to a definite height and the tiles just fill. */
  .photo-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    aspect-ratio: 8 / 3;
  }
  .photo-grid > *:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .photo-grid > *:nth-child(4) { grid-column: span 2; }
  .photo-grid .photo { aspect-ratio: auto; min-height: 0; height: 100%; }
}
.photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.photo:hover img { transform: scale(1.05); }
.photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 24, 32, 0) 45%, rgba(16, 24, 32, 0.82) 100%);
}
.photo__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(14px, 1.6vw, 22px);
}
.photo__caption span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}
.photo__caption i {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  flex: 0 0 34px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.photo__caption i svg { width: 14px; height: 14px; stroke: var(--ink); }
.photo:hover .photo__caption i { opacity: 1; transform: scale(1); }

/* --------------------------------------------------------------------------
   13b. Choice menu, the central product selector on category pages
        Text only, no photo per product, as the client requested.
   -------------------------------------------------------------------------- */
.choice-grid {
  display: grid;
  gap: 1px;
  background: var(--divider);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 720px)  { .choice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .choice-grid { grid-template-columns: repeat(3, 1fr); } }

.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 96px;
  padding: 22px clamp(20px, 2vw, 28px);
  background: var(--white);
  transition: background 0.3s var(--ease);
}
.choice::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}
.choice:hover { background: var(--concrete); }
.choice:hover::before { transform: scaleY(1); }

.choice__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  flex: 0 0 auto;
  padding-top: 2px;
}
.choice__label {
  flex: 1 1 auto;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}
.choice__label small {
  display: block;
  margin-top: 5px;
  font-family: var(--font-body);
  font-size: var(--fs-tiny);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text);
}
.choice__go {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  flex: 0 0 34px;
  background: var(--concrete);
  border-radius: 50%;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.choice__go svg { width: 14px; height: 14px; stroke: var(--ink); transition: stroke 0.3s var(--ease); }
.choice:hover .choice__go { background: var(--accent); transform: translateX(3px); }

/* --------------------------------------------------------------------------
   14. Document cards, fiches / DWG / folders
   -------------------------------------------------------------------------- */
.doc-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  padding: clamp(24px, 2.6vw, 34px);
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease);
}
.doc-card:hover { border-color: var(--brand); }
.doc-card ul { list-style: none; margin-top: auto; }
.doc-card ul li { border-top: 1px solid var(--divider); }
.doc-card ul a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  font-size: var(--fs-small);
  color: var(--ink);
}
.doc-card ul a:hover { color: var(--brand); }
.filesize {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  white-space: nowrap;
}

/* Folder cards with PDF cover */
.folder-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.folder-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.folder-card__cover {
  aspect-ratio: 1 / 1.35;
  overflow: hidden;
  background: var(--concrete);
  border-bottom: 1px solid var(--divider);
}
.folder-card__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease);
}
.folder-card:hover .folder-card__cover img { transform: scale(1.03); }
.folder-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 auto;
  padding: 22px;
}
.folder-card__body h3 { font-size: 1.0625rem; }
.folder-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--divider);
}

/* --------------------------------------------------------------------------
   15. FAQ accordion
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--divider); }
.faq__item { border-bottom: 1px solid var(--divider); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.03rem, 0.98rem + 0.3vw, 1.1875rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}
.faq__q:hover { color: var(--brand); }
.faq__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  flex: 0 0 34px;
  background: var(--concrete);
  border-radius: 50%;
  transition: background 0.3s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--ink);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.faq__icon::before { width: 12px; height: 2px; }
.faq__icon::after  { width: 2px; height: 12px; }
.faq__q[aria-expanded='true'] .faq__icon { background: var(--brand); }
.faq__q[aria-expanded='true'] .faq__icon::before { background: var(--white); }
.faq__q[aria-expanded='true'] .faq__icon::after { transform: scaleY(0); background: var(--white); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.faq__a > div { overflow: hidden; }
.faq__a > div > p { padding-bottom: 26px; max-width: 76ch; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* --------------------------------------------------------------------------
   16. Marquee
   -------------------------------------------------------------------------- */
.marquee {
  display: flex;
  gap: 0;
  overflow: hidden;
  padding: 26px 0;
  background: var(--brand);
  user-select: none;
}
.marquee__track {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
  animation: marquee 62s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  white-space: nowrap;
}
.marquee span::after {
  content: '';
  width: 9px; height: 9px;
  flex: 0 0 9px;
  background: var(--accent);
  transform: rotate(45deg);
}
@keyframes marquee { to { transform: translateX(-100%); } }

/* --------------------------------------------------------------------------
   17. CTA band
   -------------------------------------------------------------------------- */
.cta-band { position: relative; padding: clamp(64px, 8vw, 108px) 0; }
.cta-band__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1024px) {
  .cta-band__grid { grid-template-columns: 1.25fr auto; gap: 64px; }
}
.cta-band h2 { max-width: 24ch; }

/* --------------------------------------------------------------------------
   18. Contact
   -------------------------------------------------------------------------- */
.contact-block { display: grid; gap: 2px; }
.contact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 20px 0;
  border-bottom: 1px solid var(--divider);
}
@media (min-width: 560px) {
  .contact-row { grid-template-columns: 150px 1fr; gap: 24px; align-items: baseline; }
}
.contact-row dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.contact-row dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.09rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.contact-row dd a { color: var(--ink); }
.contact-row dd a:hover { color: var(--brand); }
.contact-row dd small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 400;
  color: var(--text);
}

.hours { list-style: none; }
.hours li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid var(--divider);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
}
.hours li:last-child { border-bottom: none; }
.hours .day { color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; }
.hours .time { color: var(--ink); font-weight: 500; }
.hours .time--closed { color: var(--text-dim); }
.section--dark .hours li,
.footer .hours li { border-color: var(--divider-dark); }
.section--dark .hours .time,
.footer .hours .time { color: rgba(255, 255, 255, 0.92); }
.footer .hours .time--closed { color: rgba(255, 255, 255, 0.58); }
.footer .hours .day { color: rgba(255, 255, 255, 0.58); }

#map {
  min-height: clamp(320px, 42vw, 520px);
  background: var(--concrete);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  z-index: 0;
}
.leaflet-container { border-radius: var(--radius); font-family: var(--font-body) !important; }
.map-tiles { filter: grayscale(1) contrast(0.92) brightness(1.06); }
.map-pin {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  background: var(--brand);
  border: 3px solid var(--white);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 6px 18px rgba(16, 24, 32, 0.3);
}
.map-pin span {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   19. Form
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field .req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--divider-strong);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 103, 181, 0.14);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field--hidden { position: absolute; left: -9999px; }

.form__note {
  font-size: var(--fs-tiny);
  color: var(--text-dim);
}
.form__status {
  display: none;
  padding: 16px 18px;
  border-radius: var(--radius);
  font-size: var(--fs-small);
}
.form__status.is-shown { display: block; }
.form__status--info { background: var(--brand-tint); color: var(--brand-deep); }

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.68);
  isolation: isolate;
  overflow: hidden;
}
.footer__bg { position: absolute; inset: 0; z-index: -2; }
.footer__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.3) contrast(1.05);
}
.footer__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 32, 0.93);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.footer a { color: rgba(255, 255, 255, 0.68); }
.footer a:hover { color: var(--white); }

.footer__main {
  display: grid;
  gap: clamp(36px, 4vw, 56px);
  padding: clamp(56px, 7vw, 92px) 0 clamp(40px, 5vw, 60px);
}
@media (min-width: 720px)  { .footer__main { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .footer__main { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; } }

.footer__logo img { width: 168px; margin-bottom: 22px; }
.footer h3 {
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.footer h3 + h3, .footer h3.is-spaced { margin-top: 28px; }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { font-size: var(--fs-small); }
.footer__links--sub { margin-top: 6px; padding-left: 12px; border-left: 1px solid var(--divider-dark); }
.footer__links--sub a { font-size: 0.875rem; color: rgba(255, 255, 255, 0.5); }

.footer__contact { list-style: none; font-size: var(--fs-small); }
.footer__contact li { margin-bottom: 12px; }
.footer__vat {
  display: inline-block;
  margin-top: 6px;
  padding: 7px 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}

.socials { display: flex; gap: 10px; margin-top: 22px; list-style: none; }
.socials a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--divider-dark);
  border-radius: var(--radius);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.socials a:hover { background: var(--brand); border-color: var(--brand); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 26px 0 34px;
  border-top: 1px solid var(--divider-dark);
  font-size: var(--fs-tiny);
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; }

/* --------------------------------------------------------------------------
   21. Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(10, 15, 20, 0.94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__inner {
  width: min(100%, 1180px);
  transform: scale(0.97);
  transition: transform 0.35s var(--ease);
}
.lightbox.is-open .lightbox__inner { transform: none; }
.lightbox video, .lightbox img {
  width: 100%;
  max-height: 84svh;
  border-radius: var(--radius);
  background: #000;
  object-fit: contain;
}
.lightbox__caption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.lightbox__close {
  position: absolute;
  top: clamp(14px, 3vw, 28px);
  right: clamp(14px, 3vw, 28px);
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  transition: background 0.25s var(--ease);
}
.lightbox__close:hover { background: var(--brand); border-color: var(--brand); }
.lightbox__close svg { width: 18px; height: 18px; stroke: #fff; }

/* --------------------------------------------------------------------------
   22. Cookie banner
   -------------------------------------------------------------------------- */
.cookie {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 250;
  padding: 0 var(--gutter) max(16px, env(safe-area-inset-bottom));
  transform: translateY(120%);
  transition: transform 0.5s var(--ease);
}
.cookie.is-shown { transform: none; }
.cookie__inner {
  display: grid;
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(16, 24, 32, 0.4);
  color: rgba(255, 255, 255, 0.74);
}
@media (min-width: 900px) {
  .cookie__inner { grid-template-columns: 1fr auto; align-items: center; gap: 36px; }
}
.cookie p { font-size: var(--fs-small); }
.cookie p a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cookie__actions .btn { min-height: 48px; }
/* The banner sits on ink, so the secondary button needs the dark treatment */
.cookie__actions .btn--ghost {
  --btn-fg: var(--white);
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-block: var(--brand);
  box-shadow: inset 0 0 0 1px var(--divider-dark);
}
.cookie__actions .btn--ghost:hover .btn__arrow { background: var(--white); }
.cookie__actions .btn--ghost:hover .btn__arrow svg { stroke: var(--ink); }

/* --------------------------------------------------------------------------
   23. Prose, legal pages
   -------------------------------------------------------------------------- */
.prose { max-width: 76ch; }
.prose h2 { margin: 2.2em 0 0.7em; font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.8em 0 0.5em; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; font-size: var(--fs-small); }
.prose th, .prose td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--divider); }
.prose th { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --------------------------------------------------------------------------
   24. Scroll reveal
   -------------------------------------------------------------------------- */
@media (scripting: enabled) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: calc(var(--reveal-i, 0) * 0.06s);
  }
  [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   25. 404 and pages in preparation
   -------------------------------------------------------------------------- */
.error-page {
  display: grid;
  place-items: center;
  min-height: 78svh;
  padding: 180px 0 var(--section-y);
  text-align: center;
}
.error-page__lead { max-width: 56ch; margin-inline: auto; }
.error-page .btn-row { justify-content: center; }
.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 3rem + 12vw, 12rem);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--concrete-mid);
}

/* Product pages whose content is still being written */
.wip-panel {
  padding: clamp(26px, 3vw, 44px);
  background: var(--white);
  border: 1px solid var(--divider-strong);
  border-radius: var(--radius);
}
.wip-panel__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 12px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-deep);
  background: var(--brand-tint);
  border-radius: var(--radius-sm);
}
.wip-panel__status::before {
  content: '';
  width: 6px; height: 6px;
  flex: 0 0 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: wip-pulse 2.6s var(--ease) infinite;
}
@keyframes wip-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
/* Kept under the product name in the page hero, which is the h1 */
.wip-panel h2 { max-width: 24ch; font-size: clamp(1.5rem, 1.05rem + 1.7vw, 2.125rem); }
.wip-panel > p { color: var(--text); }
.wip-panel .btn-row { margin-top: clamp(26px, 2.8vw, 36px); }

.wip-list { list-style: none; }
.wip-list li { border-top: 1px solid var(--divider); }
.wip-list li:last-child { border-bottom: 1px solid var(--divider); }
.wip-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  font-size: var(--fs-small);
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.wip-list a:hover { color: var(--brand); }

/* --------------------------------------------------------------------------
   26. Utilities
   -------------------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 18px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: clamp(36px, 5vw, 64px); }
.text-center { text-align: center; }
.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--concrete);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--wide { aspect-ratio: 16 / 10; }
.media-frame--square { aspect-ratio: 1 / 1; }

.note-panel {
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--brand-tint);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
}
.note-panel p { font-size: var(--fs-small); }
.note-panel strong { color: var(--ink); font-family: var(--font-display); }
/* Inline links in running text carry an underline, not colour alone */
.note-panel p a { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   27. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], .hero [data-enter] { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none !important; }
  .hero__media video { display: none; }
}
