:root {
  --ink: #171642;
  --pink: #e91170;
  --white: #ffffff;
  --paper: #fbfbfd;
  --mist: #f2f3f8;
  --line: #d9dbe8;
  --soft: #67677a;
  --green: #128061;
  --gold: #b78b36;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(23, 22, 66, 0.12);
  --phi-small: 38.2%;
  --phi-large: 61.8%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(233, 17, 112, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 30;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(23, 22, 66, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  max-width: var(--max);
  min-height: 74px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.brand-mark::after {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pink);
  content: "";
}

.brand-text {
  display: grid;
  gap: 0;
  line-height: 1.08;
}

.brand-text span:first-child {
  font-size: 0.98rem;
}

.brand-text span:last-child {
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.site-nav {
  justify-self: end;
}

.site-nav ul {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-radius: var(--radius);
  padding: 8px 12px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--mist);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: auto;
  background: var(--ink);
  content: "";
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(5px);
}

.button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  color: var(--white);
  background: var(--pink);
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(233, 17, 112, 0.22);
}

.button:hover {
  transform: translateY(-1px);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: rgba(23, 22, 66, 0.18);
  box-shadow: none;
}

.button.dark {
  background: var(--ink);
  box-shadow: 0 14px 28px rgba(23, 22, 66, 0.18);
}

.hero {
  position: relative;
  overflow: clip;
  min-height: clamp(560px, 72vh, 720px);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 34%, rgba(255,255,255,0.32) 64%, rgba(255,255,255,0.08) 100%),
    url("/assets/hero-digimeediaagentuur.png") center right / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: 8vw;
  bottom: 42px;
  width: min(34vw, 420px);
  height: min(34vw, 420px);
  border: 1px solid rgba(23, 22, 66, 0.16);
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, var(--phi-large)) minmax(0, var(--phi-small));
  align-items: center;
  max-width: var(--max);
  min-height: inherit;
  margin: 0 auto;
  padding: 70px 24px 88px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--pink);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 2px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 5vw, 4.1rem);
  line-height: 0.97;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.7vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.15rem, 1.7vw, 1.42rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.lead {
  max-width: 690px;
  color: #33334f;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(23, 22, 66, 0.12);
  border-block: 1px solid rgba(23, 22, 66, 0.12);
}

.proof-item {
  min-height: 118px;
  padding: 28px 24px;
  background: var(--white);
}

.proof-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.proof-item span {
  color: var(--soft);
}

.section {
  padding: clamp(70px, 9vw, 118px) 24px;
}

.section.tight {
  padding-block: clamp(48px, 6vw, 78px);
}

.section.alt {
  background: var(--paper);
}

.section.dark {
  color: var(--white);
  background: var(--ink);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, var(--phi-large)) minmax(260px, var(--phi-small));
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(28px, 5vw, 58px);
}

.section-head p {
  color: var(--soft);
}

.dark .section-head p,
.dark .muted {
  color: rgba(255, 255, 255, 0.72);
}

.service-grid,
.article-grid,
.use-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.article-card,
.use-card,
.price-card,
.fact-card,
.faq-card {
  border: 1px solid rgba(23, 22, 66, 0.12);
  border-radius: var(--radius);
  background: var(--white);
}

.service-card {
  display: grid;
  min-height: 314px;
  padding: 24px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.service-card:hover {
  border-color: rgba(233, 17, 112, 0.34);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
  font-weight: 950;
}

.service-card:nth-child(2n) .service-icon {
  background: var(--pink);
}

.service-card p,
.article-card p,
.use-card p,
.price-card p,
.fact-card p {
  color: var(--soft);
}

.card-link {
  align-self: end;
  margin-top: 18px;
  color: var(--pink);
  font-weight: 850;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, var(--phi-large)) minmax(280px, var(--phi-small));
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
}

.copy-block p {
  color: #363650;
  font-size: 1.05rem;
}

.copy-block .lead {
  color: #292945;
}

.media-orbit {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 13px;
  padding: 18px;
  border: 1px solid rgba(23, 22, 66, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.orbit-row {
  display: grid;
  grid-template-columns: var(--phi-small) var(--phi-large);
  gap: 13px;
  min-height: 92px;
}

.orbit-tile {
  display: grid;
  place-items: center;
  min-height: 92px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
}

.orbit-tile.pink {
  background: var(--pink);
}

.orbit-tile.light {
  color: var(--ink);
  background: var(--mist);
}

.orbit-line {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--ink));
}

.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.process-step {
  position: relative;
  min-height: 260px;
  padding: 26px 20px;
  background: rgba(255, 255, 255, 0.04);
}

.process-step span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 30px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  font-weight: 900;
}

.process-step p {
  color: rgba(255, 255, 255, 0.72);
}

.growth-map {
  display: grid;
  grid-template-columns: var(--phi-large) var(--phi-small);
  gap: 18px;
}

.map-panel {
  min-height: 360px;
  border: 1px solid rgba(23, 22, 66, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(23, 22, 66, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 22, 66, 0.08) 1px, transparent 1px),
    var(--white);
  background-size: 38px 38px;
}

.map-panel.primary {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: clamp(330px, 38vw, 470px);
  padding: clamp(18px, 3vw, 32px);
}

.map-panel.primary::before {
  position: absolute;
  inset: 9% 7%;
  border: 2px solid rgba(233, 17, 112, 0.34);
  border-radius: 999px;
  content: "";
}

.map-panel.primary::after {
  position: absolute;
  inset: 22% 21%;
  border: 2px solid rgba(23, 22, 66, 0.34);
  border-radius: 999px;
  content: "";
}

.map-path {
  position: absolute;
  left: 15%;
  right: 15%;
  top: 50%;
  z-index: 1;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--ink));
  transform: translateY(-50%);
}

.map-path::after {
  position: absolute;
  right: -1px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-top: 3px solid var(--ink);
  border-right: 3px solid var(--ink);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.map-node {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 4px;
  width: min(28%, 190px);
  min-height: 94px;
  align-content: center;
  border: 1px solid rgba(23, 22, 66, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  padding: 16px;
  box-shadow: 0 16px 34px rgba(23, 22, 66, 0.1);
}

.map-node strong {
  color: var(--ink);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.05;
}

.map-node span {
  color: var(--soft);
  font-size: 0.92rem;
  line-height: 1.25;
}

.node-channel {
  left: 7%;
  top: 17%;
}

.node-message {
  left: 28%;
  bottom: 13%;
}

.node-page {
  right: 26%;
  top: 16%;
}

.node-result {
  right: 7%;
  bottom: 16%;
  border-color: rgba(233, 17, 112, 0.32);
}

.node-result strong {
  color: var(--pink);
}

.metric-stack {
  display: grid;
  gap: 18px;
}

.metric {
  display: grid;
  min-height: 108px;
  align-content: center;
  border: 1px solid rgba(23, 22, 66, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  padding: 20px;
}

.metric strong {
  font-size: 1.5rem;
}

.metric span {
  color: var(--soft);
}

.use-card,
.price-card,
.article-card,
.fact-card,
.faq-card {
  padding: 24px;
}

.price-card.featured {
  border-color: var(--pink);
  box-shadow: var(--shadow);
}

.price-card ul,
.service-list,
.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.price-card li,
.service-list li,
.check-list li {
  position: relative;
  padding-left: 26px;
}

.price-card li::before,
.service-list li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.2em;
  color: var(--pink);
  content: "✓";
  font-weight: 900;
}

.article-card {
  display: grid;
  min-height: 226px;
  text-decoration: none;
}

.article-card time {
  margin-bottom: 18px;
  color: var(--pink);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  padding: clamp(34px, 6vw, 74px);
}

.cta-band::after {
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 340px;
  height: 340px;
  border: 28px solid rgba(233, 17, 112, 0.45);
  border-radius: 50%;
  content: "";
}

.cta-band > * {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.page-hero {
  background: var(--paper);
  border-bottom: 1px solid rgba(23, 22, 66, 0.1);
  padding: clamp(64px, 10vw, 116px) 24px;
}

.page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, var(--phi-large)) minmax(260px, var(--phi-small));
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--soft);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.service-aside {
  display: grid;
  gap: 18px;
}

.fact-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--pink);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details.faq-card {
  padding: 0;
}

details.faq-card summary {
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 850;
}

details.faq-card p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--soft);
}

.article-body {
  max-width: 820px;
}

.article-body h2 {
  margin-top: 58px;
  font-size: clamp(1.65rem, 2.5vw, 2.45rem);
}

.article-body p,
.article-body li {
  color: #363650;
  font-size: 1.05rem;
}

.article-body ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 58px 24px 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, var(--phi-large)) repeat(2, minmax(180px, 1fr));
  gap: 34px;
  max-width: var(--max);
  margin: 0 auto 42px;
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.74);
}

.footer-grid a {
  display: block;
  margin-top: 8px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 82px;
    display: none;
    border: 1px solid rgba(23, 22, 66, 0.12);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav[data-open="true"] {
    display: block;
  }

  .site-nav ul {
    display: grid;
    gap: 0;
    padding: 10px;
  }

  .site-nav a {
    width: 100%;
  }

  .header-cta {
    display: none;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(255,255,255,0.92) 54%, rgba(255,255,255,0.4) 100%),
      url("/assets/hero-digimeediaagentuur.png") center bottom / cover no-repeat;
  }

  .hero-inner,
  .section-head,
  .split,
  .growth-map,
  .page-hero .container,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
  }

  .proof-strip,
  .service-grid,
  .article-grid,
  .use-grid,
  .pricing-grid,
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-orbit {
    position: relative;
    top: auto;
  }

  .map-panel.primary {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 66px;
    padding-inline: 16px;
  }

  .brand-text span:last-child {
    display: none;
  }

  .hero-inner {
    padding: 54px 18px 68px;
  }

  .hero {
    min-height: 650px;
  }

  h1 {
    font-size: clamp(2rem, 9.6vw, 2.35rem);
  }

  .page-hero h1 {
    font-size: clamp(2.1rem, 12vw, 3.05rem);
  }

  .proof-strip,
  .service-grid,
  .article-grid,
  .use-grid,
  .pricing-grid,
  .process {
    grid-template-columns: 1fr;
  }

  .section,
  .page-hero {
    padding-inline: 18px;
  }

  .process-step {
    min-height: auto;
  }

  .map-panel.primary {
    min-height: auto;
    display: grid;
    gap: 12px;
    padding: 18px;
  }

  .map-panel.primary::before,
  .map-panel.primary::after,
  .map-path {
    display: none;
  }

  .map-node {
    position: static;
    width: 100%;
    min-height: 82px;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
