/* ==========================================================
   HOMEPAGE · Repetive.ai
   Stijl in lijn met client case page (strak, editorial,
   warme off-white, brand gradient als accent)
   ========================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--canvas);
  color: var(--ink-1);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

/* ============ TOP RIBBON ============
   Full-bleed sticky background; content lives inside .topribbon-inner
   which is a centered, max-width container with brand / nav / right
   spread via justify-content: space-between (matches www.repetive.ai). */
.topribbon {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,250,248,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.topribbon-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
}
.topribbon .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.topribbon .brand img { height: 28px; display: block; }
.topribbon nav { display: flex; gap: 24px; }
.topribbon nav a {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  color: var(--ink-2); text-decoration: none;
  padding: 6px 0; border-bottom: 1.5px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.topribbon nav a:hover { color: var(--ink-1); }
.topribbon nav a.active { color: var(--ink-1); border-bottom-color: var(--brand-purple); }

/* Nav item with dropdown (e.g. "Over Repetive") */
.topribbon nav .nav-item { position: relative; }
.topribbon nav .nav-item > .nav-label {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  color: var(--ink-2); text-decoration: none;
  padding: 6px 0; border-bottom: 1.5px solid transparent;
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s;
}
.topribbon nav .nav-item > .nav-label::after {
  content: ''; width: 5px; height: 5px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.55;
}
.topribbon nav .nav-item:hover > .nav-label,
.topribbon nav .nav-item.active > .nav-label { color: var(--ink-1); }
.topribbon nav .nav-item.active > .nav-label { border-bottom-color: var(--brand-purple); }

.topribbon nav .nav-dropdown {
  position: absolute; top: 100%; left: -16px;
  display: none;
  background: #fff; border: 1px solid var(--hairline); border-radius: 12px;
  box-shadow: 0 12px 40px rgba(10,10,12,0.08);
  padding: 8px;
  min-width: 180px;
  z-index: 60;
}
.topribbon nav .nav-item:hover .nav-dropdown,
.topribbon nav .nav-item:focus-within .nav-dropdown { display: block; }
.topribbon nav .nav-dropdown a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-family: var(--font-display); font-size: 14px; font-weight: 500;
  color: var(--ink-2); text-decoration: none;
  border-bottom: 0;
}
.topribbon nav .nav-dropdown a:hover { background: var(--surface-tint, #FAF8F6); color: var(--ink-1); }
.topribbon nav a.nav-accent {
  display: inline-flex; align-items: center; gap: 5px;
  font-weight: 600;
  background: var(--grad-full);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  border-bottom: 0 !important;
  position: relative;
  padding-right: 0;
}
.topribbon nav a.nav-accent::before {
  content: ''; position: absolute; left: -10px; right: -10px;
  top: 0; bottom: 0; border-radius: 999px;
  background: var(--grad-fill-blend);
  z-index: -1; opacity: 0;
  transition: opacity 0.2s;
}
.topribbon nav a.nav-accent:hover::before { opacity: 1; }
.topribbon nav a.nav-accent .nav-accent-arr {
  -webkit-text-fill-color: initial; color: var(--brand-pink);
  font-weight: 600; transition: transform 0.2s;
}
.topribbon nav a.nav-accent:hover .nav-accent-arr { transform: translateX(3px); }
.topribbon .right { display: flex; align-items: center; gap: 16px; }
.topribbon .lang {
  display: inline-flex; align-items: center;
  background: #fff; border: 1px solid var(--hairline); border-radius: 999px;
  padding: 3px; font-family: var(--font-display); font-size: 12px; font-weight: 600;
}
.topribbon .lang span { padding: 4px 10px; border-radius: 999px; color: var(--ink-4); cursor: pointer; }
.topribbon .lang span.active { background: var(--ink-1); color: #fff; }
.topribbon .pill-cta {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  background: var(--ink-1); color: #fff;
  padding: 9px 18px; border-radius: 999px; text-decoration: none;
  transition: background 0.18s;
}
.topribbon .pill-cta:hover { background: var(--brand-purple); }

/* ============ HERO ============ */
/* Tiny inline arrow next to the chip — only visible on mobile */
.hm-chip-arrow { display: none; }

.hm-hero {
  position: relative;
  padding: 84px 56px 72px;
  background: linear-gradient(180deg, #FAFAF8 0%, #F4F1ED 100%);
  overflow: hidden;
}
.hm-hero-inner {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr;  gap: 60px; align-items: center;
  position: relative; z-index: 2;
}
.hm-hero-left {
  position: relative; z-index: 2;
}
.hm-hero .chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
  padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--hairline);
  margin-bottom: 28px;
}
.hm-hero .chip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.4);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.hm-hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.95; letter-spacing: -0.035em;
  color: var(--ink-1); margin: 0 0 28px;
  text-wrap: balance;
}
.hm-hero h1 .line2 { display: block; color: var(--ink-1); }
.hm-hero h1 .grad {
  background: var(--grad-full);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hm-hero .lede {
  font-size: 20px; line-height: 1.5;
  color: var(--ink-3);
  max-width: 520px; margin: 0 0 40px;
}
.hm-hero .lede strong { color: var(--ink-1); font-weight: 600; }

.hm-hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--ink-1);
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 15px 26px; border-radius: 999px;
  border: 1px solid var(--hairline);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(28,28,28,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hm-hero-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(28,28,28,0.08);
}
.hm-hero-cta .arr { color: var(--brand-purple); transition: transform 0.2s; }
.hm-hero-cta:hover .arr { transform: translateX(3px); }

.hm-hero-ghost {
  font-family: var(--font-display); font-weight: 500; font-size: 14px;
  color: var(--ink-3); text-decoration: none;
  margin-left: 20px;
  border-bottom: 1px solid var(--ink-6);
  padding-bottom: 2px;
  transition: color 0.18s, border-color 0.18s;
}
.hm-hero-ghost:hover { color: var(--ink-1); border-color: var(--ink-3); }

/* Arrow visual · the curly U-turn arrow from the Repetive brand.
   It sits oversized and extends downward beyond the hero, getting
   naturally "cut" by the next section's white background. */
.hm-hero-arrow {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: flex; align-items: flex-end; justify-content: center;
  overflow: visible;
}
.hm-hero-arrow img {
  width: min(102%, 600px);
  height: auto;
  display: block;
  margin-top: 0;
  margin-bottom: 0;
  opacity: 0.85;
  /* Fade the bottom of the arrow softly into the hero background
     instead of being hard-cut by the next section's white edge. */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0,0,0,0.55) 88%, rgba(0,0,0,0) 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0,0,0,0.55) 88%, rgba(0,0,0,0) 100%);
}

/* Fancy hero CTA · gradient pill + solid arrow badge, subtle shine */
.hm-hero-ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hm-hero-cta.fancy {
  position: relative; overflow: hidden;
  /* clip-path also enforces rounded clipping; overflow:hidden + border-radius
     alone fails in WebKit when a child has its own transform, letting the
     arrow's pink box-shadow leak past the pill on hover. */
  clip-path: inset(0 round 999px);
  display: inline-flex; align-items: center; gap: 0;
  padding: 4px 4px 4px 26px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-1);
  border: 1px solid var(--ink-6);
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(28,28,28,0.08), inset 0 0 0 1px rgba(255,255,255,0.6);
  transition: transform 0.24s cubic-bezier(.2,.9,.3,1.2), box-shadow 0.24s, border-color 0.24s;
}
.hm-hero-cta.fancy .cta-label {
  position: relative; z-index: 2;
  padding: 14px 0;
}
.hm-hero-cta.fancy .cta-arr {
  position: relative; z-index: 2;
  width: 44px; height: 44px;
  margin-left: 18px;
  border-radius: 999px;
  background: var(--grad-full);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  transition: transform 0.24s cubic-bezier(.2,.9,.3,1.2);
  box-shadow: 0 8px 20px rgba(248,60,114,0.35);
}
.hm-hero-cta.fancy .cta-shine {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(115deg, transparent 40%, rgba(248,60,114,0.08) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.9s ease;
  pointer-events: none;
}
.hm-hero-cta.fancy:hover {
  transform: translateY(-2px);
  border-color: var(--ink-4);
  box-shadow: 0 14px 36px rgba(28,28,28,0.12);
}
.hm-hero-cta.fancy:hover .cta-arr { transform: translateX(4px); }
.hm-hero-cta.fancy:hover .cta-shine { transform: translateX(120%); }

/* Single-line experience tagline · sits close below the CTA row */
.hm-hero-meta {
  margin-top: 28px;
  padding-left: 4px;
  display: flex; align-items: center; gap: 14px;
  max-width: 640px;
}
.hm-hero-meta::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--grad-line);
  border-radius: 1px;
  flex-shrink: 0;
}
.hm-hero-meta .m {
  font-family: var(--font-display); font-size: 13.5px; font-weight: 500;
  color: var(--ink-3);
  letter-spacing: -0.005em;
  line-height: 1.45;
}
.hm-hero-meta .m strong {
  font-family: var(--font-display); font-weight: 700;
  color: var(--ink-1);
}

/* ============ INTRO SECTION (Presteren, niet administreren) ============ */
.hm-intro {
  padding: 88px 56px;
  background: #fff;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.hm-intro-inner {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: stretch;
}
.hm-intro-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hm-intro-right .hm-intro-quote-centered {
  margin: 0;
  padding-top: 40px;
}
.hm-intro-left .eyebrow-big {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-4);
  margin-bottom: 20px;
}
.hm-intro-left .eyebrow-big .bar {
  width: 32px; height: 2px;
  background: var(--grad-line); border-radius: 1px;
}
.hm-intro-left h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 4.5vw, 60px);
  line-height: 1.02; letter-spacing: -0.025em;
  color: var(--ink-1); margin: 0 0 24px;
  text-wrap: balance;
}
.hm-intro-left h2 .grad {
  background: var(--grad-full);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hm-how-head h2 .grad {
  background: var(--grad-full);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hm-intro-left .lede {
  font-size: 18px; line-height: 1.55;
  color: var(--ink-3);
  max-width: 460px;
}
.hm-intro-left .lede strong { color: var(--ink-1); font-weight: 600; }

.hm-intro-right .story-opener {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.3; color: var(--ink-1);
  letter-spacing: -0.005em;
  margin-bottom: 32px;
  padding-left: 24px;
  border-left: 3px solid var(--brand-pink);
}
.hm-intro-right .story-body p {
  font-size: 16px; line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.hm-intro-right .story-body p strong {
  color: var(--ink-1); font-weight: 600;
}

/* ============ ROLE LIST · narrative four-line layout ============ */
.role-list {
  display: flex;
  flex-direction: column;
  max-width: 540px;
  font-family: var(--font-display);
}

.role-line {
  --role-color: var(--brand-pink);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(.2,.7,.2,1);
}
.role-line.in-view {
  opacity: 1;
  transform: translateY(0);
}
.role-line:last-child { border-bottom: 0; }

.role-line-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.2;
}
.role-line-bar {
  width: 3px;
  height: 16px;
  background: var(--role-color);
  border-radius: 2px;
  flex-shrink: 0;
}

.role-line-text {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.45;
  color: var(--ink-3);
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.role-line-hired {
  color: var(--ink-3);
}
.role-line-but {
  color: var(--ink-1);
  font-weight: 500;
}

@media (max-width: 900px) {
  .role-line {
    grid-template-columns: 130px 1fr;
    gap: 18px;
    padding: 16px 0;
  }
  .role-line-text { font-size: 14.5px; }
}
@media (max-width: 600px) {
  .role-line {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
  }
  .role-line-name {
    font-size: 10.5px;
  }
  .role-line-text br { display: none; }
  .role-line-text { font-size: 14.5px; }
}

/* ============ WORK IN ACTION · 4 domeinen × cases ============ */
.hm-work {
  padding: 88px 56px;
  background: var(--canvas);
}
.hm-work-inner { max-width: 1320px; margin: 0 auto; }
.hm-work-head {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 60px; align-items: end;
  margin-bottom: 56px;
}
.hm-work-head .eyebrow-big {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-4);
  margin-bottom: 18px;
}
.hm-work-head .eyebrow-big .bar { width: 32px; height: 2px; background: var(--grad-line); border-radius: 1px; }
.hm-work-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02; letter-spacing: -0.03em;
  color: var(--ink-1); margin: 0;
  text-wrap: balance;
}
.hm-work-head h2 .grad {
  background: var(--grad-full);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hm-work-head .right-copy {
  font-size: 17px; line-height: 1.55;
  color: var(--ink-3);
  max-width: 440px;
}

/* ============ WORK GRID · 2x2 raster, 4 gelijke kaarten ============ */
.hm-work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.hm-work-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 22px 24px 20px;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  gap: 12px;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.hm-work-card.is-live { cursor: pointer; }
.hm-work-card.is-soon { background: var(--canvas); }
.hm-work-card.is-live:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(28,28,28,0.06);
  border-color: var(--ink-5);
}
.hm-work-card .wc-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.hm-work-card .wc-domain {
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-4);
}
.hm-work-card .wc-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 24px; line-height: 1.15; letter-spacing: -0.015em;
  color: var(--ink-1);
  margin: 0;
  text-wrap: balance;
}
.hm-work-card .wc-one {
  font-size: 14px; line-height: 1.5;
  color: var(--ink-3);
  margin: 0;
}
.hm-work-card .wc-cta {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-display); font-weight: 600; font-size: 13.5px;
  color: var(--ink-1);
  display: inline-flex; align-items: center; gap: 8px;
}
.hm-work-card .wc-cta .arr { transition: transform 0.2s; }
.hm-work-card.is-live:hover .wc-cta .arr { transform: translateX(4px); }
.hm-work-card .wc-cta .muted { color: var(--ink-4); font-weight: 500; }

/* Universal stage pill · dot + label, muted, used here + elsewhere */
.hm-stage {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 10px 5px 9px; border-radius: 999px;
  background: var(--canvas-alt);
  color: var(--ink-3);
}
.hm-stage .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-5);
}
.hm-stage.live { background: #EAF7F0; color: #0B6A3A; }
.hm-stage.live .dot { background: #10B981; box-shadow: 0 0 0 0 rgba(16,185,129,0.4); animation: pulse 2s infinite; }
.hm-stage.building { background: #FCF4E4; color: #8A5A10; }
.hm-stage.building .dot { background: #E09B2E; }
.hm-stage.concept { background: var(--canvas-alt); color: var(--ink-3); }
.hm-stage.concept .dot { background: var(--ink-5); }

/* ============ INTEGRATIONS · own section between Aanpak and Werk in actie ============ */
.hm-integ {
  padding: 88px 56px;
  background: var(--canvas);
}
.hm-integ-inner { max-width: 1320px; margin: 0 auto; }

.hm-integ-head {
  max-width: 820px;
  margin: 0 0 48px;
}
.hm-integ-head .eyebrow-big {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-4);
  margin-bottom: 18px;
}
.hm-integ-head .eyebrow-big .bar { width: 32px; height: 2px; background: var(--grad-line); border-radius: 1px; }
.hm-integ-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02; letter-spacing: -0.03em;
  color: var(--ink-1); margin: 0 0 22px;
  text-wrap: balance;
}
.hm-integ-head h2 .grad {
  background: var(--grad-full);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hm-integ-head p {
  font-size: 19px; line-height: 1.55;
  color: var(--ink-3);
  max-width: 720px;
  margin: 0;
}
.hm-integ-head p strong { color: var(--ink-1); font-weight: 600; }

/* Marquee · two rows, opposite directions */
.hm-integ-marquee {
  position: relative;
  overflow: hidden;
  padding: 4px 0;
  /* fade edges to canvas, hides the loop seam */
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.hm-integ-row {
  display: block;
  overflow: hidden;
  padding: 8px 0;
}
.hm-integ-track {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  will-change: transform;
}
.hm-integ-row-a .hm-integ-track { animation: integMarqueeA 90s linear infinite; }
.hm-integ-row-b .hm-integ-track { animation: integMarqueeB 110s linear infinite; }
.hm-integ-marquee:hover .hm-integ-track { animation-play-state: paused; }
@keyframes integMarqueeA {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes integMarqueeB {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.hm-integ-pill {
  display: inline-flex; align-items: center;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s, transform 0.18s;
}
.hm-integ-pill:hover {
  color: var(--ink-1);
  border-color: var(--ink-5);
  transform: translateY(-1px);
}

.hm-integ-foot {
  margin-top: 24px;
  display: flex; justify-content: center;
}
.hm-integ-count {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-4);
  text-align: center;
}

@media (max-width: 760px) {
  .hm-integ { padding: 56px 20px; }
  .hm-integ-head { margin-bottom: 28px; }
  .hm-integ-head .eyebrow-big { font-size: 11px; margin-bottom: 12px; }
  .hm-integ-head h2 { font-size: clamp(30px, 8vw, 40px); margin-bottom: 14px; }
  .hm-integ-head p { font-size: 15px; line-height: 1.5; }
  .hm-integ-row { padding: 4px 0; }
  .hm-integ-track { gap: 7px; }
  .hm-integ-pill { padding: 7px 12px; font-size: 12.5px; }
  .hm-integ-marquee {
    mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  }
  .hm-integ-foot { margin-top: 16px; }
  .hm-integ-count { font-size: 12px; }
}

.hm-work-foot {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  display: flex; justify-content: flex-end; align-items: center;
}
.hm-work-foot .hub-link {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  color: var(--ink-1); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.hm-work-foot .hub-link span { transition: transform 0.2s; }
.hm-work-foot .hub-link:hover span { transform: translateX(4px); }

/* ============ CLIENTS STRIP · always-scrolling marquee ============ */
.hm-clients {
  padding: 18px 0;
  background: #fff;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  position: relative;
}
.hm-clients-label {
  display: none;
}
.hm-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.hm-marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: clientsMarquee 52s linear infinite;
  will-change: transform;
}
.hm-marquee:hover .hm-marquee-track {
  animation-play-state: paused;
}
@keyframes clientsMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.hm-client {
  font-family: var(--font-display); font-weight: 600;
  font-size: 18px; letter-spacing: -0.005em;
  color: var(--ink-3);
  white-space: nowrap;
  padding: 0 36px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: color 0.18s;
}
.hm-client:hover { color: var(--ink-1); }
.hm-client .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.4);
  animation: pulse 2s infinite;
}
.hm-client-sep {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--ink-6);
  flex-shrink: 0;
}

/* ============ HOE WE WERKEN · timeline ============ */
/* hm-how styles live in the consolidated block further down (line ~1300) */

/* ============ STRATEGY CHAT TEASER ============ */
.hm-strategy {
  padding: 88px 56px;
  background: #fff;
  border-top: 1px solid var(--hairline);
}
.hm-strategy-inner {
  max-width: 1180px; margin: 0 auto;
  background: linear-gradient(135deg, #FFF3E4 0%, #FFE4EE 55%, #F3E4FF 100%);
  border-radius: 28px;
  padding: 64px 56px;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 60px; align-items: center;
  position: relative; overflow: hidden;
}
.hm-strategy-left .eyebrow-big {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--tint-pink-deep);
  margin-bottom: 20px;
}
.hm-strategy-left .eyebrow-big .bar {
  width: 32px; height: 2px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-pink));
  border-radius: 1px;
}
.hm-strategy-left h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.08; letter-spacing: -0.02em;
  color: var(--ink-1); margin: 0 0 18px;
  text-wrap: balance;
}
.hm-strategy-left p {
  font-size: 17px; line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 28px;
  max-width: 500px;
}
.hm-strategy-cta {
  position: relative; overflow: hidden;
  clip-path: inset(0 round 999px);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 4px 4px 4px 24px;
  border-radius: 999px;
  background: #fff; color: var(--ink-1);
  border: 1px solid var(--ink-6);
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(28,28,28,0.06);
  transition: transform 0.24s cubic-bezier(.2,.9,.3,1.2), box-shadow 0.24s, border-color 0.24s;
}
.hm-strategy-cta .arr {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--grad-full);
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
  color: #fff;
  box-shadow: 0 6px 16px rgba(248,60,114,0.3);
  transition: transform 0.24s cubic-bezier(.2,.9,.3,1.2);
}
.hm-strategy-cta:hover {
  transform: translateY(-2px);
  border-color: var(--ink-4);
  box-shadow: 0 14px 32px rgba(28,28,28,0.1);
}
.hm-strategy-cta:hover .arr { transform: translateX(3px); }

/* Chat preview mockup */
.hm-chat-mockup {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(77,1,180,0.12);
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
  max-width: 420px; margin-left: auto;
}
.hm-chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 2px 6px 10px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.hm-chat-header .lbl {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-4);
}
.hm-chat-header .dots { display: flex; gap: 5px; }
.hm-chat-header .dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(0,0,0,0.12);
}
.hm-chat-msg {
  display: flex; gap: 10px; align-items: flex-start;
}
.hm-chat-msg .av {
  width: 24px; height: 24px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--grad-full);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; font-family: var(--font-display);
}
.hm-chat-msg .bubble {
  background: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px; line-height: 1.45;
  color: var(--ink-1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  max-width: 85%;
}
.hm-chat-msg.user { flex-direction: row-reverse; }
.hm-chat-msg.user .av { background: var(--ink-1); }
.hm-chat-msg.user .bubble {
  background: var(--ink-1); color: #fff;
  box-shadow: none;
}
.hm-chat-input {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  padding: 10px 16px;
  margin-top: 8px;
}
.hm-chat-input .ph {
  flex: 1;
  font-size: 13px; color: var(--ink-4);
  font-family: var(--font-body);
}
.hm-chat-input .send {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad-full);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}

/* ============ OVER ONS / TEAM · mirrored on Work section pattern ============ */
.hm-team {
  padding: 88px 56px 80px;
  background: linear-gradient(135deg, #FFF3E4 0%, #FFE4EE 45%, #F3E4FF 100%);
  border-top: 1px solid var(--hairline);
  position: relative; overflow: hidden;
}
.hm-team::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 0%, rgba(248,60,114,0.10) 0%, transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(77,1,180,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hm-team-inner {
  max-width: 1320px; margin: 0 auto;
  position: relative; z-index: 1;
}

/* Head row · full-width, centered-left */
.hm-team-head {
  margin-bottom: 32px;
  max-width: 900px;
}
.hm-team-head .eyebrow-big {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.hm-team-head .eyebrow-big .bar {
  width: 32px; height: 2px; background: var(--grad-line); border-radius: 1px;
}
.hm-team-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02; letter-spacing: -0.025em;
  color: var(--ink-1);
  margin: 0;
  text-wrap: balance;
}
.hm-team-head h2 .grad {
  background: var(--grad-full);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Intro · full width, 2-column flow on desktop */
.hm-team-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
  padding-top: 8px;
  border-top: 1px solid rgba(28,28,28,0.08);
  padding-top: 28px;
}
.hm-team-intro p {
  margin: 0;
  font-size: 16px; line-height: 1.65;
  color: var(--ink-2);
}
.hm-team-intro p strong { color: var(--ink-1); font-weight: 600; }

/* 4-up team grid · terug naar 4 naast elkaar */
.hm-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
}
.hm-member {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 20px;
  padding: 26px 18px 22px;
  display: flex; flex-direction: column; align-items: center;
  gap: 16px;
  text-align: center;
  transition: transform 0.24s, box-shadow 0.24s;
  min-height: 240px;
}
.hm-member:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(77,1,180,0.12);
}
.hm-member .portrait {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--m-color, var(--grad-full));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 24px;
  letter-spacing: -0.02em;
  border: 2px solid rgba(255,255,255,0.9);
  box-shadow: 0 8px 24px rgba(77,1,180,0.18);
  overflow: hidden;
}
.hm-member .portrait img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hm-member .m-meta { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.hm-member .name {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color: var(--ink-1); letter-spacing: -0.01em;
  line-height: 1.15;
}
.hm-member .role {
  font-family: var(--font-display); font-size: 11px; font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-top: 2px;
}
.hm-member .phone {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-4);
  margin-top: 4px;
}

/* Foot · jobs link · mirrors .hm-work-foot */
.hm-team-foot {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(28,28,28,0.10);
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hm-team-foot-copy {
  font-size: 15px; line-height: 1.5;
  color: var(--ink-2);
}
.hm-team-foot .hub-link {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  color: var(--ink-1); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.hm-team-foot .hub-link span { transition: transform 0.2s; }
.hm-team-foot .hub-link:hover span { transform: translateX(4px); }

/* ============ FOOTER CTA (contact) · interactive action cards ============ */
.hm-contact {
  padding: 80px 56px 72px;
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
}
.hm-contact-head {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}
.hm-contact-head .eyebrow-big {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-4);
  margin-bottom: 16px;
}
.hm-contact-head .eyebrow-big .bar {
  width: 28px; height: 2px;
  background: var(--grad-line);
  border-radius: 1px;
}
.hm-contact h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05; letter-spacing: -0.025em;
  color: var(--ink-1); margin: 0 0 18px;
  text-wrap: balance;
}
.hm-contact h2 .grad {
  background: var(--grad-full);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hm-contact p {
  font-size: 17px; line-height: 1.55;
  color: var(--ink-3);
  max-width: 560px; margin: 0 auto;
}

.hm-contact-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px; margin: 0 auto;
}

/* c-card styles consolidated in block further down (line ~1366) */

/* Per-card theming */
.c-plan { --c-color: #C2620A; --c-bg: #FFF3E4; --c-grad: linear-gradient(135deg, #FFC031, #FB993F); }
.c-mail { --c-color: #C4265A; --c-bg: #FFE4EE; --c-grad: linear-gradient(135deg, #F83C72, #FB993F); }
.c-call { --c-color: #4D01B4; --c-bg: #F3E4FF; --c-grad: linear-gradient(135deg, #4D01B4, #F83C72); }
.c-visit{ --c-color: #8A5A10; --c-bg: #FFF7DF; --c-grad: linear-gradient(135deg, #FFC031, #FB993F); }

@keyframes dialBars {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

@keyframes pinPulse {
  0%   { transform: translate(-50%, -50%) scale(0.5); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

/* ============ FOOTER META ============ */
.hm-foot-meta {
  background: var(--canvas);
  color: var(--ink-4);
  border-top: 1px solid var(--hairline);
  padding: 32px 56px;
  font-family: var(--font-display); font-size: 13px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.hm-foot-meta .brand-b {
  display: inline-flex; align-items: center;
  line-height: 0;
}
.hm-foot-meta .brand-b img {
  height: 28px; width: auto; display: block;
}
.hm-foot-meta .links { display: flex; gap: 24px; flex-wrap: wrap; }
.hm-foot-meta a { color: var(--ink-3); text-decoration: none; transition: color 0.18s; }
.hm-foot-meta a:hover { color: var(--brand-purple); }

/* ==========================================================
   HOW WE WORK · interactive timeline
   ========================================================== */
.hm-how {
  padding: 88px 56px 100px;
  background: linear-gradient(180deg, #fff 0%, #FAF7F2 100%);
}
.hm-how-inner {
  max-width: 1320px; margin: 0 auto;
}
.hm-how-head {
  max-width: 780px;
  margin-bottom: 88px;
}
.hm-how-head .eyebrow-big {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-4);
  margin-bottom: 18px;
}
.hm-how-head .eyebrow-big .bar {
  width: 32px; height: 2px;
  background: var(--grad-line); border-radius: 1px;
}
.hm-how-head h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 18px;
  color: var(--ink-1);
  text-wrap: balance;
}
.hm-how-head p {
  font-size: 19px; line-height: 1.55;
  color: var(--ink-3);
  max-width: 640px;
  margin: 0;
}
.hm-how-cta {
  position: relative; overflow: hidden;
  clip-path: inset(0 round 999px);
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 28px;
  padding: 0 8px 0 24px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  color: var(--ink-1); text-decoration: none;
  letter-spacing: -0.005em;
  transition: transform 0.24s cubic-bezier(.2,.9,.3,1.2), box-shadow 0.24s, border-color 0.24s;
}
.hm-how-cta .arr {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--grad-full);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px;
  line-height: 1;
  margin: 6px 0;
  transition: transform 0.2s;
}
.hm-how-cta:hover {
  transform: translateY(-2px);
  border-color: var(--ink-4);
  box-shadow: 0 14px 32px rgba(28,28,28,0.1);
}
.hm-how-cta:hover .arr { transform: translateX(3px); }

.hm-timeline-wrap {
  position: relative;
  padding-top: 40px;
}

/* ====== RAIL ====== */
.hm-timeline-rail {
  position: relative;
  height: 3px;
  margin: 0 3%;
  margin-bottom: 64px;
}
.rail-bg {
  position: absolute; inset: 0;
  background: rgba(77,1,180,0.08);
  border-radius: 2px;
}
.rail-fill {
  position: absolute; top: 0; left: 0; height: 100%;
  width: calc(var(--p, 0) * 100%);
  background: linear-gradient(90deg, #4D01B4 0%, #D1116E 50%, #FDAA47 100%);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(209,17,110,0.3);
  transition: none; /* driven by rAF lerp */
}

/* ====== NODES (step markers) ====== */
.rail-node {
  position: absolute; top: 50%;
  left: calc(var(--at, 0) * 100%);
  transform: translate(-50%, -50%) scale(0.55);
  width: 32px; height: 32px;
  background: #fff;
  border: 2px solid rgba(77,1,180,0.15);
  border-radius: 50%;
  display: grid; place-items: center;
  opacity: 0.45;
  transition: transform 0.18s cubic-bezier(0.34,1.56,0.64,1), opacity 0.18s, border-color 0.18s, box-shadow 0.18s;
  z-index: 2;
}
.rail-node-inner {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-4);
  transition: color 0.18s;
}
.rail-node.reached {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  border-color: #D1116E;
  box-shadow: 0 0 0 4px rgba(209,17,110,0.12);
}
.rail-node.reached .rail-node-inner {
  color: var(--ink-1);
}

/* ====== AGENT (travelling pointer) ====== */
.rail-agent {
  position: absolute; top: 50%;
  left: calc(var(--p, 0) * 100%);
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  display: grid; place-items: center;
  z-index: 3;
  pointer-events: none;
}
.agent-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(209,17,110,0.25) 0%, rgba(209,17,110,0) 70%);
  animation: agentPulse 2.4s ease-in-out infinite;
}
@keyframes agentPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 0.4; }
}
.agent-core {
  position: relative;
  width: 40px; height: 40px;
  background: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(77,1,180,0.18), 0 0 0 2px rgba(255,255,255,0.9);
}

/* ====== STEPS (cards under rail) ====== */
.hm-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.hm-step {
  padding: 18px 18px 20px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.3s, opacity 0.3s;
  opacity: 0.55;
}
.hm-step.reached {
  opacity: 1;
  border-color: rgba(77,1,180,0.18);
}
.hm-step.active {
  transform: translateY(-4px);
  border-color: rgba(209,17,110,0.35);
  box-shadow: 0 18px 38px -18px rgba(77,1,180,0.22);
}
.hm-step-week {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D1116E;
  margin-bottom: 10px;
}
.hm-step h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-1);
  margin: 0 0 8px;
  line-height: 1.25;
}
.hm-step p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0;
}

@media (max-width: 1100px) {
  .hm-steps { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================
   CONTACT · 4 action cards, no icons
   ========================================================== */
.hm-contact {
  padding: 120px 56px 140px;
  background: #FAF7F2;
}
.hm-contact-head {
  max-width: 780px;
  margin: 0 auto 64px;
  text-align: center;
}
.hm-contact-head .eyebrow-big { margin-bottom: 18px; justify-content: center; }
.hm-contact-head h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 18px;
  color: var(--ink-1);
  text-wrap: balance;
}
.hm-contact-head p {
  font-size: 19px; line-height: 1.55;
  color: var(--ink-3);
  margin: 0 auto;
  max-width: 600px;
}
.hm-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1320px;
  margin: 0 auto;
}
.c-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 22px 22px 18px;
  display: flex; flex-direction: column;
  min-height: 200px;
  height: 100%;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.24s, border-color 0.24s, box-shadow 0.24s;
}
.c-card:hover {
  transform: translateY(-3px);
  border-color: rgba(77,1,180,0.25);
  box-shadow: 0 18px 36px -18px rgba(77,1,180,0.22);
}
.c-inner {
  display: flex; flex-direction: column;
  flex: 1;
  min-height: 0;
}
.c-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-1);
  margin: 0 0 4px;
}
.c-sub {
  font-size: 13px;
  color: var(--ink-4);
  margin-bottom: 16px;
}
.c-preview {
  margin-top: auto;
  padding-top: 12px;
}
.c-arrow {
  font-size: 13px;
  font-weight: 500;
  color: #D1116E;
  margin-top: 12px;
  transition: transform 0.24s;
}
.c-card:hover .c-arrow { transform: translateX(4px); }

.c-value {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-1);
  letter-spacing: -0.005em;
  padding: 12px 14px;
  background: var(--c-bg, #F7F3EE);
  border-radius: 12px;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  70% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1100px) {
  .hm-hero { padding: 64px 32px 56px; position: relative; overflow: hidden; }
  .hm-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    position: relative;
    z-index: 2;
    /* leave room on right for the arrow on this breakpoint */
    padding-right: clamp(0px, 32vw, 320px);
  }
  .hm-hero-arrow {
    position: absolute;
    top: 56px;
    right: -40px;
    width: clamp(280px, 38vw, 380px);
    height: auto;
    min-height: 0;
    display: block;
    z-index: 1;
    pointer-events: none;
  }
  .hm-hero-arrow img {
    width: 100%;
    height: auto;
    opacity: 0.92;
  }
  .hm-intro-inner { grid-template-columns: 1fr; gap: 48px; }
  .hm-work-head { grid-template-columns: 1fr; gap: 24px; }
  .hm-work-grid { gap: 12px; }

  /* ====== Vertical timeline (tablet + mobile) ====== */
  .hm-how-head { margin-bottom: 32px; }
  .hm-timeline-wrap { padding-top: 20px; padding-left: 56px; position: relative; }
  /* Rail becomes a vertical line on the left */
  .hm-timeline-rail {
    position: absolute;
    left: 22px;
    top: 0;
    bottom: 0;
    width: 3px;
    height: auto;
    margin: 0;
  }
  .rail-bg { inset: 0; }
  .rail-fill {
    top: 0; left: 0;
    width: 3px;
    height: calc(var(--p, 0) * 100%);
    background: linear-gradient(180deg, #4D01B4 0%, #D1116E 50%, #FDAA47 100%);
    box-shadow: 0 0 12px rgba(209,17,110,0.25);
  }
  .rail-node {
    top: calc(var(--at, 0) * 100%);
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    width: 28px; height: 28px;
  }
  .rail-node.reached {
    transform: translate(-50%, -50%) scale(1);
  }
  .rail-node-inner { font-size: 11px; }
  .rail-agent {
    top: calc(var(--p, 0) * 100%);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px; height: 44px;
  }
  .agent-core { width: 32px; height: 32px; }
  .agent-core img { width: 20px !important; height: 20px !important; }

  .hm-steps {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 0;
  }
  .hm-step { padding: 14px 16px 16px; }

  .hm-strategy-inner { grid-template-columns: 1fr; padding: 48px 32px; }
  .hm-team-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .hm-team-intro { grid-template-columns: 1fr; gap: 14px; }
  .hm-contact-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-clients-inner { grid-template-columns: 1fr; gap: 16px; }
}
/* Topribbon collapses to hamburger at ≤1100px — wrapping starts above 768px
   once you add up logo + 6 nav items + CTA, so we move the breakpoint up. */
@media (max-width: 1100px) {
  .topribbon-inner { padding: 10px 16px; gap: 10px; }
  .topribbon nav { display: none; }
  .topribbon .right { gap: 10px; }
}

@media (max-width: 768px) {

  /* Hero — single column. Arrow becomes an inline brand element between h1 and lede. */
  .hm-hero {
    padding: 48px 20px 36px;
    position: relative;
    overflow: hidden;
  }
  .hm-hero h1 { font-size: clamp(40px, 11vw, 52px); line-height: 1.02; letter-spacing: -0.03em; }
  .hm-hero-lede { font-size: 17px; }
  .hm-hero-inner {
    gap: 16px;
    grid-template-columns: 1fr;
    position: relative;
    z-index: 2;
    padding-right: 0;
  }
  .hm-hero-left {
    position: relative;
    z-index: 2;
  }
  /* Arrow hidden on mobile — replaced by a tiny inline pijltje next to the 24/7 chip */
  .hm-hero-arrow { display: none; }
  /* Tiny chip-arrow only visible on mobile */
  .hm-chip-arrow {
    display: inline-flex;
    align-items: center;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    flex-shrink: 0;
  }
  .hm-chip-arrow img { width: 100%; height: 100%; display: block; }
  .hm-hero-ctas { gap: 10px; flex-direction: column; align-items: stretch; margin-top: 20px; width: 100%; max-width: none; }
  .hm-hero-cta { width: 100%; justify-content: center; }
  .hm-hero-cta.fancy { justify-content: space-between; }
  .hm-hero-ghost { display: block; margin: 0; text-align: center; }
  .hm-hero-meta {
    position: static; margin-top: 20px; padding: 14px 16px;
    background: rgba(255,255,255,0.5); border-radius: 14px;
    flex-direction: column; align-items: flex-start; gap: 8px;
    font-size: 12.5px; line-height: 1.45;
  }
  .hm-hero-meta::before { display: none; }

  /* Padding reset for sections — tightened */
  .hm-intro, .hm-work, .hm-how, .hm-strategy, .hm-team, .hm-contact {
    padding-left: 20px; padding-right: 20px;
  }
  .hm-intro, .hm-work, .hm-how, .hm-strategy, .hm-team { padding-top: 48px; padding-bottom: 48px; }
  .hm-contact { padding-top: 56px; padding-bottom: 56px; }

  /* Section headers */
  .hm-intro h2, .hm-work-head h2, .hm-how-head h2, .hm-team h2, .hm-contact h2 {
    font-size: clamp(30px, 7.5vw, 38px); line-height: 1.05; letter-spacing: -0.02em;
  }
  .hm-intro-left .eyebrow-big, .hm-work-head .eyebrow-big { font-size: 11px; }

  /* Intro text */
  .hm-intro-inner { gap: 24px; }
  .hm-intro-right p { font-size: 16px; line-height: 1.55; }

  /* Clients marquee */
  .hm-clients { padding: 20px 0; }
  .hm-marquee-track { gap: 28px; }
  .hm-client { font-size: 15px; }

  /* Work grid */
  .hm-work-grid { grid-template-columns: 1fr; gap: 12px; }
  .hm-work-card { padding: 20px; border-radius: 14px; }
  .hm-work-card .wc-title { font-size: 22px; }
  .hm-work-card .wc-one { font-size: 13.5px; }

  /* How it works — sizing tweaks for tight phones (rail layout from <1100px applies) */
  .hm-timeline-wrap { padding-left: 44px; }
  .hm-timeline-rail { left: 16px; }
  .hm-step { padding: 14px 16px; }
  .hm-step .step-num, .hm-step .hm-step-week { font-size: 11px; }
  .hm-step h3, .hm-step h4 { font-size: 16px; }
  .hm-step p { font-size: 13.5px; line-height: 1.5; }

  /* Strategy */
  .hm-strategy { padding-top: 48px; padding-bottom: 48px; }
  .hm-strategy-inner { padding: 32px 22px; border-radius: 18px; }
  .hm-strategy-inner h2 { font-size: 26px; line-height: 1.1; }

  /* Team */
  .hm-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; }
  .hm-member { padding: 14px; min-height: 200px; }

  /* Contact — compact action cards, 2x2 grid on mobile */
  .hm-contact-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; max-width: 480px; }
  .c-card { padding: 16px 18px; border-radius: 14px; min-height: 0; }
  .c-card .c-inner { gap: 2px; }
  .c-title { font-size: 15px; line-height: 1.2; }
  .c-sub { font-size: 12px; line-height: 1.3; }
  .c-value { font-size: 13px; line-height: 1.3; margin-top: 4px; }
  .c-arrow { font-size: 12px; margin-top: 6px; }
  .hm-contact-card { padding: 18px; min-height: auto; }

  /* Footer meta */
  .hm-foot-meta { padding: 24px 20px; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; }
  .hm-foot-meta .sep { display: none; }
  .hm-foot-meta .links { justify-content: center; gap: 14px 18px; row-gap: 8px; }
  .hm-foot-meta .links a { font-size: 13px; }
}

/* Extra tight phones */
@media (max-width: 420px) {
  .hm-hero h1 { font-size: 40px; }
  .hm-hero { padding: 48px 18px 40px; }
  .hm-intro, .hm-work, .hm-how, .hm-strategy, .hm-team, .hm-contact {
    padding-left: 18px; padding-right: 18px;
  }
  .hm-work-card .wc-title { font-size: 20px; }
}
