/* ============================================================
   Quantiv Digital — Website V2 · shared site styles
   Built on colors_and_type.css tokens. Framer/agency feel,
   brand restraint. Imported by Homepage.html + Contact.html.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--q-paper); }
html, body { margin: 0; padding: 0; }
/* ambient dimension: one consistent soft warm field across the whole page,
   so unified cream sections read calm but never flat */
body {
  overflow-x: clip;
  background-color: var(--q-paper);
  background-image:
    radial-gradient(1100px 720px at 86% 0%, rgba(207,191,124,0.11), transparent 60%),
    radial-gradient(980px 680px at 2% 40%, rgba(76,115,118,0.055), transparent 58%);
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.container-wide { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ===================== NAV ===================== */
nav.top {
  position: sticky; top: 0; z-index: 80;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
}
nav.top.scrolled {
  background: rgba(250, 248, 245, 0.80);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--q-line-soft);
}
nav.top .inner {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 18px; padding-bottom: 18px;
}
nav.top .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
nav.top .brand img { height: 30px; display: block; }
nav.top .links { display: flex; gap: 32px; align-items: center; }
nav.top .links a:not(.btn) {
  font-size: 14px; color: var(--q-fg-soft); text-decoration: none; font-weight: 500;
  letter-spacing: -0.005em; transition: color 120ms ease;
}
nav.top .links a:not(.btn):hover { color: var(--q-fg); }

/* ===================== BUTTONS ===================== */
.btn {
  font-family: var(--q-sans); font-size: 14px; font-weight: 600;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  transition: background 140ms ease-out, color 140ms ease-out, border-color 140ms ease-out, transform 140ms ease-out;
}
.btn .arr { transition: transform 160ms ease-out; }
.btn:hover .arr { transform: translateX(3px); }
.btn.primary { background: var(--q-teal-deepest); color: var(--q-paper); }
.btn.primary:hover { background: var(--q-teal-deep); }
.btn.secondary { background: transparent; color: var(--q-teal-darkest); border-color: var(--q-teal-darkest); }
.btn.secondary:hover { background: var(--q-teal-darkest); color: var(--q-paper); }
.btn.ghost-light { background: transparent; color: var(--q-paper); border-color: rgba(250,248,245,0.42); }
.btn.ghost-light:hover { background: rgba(250,248,245,0.10); border-color: var(--q-paper); }
.btn.gold { background: var(--q-gold); color: var(--q-teal-darkest); }
.btn.gold:hover { filter: brightness(0.96); }
.btn.lg { padding: 15px 28px; font-size: 15px; }

/* ===================== SECTIONS ===================== */
section { padding: 120px 0; position: relative; }
section.tight { padding: 72px 0; }
/* unified: all light sections share the body's cream + ambient field.
   Only .dark sections break the rhythm, as deliberate accents. */
section.sand { background: transparent; }
section.mist { background: transparent; }
/* dark teal break block */
section.dark {
  background:
    radial-gradient(1100px 700px at 88% 12%, rgba(68,133,145,0.22), transparent 66%),
    radial-gradient(900px 600px at 6% 96%, rgba(208,189,124,0.12), transparent 66%),
    linear-gradient(168deg, #1c3d44 0%, #14272b 100%);
  color: var(--q-paper);
}
section.dark .eyebrow { color: var(--q-gold); }
section.dark .eyebrow::before { background: var(--q-gold); }
section.dark h2, section.dark h3, section.dark h1 { color: var(--q-paper); }
section.dark .lead, section.dark p { color: rgba(250,248,245,0.82); }

.divider-line { border: 0; border-top: 1px solid var(--q-line); margin: 0; }

/* ===================== EYEBROW ===================== */
.eyebrow {
  font-family: var(--q-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--q-teal-deep); display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px 0;
}
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 1px; background: var(--q-teal-deep); }

/* ===================== HEADINGS ===================== */
.h-display {
  font-family: var(--q-sans); font-weight: 700;
  font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.03em;
  margin: 0; color: var(--q-fg); text-wrap: balance;
}
.h-sec {
  font-family: var(--q-sans); font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.025em;
  margin: 0; color: var(--q-fg); text-wrap: balance;
}
.h-display em {
  font-family: var(--q-serif); font-style: italic; font-weight: 400; color: var(--q-teal-deep);
  letter-spacing: -0.005em;
}
/* section-heading accent: gold highlighter swash through the word (markeerstift) */
.h-sec em, .h-sub em {
  font-family: var(--q-sans); font-style: normal; font-weight: 700; color: var(--q-teal-deep);
  letter-spacing: -0.025em;
  background-image: linear-gradient(transparent 50%, var(--q-gold-soft) 50%, var(--q-gold-soft) 84%, transparent 84%);
  background-repeat: no-repeat;
  padding: 0 0.06em;
}
section.dark .h-display em { color: var(--q-gold); }
section.dark .h-sec em, section.dark .h-sub em {
  color: var(--q-paper);
  background-image: linear-gradient(transparent 50%, rgba(208,189,124,0.42) 50%, rgba(208,189,124,0.42) 84%, transparent 84%);
}
.h-sub { font-family: var(--q-sans); font-weight: 600; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.22; letter-spacing: -0.02em; margin: 0; color: var(--q-fg); }

.lead { font-size: 21px; line-height: 1.55; color: var(--q-fg-soft); margin: 0; text-wrap: pretty; }
.body-text { font-size: 19px; line-height: 1.62; color: var(--q-fg-soft); margin: 0; text-wrap: pretty; }
.body-text + .body-text { margin-top: 20px; }

.ul-gold { background-image: linear-gradient(transparent 58%, var(--q-gold-soft) 58%); padding: 0 2px; }
section.dark .ul-gold { background-image: linear-gradient(transparent 58%, rgba(208,189,124,0.34) 58%); }

/* ===================== TWO-COLUMN SPLIT ===================== */
.split {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 72px; align-items: start;
}
.split.tight-gap { gap: 48px; }
/* bredere body-kolom: tekst krijgt meer ruimte naar rechts, blok wordt minder hoog */
.split.split--wide-body { grid-template-columns: 0.55fr 1.45fr; gap: 48px; }
.split .col-head { position: sticky; top: 120px; }
.split .col-head .h-sec { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
/* lead paragraph: first line of body reads as the emphasis, rest is soft support */
.split .col-body .body-text:first-child {
  font-size: 22px; line-height: 1.5; color: var(--q-fg); font-weight: 500; letter-spacing: -0.012em;
}
.split .col-body .body-text:first-child + .body-text { margin-top: 22px; }

/* ===================== PLACEHOLDER SLOTS ===================== */
.slot {
  position: relative; border: 1px solid var(--q-line);
  background:
    repeating-linear-gradient(135deg, rgba(20,39,43,0.030) 0 1px, transparent 1px 11px),
    var(--q-paper-2);
  border-radius: var(--q-radius-lg);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--q-fg-muted); overflow: hidden;
}
.slot .slot-label {
  font-family: var(--q-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--q-teal-deep); padding: 8px 14px; border: 1px solid var(--q-line);
  border-radius: 999px; background: rgba(250,248,245,0.86); backdrop-filter: blur(2px);
}
.slot.on-dark {
  border-color: rgba(250,248,245,0.18);
  background:
    repeating-linear-gradient(135deg, rgba(250,248,245,0.05) 0 1px, transparent 1px 11px),
    rgba(250,248,245,0.04);
}
.slot.on-dark .slot-label { color: var(--q-gold); border-color: rgba(250,248,245,0.20); background: rgba(20,39,43,0.40); }

/* ===================== LOGO MARQUEE ===================== */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { display: flex; gap: 0; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-cell {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  padding: 0 44px; height: 56px;
}
.logo-cell img.logo-img {
  height: 30px; width: auto; max-width: 188px; object-fit: contain; display: block;
  filter: grayscale(1); opacity: 0.5; transition: opacity 180ms ease;
}
.logo-cell img.logo-img.lg { height: 38px; }
.marquee:hover .logo-cell img.logo-img { opacity: 0.5; }
.logo-cell img.logo-img:hover { opacity: 0.78; }
.logo-word {
  font-family: var(--q-sans); font-weight: 700; font-size: 23px; letter-spacing: -0.02em;
  color: var(--q-teal-muted); opacity: 0.62; filter: grayscale(1);
  transition: opacity 180ms ease, color 180ms ease;
  white-space: nowrap; display: inline-flex; align-items: center; gap: 8px;
}
.logo-word .mk { width: 12px; height: 12px; border-radius: 3px; background: currentColor; transform: rotate(45deg); }
.marquee:hover .logo-word:hover, .logo-word.lit { opacity: 1; color: var(--q-teal-deep); }

/* ===================== STARS ===================== */
.stars { display: inline-flex; gap: 3px; color: var(--q-gold); font-size: 15px; letter-spacing: 1px; }

/* ===================== STEP / PROCESS ===================== */
.process { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.step-card {
  background: #fff; border: 1px solid var(--q-line); border-radius: var(--q-radius-md);
  padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 14px; min-height: 240px;
  transition: transform 160ms ease-out, box-shadow 160ms ease-out, border-color 160ms ease-out;
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--q-shadow-lg); border-color: var(--q-line); }
.step-card .num {
  font-family: var(--q-mono); font-weight: 500; font-size: 13px; letter-spacing: 0.04em;
  color: var(--q-gold-deep);
}
.step-card .num b { color: var(--q-teal-deep); font-weight: 700; }
.step-card h4 { font-family: var(--q-sans); font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; margin: 2px 0 0; color: var(--q-fg); }
.step-card p { font-size: 14.5px; line-height: 1.55; color: var(--q-fg-soft); margin: 0; }
.step-card .marker { margin-top: auto; width: 34px; height: 3px; background: var(--q-teal); border-radius: 2px; }
.step-card:nth-child(4) .marker { background: var(--q-gold); }

/* ===================== CASE CARDS ===================== */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.case-card {
  background: #fff; border: 1px solid var(--q-line); border-radius: var(--q-radius-lg);
  padding: 36px; display: flex; flex-direction: column; gap: 18px; min-height: 260px;
  transition: transform 160ms ease-out, box-shadow 160ms ease-out;
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--q-shadow-lg); }
.case-card .case-logo {
  height: 30px; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--q-sans); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; color: var(--q-teal-deep);
}
.case-card .case-logo .mk { width: 13px; height: 13px; border-radius: 3px; background: var(--q-gold); transform: rotate(45deg); }
.case-card .row { display: flex; flex-direction: column; gap: 6px; }
.case-card .row .k { font-family: var(--q-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--q-fg-muted); }
.case-card .row .v { font-size: 15.5px; line-height: 1.5; color: var(--q-fg-soft); }
.case-card .row .v.change { color: var(--q-fg); font-weight: 500; }

/* ===================== SERVICES ===================== */
.services { display: flex; flex-wrap: wrap; gap: 10px; }
.services .chip {
  padding: 9px 18px; background: #fff; border: 1px solid var(--q-line); border-radius: 999px;
  font-size: 14px; color: var(--q-fg); font-weight: 500;
  display: inline-flex; align-items: center; gap: 9px;
}
.services .chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--q-teal); }

/* ===================== WEL / NIET ===================== */
.welniet { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.wn-card { border-radius: var(--q-radius-lg); padding: 34px; border: 1px solid var(--q-line); background: #fff; }
.wn-card.wel { border: 2px solid var(--q-teal); }
.wn-card .wn-head { font-family: var(--q-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.wn-card.wel .wn-head { color: var(--q-teal-deep); }
.wn-card.niet .wn-head { color: var(--q-fg-muted); }
.wn-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.wn-list li { font-size: 16px; line-height: 1.5; color: var(--q-fg-soft); display: flex; gap: 13px; align-items: baseline; }
.wn-list li .ic { flex: 0 0 16px; font-weight: 700; }
.wn-card.wel .wn-list li .ic { color: var(--q-teal-deep); }
.wn-card.niet .wn-list li { color: var(--q-fg-muted); }
.wn-card.niet .wn-list li .ic { color: #a85a4a; }

/* ===================== FOOTER ===================== */
footer.site {
  background:
    radial-gradient(900px 600px at 86% 8%, rgba(68,133,145,0.20), transparent 64%),
    linear-gradient(168deg, #1c3d44 0%, #14272b 100%);
  color: rgba(250,248,245,0.74); padding: 80px 0 40px;
}
footer.site .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
footer.site img.flogo { height: 26px; display: block; margin-bottom: 18px; }
footer.site .tagline { font-family: var(--q-serif); font-style: italic; font-size: 21px; line-height: 1.3; color: var(--q-gold); max-width: 320px; }
footer.site .fcol-h { font-family: var(--q-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(250,248,245,0.55); margin: 0 0 16px; }
footer.site a { color: rgba(250,248,245,0.80); text-decoration: none; transition: color 120ms ease; }
footer.site a:hover { color: var(--q-paper); }
footer.site .fnav { display: flex; flex-direction: column; gap: 11px; font-size: 15px; }
footer.site .underbar {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(250,248,245,0.14);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-family: var(--q-mono); font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase; color: rgba(250,248,245,0.50);
}

/* ===================== SCROLL REVEAL =====================
   Transform-only entrance — opacity is NEVER touched, so text
   can never get stuck transparent. Worst case (no JS / preview
   quirk) content simply sits in its final position, fully opaque. */
.reveal { transition: transform 600ms cubic-bezier(.2,.7,.2,1); }
html.reveal-ready .reveal:not(.in) { transform: translateY(16px); }
.reveal.d1 { transition-delay: 70ms; }
.reveal.d2 { transition-delay: 140ms; }
.reveal.d3 { transition-delay: 210ms; }
@media (prefers-reduced-motion: reduce) {
  html.reveal-ready .reveal:not(.in) { transform: none; }
  .reveal { transition: none; }
  .marquee .track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 920px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.split--wide-body { grid-template-columns: 1fr; gap: 36px; }
  .split .col-head { position: static; }
}
@media (max-width: 760px) {
  section { padding: 80px 0; }
  .container, .container-wide { padding: 0 22px; }
  nav.top .links a:not(.btn) { display: none; }
  nav.top .inner { padding-top: max(14px, env(safe-area-inset-top)); padding-bottom: 14px; }
  nav.top .brand img { height: 26px; }
  nav.top .links .btn.primary { padding: 9px 16px; font-size: 13px; }
  .case-grid, .welniet, .process { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr; gap: 36px; }
  .lead { font-size: 18px; }
  .body-text { font-size: 16.5px; }
}
