/* =============================================================
   BRANDENBURG VASTGOED — BRANDINGVOORSTEL
   ============================================================= */

/* ---- 1. RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; line-height: 1.5; color: var(--ink); background: var(--bg); overflow-x: hidden; }
body.intro-open { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   HOMEPAGE (index.html) — entry point with prominent CTA
   ============================================================ */
body.home {
  background: #0A1628;
  color: #F7F5F0;
  overflow: hidden;
}
.home-page {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
}
.home-page__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: #F7F5F0;
  opacity: 0.06;
}
.home-page__bg svg { width: 100%; height: 100%; }
.home-page__segments {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}
.home-page__segments svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.home-page__segment {
  opacity: 0;
  animation: homeSegIn 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.home-page__segment--1 { transform: translate(-80px, -50px) rotate(-8deg); animation-delay: 0.7s; }
.home-page__segment--2 { transform: translate(-100px, 30px) rotate(6deg); animation-delay: 0.85s; }
.home-page__segment--3 { transform: translate(-60px, 80px) rotate(-4deg); animation-delay: 1.0s; }
.home-page__segment--4 { transform: translate(120px, 60px) rotate(10deg); animation-delay: 1.15s; }
@keyframes homeSegIn {
  to { opacity: 1; transform: translate(0,0) rotate(0); }
}
.home-page__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  display: grid;
  gap: clamp(1.5rem, 3vh, 2.5rem);
}
.home-page__meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #E8E6E1;
  opacity: 0;
  transform: translateY(20px);
  animation: homeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
.home-page__title {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.25rem, 6.5vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  opacity: 0;
  transform: translateY(40px);
  animation: homeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}
.home-page__title em {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: #7A8694;
  letter-spacing: -0.02em;
  display: inline-block;
  opacity: 0;
  transform: translateX(-30px) skewX(-4deg);
  animation: homeEmIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards;
}
@keyframes homeEmIn {
  to { opacity: 1; transform: translateX(0) skewX(0); }
}
.home-page__sub {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.5;
  max-width: 60ch;
  color: #E8E6E1;
  opacity: 0;
  transform: translateY(20px);
  animation: homeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}
.home-page__sub-anim {
  animation: homeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}
.home-page__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-top: 0.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  transform: translateY(20px);
  animation: homeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.95s forwards;
}
.home-page__stat-num {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: #F7F5F0;
  margin-bottom: 0.5rem;
}
.home-page__stat-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E8E6E1;
  opacity: 0.7;
  line-height: 1.5;
}

/* PROMINENT ORANGE CTA */
.home-page__cta {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.1rem 1.875rem;
  background: #F7BC60;
  color: #1A1A1A;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  justify-self: start;
  opacity: 0;
  transform: translateY(20px);
  animation: homeCtaIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
  transition: transform 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}
.home-page__cta:hover {
  transform: translateY(-2px);
  background: #FFD074;
}
.home-page__cta svg {
  transition: transform 0.2s var(--ease-out);
}
.home-page__cta:hover svg {
  transform: translateX(5px);
}
@keyframes homeCtaIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes homeIn {
  to { opacity: 1; transform: translateY(0); }
}
.home-page__footer {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E8E6E1;
  opacity: 0;
  animation: homeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
  margin-top: 0.5rem;
}
@media (max-width: 640px) {
  .home-page__stats { grid-template-columns: 1fr; gap: 1.25rem; padding-top: 1.5rem; }
  .home-page__cta { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page__meta, .home-page__title, .home-page__title em,
  .home-page__sub, .home-page__stats, .home-page__cta,
  .home-page__footer, .home-page__segment {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ============================================================
   (Old intro overlay styles kept for backward compatibility, not used)
   ============================================================ */

/* ---- 2. DESIGN TOKENS ---- */
:root {
  /* Default = Steen & staal palette */
  --c-dark:      #0A1628;
  --c-medium:    #7A8694;
  --c-depth:     #A8B0BA;
  --c-highlight: #E8E6E1;
  --c-paper:     #F7F5F0;

  /* Semantic tokens */
  --bg: #FAFAF8;
  --bg-alt: #F2F0EA;
  --ink: #0A1628;
  --ink-muted: #6B7280;
  --rule: #E5E2DA;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Lora', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;
  --space-11: 12rem;

  /* Timing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 200ms;
  --t-med: 400ms;
  --t-slow: 800ms;
}

/* ---- 3. PALETTE THEMES — applied on body via data attribute ---- */
/* --c-dark    : text-dark / hoofdkleur tekst en logo
   --c-body-dark : achtergrond voor hero / closing / donkere sections (kan dieper zijn dan --c-dark) */
body[data-palette="steen-staal"] {
  --c-dark: #0A1628;
  --c-body-dark: #0A1628;
  --c-medium: #7A8694;
  --c-depth: #A8B0BA;
  --c-highlight: #E8E6E1;
  --c-paper: #F7F5F0;
}
body[data-palette="atelier"] {
  --c-dark: #51596C;
  --c-body-dark: #1F2433;   /* duidelijk dieper dan Graphite voor body-achtergrond */
  --c-medium: #F7BC60;
  --c-depth: #53C1B4;
  --c-highlight: #4F9794;
  --c-paper: #F8F4EB;
}
body[data-palette="brons-navy"] {
  --c-dark: #1A2438;
  --c-body-dark: #1A2438;
  --c-medium: #B07842;
  --c-depth: #8B5A2B;
  --c-highlight: #D4C5B0;
  --c-paper: #FAF6F0;
}
body[data-palette="forest-slate"] {
  --c-dark: #1F3A2E;
  --c-body-dark: #142219;   /* iets dieper voor body */
  --c-medium: #2E5544;
  --c-depth: #3D4A4F;
  --c-highlight: #C9C3B5;
  --c-paper: #F4F2EC;
}

/* ---- 4. TYPOGRAPHY UTILITIES ---- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
}
.mono { font-family: var(--font-mono); }

/* ---- 5. LAYOUT PRIMITIVES ---- */
.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}
.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  position: relative;
}
.section--dark {
  background: var(--c-body-dark);
  color: var(--c-paper);
  transition: background-color var(--t-slow) var(--ease-in-out), color var(--t-slow) var(--ease-in-out);
}
.section--dark .eyebrow { color: var(--c-highlight); opacity: 0.7; }
.section--paper { background: var(--c-paper); transition: background-color var(--t-slow) var(--ease-in-out); }
/* In Atelier valt #F8F4EB in het logo weg tegen de paper-achtergrond — daarom hier wit */
body[data-palette="atelier"] .section--paper { background: #FFFFFF; }

/* ============================================================
   SWITCHER — sticky floating control bar
   ============================================================ */
.switcher {
  position: fixed;
  top: clamp(1rem, 2vw, 1.5rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-radius: 100px;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow:
    0 10px 30px -10px rgba(10, 22, 40, 0.15),
    0 2px 6px -2px rgba(10, 22, 40, 0.1);
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-med) var(--ease-out);
}
.switcher__group {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0.125rem;
  background: rgba(10, 22, 40, 0.04);
  border-radius: 100px;
}
.switcher__divider {
  width: 1px;
  height: 28px;
  background: rgba(10, 22, 40, 0.1);
}
.switcher__btn {
  padding: 0.5rem 0.875rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  border-radius: 100px;
  transition: all var(--t-fast) var(--ease-out);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.switcher__btn:hover { color: var(--ink); }
.switcher__btn[aria-pressed="true"] {
  background: var(--c-dark);
  color: var(--c-paper);
  transition: background-color var(--t-slow) var(--ease-in-out);
}
.switcher__swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.5);
}
.switcher__home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 22, 40, 0.06);
  color: var(--ink);
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
  flex-shrink: 0;
}
.switcher__home:hover {
  background: var(--c-dark);
  color: var(--c-paper);
  transform: scale(1.05);
}
.switcher__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  padding-left: 0.5rem;
}

/* Mobile switcher — simplified */
@media (max-width: 768px) {
  .switcher {
    flex-direction: column;
    border-radius: 16px;
    padding: 0.4rem;
    width: calc(100% - 1rem);
    max-width: 360px;
    gap: 0.25rem;
    top: 0.5rem;
  }
  .switcher__group { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .switcher__divider { display: none; }
  /* Hide the "LOGO VOORSTELLEN" / "PALET" labels on mobile to save space */
  .switcher__label { display: none; }
  /* Home button absolutely positioned in top-right corner of switcher */
  .switcher__home {
    width: 26px;
    height: 26px;
    position: absolute;
    top: 0.3rem;
    right: 0.3rem;
    background: rgba(10, 22, 40, 0.1);
  }
  .switcher__home svg { width: 11px; height: 11px; }
  .switcher__btn {
    padding: 0.4rem 0.4rem;
    font-size: 0.55rem;
    flex: 1;
    min-width: 0;
    justify-content: center;
    letter-spacing: 0.05em;
  }
  .switcher__btn .switcher__swatch { width: 7px; height: 7px; margin-right: 4px; }
  /* Logo group: keep horizontal flex (3 items fit nicely) */
  .switcher__group:first-of-type { padding-right: 36px; /* space for home icon */ }
  /* Palette group: 2 rows of 2 */
  .switcher__group:last-child { display: grid; grid-template-columns: 1fr 1fr; gap: 0.2rem; }
  .switcher__group:last-child .switcher__btn { flex: none; }
}

/* ============================================================
   HERO — opening statement
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: var(--c-body-dark);
  color: var(--c-paper);
  overflow: hidden;
  padding: clamp(5rem, 10vh, 7rem) 0 clamp(2rem, 4vh, 3rem);
  transition: background-color var(--t-slow) var(--ease-in-out), color var(--t-slow) var(--ease-in-out);
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
}
.hero__bg svg { width: 100%; height: 100%; }
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(1.5rem, 3.5vh, 3rem);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  color: var(--c-highlight);
  opacity: 0.6;
}
.hero__meta-item {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* Page indicator: which logo + palette is being viewed */
.hero__page-indicator {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem 0.875rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  width: fit-content;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero__page-key {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-highlight);
  opacity: 0.6;
}
.hero__page-value {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-paper);
  letter-spacing: -0.01em;
}
.hero__page-sep {
  color: var(--c-medium);
  font-weight: 700;
  transition: color var(--t-slow) var(--ease-in-out);
}
@media (max-width: 480px) {
  .hero__page-indicator { padding: 0.5rem 0.75rem; }
  .hero__page-value { font-size: 0.75rem; flex-wrap: wrap; }
}
.hero__title {
  font-size: clamp(2.5rem, 8.5vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-family: var(--font-sans);
  font-weight: 700;
}
.hero__title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--c-medium);
  transition: color var(--t-slow) var(--ease-in-out);
}
.hero__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.35;
  max-width: 42ch;
  color: var(--c-highlight);
  opacity: 0.85;
}
.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: clamp(1rem, 2vh, 2rem);
}
.hero__scroll {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-highlight);
  opacity: 0.6;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero__scroll::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

/* Prominent scroll indicator with mouse icon — visible pill block */
.hero__scroll-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.375rem;
  background: var(--c-paper);
  color: var(--c-dark);
  border-radius: 100px;
  width: fit-content;
  transition: background var(--t-slow) var(--ease-in-out), color var(--t-slow) var(--ease-in-out), transform 0.3s var(--ease-out);
  cursor: pointer;
}
.hero__scroll-indicator:hover {
  transform: translateY(-2px);
}
.hero__mouse {
  width: 20px;
  height: 32px;
  flex-shrink: 0;
  color: var(--c-dark);
}
.hero__mouse-wheel {
  animation: mouseWheel 1.8s var(--ease-in-out) infinite;
  transform-origin: center;
}
@keyframes mouseWheel {
  0%   { transform: translateY(0); opacity: 1; }
  50%  { transform: translateY(8px); opacity: 0.3; }
  100% { transform: translateY(0); opacity: 1; }
}
.hero__scroll-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-dark);
}
@media (prefers-reduced-motion: reduce) {
  .hero__mouse-wheel { animation: none; }
}

/* Hero entrance: dramatic build-in (no loops) */
.hero__title, .hero__sub, .hero__meta, .hero__page-indicator, .hero__bottom {
  opacity: 0;
  animation: heroIn 1.4s var(--ease-out) forwards;
}
.hero__meta { transform: translateY(-30px); animation-delay: 0.15s; }
.hero__page-indicator { transform: translateY(-20px); animation-delay: 0.3s; }
.hero__title {
  transform: translateY(80px);
  animation-delay: 0.45s;
  animation-duration: 1.6s;
}
.hero__title em {
  display: inline-block;
  opacity: 0;
  transform: translateX(-40px) skewX(-6deg);
  animation: emIn 1.3s var(--ease-out) forwards;
  animation-delay: 1s;
}
.hero__sub {
  transform: translateY(40px);
  animation-delay: 1.05s;
}
.hero__bottom {
  transform: translateY(20px);
  animation-delay: 1.45s;
}

/* Re-trigger animation when palette or logo changes */
.hero.is-reanimating .hero__title,
.hero.is-reanimating .hero__sub,
.hero.is-reanimating .hero__meta,
.hero.is-reanimating .hero__page-indicator,
.hero.is-reanimating .hero__bottom,
.hero.is-reanimating .hero__title em,
.hero.is-reanimating .hero__segment {
  animation: none;
}
/* Slightly faster animation for re-trigger (less full waiting) */
.hero.is-reanimating .hero__title { animation: heroIn 1s var(--ease-out) 0.05s forwards; transform: translateY(40px); }
.hero.is-reanimating .hero__title em { animation: emIn 0.9s var(--ease-out) 0.35s forwards; }
.hero.is-reanimating .hero__meta { animation: heroIn 0.7s var(--ease-out) forwards; transform: translateY(-15px); }
.hero.is-reanimating .hero__page-indicator { animation: heroIn 0.8s var(--ease-out) 0.15s forwards; transform: translateY(-15px) scale(0.95); }
.hero.is-reanimating .hero__sub { animation: heroIn 0.7s var(--ease-out) 0.5s forwards; transform: translateY(20px); }
.hero.is-reanimating .hero__bottom { animation: heroIn 0.7s var(--ease-out) 0.7s forwards; transform: translateY(15px); }
.hero.is-reanimating .hero__segment {
  animation: segIn 1s var(--ease-out) forwards;
}
.hero.is-reanimating .hero__segment--1 { animation-delay: 0.2s; }
.hero.is-reanimating .hero__segment--2 { animation-delay: 0.3s; }
.hero.is-reanimating .hero__segment--3 { animation-delay: 0.4s; }
.hero.is-reanimating .hero__segment--4 { animation-delay: 0.5s; }

@keyframes heroIn {
  to { opacity: 1; transform: translate(0, 0) scale(1); }
}
@keyframes emIn {
  to { opacity: 1; transform: translateX(0) skewX(0); }
}

/* Hero background grid animates in */
.hero__bg {
  opacity: 0;
  animation: bgIn 2s var(--ease-out) 0.2s forwards;
}
@keyframes bgIn {
  to { opacity: 0.06; }
}

/* Floating geometric segments on hero (decorative, no loop after settle) */
.hero__segments {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.25;
  mix-blend-mode: screen;
}
.hero__segments svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.hero__segment {
  opacity: 0;
  transform-origin: center;
  animation: segIn 1.6s var(--ease-out) forwards;
}
.hero__segment--1 { animation-delay: 0.6s; transform: translate(-100px, -60px) rotate(-10deg) scale(0.5); }
.hero__segment--2 { animation-delay: 0.75s; transform: translate(120px, -40px) rotate(8deg) scale(0.6); }
.hero__segment--3 { animation-delay: 0.9s; transform: translate(-80px, 100px) rotate(-4deg) scale(0.7); }
.hero__segment--4 { animation-delay: 1.05s; transform: translate(140px, 80px) rotate(12deg) scale(0.55); }
@keyframes segIn {
  to { opacity: 0.6; transform: translate(0,0) rotate(0) scale(1); }
}

/* ============================================================
   VOOR & NA — current logo vs new direction
   ============================================================ */
.voorna {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}
.voorna__col h3.eyebrow { margin-bottom: 1.5rem; }

.voorna__current,
.voorna__new {
  padding: clamp(2rem, 5vw, 3.5rem) 2rem;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.voorna__current {
  background: #FFFFFF;
}
.voorna__current::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 10px, rgba(0,0,0,0.012) 10px 11px);
  pointer-events: none;
}
.voorna__current-img {
  max-width: 75%;
  max-height: 140px;
  height: auto;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.1);
}
.voorna__current-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  margin-top: 2rem;
}
.voorna__new {
  background: #FFFFFF;
  border: 1px solid var(--rule);
  transition: background-color var(--t-slow) var(--ease-in-out), border-color var(--t-slow) var(--ease-in-out);
}
.voorna__new img {
  max-width: 75%;
  max-height: 140px;
  object-fit: contain;
}
.voorna__new-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 2rem;
}
@media (max-width: 768px) {
  /* Push hero content below switcher on mobile */
  .hero {
    padding-top: clamp(11rem, 28vw, 14rem);
  }
  /* Smaller hero title on mobile so it fits in 2-3 lines */
  .hero__title {
    font-size: clamp(2.25rem, 11vw, 3.5rem);
  }
  /* Tighten page indicator badge */
  .hero__page-indicator { padding: 0.4rem 0.75rem; }
  .hero__page-value { font-size: 0.75rem; flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .voorna { grid-template-columns: 1fr; }
}

/* ============================================================
   LOGO SHOWCASE — main logo display
   ============================================================ */
.logoshow {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
}
.logoshow__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: end;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.logoshow__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.logoshow__name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}
.logoshow__stage {
  background: #FFFFFF;
  border: 1px solid var(--rule);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  transition: background-color var(--t-slow) var(--ease-in-out);
}
/* Dramatic clip-path reveal for the logo stage when scrolled into view */
.reveal-scale .logoshow__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-dark);
  transform-origin: left center;
  transform: scaleX(1);
  transition: transform 1.2s var(--ease-in-out);
  z-index: 3;
}
.reveal-scale.is-visible .logoshow__stage::before {
  transform: scaleX(0);
  transform-origin: right center;
  transition-delay: 0.2s;
}
.logoshow__stage img {
  max-width: 100%;
  width: min(60vw, 720px);
  height: auto;
  position: relative;
  z-index: 2;
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out), filter 0.45s var(--ease-out);
}
@media (max-width: 768px) {
  .logoshow__stage img { width: 100%; max-width: 100%; }
  .logoshow__stage { padding: 1.25rem 1rem; min-height: 200px; }
}
.logoshow__stage--switching img { opacity: 0; }

.logoshow__caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.logoshow__caption-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ============================================================
   THOUGHT — the idea behind each logo
   ============================================================ */
.thought {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.thought__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.thought__label {
  position: sticky;
  top: 7rem;
}
.thought__body {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 22ch;
}
.thought__body strong {
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--c-dark);
  transition: color var(--t-slow) var(--ease-in-out);
}
.thought__detail {
  margin-top: 2rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 56ch;
  font-style: normal;
}
@media (max-width: 768px) {
  .thought__grid { grid-template-columns: 1fr; }
  .thought__label { position: static; }
}

/* ============================================================
   PALETTE — color cards
   ============================================================ */
.palette {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: #FFFFFF;
  transition: background-color var(--t-slow) var(--ease-in-out);
}
.palette__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(10,22,40,0.1);
}
.palette__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}
.palette__desc {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  max-width: 28ch;
  color: var(--ink-muted);
  text-align: right;
}
.palette__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.5rem, 1.5vw, 1rem);
}
.palette__card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease-out);
}
.palette__card:hover { transform: translateY(-4px); }
.palette__swatch {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  border: 1px solid rgba(10,22,40,0.08);
}
.palette__info {
  padding: 0.875rem 0.25rem 0;
}
.palette__name {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.palette__hex {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-muted);
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
}
.palette__role {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  opacity: 0.7;
  margin-top: 0.5rem;
}

/* Gradient bar below palette grid — shows the full tonal range */
.palette__gradient {
  margin-top: clamp(2rem, 4vw, 3rem);
  height: clamp(180px, 22vw, 280px);
  border-radius: 8px;
  background: linear-gradient(135deg,
    var(--c-dark) 0%,
    var(--c-medium) 35%,
    var(--c-depth) 65%,
    var(--c-highlight) 100%
  );
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  transition: background var(--t-slow) var(--ease-in-out);
}
.palette__gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 18px);
  pointer-events: none;
}
.palette__gradient-label {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--c-paper);
}
.palette__gradient-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  letter-spacing: -0.02em;
  line-height: 1;
}
.palette__gradient-meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .palette__grid { grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
  .palette__head { flex-direction: column; align-items: flex-start; }
  .palette__desc { text-align: left; }
  .palette__card { padding: 0.4rem; }
  .palette__swatch { height: 80px; }
  .palette__name { font-size: 0.8rem; }
  .palette__hex { font-size: 0.55rem; }
  .palette__role { font-size: 0.5rem; }
}

/* ============================================================
   TYPOGRAPHY SECTION
   ============================================================ */
.typo {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.typo__head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: 2rem; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem; }
.typo__head h2 { font-family: var(--font-display); font-style: italic; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1; }
.typo__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.typo__card {
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--bg);
}
.typo__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}
.typo__sample-bold {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--c-dark);
  transition: color var(--t-slow) var(--ease-in-out);
}
.typo__sample-light {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  letter-spacing: 0.4em;
  text-transform: lowercase;
  color: var(--c-medium);
  margin-top: 0.5rem;
  transition: color var(--t-slow) var(--ease-in-out);
}
.typo__meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.typo__meta-item { display: flex; flex-direction: column; gap: 0.25rem; }
.typo__meta-key { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.typo__meta-val { font-family: var(--font-sans); font-size: 0.85rem; font-weight: 500; }

.typo__scale { display: grid; gap: 1rem; }
.typo__scale-row { display: grid; grid-template-columns: 60px 1fr; gap: 1.5rem; align-items: baseline; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); }
.typo__scale-row:last-child { border-bottom: none; }
.typo__scale-key { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--ink-muted); }
.typo__scale-val { font-family: var(--font-sans); font-weight: 700; line-height: 1; }
.typo__scale-val.h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.typo__scale-val.h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.typo__scale-val.h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); font-weight: 600; }
.typo__scale-val.body { font-size: 1rem; font-weight: 400; }
.typo__scale-val.small { font-size: 0.875rem; font-weight: 400; }
.typo__scale-val.caption { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }

@media (max-width: 768px) {
  .typo__grid { grid-template-columns: 1fr; }
  .typo__meta { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   USAGE — logo do's & don'ts / variants
   ============================================================ */
.usage {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--bg-alt);
}
.usage__head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: 2rem; border-bottom: 1px solid rgba(10,22,40,0.1); display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem; }
.usage__head h2 { font-family: var(--font-display); font-style: italic; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1; }
.usage__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.75rem, 2vw, 1.25rem);
}
.usage__cell {
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
}
.usage__cell--light { background: var(--c-paper); border: 1px solid var(--rule); }
.usage__cell--dark { background: var(--c-dark); transition: background-color var(--t-slow) var(--ease-in-out); }
.usage__cell--accent { background: var(--c-medium); transition: background-color var(--t-slow) var(--ease-in-out); }
.usage__cell--depth { background: var(--c-depth); transition: background-color var(--t-slow) var(--ease-in-out); }
.usage__cell img { max-width: 80%; max-height: 60%; }
.usage__cell--dark img { filter: brightness(0) invert(1); }
/* On accent and depth backgrounds the dual-color logo may clash;
   render as monochrome dark for readability */
.usage__cell--accent img { filter: brightness(0); opacity: 0.85; }
.usage__cell--depth img { filter: brightness(0) invert(1); opacity: 0.95; }
.usage__tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.5;
}
.usage__cell--light .usage__tag { color: var(--ink-muted); }
.usage__cell--dark .usage__tag { color: var(--c-paper); opacity: 0.6; }
.usage__cell--accent .usage__tag { color: var(--c-dark); opacity: 0.6; }
.usage__cell--depth .usage__tag { color: var(--c-paper); opacity: 0.6; }

@media (max-width: 768px) {
  .usage__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   MOCKUPS — applications of the brand
   ============================================================ */
.mockups {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.mockups__head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: 2rem; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem; }
.mockups__head h2 { font-family: var(--font-display); font-style: italic; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1; }
.mockups__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
}
.mockup {
  position: relative;
  border-radius: 8px;
  overflow: visible;
}
.mockup__caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.875rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.mockup__caption span:last-child { opacity: 0.5; }
.mockup__stage { border-radius: 8px; overflow: hidden; }

/* Business card mockup */
.mockup--card { grid-column: span 8; }
.mockup--card .mockup__stage {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #ddd 0%, #aaa 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mockup--card .mockup__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.4) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(0,0,0,0.2) 0%, transparent 50%);
}
.businesscard-stack {
  position: relative;
  width: 60%;
  max-width: 380px;
  transform: rotate(-8deg);
}
.businesscard {
  aspect-ratio: 1.75 / 1;
  border-radius: 6px;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.4),
    0 10px 20px -10px rgba(0,0,0,0.3);
  padding: 1.25rem;
  position: relative;
  transition: background-color var(--t-slow) var(--ease-in-out), color var(--t-slow) var(--ease-in-out);
}
.businesscard--front {
  background: var(--c-paper);
  color: var(--c-dark);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.businesscard--back {
  background: var(--c-dark);
  color: var(--c-paper);
  position: absolute;
  top: 12%;
  left: 12%;
  width: 100%;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.businesscard-logo {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(0.7rem, 1.3vw, 1rem);
  letter-spacing: -0.01em;
  line-height: 1;
}
.businesscard-tag {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(0.55rem, 1vw, 0.7rem);
  letter-spacing: 0.4em;
  margin-top: 0.2rem;
  color: var(--c-medium);
  text-transform: lowercase;
  transition: color var(--t-slow) var(--ease-in-out);
}
.businesscard-contact {
  font-family: var(--font-mono);
  font-size: clamp(0.45rem, 0.8vw, 0.6rem);
  line-height: 1.5;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
}
.businesscard-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(0.65rem, 1.1vw, 0.85rem);
  margin-bottom: 0.15rem;
}
.businesscard--back svg {
  width: 50%;
  opacity: 0.5;
}

/* Letterhead mockup */
.mockup--letter { grid-column: span 4; }
.mockup--letter .mockup__stage {
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.letterhead {
  width: 85%;
  height: 92%;
  background: var(--c-paper);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.25);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: background-color var(--t-slow) var(--ease-in-out);
}
.letterhead__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}
.letterhead__logo {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(0.6rem, 1.1vw, 0.875rem);
  color: var(--c-dark);
  letter-spacing: -0.01em;
  transition: color var(--t-slow) var(--ease-in-out);
}
.letterhead__logo small {
  display: block;
  font-weight: 300;
  font-size: clamp(0.45rem, 0.9vw, 0.65rem);
  letter-spacing: 0.4em;
  color: var(--c-medium);
  text-transform: lowercase;
  margin-top: 0.1rem;
  transition: color var(--t-slow) var(--ease-in-out);
}
.letterhead__meta {
  font-family: var(--font-mono);
  font-size: clamp(0.4rem, 0.75vw, 0.55rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: right;
}
.letterhead__body {
  flex: 1;
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.letterhead__line {
  height: 4px;
  background: var(--ink);
  opacity: 0.1;
  border-radius: 2px;
}
.letterhead__line--short { width: 60%; }
.letterhead__line--med { width: 80%; }
.letterhead__line--accent {
  background: var(--c-medium);
  opacity: 0.5;
  width: 30%;
  transition: background-color var(--t-slow) var(--ease-in-out);
}

/* Social post mockup */
.mockup--social { grid-column: span 4; }
.mockup--social .mockup__stage {
  aspect-ratio: 1 / 1;
  background: var(--c-dark);
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color var(--t-slow) var(--ease-in-out);
}
.social__brand {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--c-paper);
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  letter-spacing: -0.01em;
}
.social__brand small {
  display: block;
  font-weight: 300;
  font-size: 0.65em;
  letter-spacing: 0.4em;
  color: var(--c-medium);
  text-transform: lowercase;
  margin-top: 0.1rem;
  transition: color var(--t-slow) var(--ease-in-out);
}
.social__statement {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--c-paper);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.social__statement em {
  color: var(--c-medium);
  font-style: italic;
  transition: color var(--t-slow) var(--ease-in-out);
}
.social__tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-highlight);
  opacity: 0.7;
}

/* Web hero mockup */
.mockup--web { grid-column: span 8; }
.mockup--web .mockup__stage {
  aspect-ratio: 2 / 1;
  background: var(--c-paper);
  border: 1px solid var(--rule);
  overflow: hidden;
  position: relative;
  transition: background-color var(--t-slow) var(--ease-in-out);
}
.webnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.webnav__logo {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(0.7rem, 1.2vw, 0.9rem);
  color: var(--c-dark);
  transition: color var(--t-slow) var(--ease-in-out);
}
.webnav__links {
  display: flex;
  gap: 1.5rem;
}
.webnav__link {
  font-family: var(--font-sans);
  font-size: clamp(0.6rem, 1vw, 0.75rem);
  color: var(--ink-muted);
}
.webhero {
  padding: clamp(1.5rem, 4vw, 3rem);
  height: calc(100% - 3.5rem);
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2rem;
  align-items: center;
}
.webhero__copy h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.25rem, 3.5vw, 2.5rem);
  line-height: 0.95;
  color: var(--c-dark);
  letter-spacing: -0.02em;
  transition: color var(--t-slow) var(--ease-in-out);
}
.webhero__copy h3 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--c-medium);
  transition: color var(--t-slow) var(--ease-in-out);
}
.webhero__copy p {
  font-family: var(--font-sans);
  font-size: clamp(0.6rem, 1vw, 0.8rem);
  margin-top: 1rem;
  color: var(--ink-muted);
  line-height: 1.5;
}
.webhero__cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.5rem 1rem;
  background: var(--c-dark);
  color: var(--c-paper);
  font-family: var(--font-mono);
  font-size: clamp(0.55rem, 0.9vw, 0.7rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background-color var(--t-slow) var(--ease-in-out);
}
.webhero__visual {
  background: var(--c-dark);
  aspect-ratio: 1;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: background-color var(--t-slow) var(--ease-in-out);
}
.webhero__visual img { max-width: 100%; max-height: 100%; filter: brightness(0) invert(1); }

/* Signage mockup */
.mockup--sign { grid-column: span 4; }
.mockup--sign .mockup__stage {
  aspect-ratio: 16 / 9;
  background: linear-gradient(180deg, #cdd5dc 0%, #97a5b1 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem;
}
.mockup--sign .mockup__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.02) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.02) 0 1px, transparent 1px 40px);
}
.signpost {
  width: 70%;
  height: 70%;
  background: var(--c-dark);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 15px 30px -10px rgba(0,0,0,0.4);
  transition: background-color var(--t-slow) var(--ease-in-out);
}
.signpost__logo {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--c-paper);
  font-size: clamp(0.85rem, 1.5vw, 1.125rem);
}
.signpost__logo small {
  display: block;
  font-weight: 300;
  font-size: 0.7em;
  letter-spacing: 0.4em;
  color: var(--c-medium);
  text-transform: lowercase;
  margin-top: 0.15rem;
  transition: color var(--t-slow) var(--ease-in-out);
}
.signpost__project {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--c-paper);
  font-size: clamp(0.7rem, 1.2vw, 0.9rem);
  opacity: 0.8;
}
.signpost__detail {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--c-highlight);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* Email signature mockup */
.mockup--email { grid-column: span 6; }
.mockup--email .mockup__stage {
  aspect-ratio: 16 / 9;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}
.mockup--email .mockup__stage::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  height: 2rem;
  background: white;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);
}
.emailsig {
  background: white;
  padding: clamp(1rem, 2.5vw, 1.75rem);
  border-left: 3px solid var(--c-medium);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.15);
  max-width: 90%;
  transition: border-color var(--t-slow) var(--ease-in-out);
}
.emailsig__logo {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(0.85rem, 1.5vw, 1.125rem);
  color: var(--c-dark);
  line-height: 1;
  transition: color var(--t-slow) var(--ease-in-out);
}
.emailsig__logo small {
  display: block;
  font-weight: 300;
  font-size: 0.65em;
  letter-spacing: 0.4em;
  color: var(--c-medium);
  text-transform: lowercase;
  margin-top: 0.15rem;
  transition: color var(--t-slow) var(--ease-in-out);
}
.emailsig__details {
  display: grid;
  gap: 0.15rem;
  font-family: var(--font-mono);
  font-size: clamp(0.55rem, 1vw, 0.7rem);
  letter-spacing: 0.05em;
  color: var(--ink-muted);
}
.emailsig__name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  letter-spacing: -0.01em;
  color: var(--c-dark);
  margin-bottom: 0.2rem;
  transition: color var(--t-slow) var(--ease-in-out);
}

/* Project card mockup */
.mockup--project { grid-column: span 12; }
.mockup--project .mockup__stage {
  aspect-ratio: 32 / 9;
  background: var(--c-paper);
  border: 1px solid var(--rule);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color var(--t-slow) var(--ease-in-out);
}
.projcard__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.projcard__tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  background: var(--c-medium);
  color: var(--c-paper);
  border-radius: 100px;
  transition: background-color var(--t-slow) var(--ease-in-out);
}
.projcard__num { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.12em; color: var(--ink-muted); }
.projcard__visual {
  flex: 1;
  margin: 1rem 0;
  background: linear-gradient(135deg, var(--c-depth) 0%, var(--c-dark) 100%);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: background var(--t-slow) var(--ease-in-out);
}
.projcard__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 12px);
}
.projcard__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--c-dark);
  line-height: 1;
  transition: color var(--t-slow) var(--ease-in-out);
}
.projcard__meta { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-top: 0.4rem; }

@media (max-width: 1024px) {
  .mockup--card, .mockup--letter, .mockup--web, .mockup--sign, .mockup--social, .mockup--email, .mockup--project { grid-column: span 12; }
}

/* ============================================================
   PATTERN — 3D segment motif (only for geometric logo)
   ============================================================ */
.pattern { padding: clamp(2.5rem, 5vw, 4.5rem) 0; background: var(--c-body-dark); color: var(--c-paper); transition: background-color var(--t-slow) var(--ease-in-out); }
.pattern__head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem; }
.pattern__head h2 { font-family: var(--font-display); font-style: italic; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1; color: var(--c-paper); }
.pattern__head .eyebrow { color: var(--c-highlight); opacity: 0.7; }
.pattern__intro { font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.5rem); max-width: 50ch; opacity: 0.85; margin-bottom: 3rem; line-height: 1.4; }
.pattern__grid { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(1rem, 2vw, 1.5rem); }
.pattern__big { aspect-ratio: 16 / 10; border-radius: 8px; background: var(--c-paper); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; transition: background-color var(--t-slow) var(--ease-in-out); }
.pattern__small-col { display: grid; grid-template-rows: 1fr 1fr; gap: clamp(1rem, 2vw, 1.5rem); }
.pattern__small { border-radius: 8px; padding: 1.5rem; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pattern__small--medium { background: var(--c-medium); transition: background-color var(--t-slow) var(--ease-in-out); }
.pattern__small--depth { background: var(--c-depth); transition: background-color var(--t-slow) var(--ease-in-out); }

@media (max-width: 768px) {
  .pattern__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PLACEHOLDER — voor eigen Illustrator/Photoshop exports
   ============================================================ */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-paper);
  border: 2px dashed rgba(10,22,40,0.18);
  border-radius: 8px;
  color: var(--c-dark);
  text-align: center;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(10,22,40,0.02) 18px 19px);
  pointer-events: none;
}
.placeholder--dark {
  background: var(--c-medium);
  border-color: rgba(255,255,255,0.25);
  color: var(--c-paper);
}
.placeholder--dark.pattern__small--depth {
  background: var(--c-depth);
}
.placeholder__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  max-width: 80%;
}
.placeholder__icon {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  opacity: 0.5;
  margin-bottom: 0.5rem;
}
.placeholder__label {
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.placeholder__hint {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 0.25rem;
}
.placeholder__path {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  opacity: 0.4;
  margin-top: 0.5rem;
  padding: 0.25rem 0.5rem;
  background: rgba(10,22,40,0.05);
  border-radius: 3px;
}
.placeholder--dark .placeholder__path {
  background: rgba(255,255,255,0.1);
}

/* ============================================================
   CLOSING — final statement
   ============================================================ */
.closing { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--c-body-dark); color: var(--c-paper); transition: background-color var(--t-slow) var(--ease-in-out); }
.closing__statement {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 20ch;
}
.closing__statement em {
  color: var(--c-medium);
  transition: color var(--t-slow) var(--ease-in-out);
}
.closing__meta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: clamp(3rem, 8vw, 6rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.closing__meta-item { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-highlight); opacity: 0.7; }
.closing__meta-item strong { color: var(--c-paper); font-weight: 500; opacity: 1; display: block; margin-top: 0.25rem; }

/* ============================================================
   PALETTE SWITCH — dramatic color wipe overlay
   ============================================================ */
.switch-wipe {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: 0;
}
.switch-wipe::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-medium);
  transform: scaleX(0);
  transform-origin: left center;
}
.switch-wipe.is-active {
  opacity: 1;
}
.switch-wipe.is-active::before {
  animation: wipeRight 800ms var(--ease-in-out) forwards;
}
@keyframes wipeRight {
  0% { transform: scaleX(0); transform-origin: left center; }
  50% { transform: scaleX(1); transform-origin: left center; }
  50.001% { transform: scaleX(1); transform-origin: right center; }
  100% { transform: scaleX(0); transform-origin: right center; }
}

/* Logo swap animation */
.logoshow__stage.is-switching img {
  opacity: 0;
  transform: scale(0.92) translateY(20px);
  filter: blur(8px);
}

/* ============================================================
   SCROLL-REVEAL — meer dynamisch dan voorheen
   ============================================================ */

/* Standard fade-up reveal */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide in from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide in from right */
.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale-up reveal (subtle zoom) */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
}
.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Big statement reveal: clip-path wipe */
.reveal-wipe {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.4s var(--ease-out);
}
.reveal-wipe.is-visible {
  clip-path: inset(0 0 0 0);
}

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 120ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 240ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 360ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 480ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 600ms; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 720ms; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 840ms; }

/* Palette card: scale + lift */
.reveal-stagger .palette__card {
  transform: translateY(60px) scale(0.92);
}
.reveal-stagger.is-visible .palette__card {
  transform: translateY(0) scale(1);
}

/* Usage cells: come in with rotation hint */
.reveal-stagger .usage__cell {
  transform: translateY(40px) rotate(-1.5deg);
}
.reveal-stagger.is-visible .usage__cell {
  transform: translateY(0) rotate(0);
}

/* Parallax movement on certain elements (computed via JS) */
[data-parallax] {
  will-change: transform;
}

/* Element that has been scrolled past - subtle scale */
.scroll-passed {
  /* future use */
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-stagger > *, .reveal-left, .reveal-right, .reveal-scale, .reveal-wipe { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ============================================================
   FOOTER / FOOTNOTE
   ============================================================ */
.foot { padding: 3rem 0; background: var(--bg); border-top: 1px solid var(--rule); }
.foot__row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.foot__item { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
