/* Boring Digital · landingspagina
   Kleuren, typografie en maten uit het designsysteem "Boring Digital" (tokens.json v1).
   Donker is standaard; mint is de lichte afwisselingssectie. */

@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --brand-ink: #030f0f;
  --brand-green: #00df82;
  --brand-green-deep: #03624c;
  --mint: #e4f1eb;
  --mint-text: #285d49;
  --surface-cta: #151617;
  --gray-20: #303236;
  --gray-40: #61646b;
  --gray-50: #797d86;
  --gray-60: #94979e;
  --gray-80: #c9cbcf;
  --rule: rgba(255, 255, 255, 0.1);
  --rule-light: rgba(0, 0, 0, 0.1);

  --font-display: "Inter Tight", Inter, system-ui, sans-serif;
  --font-sans: Inter, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --container: 1280px;
  --gutter: 24px;
  --header: 80px;
  --section: clamp(64px, 9vw, 112px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 8px 16px;
  border-radius: 9999px;
  background: var(--brand-green);
  color: var(--black);
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
}

/* Korrel: overlay-textuur op kleurvlakken, onder de inhoud. */
.g,
.g-light {
  position: relative;
  isolation: isolate;
}
.g::after,
.g-light::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: url("../img/grain.png") repeat;
  background-size: 256px 256px;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.g::after {
  opacity: 0.55;
}
.g-light::after {
  opacity: 0.9;
}

/* Typografie */
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-80);
}

.rest {
  color: var(--gray-50);
}

.lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray-60);
}

.statement {
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.6vw, 18px);
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.7);
}

.h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

/* Knoppen: pills */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15.2px;
  line-height: 1.55;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.btn--sm {
  min-height: 40px;
  padding: 0 18px;
}
.btn--primary {
  background: var(--brand-green);
  color: var(--black);
}
.btn--primary:hover {
  background: linear-gradient(90deg, var(--brand-green), var(--mint));
}
.btn--outline {
  border-color: var(--gray-60);
  color: var(--white);
}
.btn--outline:hover {
  background: var(--gray-20);
}
.btn--deep {
  background: linear-gradient(90deg, var(--brand-ink), var(--brand-green-deep));
  color: var(--white);
}
.btn--deep:hover {
  background: var(--brand-green-deep);
}
.btn--outline-dark {
  border-color: var(--gray-40);
  color: var(--black);
}
.btn--outline-dark:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Header */
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header);
}
.logo {
  display: flex;
  align-items: center;
  border-radius: 4px;
}
.logo__full {
  height: 27px;
  width: auto;
}
.logo__mark {
  display: none;
  height: 28px;
  width: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 32px;
  min-height: min(calc(100svh - var(--header)), 860px);
  padding-top: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(48px, 6vw, 96px);
}
.hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 660px;
}
.nowrap {
  white-space: nowrap;
}
.hero__title {
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.hero__art {
  width: 130%;
  max-width: none;
  height: auto;
  margin-right: -30%;
  pointer-events: none;
}

/* Sporen */
.tracks {
  padding-block: var(--section);
  border-top: 1px solid var(--rule);
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
}
.grid__cell {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 26px 28px;
  background: var(--black);
}
.grid__cell .eyebrow {
  color: var(--gray-50);
}
.grid__title {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.grid__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-60);
}
.grid__cell--note {
  background: var(--surface-cta);
}
.grid__cell--note .eyebrow {
  color: var(--brand-green);
}

/* Werkwijze */
.approach {
  padding-block: var(--section);
  background: var(--brand-ink);
  border-top: 1px solid var(--rule);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.step__num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--gray-50);
}
.step__title {
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.step__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray-60);
}

/* Kennismaken: mint */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--mint);
  color: var(--black);
}
.contact .container {
  position: relative;
  z-index: 1;
  padding-block: var(--section);
}
.contact__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
}
.contact .eyebrow {
  color: var(--mint-text);
}
.contact .rest {
  color: var(--gray-40);
}
.contact__text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--mint-text);
}
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.contact :focus-visible {
  outline-color: var(--brand-green-deep);
}
.contact__art {
  position: absolute;
  right: -2%;
  bottom: -14%;
  width: min(50vw, 720px);
  height: auto;
  pointer-events: none;
}

/* Footer */
.site-footer {
  padding-block: 56px 32px;
  border-top: 1px solid var(--rule);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.footer__brand img {
  height: 25px;
  width: auto;
}
.footer__brand p {
  max-width: 300px;
  font-size: 14.4px;
  line-height: 1.6;
  color: var(--gray-60);
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__col .eyebrow {
  color: var(--gray-50);
}
.footer__col address,
.footer__col p,
.footer__col a {
  font-style: normal;
  font-size: 14.4px;
  line-height: 1.6;
  color: var(--gray-80);
}
.footer__col a {
  text-decoration: none;
  border-radius: 4px;
}
.footer__col a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-50);
}
.footer__bottom a {
  border-radius: 4px;
  text-decoration: none;
}
.footer__bottom a:hover {
  color: var(--white);
}

/* Binnenkomst */
@media (prefers-reduced-motion: no-preference) {
  .rise {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .rise--2 {
    animation-delay: 0.08s;
  }
  .rise--3 {
    animation-delay: 0.16s;
  }
  .rise--4 {
    animation-delay: 0.24s;
  }
  .hero__art {
    animation: art 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
@keyframes art {
  from {
    opacity: 0;
    transform: translateX(32px);
  }
}

/* Responsief */
@media (max-width: 1023px) {
  :root {
    --header: 64px;
  }
  .hero .container {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-bottom: 0;
  }
  .hero__art {
    width: min(100%, 560px);
    margin: 0 calc(-1 * var(--gutter)) -10% auto;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .contact .container {
    padding-bottom: 0;
  }
  .contact__art {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 560px);
    margin: 24px calc(-1 * var(--gutter)) -6% auto;
  }
  .footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }
  .logo__full {
    display: none;
  }
  .logo__mark {
    display: block;
  }
  .site-nav {
    gap: 4px;
  }
  .lede,
  .contact__text {
    font-size: 16px;
  }
  .hero__actions .btn,
  .contact__actions .btn {
    flex: 1 1 100%;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
}
