/* The Daley Edit | mediakit
   Huisstijl volgt thedaleyedit.nl: nacht draagt, lila is de tweede kleur,
   rood is het accent (één rood ding per vlak), olijf alleen als stip.
   Uxum voor koppen, Schibsted Grotesk voor tekst. Bewust één look, licht
   papier met donkere nachtvlakken, dus geen apart donker thema. */

@font-face { font-family: "Uxum"; src: url("fonts/uxumbold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Uxum"; src: url("fonts/uxumregular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-latin-variabel.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }

:root {
  --nacht: #171423;
  --paars: #4d2053;
  --lila: #e9dfff;
  --donkerrood: #521434;
  --wijnrood: #713245;
  --rood: #bf293c;
  --oudroze: #dab1b3;
  --olijf: #b5a520;
  --creme: #f0ede7;
  --papier: #fdfbf7;
  --muted: #6a676f;
  --muted-dark: #b9b5c4;
  --line: #d6d3cf;
  --schaduw: color-mix(in srgb, var(--nacht) 72%, transparent);

  --display: "Uxum", "Schibsted Grotesk", system-ui, sans-serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --page: 1440px;
  --gutter: clamp(16px, 3vw, 40px);
  --radius-panel: clamp(22px, 2.6vw, 36px);
  --radius-img: 18px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--nacht);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rood); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: var(--page);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ===== Typografie ===== */
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
.h-hero { font-size: clamp(2.7rem, 6.4vw, 6rem); }
.h-section { font-size: clamp(2.1rem, 4.4vw, 3.8rem); }
.h-sub { font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -0.025em; }
h3 { font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; max-width: 110ch; }
.lead { font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.55; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
.caption { font-size: 0.9rem; color: var(--muted); }
.stack { display: grid; gap: 20px; align-content: start; }
.stack-lg { display: grid; gap: 32px; align-content: start; }
.red-dot { color: var(--rood); }

/* ===== Kop van de pagina ===== */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 10; background: var(--papier);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9;
  background: color-mix(in srgb, var(--papier) 92%, transparent);
  backdrop-filter: blur(10px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-block: 18px;
}
.logo img { height: 46px; width: auto; }
.nav {
  display: flex; gap: 6px; align-items: center;
  overflow-x: auto; scrollbar-width: none; min-width: 0;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: 0.98rem; white-space: nowrap;
  padding: 9px 16px; border-radius: 999px; border: 1.5px solid transparent;
}
.nav a:hover { border-color: var(--nacht); }
.nav a[aria-current="page"] { background: var(--lila); }
.nav .btn { margin-left: 8px; }
/* Taalknop, zoals de EN-knop op de website: een rond randje */
.nav a.lang { border-color: var(--nacht); font-weight: 600; font-size: 0.85rem; padding: 9px 14px; margin-left: 8px; }
.nav a.lang:hover { background: var(--lila); border-color: var(--lila); }

/* ===== Knoppen en labels ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  border: 1.5px solid currentColor; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-1px, -1px); }
.btn-lila { background: var(--lila); color: var(--nacht); border-color: var(--lila); }
.btn-nacht { background: var(--nacht); color: var(--papier); border-color: var(--nacht); }
.btn-ghost { background: transparent; }
.btn .arrow { font-size: 0.9em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block; padding: 4px 13px; border-radius: 999px;
  border: 1.5px solid currentColor; font-size: 0.88rem; line-height: 1.5; white-space: nowrap;
}
.tag-olijf { color: var(--olijf); }
.tag-oudroze { color: var(--oudroze); }
.tag-rood { color: var(--rood); }

/* ===== Vlakken ===== */
.panel {
  border-radius: var(--radius-panel);
  padding: clamp(28px, 5vw, 76px);
  position: relative; overflow: hidden; isolation: isolate;
}
.panel-nacht { background: var(--nacht); color: var(--creme); }
.panel-lila { background: var(--lila); color: var(--nacht); }
.panel-creme { background: var(--creme); color: var(--nacht); }
.panel-paars { background: var(--paars); color: var(--creme); }
.panel-nacht .muted, .panel-paars .muted { color: var(--muted-dark); }
.panel-nacht h1, .panel-nacht h2, .panel-paars h1, .panel-paars h2 { color: var(--lila); }
/* Korrel over de grote vlakken, zoals op de website: bedrukt papier, geen plat blok */
.noise::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23r)' opacity='0.42'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

section { padding-block: clamp(56px, 8vw, 116px); }
section.tight { padding-block: clamp(28px, 4vw, 56px); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head.split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: end; gap: 24px 64px;
}

/* ===== Hero ===== */
.hero { padding-top: 8px; padding-bottom: 0; }
.hero .panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 28px; align-content: center; }
.hero-copy .lead { color: var(--creme); opacity: .86; }
.hero-media { position: relative; }
/* De ronding van het beeldmerk: rechts een halve boog, met de rode boog erachter */
.arch {
  border-radius: 22px 50% 50% 22px / 22px 50% 50% 22px;
  box-shadow: 14px 12px 0 0 var(--rood);
  width: 100%; height: auto; object-fit: cover;
}
.hero-small .panel { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.hero .panel.single { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 28px; }
.hero-small .hero-media img { aspect-ratio: 5 / 4; }

/* Rond stempel met tekst langs de rand, zoals bij de portretfoto op de site */
.badge {
  position: absolute; left: -64px; bottom: 9%;
  width: 190px; height: 190px; border-radius: 50%;
  background: var(--nacht); display: grid; place-items: center;
  box-shadow: 6px 5px 0 0 var(--rood);
}
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: draai 28s linear infinite; }
.badge text { fill: var(--creme); font-family: var(--sans); font-weight: 700; font-size: 13.2px; letter-spacing: 0.2em; }
.badge img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; background: var(--lila); }
@keyframes draai { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .badge svg { animation: none; } .btn { transition: none; } }

/* ===== Feitjes onder de hero ===== */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fact { border-top: 2px solid var(--nacht); padding-top: 14px; display: grid; gap: 4px; }
.fact strong { font-family: var(--display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -0.03em; line-height: 1.1; }

/* ===== Over mij ===== */
.about { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.about-photo {
  border-radius: 50% 50% 22px 22px / 42% 42% 22px 22px;
  border: 2px solid var(--nacht); box-shadow: 5px 5px 0 0 var(--schaduw);
  aspect-ratio: 4 / 5; object-fit: cover; width: 100%; max-width: 520px; justify-self: end;
}
.pullquote {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.025em;
  font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.15; color: var(--paars);
}

/* ===== Kaarten met een randje en harde schaduw ===== */
.card {
  background: var(--papier); color: var(--nacht);
  border: 2px solid var(--nacht); border-radius: 22px;
  box-shadow: 4px 4px 0 0 var(--schaduw);
  padding: 26px; display: grid; gap: 14px; align-content: start;
}
.icon-tile {
  width: 56px; height: 56px; border-radius: 14px;
  border: 2px solid var(--nacht); box-shadow: 3px 3px 0 0 var(--schaduw);
  display: grid; place-items: center; flex: none;
}
.icon-tile svg { width: 26px; height: 26px; fill: none; stroke: var(--nacht); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bg-lila { background: var(--lila); }
.bg-oudroze { background: var(--oudroze); }
.bg-olijf { background: var(--olijf); }
.bg-creme { background: var(--creme); }
.bg-rood { background: var(--rood); }
.bg-rood svg, .bg-paars svg { stroke: var(--papier); }
.bg-paars { background: var(--paars); }

/* Diensten in het nachtvlak, zoals "Zo versterk ik je merk" op de site */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 52px) clamp(28px, 4vw, 64px); }
.service { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: start; }
.service .stack { gap: 10px; }
.service h3 { color: var(--papier); }
.service p { color: var(--muted-dark); }

/* ===== Waarom met mij ===== */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why li {
  list-style: none; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: center;
  padding: 18px 20px; border-radius: 18px; background: var(--creme);
  font-weight: 500; font-size: 1.08rem;
}
.why { padding: 0; margin: 0; }
.check {
  width: 34px; height: 34px; border-radius: 50%; background: var(--olijf);
  display: grid; place-items: center; border: 2px solid var(--nacht);
}
.check svg { width: 16px; height: 16px; fill: none; stroke: var(--nacht); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Doorklikkaarten naar de andere pagina's ===== */
.teasers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.teaser {
  text-decoration: none; display: grid; gap: 14px; align-content: start;
  border-radius: 22px; padding: 12px 12px 20px; background: var(--creme);
  transition: transform .15s ease, box-shadow .15s ease;
}
.teaser img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.teaser h3 { padding-inline: 8px; display: flex; justify-content: space-between; gap: 10px; }
.teaser p { padding-inline: 8px; color: var(--muted); font-size: 0.97rem; }
.teaser:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 0 var(--schaduw); }

/* ===== Fotogrids ===== */
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry figure { break-inside: avoid; margin: 0 0 16px; }
.masonry img { width: 100%; height: auto; border-radius: var(--radius-img); }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-img); }
.ratio-43 img { aspect-ratio: 4 / 3; }
.ratio-34 img { aspect-ratio: 3 / 4; }
.ratio-169 img { aspect-ratio: 16 / 10; }
figure { margin: 0; display: grid; gap: 10px; align-content: start; }
.span2 { grid-column: span 2; }
.rowspan2 { grid-row: span 2; }

/* Grote beelden met bijschrift */
.feature img { width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; border-radius: clamp(18px, 2vw, 28px); }
.feature figcaption { font-size: 0.95rem; color: var(--muted); }

/* Subnavigatie binnen een pagina */
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { text-decoration: none; }
.jump .tag:hover { background: var(--lila); color: var(--nacht); border-color: var(--lila); }

/* Blok met kop links en beeld rechts */
.block { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.block-head { position: sticky; top: 110px; display: grid; gap: 16px; }

/* ===== Woordwolk interesses ===== */
.cloud { display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: baseline; }
.cloud span { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.w1 { font-size: clamp(2.6rem, 5.6vw, 5rem); color: var(--lila); }
.w2 { font-size: clamp(1.9rem, 3.6vw, 3.2rem); color: var(--oudroze); }
.w3 { font-size: clamp(1.4rem, 2.4vw, 2.1rem); color: var(--creme); }
.w4 { font-size: clamp(1.4rem, 2.4vw, 2.1rem); color: var(--olijf); }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.contact-list li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding-block: 12px; border-bottom: 1px solid color-mix(in srgb, var(--creme) 18%, transparent); align-items: baseline; }
.contact-list span { color: var(--muted-dark); font-size: 0.95rem; }
.contact-list a { text-decoration: none; font-weight: 600; font-size: 1.12rem; color: var(--creme); overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--lila); }
.coffee { position: relative; justify-self: center; width: min(100%, 420px); }
.coffee img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--lila); box-shadow: 14px 12px 0 0 var(--rood); }

.socials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.social { text-decoration: none; display: grid; gap: 4px; padding: 20px 22px; border-radius: 18px; border: 2px solid var(--nacht); background: var(--papier); box-shadow: 3px 3px 0 0 var(--schaduw); }
.social strong { font-size: 1.15rem; }
.social:hover { background: var(--lila); }

.site-footer { padding-block: 28px 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; color: var(--muted); font-size: 0.92rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Volgende pagina, onderaan */
.next { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ===== Smal scherm ===== */
@media (max-width: 1100px) {
  .teasers, .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero .panel, .hero-small .panel, .about, .contact, .block, .section-head.split { grid-template-columns: minmax(0, 1fr); }
  .block-head { position: static; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .socials { grid-template-columns: minmax(0, 1fr); }
  .badge { left: auto; right: -6px; bottom: -24px; width: 150px; height: 150px; }
  .badge img { width: 80px; height: 80px; }
  .badge text { font-size: 13.6px; }
  .hero-media { margin-bottom: 24px; }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .logo img { height: 38px; }
  .site-header .wrap { flex-wrap: wrap; padding-block: 12px; }
  .nav { width: 100%; }
  /* Op de telefoon schuift het menu, dus de taalknop staat dan vast naast het logo */
  .site-header .wrap { position: relative; }
  .nav a.lang { position: absolute; top: 14px; right: max(var(--gutter), env(safe-area-inset-right, 0px)); margin: 0; }
  .teasers, .why, .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); }
  .g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span2 { grid-column: auto; }
  .contact-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .arch { box-shadow: 8px 7px 0 0 var(--rood); }
}
