/* ═══════════════════════════════════════════════════════════════════
   pmeijer — style.css — v20260422c-fluid-rewrite
   Fluid design. Only ONE structural breakpoint at 720px for
   column→stack. Everything else scales continuously with clamp().
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;700;800&family=Space+Mono:ital,wght@0,400;0,700;1,400&family=Lora:ital@1&display=swap');

/* ── TOKENS ──────────────────────────────────────────── */
:root {
  --c-paper:   #ede7d9;
  --c-ink:     #0f0c08;
  --c-red:     #c13910;
  --c-warm:    #9a8e7e;
  --c-faint:   rgba(15,12,8,0.055);
  --c-line:    rgba(15,12,8,0.10);
  --c-line-d:  rgba(237,231,217,0.08);

  --f-display: 'Bricolage Grotesque', sans-serif;
  --f-mono:    'Space Mono', monospace;
  --f-serif:   'Lora', serif;

  /* Fluid nav height */
  --nav-h: clamp(56px, 7vh, 64px);
  /* Fluid metadata-column width (collapses to 0 on mobile) */
  --col-l: clamp(110px, 15vw, 200px);
}

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--f-mono);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

/* ═══════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════ */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: auto 1fr;
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow 0.3s;
}
nav.elevated { box-shadow: 0 2px 24px rgba(15,12,8,0.07); }

.nav-brand {
  border-right: 1px solid var(--c-line);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  text-decoration: none;
}
.nav-logo-img {
  height: var(--nav-h);
  width: auto;
  display: block;
}
.nav-brand-text {
  font-family: var(--f-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0 1rem;
  align-self: center;
}
.nav-brand-text .p { color: var(--c-red); }

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.8rem, 2vw, 2rem);
  padding: 0 clamp(1rem, 2vw, 2rem);
}
.nav-links {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-warm);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--c-ink); }

.lang-switch {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-warm);
  text-decoration: none;
  border: 1px solid var(--c-line);
  padding: 0.3rem 0.7rem;
}
.lang-switch:hover { border-color: var(--c-ink); color: var(--c-ink); }

.nav-cta {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-paper);
  background: var(--c-ink);
  padding: 0.55rem 1.1rem;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--c-red); }

.nav-spacer { height: var(--nav-h); }

/* ═══════════════════════════════════════════════════════
   HAMBURGER — hidden by default, shown at ≤720px
   ═══════════════════════════════════════════════════════ */
.hamburger {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--c-line);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--c-ink);
  transition: transform 0.25s, opacity 0.2s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════
   MOBILE MENU
   - Always in DOM (never display:none)
   - Hidden via opacity+visibility (transitions work)
   - Big top padding with iOS safe-area support
   - Footer pinned to bottom via margin-top: auto
   ═══════════════════════════════════════════════════════ */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--c-ink);
  z-index: 99;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0s linear 0.22s;
  pointer-events: none;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.22s ease, visibility 0s linear 0s;
}
.mobile-menu-inner {
  min-height: 100%;
  /*
    Very generous top padding — first item is always comfortably below the nav.
    7rem base (~112px). On notched iPhones env(safe-area-inset-top) adds another
    ~47px, so the effective top gap becomes ~159px on Dynamic Island devices.
  */
  padding:
    max(7rem, env(safe-area-inset-top, 0px) + 6rem)
    clamp(1.5rem, 6vw, 2.5rem)
    clamp(1.5rem, 4vh, 2.5rem);
  display: flex;
  flex-direction: column;
}
.mobile-nav {
  /*
    flex: 1 makes the nav block fill all vertical space between top padding and
    footer. justify-content: space-evenly then spreads the 4 items with equal
    gaps above, between, and below — much wider than natural stacking.
  */
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 0.5rem;
}
/* Invisible spacer at the top of the menu — pushes real items away from header */
.mobile-nav-dummy {
  padding: clamp(1rem, 2.5vh, 1.6rem) 0 !important;
  border-bottom: none !important;
  pointer-events: none;
  visibility: hidden;
}

.mobile-nav-item {
  display: flex;
  align-items: baseline;
  gap: clamp(0.8rem, 3vw, 1.4rem);
  padding: clamp(1rem, 2.5vh, 1.6rem) 0;
  border-bottom: 1px solid rgba(237,231,217,0.08);
  text-decoration: none;
  color: var(--c-paper);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1;
  transition: color 0.2s;
}
.mobile-nav-item:active,
.mobile-nav-item:hover { color: var(--c-red); }
.mobile-nav-scene {
  font-family: var(--f-mono);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(237,231,217,0.28);
  align-self: center;
}
.mobile-menu-footer {
  margin-top: auto;         /* pins to bottom */
  padding-top: 2rem;
  border-top: 1px solid rgba(237,231,217,0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}
.mobile-lang {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-red);
  text-decoration: none;
  padding: 0.4rem 0;
}
.mobile-lang:active { opacity: 0.7; }
.mobile-mail {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: rgba(237,231,217,0.3);
  text-decoration: none;
}

/* ═══════════════════════════════════════════════════════
   STRUCTURAL ROW — two-column layout with fluid col width
   ═══════════════════════════════════════════════════════ */
.row {
  display: grid;
  grid-template-columns: var(--col-l) 1fr;
  border-bottom: 1px solid var(--c-line);
}
.row.no-border { border-bottom: none; }
.col-meta {
  border-right: 1px solid var(--c-line);
  padding: clamp(1rem, 3vh, 2.5rem) clamp(1rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.col-main {
  padding: clamp(2rem, 5vh, 3.5rem) clamp(1.5rem, 4vw, 4rem);
  min-width: 0;
}

/* ── TYPOGRAPHIC HELPERS ─────────────────────────────── */
.scene {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-red);
  font-weight: 700;
}
.meta-label {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--c-warm);
  line-height: 1.55;
}
.kicker {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 0.8rem;
  display: block;
}
.section-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero-row {
  display: grid;
  grid-template-columns: var(--col-l) 1fr;
  /* Smaller CRO-friendly hero — never dominates the viewport.
     ~60-65% of screen on most devices, leaving room for Scene 2 preview. */
  min-height: clamp(400px, 60vh, 580px);
  max-height: 72vh;
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}
.hero-meta {
  border-right: 1px solid var(--c-line);
  padding: clamp(1rem, 4vh, 3rem) clamp(1rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}
.hero-meta-bottom { display: flex; flex-direction: column; gap: 0.8rem; }
.hero-meta-bottom .meta-label {
  border-top: 1px solid var(--c-line);
  padding-top: 0.6rem;
}
.hero-main {
  padding: clamp(1.5rem, 4vh, 3rem) clamp(1.5rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.hero-ghost {
  position: absolute;
  inset: -0.06em -0.03em auto auto;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(8rem, 20vw, 22rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px var(--c-faint);
  pointer-events: none;
  user-select: none;
}
.hero-statement {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 5.2rem);
  line-height: 0.93;
  letter-spacing: -0.025em;
  position: relative;
  z-index: 1;
  margin-bottom: clamp(1rem, 3vh, 3rem);
}
.hero-statement .ln   { display: block; }
.hero-statement .red  { color: var(--c-red); }
.hero-statement .light{
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.72em;
  letter-spacing: 0;
  color: rgba(15,12,8,0.38);
}
.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.hero-sub {
  font-size: clamp(0.7rem, 1.2vw, 0.8rem);
  line-height: 1.75;
  color: var(--c-warm);
  max-width: 400px;
}
.hero-sub strong { color: var(--c-ink); font-weight: 700; }
.hero-scroll {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(15,12,8,0.2);
  writing-mode: vertical-rl;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   OVER (Scene 002)
   ═══════════════════════════════════════════════════════ */
.about-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start;
}
.about-statement {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.7;
}
.about-statement strong {
  font-style: normal;
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--c-red);
}
.about-stats { display: flex; flex-direction: column; }
.about-stat {
  padding: 1.1rem 0;
  border-top: 1px solid var(--c-line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: baseline;
}
.about-stat:first-child { border-top: none; padding-top: 0; }
.stat-n {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--c-red);
  white-space: nowrap;
  min-width: 4.5rem;
}
.stat-l {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--c-warm);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════
   ELEMENTS — fluid auto-fit grid (no breakpoints)
   ═══════════════════════════════════════════════════════ */
.elementen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--c-line);
  margin-bottom: clamp(1.5rem, 4vh, 3.5rem);
}
.element-card {
  background: var(--c-paper);
  padding: clamp(1rem, 2vw, 1.5rem);
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 180px;
  text-decoration: none;
  color: var(--c-ink);
  transition: background 0.2s;
}
.element-card:hover { background: rgba(15,12,8,0.04); }
.element-card:hover .el-symbol { color: var(--c-red); }
.element-card:hover .el-bar    { width: 100%; }
/* The small kicker under the section intro that tells users the cards are clickable */
.elem-hint {
  font-family: var(--f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.elem-hint::before {
  content: '';
  width: 1.2rem;
  height: 1px;
  background: var(--c-red);
}
.el-top { display: flex; justify-content: space-between; margin-bottom: 0.4rem; }
.el-atomic { font-size: 0.62rem; font-weight: 700; color: var(--c-warm); }
.el-group  { font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(15,12,8,0.22); }
.el-symbol {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 3.5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  align-self: center;
  transition: color 0.25s;
}
.el-bar { height: 1.5px; width: 1.4rem; background: var(--c-red); margin-bottom: 0.5rem; transition: width 0.35s ease; }
.el-name { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 0.15rem; }
.el-sub  { font-size: 0.55rem; letter-spacing: 0.06em; color: var(--c-warm); display: block; }

.elementen-descriptions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  background: var(--c-line);
  border-top: 1px solid var(--c-line);
}
.el-desc-item {
  background: var(--c-paper);
  padding: clamp(1.2rem, 2.5vw, 1.8rem) clamp(1.2rem, 2.5vw, 2rem);
  border-bottom: 1px solid var(--c-line);
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
}
.el-desc-item:nth-child(even) { border-left: 1px solid var(--c-line); }
.el-desc-sym {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: rgba(15,12,8,0.1);
  line-height: 1;
}
.el-desc-title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 0.4rem;
}
.el-desc-text {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(15,12,8,0.55);
}

/* ═══════════════════════════════════════════════════════
   DIENSTEN
   ═══════════════════════════════════════════════════════ */
.dienst {
  display: grid;
  grid-template-columns: minmax(250px, 2fr) 3fr;
  border-bottom: 1px solid var(--c-line);
  transition: background 0.2s;
}
.dienst:last-child { border-bottom: none; }
.dienst:hover      { background: rgba(193,57,16,0.03); }
.dienst-left {
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 3.5rem);
  border-right: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}
.dienst-idx {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: rgba(15,12,8,0.06);
}
.dienst-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.dienst-right {
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 3.5rem);
  display: flex;
  align-items: center;
}
.dienst-desc {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  line-height: 1.75;
  color: rgba(15,12,8,0.55);
  max-width: 440px;
}

/* ═══════════════════════════════════════════════════════
   ONAFHANKELIJKHEID
   ═══════════════════════════════════════════════════════ */
.onaf-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
}
.onaf-headline {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  line-height: 0.93;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}
.onaf-headline .red { color: var(--c-red); }
.onaf-body {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(15,12,8,0.55);
}
.m-line {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--c-line);
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.8rem;
}
.m-line:first-child { padding-top: 0; }
.m-line:last-child  { border-bottom: none; }
.m-arrow { color: var(--c-red); font-weight: 700; }
.m-text  { font-size: 0.7rem; color: var(--c-warm); line-height: 1.6; }
.m-text strong { color: var(--c-ink); font-weight: 700; }

/* ═══════════════════════════════════════════════════════
   GEREEDSCHAP (specs table)
   ═══════════════════════════════════════════════════════ */
.spec-head {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 2rem;
}
.spec-head em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.72em;
  color: rgba(15,12,8,0.3);
  display: block;
  letter-spacing: 0;
  margin-top: 0.3rem;
}
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--c-line); transition: background 0.2s; }
.spec-table tr:hover { background: rgba(15,12,8,0.03); }
.spec-table tr:last-child { border-bottom: none; }
.spec-cat {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-red);
  font-weight: 700;
  padding: 1.1rem 1.2rem 1.1rem 0;
  vertical-align: top;
  width: 100px;
}
.spec-name {
  font-weight: 700;
  font-size: 0.72rem;
  padding: 1.1rem 1.5rem 1.1rem 0;
  vertical-align: top;
}
.spec-detail {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 0.78rem;
  color: rgba(15,12,8,0.5);
  padding: 1.1rem 0;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════
   BRAND STRIP
   ═══════════════════════════════════════════════════════ */
.brand-strip-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-warm);
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand-strip-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--c-line);
}
.brand-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--c-line);
  margin-top: 2rem;
  border-top: 1px solid var(--c-line);
}
.brand-cell {
  background: var(--c-paper);
  padding: 1.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  position: relative;
  transition: background 0.2s;
}
.brand-cell:hover { background: rgba(15,12,8,0.03); }
.brand-cell img {
  max-height: 36px;
  max-width: 140px;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.3s;
}
.brand-cell:hover img { filter: grayscale(100%) opacity(0.85); }
.brand-cell-label {
  position: absolute;
  bottom: 0.5rem; left: 0; right: 0;
  text-align: center;
  font-size: 0.48rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(15,12,8,0.2);
}

/* ═══════════════════════════════════════════════════════
   PROCES
   ═══════════════════════════════════════════════════════ */
.proc-timeline { position: relative; }
.proc-timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: var(--c-line);
}
.proc-item {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--c-line);
}
.proc-item:last-child { border-bottom: none; padding-bottom: 0; }
.proc-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-paper);
  border: 1.5px solid var(--c-ink);
  margin-top: 0.3rem;
  margin-left: -3px;
  transition: background 0.2s, border-color 0.2s;
}
.proc-item:hover .proc-dot {
  background: var(--c-red);
  border-color: var(--c-red);
}
.proc-label {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 0.3rem;
}
.proc-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.proc-desc {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(15,12,8,0.5);
}
.proc-detail {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-line);
  font-size: 0.68rem;
  color: var(--c-warm);
  line-height: 1.7;
}
.proc-detail strong { color: var(--c-ink); font-weight: 700; }

/* ═══════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════ */
.contact-row {
  display: grid;
  grid-template-columns: var(--col-l) 1fr;
  background: var(--c-ink);
  color: var(--c-paper);
  min-height: 50vh;
}
.contact-meta {
  border-right: 1px solid var(--c-line-d);
  padding: clamp(2rem, 5vh, 4rem) clamp(1rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}
.contact-meta .scene      { color: rgba(237,231,217,0.28); }
.contact-meta .meta-label { color: rgba(237,231,217,0.22); }
.contact-main {
  padding: clamp(2rem, 5vh, 4rem) clamp(1.5rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}
.contact-headline {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--c-paper);
}
.contact-headline .it {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.86em;
  letter-spacing: 0;
  color: rgba(237,231,217,0.28);
}
.contact-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border-top: 1px solid var(--c-line-d);
}
.form-field {
  padding: 1.5rem 0 0;
  border-bottom: 1px solid var(--c-line-d);
}
.form-field.full { grid-column: 1 / -1; }
.form-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(237,231,217,0.35);
  display: block;
  margin-bottom: 0.6rem;
}
.form-input, .form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(237,231,217,0.12);
  color: var(--c-paper);
  font-family: var(--f-mono);
  font-size: 0.8rem;
  padding: 0.4rem 0 1rem;
  outline: none;
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(237,231,217,0.2); }
.form-input:focus, .form-textarea:focus { border-bottom-color: var(--c-red); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-honeypot { position: absolute; left: -9999px; opacity: 0; }
.form-footer {
  grid-column: 1 / -1;
  padding: 2rem 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.form-detail {
  font-size: 0.66rem;
  color: rgba(237,231,217,0.25);
  line-height: 2;
}
.form-detail a { color: inherit; text-decoration: none; }
.form-detail a:hover { color: var(--c-paper); }
.form-status {
  display: none;
  grid-column: 1 / -1;
  padding: 1rem 1.5rem;
  font-size: 0.7rem;
  margin-top: 1rem;
}
.form-status.visible { display: block; }
.form-status.success { background: rgba(80,160,100,0.15); color: #6ec98a; border-left: 2px solid #6ec98a; }
.form-status.error   { background: rgba(193,57,16,0.15); color: var(--c-red); border-left: 2px solid var(--c-red); }

.btn {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2rem;
  transition: background 0.2s, color 0.2s;
  border: none;
  cursor: pointer;
}
.btn-dark  { color: var(--c-paper); background: var(--c-ink); }
.btn-dark:hover { background: var(--c-red); }
.btn-light { color: var(--c-ink); background: var(--c-paper); }
.btn-light:hover { background: var(--c-red); color: var(--c-paper); }
.btn-ghost { color: rgba(237,231,217,0.35); background: transparent; }
.btn-ghost:hover { color: var(--c-paper); }
.btn-submit { min-width: 160px; position: relative; }
.btn-submit.loading { opacity: 0.6; pointer-events: none; }
.btn-submit.loading::after {
  content: '';
  position: absolute;
  right: 1rem; top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 10px;
  border: 1.5px solid var(--c-paper);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

/* ═══════════════════════════════════════════════════════
   ELEMENT DETAIL
   ═══════════════════════════════════════════════════════ */
.breadcrumb {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--c-warm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.breadcrumb a { text-decoration: none; color: inherit; }
.breadcrumb a:hover { color: var(--c-ink); }
.breadcrumb span { color: rgba(15,12,8,0.25); }

.el-hero {
  display: grid;
  grid-template-columns: var(--col-l) 1fr;
  min-height: clamp(400px, 60vh, 600px);
  border-bottom: 1px solid var(--c-line);
}
.el-hero-meta {
  border-right: 1px solid var(--c-line);
  padding: clamp(1.5rem, 3vh, 3rem) clamp(1rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}
.el-hero-main {
  padding: clamp(1.5rem, 4vh, 3rem) clamp(1.5rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 3vw, 4rem);
  align-items: center;
  min-width: 0;
}
.el-card-large {
  width: clamp(140px, 18vw, 220px);
  aspect-ratio: 0.85;
  border: 1px solid var(--c-line);
  padding: clamp(1rem, 2vw, 1.8rem);
  display: grid;
  grid-template-rows: auto 1fr auto;
  flex-shrink: 0;
}
.el-card-large .el-symbol { font-size: clamp(3rem, 5vw, 5rem); }
.el-card-large .el-name   { font-size: 0.7rem; }
.el-hero-text { min-width: 0; }
.el-hero-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.93;
  letter-spacing: -0.025em;
  margin-bottom: 1.2rem;
}
.el-hero-title .red { color: var(--c-red); }
.el-core-quote {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(0.9rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: rgba(15,12,8,0.55);
  border-left: 2px solid var(--c-red);
  padding-left: 1.2rem;
  max-width: 520px;
}
.el-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.el-body-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.el-body-text {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.78;
  color: rgba(15,12,8,0.58);
}
.el-body-text p { margin-bottom: 1rem; }
.el-body-text p:last-child { margin-bottom: 0; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1px;
  background: var(--c-line);
}
.related-card {
  background: var(--c-paper);
  padding: 1rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 130px;
  text-decoration: none;
  color: var(--c-ink);
  transition: background 0.2s;
}
.related-card:hover { background: rgba(15,12,8,0.04); }
.related-card:hover .el-symbol { color: var(--c-red); }
.related-card .el-symbol { font-size: 2rem; }
.related-card .el-name   { font-size: 0.55rem; }
.related-card .el-sub    { font-size: 0.48rem; }

.contact-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.contact-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.contact-detail { font-size: 0.7rem; color: rgba(237,231,217,0.3); line-height: 2; }
.contact-detail a { color: inherit; text-decoration: none; }
.contact-detail a:hover { color: var(--c-paper); }

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
footer { display: grid; grid-template-columns: var(--col-l) 1fr; }
footer.dark {
  background: var(--c-ink);
  color: var(--c-paper);
  border-top: 1px solid var(--c-line-d);
}
.foot-l { border-right: 1px solid var(--c-line); padding: 1.2rem 1.5rem; }
footer.dark .foot-l { border-right-color: var(--c-line-d); }
.foot-brand {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}
footer.dark .foot-brand { color: rgba(237,231,217,0.3); }
.foot-brand .p { color: var(--c-red); }
.foot-r {
  padding: 1.2rem 2rem 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.foot-copy, .foot-link {
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  color: var(--c-warm);
  text-decoration: none;
}
footer.dark .foot-copy, footer.dark .foot-link { color: rgba(237,231,217,0.2); }
.foot-link:hover { color: var(--c-ink); }
footer.dark .foot-link:hover { color: rgba(237,231,217,0.6); }

/* ═══════════════════════════════════════════════════════
   THE ONE STRUCTURAL BREAKPOINT — columns collapse.
   ═══════════════════════════════════════════════════════ */
@media (max-width: 720px) {
  :root { --col-l: 0px; }

  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: flex; }
  .nav-brand { border-right: none; }

  .row { grid-template-columns: 1fr; }
  .col-meta {
    border-right: none;
    border-bottom: 1px solid var(--c-line);
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .hero-row { grid-template-columns: 1fr; min-height: clamp(400px, 65vh, 560px); max-height: 75vh; }
  .hero-meta {
    border-right: none;
    border-bottom: 1px solid var(--c-line);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .hero-meta-bottom { display: none; }

  .dienst { grid-template-columns: 1fr; }
  .dienst-left { border-right: none; border-bottom: 1px solid var(--c-line); }

  .el-hero { grid-template-columns: 1fr; min-height: auto; }
  .el-hero-meta {
    border-right: none;
    border-bottom: 1px solid var(--c-line);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
  .el-hero-main { grid-template-columns: 1fr; gap: 1.5rem; }

  .contact-row { grid-template-columns: 1fr; }
  .contact-meta {
    border-right: none;
    border-bottom: 1px solid var(--c-line-d);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  footer { grid-template-columns: 1fr; }
  .foot-l { border-right: none; border-bottom: 1px solid var(--c-line); }
  footer.dark .foot-l { border-bottom-color: var(--c-line-d); }
}

/* ═══════════════════════════════════════════════════════
   LOCATIONS — service area grid (Brainport landing page)
   Card grid auto-fits 1-3 columns based on viewport.
   ═══════════════════════════════════════════════════════ */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  margin: 1.5rem 0;
}
.location-card {
  background: var(--c-paper);
  padding: clamp(1.2rem, 2vw, 1.8rem);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: background 0.2s ease;
}
.location-card:hover {
  background: rgba(15,12,8,0.025);
}
.loc-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--f-mono);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.loc-num {
  color: var(--c-red);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.6rem;
}
.loc-tag {
  color: rgba(15,12,8,0.3);
}
.loc-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin: 0.4rem 0 0;
}
.loc-sub {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  color: var(--c-warm);
  letter-spacing: 0.04em;
  margin: 0;
}
.loc-body {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(15,12,8,0.6);
  margin: 0.4rem 0 0;
}

/* ═══════════════════════════════════════════════════════
   ARTICLE — long-form content pages (script guide, etc.)
   Editorial typography for readable long-form reading.
   ═══════════════════════════════════════════════════════ */
.article-h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 1rem;
  color: var(--c-ink);
}
.article-h2:first-child { margin-top: 0; }

.article-p {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(15,12,8,0.7);
  margin-bottom: 1.1rem;
}
.article-p em    { font-style: normal; color: var(--c-ink); }
.article-p strong{ font-style: normal; color: var(--c-ink); font-weight: 700; }

.article-ol,
.article-ul {
  margin: 1rem 0 1.5rem 1.4rem;
  padding: 0;
}
.article-ol li,
.article-ul li {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(15,12,8,0.7);
  margin-bottom: 0.8rem;
  padding-left: 0.4rem;
}
.article-ol li strong,
.article-ul li strong {
  font-style: normal;
  color: var(--c-ink);
  font-weight: 700;
}
.article-ol::marker,
.article-ul::marker { color: var(--c-red); }
.article-ol li::marker { color: var(--c-red); font-weight: 700; font-style: normal; }

/* Inline schema table — used for the story structure + image/sound columns */
.article-schema {
  margin: 1.5rem 0 2rem;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.schema-row {
  display: grid;
  grid-template-columns: 5rem 8rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--c-line);
  align-items: baseline;
}
.schema-row:last-child { border-bottom: none; }
.article-schema.two-col .schema-row {
  grid-template-columns: 8rem 1fr;
}
.schema-time {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--c-red);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.schema-label {
  font-family: var(--f-mono);
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-warm);
  font-weight: 700;
}
.schema-body {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(15,12,8,0.7);
}

/* Call-to-action box at the bottom of the article */
.article-cta {
  margin-top: 3rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--c-line);
  background: rgba(193,57,16,0.04);
}
.cta-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.8rem;
  color: var(--c-ink);
}
.cta-body {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(15,12,8,0.65);
  margin-bottom: 1.5rem;
  max-width: 560px;
}
.cta-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Article responsive adjustments */
@media (max-width: 720px) {
  .schema-row { grid-template-columns: 1fr; gap: 0.3rem; padding: 0.9rem 0; }
  .article-schema.two-col .schema-row { grid-template-columns: 1fr; }
  .schema-time { font-size: 0.65rem; }
  .schema-label { font-size: 0.52rem; }
}

/* ═══════════════════════════════════════════════════════
   GALLERY — film contact sheet
   Numbered frames in rows; click opens full-screen overlay
   with metadata card styled like a lab print.
   ═══════════════════════════════════════════════════════ */
.gallery-empty {
  padding: 3rem 0;
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--c-warm);
  max-width: 520px;
}

.contact-sheet {
  margin-top: 1.5rem;
}
.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-warm);
  padding-bottom: 0.9rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-line);
}
.sheet-label { color: var(--c-red); font-weight: 700; }

.sheet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}
.sheet-frame {
  background: var(--c-paper);
  padding: 0.6rem 0.6rem 0.8rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.5rem;
  border: none;
  font: inherit;
  cursor: pointer;
  text-align: left;
  color: inherit;
  position: relative;
  transition: background 0.2s, transform 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.sheet-frame:hover {
  background: rgba(15,12,8,0.03);
}
.sheet-frame:hover .frame-img {
  filter: none;
}
.frame-n {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--c-warm);
}
.frame-tag {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.48rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-red);
  background: var(--c-paper);
  padding: 0.15rem 0.35rem;
}
.frame-img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  background-color: #d9d2c3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(0.85);
  transition: filter 0.3s ease;
}
.frame-caption {
  font-family: var(--f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  color: var(--c-ink);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Overlay viewer */
.gallery-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 8, 0.96);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.gallery-overlay.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0s linear 0s;
}

.overlay-inner {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 380px);
  gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(1.5rem, 4vh, 3rem) clamp(1rem, 4vw, 4rem);
}
.overlay-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
}
#overlay-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.overlay-meta {
  color: var(--c-paper);
  overflow-y: auto;
  padding-right: 0.5rem;
  font-family: var(--f-mono);
}
.ov-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--c-paper);
  margin-bottom: 0.8rem;
}
.ov-caption {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(237,231,217,0.7);
  margin-bottom: 1.4rem;
}
.ov-type {
  font-size: 0.55rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 1.8rem;
}
.ov-card {
  border-top: 1px solid rgba(237,231,217,0.15);
  padding-top: 0.4rem;
}
.ov-row {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(237,231,217,0.08);
  font-size: 0.68rem;
}
.ov-row:last-child { border-bottom: none; }
.ov-k {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237,231,217,0.4);
}
.ov-v {
  color: var(--c-paper);
  letter-spacing: 0.02em;
}

/* Overlay controls */
.overlay-close,
.overlay-nav {
  position: fixed;
  z-index: 201;
  background: transparent;
  border: 1px solid rgba(237,231,217,0.2);
  color: var(--c-paper);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.overlay-close { top: clamp(0.8rem, 2vh, 1.4rem); right: clamp(0.8rem, 2vw, 1.4rem); font-size: 1.4rem; }
.overlay-prev  { left:  clamp(0.4rem, 1.5vw, 1rem); top: 50%; transform: translateY(-50%); }
.overlay-next  { right: clamp(0.4rem, 1.5vw, 1rem); top: 50%; transform: translateY(-50%); }
.overlay-close:hover,
.overlay-nav:hover {
  border-color: var(--c-red);
  color: var(--c-red);
}

/* Gallery & overlay — responsive (single breakpoint, matches site convention) */
@media (max-width: 720px) {
  .sheet-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .overlay-inner {
    grid-template-columns: 1fr;
    grid-template-rows: 60% auto;
    padding: 1rem;
    gap: 1rem;
  }
  .overlay-meta {
    max-height: 40vh;
    padding-right: 0;
  }
  .ov-row { grid-template-columns: 6rem 1fr; }
  .overlay-prev, .overlay-next {
    top: auto;
    bottom: calc(40vh - 20px);
    transform: none;
  }
}


/* Hide mobile-only elements on desktop */
@media (min-width: 721px) {
  .hamburger   { display: none !important; }
  .mobile-menu { display: none !important; }
}
