@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/geist-mono.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --content: 560px;
  --radius-btn: 8px;

  --bg: #fcfefc;
  --text: #0a0a0a;
  --text-muted: rgba(10, 10, 10, 0.68);
  --text-faint: rgba(10, 10, 10, 0.45);
  --surface: #e8efea;
  --surface-hover: #dde7e0;
  --line: rgba(10, 10, 10, 0.09);
  --button: #96ceb4;
  --accent: #f29b00; /* Veuve Clicquot orange, used only for the criteria icons */
  --button-text: #202628;
  --button-hover: #86c4a7;
  --tint: #e2f1e9;
  --busy: #e5484d;
  --logo-filter: none;
  --client-filter: brightness(0);
  --backdrop: rgba(252, 254, 252, 0.6);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }

body {
  min-height: 100vh;
  overflow-x: clip;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 35%, var(--tint) 100%) var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 88px 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Intro: each block fades up in sequence (skipped for reduced motion). */
@media (prefers-reduced-motion: no-preference) {
  .page > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .page > :nth-child(2) { animation-delay: 0.08s; }
  .page > :nth-child(3) { animation-delay: 0.18s; }
  .page > :nth-child(4) { animation-delay: 0.28s; }
  .page > :nth-child(5) { animation-delay: 0.38s; }
  .page > :nth-child(n+6) { animation-delay: 0.46s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
}

.logo {
  width: 104px;
  height: auto;
  filter: var(--logo-filter);
}

/* ---------- Headline ---------- */

.headline {
  margin: 36px 0 28px;
  font-size: clamp(38px, 8.6vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.avatar {
  width: 92px;
  height: 92px;
  margin: 0 0 28px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--line);
  transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.avatar:hover { transform: rotate(-4deg) scale(1.05); }

/* ---------- Stats ---------- */

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stat {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 13px 8px 11px;
  border-radius: var(--radius-btn);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.3;
  text-align: left;
}
.stat strong { color: var(--text); font-weight: 600; }
.stat-icon {
  flex: none;
  width: 18px;
  height: 18px;
  stroke: var(--text);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Client marquee ---------- */

.clients {
  width: 100%;
  max-width: var(--content);
  margin: 64px 0 0;
}
/* Breaks out of the content column so 5-6 logos are visible at once. */
.marquee {
  position: relative;
  left: 50%;
  width: min(100vw, 900px);
  transform: translateX(-50%);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; padding: 0 24px; }
.marquee-track img {
  display: block;
  height: 26px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: var(--client-filter);
  opacity: 0.5;
  transition: opacity 0.25s ease;
}
.marquee-track img:hover { opacity: 0.9; }
/* Per-logo optical sizing so stacked marks and wide wordmarks carry equal weight. */
.l-verfplaza img { height: 36px; }
.l-maxima img { height: 26px; }
.l-nieuwestroom img { height: 32px; }
.l-daktools img { height: 34px; }
.l-spacewell img { height: 21px; }
.l-shoparize img { height: 22px; }
.l-dept img { height: 21px; }
.l-movelo img { height: 42px; }
.l-inventum img { height: 25px; }
.l-aegon img { height: 24px; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; row-gap: 20px; animation: none; }
  .marquee-track [aria-hidden] { display: none; }
}

/* ---------- Approach: lead text + "who I work with" checklist ---------- */

.approach {
  width: 100%;
  max-width: 480px;
  margin: 80px 0 0;
}
.approach-lead {
  margin: 0 0 16px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
}
.approach-lead strong { color: var(--text); font-weight: 500; }

/* Three criteria side by side: icon, name, short note; hairlines between. */
.fit {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fit li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 10px;
  text-align: center;
}
.fit-icon {
  width: 18px;
  height: 18px;
  margin-bottom: 2px;
  stroke: var(--accent);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fit strong {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.fit-desc {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-muted);
  text-wrap: balance;
}

/* ---------- Testimonials ---------- */

.testimonials {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: var(--content);
  margin: 88px 0 0;
}
/* One featured review in big type; the avatar row below switches between them. */
.t-feature { margin: 0; }
.t-feature-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
}
.t-feature-body:focus-visible { outline: 2px solid var(--text); outline-offset: 8px; border-radius: 8px; }
.t-feature-quote {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 2.5em;
  font-size: clamp(24px, 5vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.t-feature-text {
  display: block;
  max-height: calc(3 * 1.55em);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 1.55em), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - 1.55em), transparent);
  max-width: 460px;
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.55;
  min-height: calc(3 * 1.55em);
  text-wrap: pretty;
  transition: color 0.2s ease, height 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.t-feature-body:hover .t-feature-text { color: var(--text); }
.t-feature.is-expanded .t-feature-text,
.t-feature.is-short .t-feature-text { max-height: none; -webkit-mask-image: none; mask-image: none; }
.t-feature.is-expanded .t-feature-text { color: var(--text); }

/* Small chevron under the review: says "there's more", flips when unfolded. */
.t-expand {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: 6px;
  border-radius: 50%;
  color: var(--text-faint);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.35s ease;
}
.t-expand svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.t-feature-body:hover .t-expand { background: var(--surface); color: var(--text); }
.t-feature.is-expanded .t-expand { transform: rotate(180deg); }
.t-feature.is-short .t-expand { visibility: hidden; }
.t-feature.is-short .t-feature-body { cursor: default; }
.t-feature-person {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-faint);
}
.t-feature-person strong { color: var(--text); font-weight: 600; }
.t-feature-person strong::after { content: " ·"; color: var(--text-faint); font-weight: 400; }
.t-feature-link {
  display: inline-block;
  margin-left: 6px;
  color: var(--text-faint);
  vertical-align: -2px;
  transition: color 0.2s ease;
}
.t-feature-link:hover { color: var(--text); }
.t-feature-link svg { display: block; width: 14px; height: 14px; }

.t-feature.is-switching > * { animation: swap 0.4s ease both; }
.t-feature.is-switching > :nth-child(2) { animation-delay: 0.05s; }
@keyframes swap { from { opacity: 0; transform: translate(var(--swap-x, 0), var(--swap-y, 6px)); } }

/* Swipe / drag between reviews: the review follows the finger, vertical scrolling still works. */
.t-feature { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.t-feature.is-dragging > * { transition: none; }
.t-feature > * { transition: transform 0.3s ease, opacity 0.3s ease; }
.t-feature.is-expanded { user-select: text; -webkit-user-select: text; }

.t-picker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}
.t-card {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
/* The cards hold the full review as data; only the photo is shown. */
.t-card .t-highlight,
.t-card .t-quote,
.t-card .t-person > span { display: none; }
.t-card img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1);
  opacity: 0.5;
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1), box-shadow 0.25s ease;
}
.t-card:hover img { opacity: 0.85; filter: none; }
.t-card[aria-pressed="true"] img {
  opacity: 1;
  filter: none;
  transform: scale(1.12);
}
.testimonials.is-static .t-card[aria-pressed="true"] img { box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--text); }
.t-card:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }

/* Countdown ring around the active photo; when it completes, the next review shows. */
.t-ring {
  position: absolute;
  inset: -6px;
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  transform: rotate(-90deg);
  pointer-events: none;
  opacity: 0;
}
.t-ring circle {
  fill: none;
  stroke: var(--text);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}
.t-card[aria-pressed="true"] .t-ring { opacity: 1; }
.t-card[aria-pressed="true"] .t-ring circle { animation: countdown var(--t-interval, 8s) linear forwards; }
.testimonials.is-paused .t-ring circle { animation-play-state: paused; }
.testimonials.is-static .t-ring { display: none; }
@keyframes countdown { to { stroke-dashoffset: 0; } }



/* ---------- Footer: fades from the page into a light mint tint ---------- */

.site-footer {
  margin-top: 64px;
  padding: 140px 16px 28px;
  text-align: center;
}
.site-footer-inner {
  max-width: var(--content);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.status-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--busy);
}
@media (prefers-reduced-motion: no-preference) {
  .status-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--busy);
    animation: pulse 2.4s ease-out infinite;
  }
}
@keyframes pulse { to { transform: scale(2.8); opacity: 0; } }

.footer-lead {
  max-width: 440px;
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: balance;
}

/* Small hand-drawn arrow curving from the text down to the button. */
.footer-cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-or { font-size: 14px; color: var(--text-faint); }
.footer-arrow {
  position: absolute;
  right: calc(100% + 6px);
  top: -14px;
  width: 40px;
  height: 34px;
  fill: none;
  stroke: var(--text-faint);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 15px 0 13px;
  border-radius: var(--radius-btn);
  background: var(--button);
  color: var(--button-text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.button-sm:hover { background: var(--button-hover); transform: translateY(-1px); }
.button-sm:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.button-sm svg { width: 15px; height: 15px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-top: 96px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-faint);
}
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: var(--text); }
.footer-meta { text-align: right; }
.footer-side { margin: 4px 0 0; font-size: 11px; }
@media (min-width: 561px) { .footer-side { white-space: nowrap; } }
.footer-side a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--line); }

.footer-logo {
  width: 72px;
  height: auto;
  opacity: 0.7;
  filter: var(--logo-filter);
}

/* ---------- Small screens ---------- */

@media (max-width: 560px) {
  .page { padding-top: 64px; }
  .t-picker { gap: 8px; }
  .approach-lead { font-size: 17px; }
  .fit li { padding: 16px 6px; }
  .fit strong { font-size: 15px; }
  .fit-desc { font-size: 13px; }
  .footer-arrow { display: none; }
  .t-card img { width: 34px; height: 34px; }
  .marquee-track li { padding: 0 20px; }
}

/* ---------- Privacy page ---------- */

.legal {
  max-width: 560px;
  margin: 0 auto;
  padding: 72px 16px 96px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}
.legal .logo { display: block; margin-bottom: 40px; }
.legal h1 { margin: 0 0 16px; color: var(--text); font-size: 32px; letter-spacing: -0.02em; }
.legal h2 { margin: 32px 0 8px; color: var(--text); font-size: 17px; }
.legal ul { margin: 0 0 12px; padding-left: 18px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--text); text-underline-offset: 3px; }
.legal-date { margin-top: 32px; font-size: 13px; color: var(--text-faint); }

/* ---------- Cookie consent: tiny pill at the bottom, slides away on scroll ---------- */

.consent {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 5px 5px 14px;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line), 0 8px 24px -12px rgba(0, 0, 0, 0.25);
  color: var(--text-muted);
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.consent.is-visible { opacity: 1; transform: translate(-50%, 0); }
.consent span { margin-right: 6px; }
.consent button {
  height: 28px;
  padding: 0 11px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  cursor: pointer;
}
.consent button:hover { color: var(--text); }
.consent [data-consent="granted"] { background: var(--button); color: var(--button-text); font-weight: 500; }
.consent [data-consent="granted"]:hover { background: var(--button-hover); color: var(--button-text); }
.consent button:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

/* Netlify injects a "powered by" badge iframe on free plans; the CSP already blocks it,
   this keeps it hidden even if that ever changes. */
#nl-badge-frame,
iframe[src*="netlify"] { display: none !important; }
