/* ============================================================
   Kernvisiecoach Natascha Brans
   The logo is a cut gem, so every structural edge here is a cut
   corner rather than a rounded one.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  /* brand, straight from the guideline sheet */
  --mosterd: #ffd818;
  --koraal:  #ff5167;
  --mint:    #06c4b5;
  --groen:   #c4fb71;
  --bes:     #db9adf;

  /* darkened variants, for text that has to stay legible on white */
  --mint-ink:   #056f66;
  --koraal-ink: #d2213c;
  --bes-ink:    #8a4a90;

  --ink:      #17161b;
  --ink-soft: #55525f;
  --paper:    #ffffff;
  --paper-2:  #fffdf6;
  --paper-3:  #f7f4fb;
  --line:     #e8e4ef;

  --shell: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3rem);

  /* the gem cut, reused everywhere */
  --cut: 22px;

  --shadow-lg: 0 34px 70px -30px rgb(23 22 27 / .35);

  --ease: cubic-bezier(.22, .68, .32, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito", ui-rounded, "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.022em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -110%);
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s var(--ease);
}
.skip:focus { transform: translate(-50%, 0); }

.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

/* ---------- shared type ---------- */
.eyebrow {
  font-family: "Pacifico", cursive;
  font-size: clamp(1.05rem, .95rem + .5vw, 1.4rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--mint-ink);
  margin: 0 0 .6rem;
}
.eyebrow-center { text-align: center; }
.eyebrow-light { color: var(--ink); opacity: .75; }

.section-title {
  font-size: clamp(1.85rem, 1.3rem + 2.4vw, 3.05rem);
}
.section-title-center {
  text-align: center;
  margin-inline: auto;
  max-width: 20ch;
}

.lede {
  font-size: clamp(1.1rem, 1.02rem + .38vw, 1.28rem);
  color: var(--ink-soft);
}

.section {
  padding-block: clamp(3.5rem, 2.75rem + 3.5vw, 5.5rem);
  position: relative;
}

/* ---------- buttons ---------- */
.btn {
  --btn-cut: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.7rem;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -.01em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  clip-path: polygon(
    0 0,
    calc(100% - var(--btn-cut)) 0,
    100% var(--btn-cut),
    100% 100%,
    var(--btn-cut) 100%,
    0 calc(100% - var(--btn-cut))
  );
  transition: transform .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--koraal); color: var(--ink); }
.btn-primary:hover { background: #ff6b7e; }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }

.btn-outline { background: var(--paper); color: var(--ink); }
.btn-outline:hover { background: #fffbe8; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.lockup {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: inherit;
}
.lockup-gem { width: 40px; height: auto; }
.lockup-words { display: grid; line-height: 1.05; }
.lockup-kicker {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink-soft);
}
.lockup-name {
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -.025em;
}

/* ---------- nav ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: .55rem;
  background: var(--ink);
  color: #fff;
  border: 0;
  font-family: inherit;
  font-weight: 800;
  font-size: .95rem;
  padding: .6rem 1rem;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.nav-toggle-bars { display: grid; gap: 4px; width: 17px; }
.nav-toggle-bars i {
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(.4rem, 1.4vw, 1.5rem);
}
.nav-list a {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: .98rem;
  padding: .45rem .3rem;
  position: relative;
  color: var(--ink);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: .3rem;
  right: .3rem;
  bottom: .2rem;
  height: 3px;
  background: var(--mosterd);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav-list a:hover::after,
.nav-list a[aria-current="true"]::after { transform: scaleX(1); }

.nav-cta a {
  background: var(--mint);
  color: var(--ink);
  padding: .55rem 1.1rem;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.nav-cta a::after { display: none; }
.nav-cta a:hover { background: var(--mosterd); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3rem, 2rem + 5vw, 5.5rem) clamp(3.5rem, 2.5rem + 6vw, 6.5rem);
  background: linear-gradient(178deg, var(--paper-2) 0%, #fff 62%);
  overflow: hidden;
}

/* angular planes of light behind the type */
.facets {
  position: absolute;
  inset: -10% -5% 0;
  z-index: -1;
  pointer-events: none;
}
.facet { position: absolute; display: block; }

.facet-1 {
  inset: -6% 70% 48% -16%;
  background: var(--mosterd);
  opacity: .2;
  clip-path: polygon(0 0, 100% 26%, 58% 100%, 0 68%);
}
.facet-2 {
  inset: 54% 78% -20% -12%;
  background: var(--groen);
  opacity: .24;
  clip-path: polygon(0 22%, 86% 0, 100% 72%, 26% 100%);
}
.facet-3 { display: none; }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
}

.hero-title {
  font-size: clamp(2.9rem, 1.6rem + 6.4vw, 6.2rem);
  font-weight: 900;
  letter-spacing: -.038em;
  line-height: .96;
  margin: 0 0 1.4rem;
  display: grid;
}
.hero-title em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
/* the underline is a facet edge, not a highlighter swipe */
.hero-title em::after {
  content: "";
  position: absolute;
  left: -.03em;
  right: -.03em;
  bottom: .16em;
  height: .24em;
  background: var(--mosterd);
  z-index: -1;
  clip-path: polygon(0 26%, 100% 0, 100% 84%, 0 100%);
}

.hero-lead {
  font-size: clamp(1.08rem, 1rem + .55vw, 1.32rem);
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 2.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem 1.75rem;
  margin: 0;
}

.link-arrow {
  display: inline-flex;
  align-items: baseline;
  gap: .45rem;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -.01em;
  text-decoration: none;
  color: var(--ink);
  padding-block: .5rem;
}
.link-arrow span {
  border-bottom: 3px solid var(--mosterd);
  padding-bottom: 2px;
  transition: border-color .2s var(--ease);
}
.link-arrow svg {
  width: .85em;
  flex: none;
  transition: transform .22s var(--ease);
}
.link-arrow:hover span { border-bottom-color: var(--koraal); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- the gem, and its shine ---------- */
.hero-figure { display: grid; place-items: center; }

.gem {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 229 / 276;
  filter: drop-shadow(0 26px 34px rgb(23 22 27 / .17));
}
.rays {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
  z-index: -1;
}
.rays i {
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 20%;
  height: 64%;
  margin-left: -10%;
  background: var(--c);
  opacity: var(--o);
  transform-origin: 50% 100%;
  transform: rotate(var(--a)) scaleY(.9);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  animation: ray-breathe 7s var(--ease) infinite;
}
.rays i:nth-child(2n)  { animation-delay: -2.3s; }
.rays i:nth-child(3n)  { animation-delay: -4.1s; }
.rays i:nth-child(5n)  { animation-delay: -5.6s; }

@keyframes ray-breathe {
  0%, 100% { transform: rotate(var(--a)) scaleY(.86); }
  50%      { transform: rotate(var(--a)) scaleY(1.04); }
}

.gem-art {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: gem-float 7s var(--ease) infinite;
}

/* a light sweep, masked to the gem's own silhouette */
.gem-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    108deg,
    transparent 34%,
    rgb(255 255 255 / .1) 44%,
    rgb(255 255 255 / .82) 50%,
    rgb(255 255 255 / .1) 56%,
    transparent 66%
  );
  background-size: 280% 100%;
  background-repeat: no-repeat;
  -webkit-mask: url("../img/gem.svg") center / contain no-repeat;
  mask: url("../img/gem.svg") center / contain no-repeat;
  animation: gem-sweep 6.5s var(--ease) infinite;
  mix-blend-mode: soft-light;
}

@keyframes gem-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-12px) rotate(-1.1deg); }
}
@keyframes gem-sweep {
  0%, 8%   { background-position: 190% 0; }
  46%, 100% { background-position: -90% 0; }
}

/* three glints, slow and offset */
.glint {
  position: absolute;
  width: 26px;
  aspect-ratio: 1;
  background: var(--mosterd);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  opacity: 0;
  animation: glint 6.5s var(--ease) infinite;
}
.glint-1 { top: 2%;  right: 6%;  width: 38px; animation-delay: 1.6s; }
.glint-2 { top: 40%; left: -6%;   width: 28px; background: var(--koraal); animation-delay: 3.1s; }
.glint-3 { bottom: 8%; right: -2%; width: 32px; background: var(--mint);  animation-delay: 4.4s; }

@keyframes glint {
  0%, 100%  { opacity: 0; transform: scale(.3) rotate(0deg); }
  7%        { opacity: .95; transform: scale(1) rotate(35deg); }
  18%       { opacity: 0; transform: scale(.4) rotate(70deg); }
}

/* ============================================================
   HERKENBAAR, the cards where the letters settle
   ============================================================ */
.section-herkenbaar {
  background: var(--paper-3);
  clip-path: polygon(0 0, 58% 2.6rem, 100% 0, 100% 100%, 42% calc(100% - 2.6rem), 0 100%);
  padding-block: clamp(4.5rem, 3.5rem + 4vw, 6.5rem) clamp(4rem, 3rem + 3.5vw, 6rem);
}

.signs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}

.sign {
  --sign: var(--koraal);
  filter: drop-shadow(0 10px 18px rgb(46 34 74 / .1));
  transition: transform .3s var(--ease), filter .3s var(--ease);
}
.sign:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 18px 26px rgb(46 34 74 / .16));
}

.sign-inner {
  position: relative;
  height: 100%;
  background: var(--paper);
  padding: 2rem 1.5rem 1.7rem;
  clip-path: polygon(
    0 0,
    calc(100% - var(--cut)) 0,
    100% var(--cut),
    100% 100%,
    var(--cut) 100%,
    0 calc(100% - var(--cut))
  );
}

.sign-koraal  { --sign: var(--koraal); }
.sign-mint    { --sign: var(--mint); }
.sign-bes     { --sign: var(--bes); }
.sign-mosterd { --sign: var(--mosterd); }

/* the coloured facet in the cut corner */
.sign-index {
  position: absolute;
  top: 0;
  right: 0;
  width: 62px;
  height: 62px;
  background: var(--sign);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  opacity: .9;
}

.sign-title {
  font-size: 1.28rem;
  font-weight: 800;
  margin: 0 0 .65rem;
  max-width: 13ch;
}
.sign p {
  color: var(--ink-soft);
  font-size: .97rem;
  line-height: 1.6;
  margin: 0;
}

/* letters that arrive crooked, then settle into place */
.settle-word {
  display: inline-block;
  white-space: nowrap;
}
.settle-char {
  display: inline-block;
  transform: translateY(var(--sy, 0)) rotate(var(--sr, 0deg)) scaleX(var(--sx, 1));
  color: var(--ink-soft);
  transition:
    transform .62s var(--ease) var(--sd, 0ms),
    color .62s var(--ease) var(--sd, 0ms);
}
.is-settled .settle-char {
  transform: none;
  color: var(--ink);
}

.signs-note {
  margin: clamp(2.25rem, 4vw, 3rem) auto 0;
  max-width: 46ch;
  text-align: center;
  font-size: clamp(1.05rem, 1rem + .4vw, 1.22rem);
  color: var(--ink-soft);
}
.signs-note strong { color: var(--ink); font-weight: 800; }

/* ============================================================
   AANPAK
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.split-copy p { color: var(--ink-soft); }
.split-copy .section-title { margin-bottom: 1.4rem; }
.split-copy em { font-style: normal; font-weight: 800; color: var(--ink); }

.quote {
  margin: 2rem 0 0;
  padding: 0 0 0 1.4rem;
  border-left: 4px solid var(--mosterd);
}
.quote p {
  font-family: "Pacifico", cursive;
  font-size: clamp(1.2rem, 1.05rem + .7vw, 1.6rem);
  line-height: 1.45;
  color: var(--ink) !important;
  margin: 0;
}

/* the prism: one shape, four faces, catching different light */
.split-figure { display: grid; justify-items: center; gap: 1.5rem; }

.prism {
  position: relative;
  width: min(100%, 330px);
  aspect-ratio: 1;
  animation: prism-turn 18s linear infinite;
}
.prism-face {
  position: absolute;
  inset: 0;
  mix-blend-mode: multiply;
}
.prism-a { background: var(--mosterd); clip-path: polygon(50% 4%, 96% 34%, 50% 52%); }
.prism-b { background: var(--koraal);  clip-path: polygon(50% 4%, 4% 34%, 50% 52%); opacity: .92; }
.prism-c { background: var(--mint);    clip-path: polygon(4% 34%, 50% 52%, 50% 97%); opacity: .88; }
.prism-d { background: var(--bes);     clip-path: polygon(96% 34%, 50% 52%, 50% 97%); }

@keyframes prism-turn {
  0%, 100% { transform: rotate(0deg)  scale(1); }
  25%      { transform: rotate(4deg)  scale(1.03); }
  50%      { transform: rotate(0deg)  scale(.99); }
  75%      { transform: rotate(-4deg) scale(1.03); }
}

.prism-caption {
  font-family: "Pacifico", cursive;
  font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem);
  line-height: 1.6;
  text-align: center;
  color: var(--bes-ink);
  margin: 0;
}

/* ============================================================
   WAAR WE AAN WERKEN
   ============================================================ */
.section-werk {
  background:
    linear-gradient(180deg, #fff 0%, var(--paper-2) 100%);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(1.1rem, 2.2vw, 1.9rem);
  margin-top: clamp(2.75rem, 5vw, 4rem);
}

.tile {
  text-align: center;
  padding: 0 .4rem;
}
.tile h3 {
  font-size: 1.18rem;
  margin: 1.2rem 0 .5rem;
}
.tile p {
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.6;
  margin: 0;
}

/* The icons were drawn with white outlines, so each one needs a colour
   underneath it to be visible at all. */
.tile-icon {
  display: grid;
  place-items: center;
  width: clamp(104px, 30vw, 124px);
  aspect-ratio: 1;
  margin-inline: auto;
  clip-path: polygon(
    22% 0, 78% 0, 100% 22%, 100% 78%,
    78% 100%, 22% 100%, 0 78%, 0 22%
  );
  transition: transform .35s var(--ease);
}
.tile:hover .tile-icon { transform: rotate(-6deg) scale(1.05); }

.tile-icon img { height: auto; }
.tile-icon-mint img    { width: 72%; }  /* regenboog, wide and short */
.tile-icon-bes img     { width: 50%; }  /* vink */
.tile-icon-koraal img  { width: 66%; }  /* rakket */
.tile-icon-mosterd img { width: 54%; }  /* ster */
.tile-icon-groen img   { width: 60%; }  /* zon */
.tile-icon-mint    { background: var(--mint); }
.tile-icon-bes     { background: var(--bes); }
.tile-icon-koraal  { background: var(--koraal); }
.tile-icon-mosterd { background: var(--mosterd); }
.tile-icon-groen   { background: var(--groen); }

/* ============================================================
   VERHAAL
   ============================================================ */
.section-verhaal {
  background: var(--paper);
  padding-block: clamp(3.5rem, 2.75rem + 3.5vw, 5.5rem);
}

.verhaal-head {
  max-width: 46ch;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.verhaal-head .section-title { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }

.verhaal-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.prose {
  max-width: 62ch;
  font-size: clamp(1.03rem, 1rem + .28vw, 1.14rem);
  color: var(--ink-soft);
}
.prose p { margin-bottom: 1.35em; }

/* ---------- the moment it clicks ----------
   A child said this out loud, so it gets a speech bubble instead of a
   pull-quote slab. Same cut corners as the rest of the page, tilted like
   one of the brand's stickers. */
.aha {
  --tail: 30px;
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 3.25rem 0 3.5rem clamp(0rem, 3vw, 2.5rem);
  filter: drop-shadow(0 14px 20px rgb(88 66 20 / .2));
}

.aha-bubble {
  position: relative;
  margin: 0;
  padding: 1.5rem 2.4rem calc(1.5rem + var(--tail));
  background: var(--mosterd);
  transform: rotate(-1.6deg);
  clip-path: polygon(
    0 0,
    calc(100% - 26px) 0,
    100% 26px,
    100% calc(100% - var(--tail) - 26px),
    calc(100% - 26px) calc(100% - var(--tail)),
    76px calc(100% - var(--tail)),
    46px 100%,                        /* the tail, cut like a facet */
    40px calc(100% - var(--tail)),
    0 calc(100% - var(--tail))
  );
}
.aha-bubble p {
  margin: 0;
  font-family: "Pacifico", cursive;
  font-size: clamp(1.7rem, 1.25rem + 2.1vw, 2.85rem);
  line-height: 1.25;
  letter-spacing: -.005em;
  color: var(--ink);
  text-align: left;
  white-space: nowrap;
}

.aha-star {
  position: absolute;
  top: -32px;
  right: -46px;
  width: clamp(52px, 8vw, 74px);
  height: auto;
  transform: rotate(12deg);
  animation: aha-pop 5.5s var(--ease) infinite;
}

@keyframes aha-pop {
  0%, 60%, 100% { transform: rotate(12deg) scale(1); }
  68%           { transform: rotate(5deg) scale(1.14); }
}

}

.signature {
  font-family: "Allura", cursive;
  font-size: clamp(2.1rem, 1.6rem + 2.4vw, 3.2rem);
  line-height: 1.15;
  color: var(--koraal-ink);
  margin-top: 2.5rem;
}
.signature span { display: inline-block; }

/* credentials, a stacked set of facets down the side */
.creds {
  position: sticky;
  top: 106px;
  background: var(--paper-3);
  padding: 1.9rem 1.7rem;
  clip-path: polygon(
    var(--cut) 0,
    100% 0,
    100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%,
    0 100%,
    0 var(--cut)
  );
}
.creds-title {
  font-size: 1.05rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.creds li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .85rem;
  font-size: .96rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.creds li:last-child { margin-bottom: 0; }
.creds li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 10px;
  background: var(--mint);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.creds li:nth-child(2n)::before { background: var(--koraal); }
.creds li:nth-child(3n)::before { background: var(--bes); }

/* ============================================================
   STAPPEN. These really are ordered, so the numbers carry meaning.
   ============================================================ */
.section-start {
  background: var(--paper-3);
  clip-path: polygon(0 0, 44% 2.6rem, 100% 0, 100% 100%, 0 100%);
  padding-block: clamp(4.5rem, 3.5rem + 4vw, 6.5rem) clamp(3.5rem, 2.75rem + 3.5vw, 5.5rem);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(3rem, 5vw, 4rem);
}

.step {
  --num-size: 54px;
  position: relative;
  padding-top: calc(var(--num-size) + 1.5rem);
}
.step h3 { font-size: 1.32rem; margin-bottom: .6rem; }
.step p { color: var(--ink-soft); font-size: .99rem; margin: 0; }

.step-num {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: var(--num-size);
  height: var(--num-size);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--ink);
  background: var(--mosterd);
  clip-path: polygon(
    22% 0, 78% 0, 100% 22%, 100% 78%,
    78% 100%, 22% 100%, 0 78%, 0 22%
  );
}
.step:nth-child(2) .step-num { background: var(--mint); }
.step:nth-child(3) .step-num { background: var(--koraal); color: var(--ink); }

/* ============================================================
   CONTACT
   ============================================================ */
.section-contact { padding-block: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); }

.contact-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
  align-items: center;
  gap: 2rem;
  padding: clamp(2.5rem, 5vw, 4.25rem);
  background: linear-gradient(128deg, var(--mosterd) 0%, #ffe36b 52%, var(--groen) 100%);
  clip-path: polygon(
    0 0,
    calc(100% - 54px) 0,
    100% 54px,
    100% 100%,
    54px 100%,
    0 calc(100% - 54px)
  );
}

.contact-title {
  font-size: clamp(2rem, 1.4rem + 2.8vw, 3.3rem);
  margin-bottom: 1rem;
}
.contact-lead {
  font-size: clamp(1.05rem, 1rem + .4vw, 1.2rem);
  max-width: 40ch;
  color: #3a3520;
  margin-bottom: 1.9rem;
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 3rem;
  margin-bottom: 2rem;
}
.contact-label {
  display: block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6b6231;
  margin-bottom: .15rem;
}
.contact-value {
  display: inline-block;
  font-size: clamp(1.08rem, 1rem + .5vw, 1.32rem);
  font-weight: 800;
  letter-spacing: -.015em;
  text-decoration: none;
  box-shadow: inset 0 -3px 0 rgb(23 22 27 / .28);
  padding: .4rem 0 .5rem;
  transition: box-shadow .2s var(--ease);
}
.contact-value:hover { box-shadow: inset 0 -3px 0 var(--ink); }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin: 0;
}

.contact-figure {
  justify-self: center;
  animation: gem-float 8s var(--ease) infinite;
}
.contact-figure img { width: clamp(130px, 22vw, 200px); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  --footer-cut: 2.6rem;
  background: var(--ink);
  color: #fff;
  padding-top: calc(var(--footer-cut) + clamp(3rem, 2rem + 3vw, 4.5rem));
  /* rises to meet the wedges that dip in the sections above */
  clip-path: polygon(0 var(--footer-cut), 44% 0, 100% var(--footer-cut), 100% 100%, 0 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.lockup-light .lockup-kicker { color: rgb(255 255 255 / .62); }
.lockup-light .lockup-name { color: #fff; }

.footer-tag {
  font-family: "Pacifico", cursive;
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.95rem);
  line-height: 1.3;
  color: var(--mosterd);
  margin: 1.5rem 0 .75rem;
}
.footer-blurb {
  max-width: 34ch;
  margin: 0;
  font-size: .95rem;
  line-height: 1.6;
  color: rgb(255 255 255 / .62);
}

.footer-col-title {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgb(255 255 255 / .58);
  margin: 0 0 .9rem;
}
.footer-col li + li { margin-top: .1rem; }
.footer-col a {
  display: inline-block;
  padding-block: .42rem;
  color: rgb(255 255 255 / .82);
  text-decoration: none;
  font-weight: 600;
  font-size: .98rem;
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: var(--mosterd); }

/* the phone number is the last thing a hesitating parent reads */
.footer-col a.footer-phone {
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--mosterd);
}
.footer-col a.footer-phone:hover { color: #fff; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding-block: 1.25rem 1.6rem;
  border-top: 1px solid rgb(255 255 255 / .14);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem 1.5rem;
}
.footer-fine {
  margin: 0;
  font-size: .86rem;
  color: rgb(255 255 255 / .55);
}

.footer-credit {
  color: rgb(255 255 255 / .82);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgb(255 255 255 / .3);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer-credit:hover {
  color: var(--mosterd);
  border-bottom-color: var(--mosterd);
}

.footer-top {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding-block: .45rem;
  color: rgb(255 255 255 / .72);
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  transition: color .2s var(--ease);
}
.footer-top svg {
  width: .8em;
  flex: none;
  transition: transform .22s var(--ease);
}
.footer-top:hover { color: var(--mosterd); }
.footer-top:hover svg { transform: translateY(-3px); }

/* ============================================================
   REVEALS
   ============================================================ */
/* Content is visible by default and only hidden once we know scripting is
   available to bring it back. Otherwise a blocked script leaves the hero
   blank. The .js class is set inline in <head>, before first paint. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .7s var(--ease) calc(var(--reveal-i, 0) * 95ms),
    transform .7s var(--ease) calc(var(--reveal-i, 0) * 95ms);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero-figure { order: -1; }
  .gem { width: min(64%, 230px); }

  .split { grid-template-columns: 1fr; }
  .split-figure { order: -1; }
  .prism { width: min(70%, 250px); }

  .verhaal-body { grid-template-columns: 1fr; }
  .creds { position: static; max-width: 460px; }

  .contact-card { grid-template-columns: 1fr; }
  .contact-figure { order: -1; justify-self: start; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 78px; }

  .header-inner { min-height: 64px; }
  .nav { position: relative; }
  .nav-toggle { display: inline-flex; }

  .nav-list {
    position: absolute;
    top: calc(100% + .9rem);
    right: 0;
    display: grid;
    gap: .15rem;
    min-width: 226px;
    padding: .7rem;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav-list.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-list a { display: block; padding: .7rem .8rem; }
  .nav-list a::after { display: none; }
  .nav-cta { margin-top: .3rem; }
  .nav-cta a { text-align: center; }

  .section-herkenbaar,
  .section-start {
    clip-path: polygon(0 0, 58% 1.5rem, 100% 0, 100% 100%, 0 100%);
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 1rem; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { margin-bottom: 0; }

  .contact-card {
    clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
  }
}

@media (max-width: 560px) {
  .aha { margin-left: 0; }
  .aha-bubble { padding-inline: 1.5rem; }
  .aha-bubble p { white-space: normal; }
  .aha-star { top: -22px; right: -18px; }
}

@media (max-width: 420px) {
  .btn { width: 100%; }
  .hero-actions, .contact-actions { flex-direction: column; align-items: flex-start; }
  .contact-actions .btn { width: 100%; }
}

/* ============================================================
   MOTION PREFERENCES
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal,
  .js .reveal { opacity: 1; transform: none; }
  .settle-char { transform: none; color: var(--ink); }
  .gem-shine, .glint { display: none; }
}

@media (prefers-contrast: more) {
  .facets, .prism { display: none; }
  .sign { border: 2px solid var(--ink); }
}

@media print {
  .site-header, .facets, .prism, .glint, .gem-shine { display: none; }
  body { color: #000; }
  .section { padding-block: 1.5rem; }
}
