@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ===== VARIABLES ===== */
:root {
  --primary: #4282aa;
  --primary-dark: #2f6a8c;
  --primary-light: rgba(66, 130, 170, 0.08);
  --secondary: #ffeda2;
  --secondary-dark: #f5e07a;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --dark: #12202b;
  --text: #2b3a45;
  --text-muted: #6b7c88;
  --border: #e4eaee;
  --shadow-sm: 0 2px 12px rgba(18, 32, 43, 0.06);
  --shadow: 0 6px 28px rgba(18, 32, 43, 0.09);
  --shadow-hover: 0 14px 48px rgba(66, 130, 170, 0.18);
  --radius: 18px;
  --radius-sm: 10px;
  --t: 0.3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.15;
  font-weight: 600;
  color: var(--dark);
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.7rem); }

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
  white-space: nowrap;
}
nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 16px;
  border-radius: 50px;
  transition: color var(--t), background var(--t);
  white-space: nowrap;
}
nav a:hover, nav a.active {
  color: var(--primary);
  background: var(--primary-light);
}
.btn-contact {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  background: var(--primary) !important;
  padding: 9px 22px !important;
  border-radius: 50px !important;
  border: 2px solid var(--primary) !important;
  transition: background var(--t), transform var(--t), box-shadow var(--t) !important;
  margin-left: 8px;
}
.btn-contact:hover {
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(66, 130, 170, 0.3) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  border-radius: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--t);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== DARK MODE TOGGLE ===== */
.dark-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: 12px;
  flex-shrink: 0;
}
.toggle-icon-sun,
.toggle-icon-moon {
  font-size: 0.72rem;
  line-height: 1;
  transition: color 0.3s ease;
  pointer-events: none;
}
.toggle-icon-sun  { color: var(--primary); }
.toggle-icon-moon { color: var(--text-muted); }
body.dark-mode .toggle-icon-sun  { color: var(--text-muted); }
body.dark-mode .toggle-icon-moon { color: var(--secondary); }

.dark-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 12px;
  border: none;
  background: #8a9aaa;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background-color 0.3s ease;
  outline-offset: 3px;
}
.dark-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}
.dark-toggle:hover { background: #6b7c88; }
body.dark-mode .dark-toggle         { background: var(--primary); }
body.dark-mode .dark-toggle:hover   { background: var(--primary-dark); }
body.dark-mode .dark-toggle::after  { transform: translateX(20px); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t);
  border: 2px solid transparent;
  letter-spacing: 0.2px;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(66, 130, 170, 0.3);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--dark);
  border-color: var(--secondary);
}
.btn-secondary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 237, 162, 0.5);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(66, 130, 170, 0.25);
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: #4282aa;
  z-index: 201;
  pointer-events: none;
}

/* ===== CARD HOVER EFFECT ===== */
.card-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(66, 130, 170, 0.20);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.25s ease;
}
.card-hover-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
  transition: opacity 0.25s ease, transform 0.25s ease;
}
a.project-card:hover .card-hover-overlay,
a.work-card:hover .card-hover-overlay {
  opacity: 1;
}
a.project-card:hover .card-hover-arrow,
a.work-card:hover .card-hover-arrow {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ===== PAGE TRANSITIONS ===== */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: #4282aa;
  z-index: 10000;
  pointer-events: none;
  will-change: transform;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s cubic-bezier(.22,1,.36,1), transform 0.75s cubic-bezier(.22,1,.36,1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.fade-in-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.75s cubic-bezier(.22,1,.36,1), transform 0.75s cubic-bezier(.22,1,.36,1);
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }

.fade-in-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.75s cubic-bezier(.22,1,.36,1), transform 0.75s cubic-bezier(.22,1,.36,1);
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===== SECTION HEADERS ===== */
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 100px 0 64px;
  background: linear-gradient(160deg, var(--off-white) 0%, rgba(66, 130, 170, 0.04) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero .section-eyebrow { display: block; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero > .container > p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
}
.page-hero-inner {
  display: flex;
  align-items: center;
  gap: 72px;
}
.page-hero-content {
  flex: 1;
}
.page-hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
}
.page-hero-logo-wrap {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero-logo {
  width: 100%;
  max-width: 300px;
  border-radius: 16px;
  display: block;
}

/* ===== HERO (INDEX) ===== */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-blob-1 {
  top: -120px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 237, 162, 0.4) 0%, transparent 70%);
}
.hero-blob-2 {
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(66, 130, 170, 0.1) 0%, transparent 70%);
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 72px;
  width: 100%;
}
.hero-content {
  flex: 1;
  max-width: 560px;
  position: relative;
  z-index: 1;
}
.hero-photo-wrap {
  flex: 0 0 340px;
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(18, 32, 43, 0.14);
}
.hero-photo-wrap::before {
  content: '';
  position: absolute;
  inset: 12px -12px -12px 12px;
  background: #ffeda2;
  border-radius: var(--radius);
  z-index: -1;
}
.hero-photo-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: var(--radius);
  position: relative;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 em {
  font-style: normal;
  color: var(--primary);
  position: relative;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 44px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== TYPEWRITER ===== */
.hero-h1 { margin-bottom: 24px; }

@keyframes tw-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.typewriter-cursor {
  display: inline-block;
  color: var(--primary);
  font-weight: 300;
  margin-left: 2px;
  animation: tw-blink 0.65s step-end infinite;
}
.typewriter-cursor.done {
  animation: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hero-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 1;
}
.hero-scroll-line {
  width: 40px;
  height: 1px;
  background: var(--text-muted);
}

/* ===== STATS ===== */
.stats {
  background: var(--primary);
  padding: 72px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat-item {
  padding: 28px 40px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--secondary);
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 400;
  line-height: 1.5;
}

/* ===== FEATURED PROJECTS ===== */
.featured-projects {
  padding: 110px 0;
  background: var(--off-white);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 52px;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), background-color 0.3s ease;
  border: 1px solid var(--border);
}
.project-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
}
.project-thumb {
  width: 100%;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  position: relative;
  overflow: hidden;
}
.project-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.08);
}
.pt-1 { background: linear-gradient(140deg, #4282aa 0%, #2d6a8c 100%); }
.pt-2 { background: linear-gradient(140deg, #1d4f6a 0%, #4282aa 100%); }
.pt-3 { background: linear-gradient(140deg, #356b8a 0%, #5a9aba 100%); }
.project-thumb-icon {
  position: relative;
  z-index: 1;
  font-size: 2.4rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}
.project-info { padding: 24px; }
.project-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.project-info h4 { color: var(--dark); margin-bottom: 8px; }
.project-info p { font-size: 0.88rem; color: var(--text-muted); }
.featured-cta { text-align: center; }

/* ===== WORK PAGE ===== */
.work-section { padding: 80px 0 100px; }
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--t);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 26px;
}

/* ===== WORK FEED ===== */
.work-feed {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.work-card-feed {
  display: flex;
  align-items: stretch;
  min-height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), background-color 0.3s ease;
  color: inherit;
  text-decoration: none;
}
.work-card-feed:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.wf-logo {
  flex: 0 0 38%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
}
.wf-accent-blue   { background: rgba(66, 130, 170, 0.07); }
.wf-accent-yellow { background: rgba(255, 237, 162, 0.45); }
.wf-logo-img {
  max-width: 60%;
  max-height: 110px;
  object-fit: contain;
  display: block;
}
.wf-info {
  flex: 1;
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border);
}
.wf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.wf-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 24px;
}
.wf-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
  list-style: none;
  padding: 0;
}
.wf-meta-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.wf-meta-row dt {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  min-width: 130px;
  flex-shrink: 0;
}
.wf-meta-row dd {
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
  margin: 0;
}
.wf-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  align-self: flex-start;
  transition: background var(--t);
  margin-bottom: 12px;
}
.work-card-feed:hover .wf-btn { background: var(--primary-dark); }
.work-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--t), box-shadow var(--t), opacity 0.35s ease, background-color 0.3s ease;
}
.work-card.hidden {
  display: none !important;
}
.work-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.work-thumb {
  width: 100%;
  height: 195px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: relative;
}
.wt-1 { background: linear-gradient(140deg, #4282aa, #2d6a8c); }
.wt-2 { background: linear-gradient(140deg, #2d6a8c, #1d5070); }
.wt-3 { background: linear-gradient(140deg, #356b8a, #4282aa); }
.wt-4 { background: linear-gradient(140deg, #1d4f6a, #356b8a); }
.wt-5 { background: linear-gradient(140deg, #5a9aba, #4282aa); }
.wt-6 { background: linear-gradient(140deg, #2d6a8c, #5a9aba); }
.wt-7 { background: linear-gradient(140deg, #4282aa, #6aabcc); }
.wt-8 { background: linear-gradient(140deg, #356b8a, #6aabcc); }
.work-thumb-icon {
  position: relative;
  z-index: 1;
  font-size: 2rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}
.work-info { padding: 22px; }
.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.work-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 50px;
}
.work-info h4 { color: var(--dark); margin-bottom: 0; font-size: 1.25rem; }
.work-divider {
  height: 1px;
  background: var(--border);
  margin: 14px 0;
}
.work-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.work-meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}
.work-meta-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.work-meta-label {
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 700;
  display: block;
}
.work-meta-value {
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 400;
  line-height: 1.5;
}

/* ===== OVER MIJ ===== */
.about-section { padding: 100px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.about-photo-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
  background: var(--off-white);
}
.about-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-content .section-eyebrow { display: block; }
.about-content h2 { margin-bottom: 32px; }
.about-text p {
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 20px;
}
.about-text p:last-child { margin-bottom: 0; }
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.highlight {
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 20px;
  border-left: 3px solid var(--primary);
}
.highlight-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  line-height: 1;
  margin-bottom: 5px;
}
.highlight-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== EXPERTISES ===== */
.expertises-intro { padding: 80px 0 20px; }
.expertise-item {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.expertise-item:first-child { padding-top: 40px; }
.expertise-item:last-child { border-bottom: none; }
.expertise-item.reverse { flex-direction: row-reverse; }
.expertise-photo {
  flex: 0 0 46%;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: var(--off-white);
}
.expertise-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.ep-1 { background: linear-gradient(140deg, rgba(66,130,170,0.12), rgba(66,130,170,0.22)); }
.ep-2 { background: linear-gradient(140deg, rgba(255,237,162,0.35), rgba(255,237,162,0.6)); }
.ep-3 { background: linear-gradient(140deg, rgba(66,130,170,0.08), rgba(66,130,170,0.18)); }
.ep-4 { background: linear-gradient(140deg, rgba(255,237,162,0.4), rgba(255,237,162,0.7)); }
.ep-5 { background: linear-gradient(140deg, rgba(66,130,170,0.1), rgba(66,130,170,0.2)); }
.ep-border-1 { border: 2px solid rgba(66,130,170,0.2); }
.ep-border-2 { border: 2px solid rgba(255,237,162,0.7); }
.expertise-photo-icon {
  font-size: 5rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
}
.expertise-content { flex: 1; }
.expertise-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  font-weight: 800;
  color: #4282aa;
  line-height: 1;
  margin-bottom: 10px;
  display: block;
  letter-spacing: -1px;
}
.expertise-content h3 { margin-bottom: 20px; }
.expertise-content p {
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.85;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  padding: 60px 0 36px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}
.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  margin-top: -18px;
}
.footer-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  padding: 6px 14px;
  border-radius: 50px;
  transition: color var(--t), background var(--t);
}
.footer-links a:hover {
  color: var(--secondary);
  background: rgba(255,237,162,0.08);
}
.footer-contact {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
}
.footer-contact a {
  color: var(--secondary);
  font-weight: 500;
  transition: opacity var(--t);
}
.footer-contact a:hover { opacity: 0.75; }
.btn-linkedin-footer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: #0077B5;
  color: var(--white);
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  text-decoration: none;
}
.btn-linkedin-footer i { font-size: 1rem; }
.btn-linkedin-footer:hover {
  background: #005f94;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 119, 181, 0.4);
  color: var(--white);
}
.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.08);
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  header nav {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    gap: 4px;
  }
  header nav.open { display: flex; }
  nav a { padding: 12px 16px; border-radius: var(--radius-sm); }
  .btn-contact { margin-left: 0; margin-top: 8px; text-align: center; border-radius: var(--radius-sm) !important; }
  .hamburger { display: flex; }
  header { position: sticky; top: 0; }

  .hero { min-height: auto; padding: 45px 0 35px; }
  .hero-scroll { display: none; }
  .hero-inner { flex-direction: column; gap: 48px; }
  .hero-photo-wrap { flex: none; width: min(280px, 72%); align-self: center; }
  .hero-photo-wrap::before { inset: 12px -10px -12px 10px; }
  .page-hero-inner { flex-direction: column; gap: 40px; }
  .page-hero-inner .hero-photo-wrap { flex: none; width: min(280px, 72%); align-self: center; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .stat-item:last-child { border-bottom: none; }

  .projects-grid { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo-wrap { aspect-ratio: 4/3; max-height: 400px; }

  .expertise-item,
  .expertise-item.reverse { flex-direction: column; gap: 36px; padding: 60px 0; }
  .expertise-photo { flex: none; width: 100%; }
}

/* ===== LOGO THUMBNAILS ===== */
.work-thumb.thumb-logo-bg,
.project-thumb.thumb-logo-bg {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.thumb-logo {
  max-width: 64%;
  max-height: 88px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.thumb-type-icon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(66, 130, 170, 0.4);
}

/* ===== CLICKABLE CARDS ===== */
a.work-card,
a.project-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.thumb-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  font-style: normal;
  opacity: 0;
  transform: scale(0.65) translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

a.work-card:hover .thumb-badge,
a.project-card:hover .thumb-badge {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.extra-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  user-select: none;
}
.extra-link:hover {
  border-bottom-color: var(--primary);
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .stats { padding: 56px 0; }
  .stat-item { padding: 24px 20px; }
  .featured-projects { padding: 80px 0; }
  .about-highlights { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card-feed { flex-direction: column; min-height: auto; }
  .wf-logo { flex: none; min-height: 180px; padding: 32px; border-left: none; border-bottom: 1px solid var(--border); }
  .wf-info { padding: 28px 24px 32px; border-left: none; }
  .wf-meta-row dt { min-width: 110px; }
  .wf-title { margin-bottom: 18px; }
  .filter-bar { gap: 8px; }
  .filter-btn { padding: 8px 18px; font-size: 0.82rem; }
  .expertise-number { font-size: 3rem; }
  footer { padding: 48px 0 28px; }
  .phone-mockup {
    width: min(280px, 80vw);
    height: auto;
    aspect-ratio: 300 / 620;
  }
  .phone-container { padding: 40px 0; }
}

/* ===== DARK MODE ===== */

/* Theme-switch transition — actief voor 0.5s tijdens de wissel, niet permanent */
body.theme-transitioning *,
body.theme-transitioning *::before,
body.theme-transitioning *::after {
  transition: background-color 0.4s ease, color 0.4s ease,
              border-color 0.4s ease, box-shadow 0.4s ease !important;
}

/* ── Variable overrides ── cascade to all children */
body.dark-mode {
  background-color: #0f1923;
  --off-white: #0f1923;
  --dark:      #f5f5f5;
  --text:      #f5f5f5;
  --text-muted: #8aa8bc;
  --border:    #2a3a4a;
  --primary-light: rgba(66, 130, 170, 0.18);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.35);
  --shadow:    0 6px 28px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 14px 48px rgba(66, 130, 170, 0.28);
}

/* ── Sections that use var(--white) as background ── */
body.dark-mode .hero,
body.dark-mode .about-section,
body.dark-mode .work-section,
body.dark-mode .expertises-section,
body.dark-mode .expertises-intro {
  background-color: #0f1923;
}

/* ── Stats bar ── */
body.dark-mode .stats {
  background-color: #1a2632;
}

/* ── Cards ── */
body.dark-mode .project-card,
body.dark-mode .work-card,
body.dark-mode .work-card-feed,
body.dark-mode .wf-info,
body.dark-mode .highlight,
body.dark-mode .about-photo-wrap {
  background-color: #1a2632;
}

/* ── Header ── */
body.dark-mode header {
  background: rgba(15, 25, 35, 0.97);
}

/* ── Mobile nav ── */
body.dark-mode nav {
  background-color: #0f1923;
  border-color: #2a3a4a;
}

/* ── Footer ── */
body.dark-mode footer {
  background-color: #0a1219;
}

/* ── Borders & dividers ── */
body.dark-mode .wf-info       { border-color: #2a3a4a; }
body.dark-mode .work-divider,
body.dark-mode .footer-divider { background-color: #2a3a4a; }

/* ── Logo thumbnail backgrounds ── */
body.dark-mode .thumb-logo-bg {
  background-color: #1a2632 !important;
  border-color: #2a3a4a;
}

/* ── Accent blocks inside work-card-feed ── */
body.dark-mode .wf-accent-blue   { background-color: rgba(66, 130, 170, 0.12); }
body.dark-mode .wf-accent-yellow { background-color: rgba(255, 237, 162, 0.08); }

/* ── Page hero gradient ── */
body.dark-mode .page-hero {
  background: linear-gradient(160deg, #0f1923 0%, rgba(66, 130, 170, 0.05) 100%);
}

/* ── Filter buttons ── */
body.dark-mode .filter-btn:not(.active) {
  background-color: #1a2632;
  border-color:     #2a3a4a;
  color:            #f5f5f5;
}

/* ── Hero decorative blobs (subtler in dark) ── */
body.dark-mode .hero-blob-1 {
  background: radial-gradient(circle, rgba(255, 237, 162, 0.10) 0%, transparent 70%);
}
body.dark-mode .hero-blob-2 {
  background: radial-gradient(circle, rgba(66, 130, 170, 0.05) 0%, transparent 70%);
}

/* ===== PHONE MOCKUP ===== */
.phone-container {
  display: flex;
  justify-content: center;
  padding: 60px 0;
}

.phone-mockup {
  position: relative;
  width: 300px;
  height: 620px;
  background: #111;
  border: 10px solid #1a1a1a;
  border-radius: 44px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.06);
  overflow: hidden;
}

.phone-sound-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  font-size: 0.85rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #111;
  border-radius: 20px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.home-phone-section .phone-screen {
  scroll-snap-type: y proximity;
}

.phone-screen::-webkit-scrollbar {
  display: none;
}

.feed-item {
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  position: relative;
  background: #000;
  cursor: pointer;
}

.feed-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feed-item .play-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s;
}

.feed-item .play-hint::after {
  content: '';
  border-left: 18px solid white;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
}

.feed-item.playing .play-hint {
  opacity: 0;
}

body.dark-mode .phone-mockup {
  border-color: #2a2a2a;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
}

/* ===== HOME PHONE SECTION ===== */
.home-phone-section {
  padding: 80px 0;
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.home-phone-header {
  margin-bottom: 48px;
}

.home-phone-header h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin-top: 12px;
}

body.dark-mode .home-phone-section {
  background: #0f1923;
}

/* ===== LOGO CAROUSEL ===== */
.logo-carousel-section {
  padding: 60px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.logo-carousel-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: 0.01em;
}

.logo-carousel-track-wrap {
  overflow: hidden;
  width: 100%;
}

.logo-carousel-track {
  display: flex;
  align-items: center;
  gap: 96px;
  width: max-content;
  animation: carousel-scroll 40s linear infinite;
}

.logo-carousel-track a {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-carousel-track:hover {
  animation-play-state: paused;
}

.carousel-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter 0.3s ease, opacity 0.3s ease;
  flex-shrink: 0;
}

.carousel-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes carousel-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

body.dark-mode .logo-carousel-section {
  background: #0f1923;
}

body.dark-mode .carousel-logo {
  filter: grayscale(100%) brightness(1.8);
  opacity: 0.4;
}

body.dark-mode .carousel-logo:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .logo-carousel-track {
    animation: none;
  }
}
