/* Project76 — production stylesheet */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Karla', sans-serif;
  color: #26232f;
  background: #ffffff;
  overflow-x: hidden;
}

a {
  color: #0d0048;
  text-decoration: none;
}

a:hover {
  color: #c1633f;
}

::selection {
  background: #c1633f;
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Layout helpers ---------- */

.section {
  padding: clamp(64px, 9vw, 110px) clamp(20px, 5vw, 64px);
  scroll-margin-top: 90px;
}

.section--bg-ivory {
  background: #f6f1ec;
}

.section--bg-white {
  background: #ffffff;
}

.section--bg-purple {
  background: #0d0048;
}

.section--klanten {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px);
}

.section--cta {
  padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 64px);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c1633f;
  font-weight: 600;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #eae6e0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 64px);
  gap: 24px;
  flex-wrap: wrap;
}

/* Blur lives on a pseudo-element (not on .site-header itself) because a
   filter/backdrop-filter on an element creates a new containing block for
   its fixed-position descendants — which would trap the fullscreen mobile
   nav inside the header instead of the viewport. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}

.site-header__logo {
  display: flex;
  align-items: center;
  color: #0d0048;
}

.site-header__logo img {
  height: 38px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 15px;
  font-weight: 500;
  color: #26232f;
}

.site-nav a.button {
  font-weight: 600;
  color: #ffffff;
  background: #0d0048;
  padding: 10px 20px;
}

.site-nav a.button:hover {
  color: #ffffff;
  background: #c1633f;
}

/* ---------- Mobile nav toggle ---------- */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 60;
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #0d0048;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: #f6f1ec;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 96px 24px 48px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    font-size: 22px;
  }

  .site-nav a.button {
    margin-top: 10px;
    padding: 14px 32px;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(48px, 7vw, 80px) clamp(20px, 5vw, 64px) clamp(40px, 6vw, 64px);
  background: #f6f1ec;
  overflow: hidden;
}

.hero__stijlelement {
  position: absolute;
  top: -40px;
  right: -30px;
  width: clamp(220px, 30vw, 420px);
  height: auto;
  opacity: 0.07;
  pointer-events: none;
}

.hero__content {
  max-width: 820px;
  position: relative;
}

.hero h1 {
  font-family: 'Libre Caslon Text', serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.15;
  color: #0d0048;
  margin: 0 0 22px;
}

.hero p {
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.6;
  color: #4a4650;
  max-width: 600px;
  margin: 0 0 32px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button-primary {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: #0d0048;
  padding: 15px 28px;
  white-space: nowrap;
  display: inline-block;
}

.button-primary:hover {
  color: #ffffff;
  background: #c1633f;
}

.link-arrow {
  font-size: 15px;
  font-weight: 600;
  color: #0d0048;
  padding: 15px 4px;
  display: inline-block;
}

/* ---------- Content sections (Advies / Visie / Werkvloer) ---------- */

.split {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 56px);
}

.split__label {
  flex: 1 1 220px;
  max-width: 260px;
}

.split__label h2 {
  font-family: 'Libre Caslon Text', serif;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 40px);
  color: #0d0048;
  margin: 16px 0 0;
  line-height: 1.2;
}

.split__body {
  flex: 2 1 420px;
  max-width: 640px;
}

.split__body p {
  font-size: 17px;
  line-height: 1.75;
  color: #4a4650;
  margin: 0 0 20px;
}

.split__body p:last-child {
  margin-bottom: 0;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 56px);
  margin: clamp(48px, 6vw, 72px) 0;
  padding: 32px 0;
  border-top: 1px solid #eae6e0;
  border-bottom: 1px solid #eae6e0;
}

.stat-row__spacer {
  flex: 1 1 220px;
  max-width: 260px;
}

.stat-row__content {
  flex: 2 1 420px;
  display: flex;
  align-items: baseline;
  gap: 22px;
  max-width: 640px;
  flex-wrap: wrap;
}

.stat-row__number {
  font-family: 'Libre Caslon Text', serif;
  font-size: clamp(40px, 5vw, 56px);
  color: #0d0048;
  line-height: 1;
}

.stat-row__caption {
  font-size: 15px;
  line-height: 1.5;
  color: #4a4650;
  max-width: 340px;
}

.werkvloer__blocks > .split {
  margin-bottom: clamp(48px, 6vw, 72px);
}

/* ---------- Over Eva ---------- */

.eva-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(32px, 6vw, 64px);
  margin-top: 28px;
  align-items: start;
}

.eva-grid__portrait {
  display: flex;
  flex-direction: column;
  gap: 20px;
  order: 2;
}

.eva-grid__portrait img {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 25%;
}

.eva-grid__portrait span {
  font-family: 'Libre Caslon Text', serif;
  font-size: 19px;
  color: #0d0048;
}

.eva-grid__text {
  grid-column: span 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px, 4vw, 48px);
  order: 1;
}

.eva-grid__text p {
  font-size: 16px;
  line-height: 1.75;
  color: #4a4650;
  margin: 0;
}

/* ---------- Quote ---------- */

.quote {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.quote__mark {
  font-family: 'Libre Caslon Text', serif;
  font-size: 56px;
  color: #c1633f;
  line-height: 0.3;
  display: block;
}

.quote p {
  font-family: 'Libre Caslon Text', serif;
  font-style: italic;
  font-size: 21px;
  line-height: 1.6;
  color: #ffffff;
  margin: 20px 0 24px;
}

.quote cite {
  font-style: normal;
  font-size: 14px;
  color: #cfc9e8;
}

/* ---------- Klanten ---------- */

.klanten-heading {
  margin-bottom: 40px;
}

.klanten-heading h2 {
  font-family: 'Libre Caslon Text', serif;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  color: #0d0048;
  margin: 14px 0 0;
}

.klanten-track-wrap {
  overflow: hidden;
  padding: 12px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.klanten-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: klanten-scroll 32s linear infinite;
}

.klanten-track img {
  height: 96px;
  width: 220px;
  object-fit: contain;
}

@keyframes klanten-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

/* ---------- CTA ---------- */

.cta {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  font-family: 'Libre Caslon Text', serif;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 50px);
  color: #ffffff;
  margin: 0 0 20px;
  line-height: 1.15;
}

.cta p {
  font-size: 17px;
  line-height: 1.7;
  color: #cfc9e8;
  margin: 0 0 36px;
}

.button-inverse {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: #0d0048;
  background: #ffffff;
  padding: 17px 34px;
  white-space: nowrap;
}

.button-inverse:hover {
  color: #ffffff;
  background: #c1633f;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 28px clamp(20px, 5vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: #ffffff;
}

.site-footer span {
  font-size: 13px;
  color: #8a8590;
}

.site-footer a {
  font-size: 13px;
  color: #8a8590;
}
