:root {
  --cream: #ECE6DA;
  --ink: #2B2824;
  --sand: #D6D0C3;
  --yellow: #F6C324;

  --font: "Poppins", system-ui, sans-serif;
  --text: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);
  --h1: clamp(2.25rem, 1.2rem + 4.6vw, 4.25rem);
  --h2: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  --h3: clamp(1.1875rem, 1.1rem + 0.4vw, 1.3125rem);
  --small: 0.875rem;

  --wrap: 1040px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --space: clamp(4.5rem, 10vw, 7.5rem);
  --header-h: 4.5rem;
  --radius: 10px;
}

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--text);
  line-height: 1.6;
}

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

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-transform: lowercase;
}
h1 { font-size: var(--h1); line-height: 1.08; letter-spacing: -0.025em; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); line-height: 1.3; }
p { margin: 0; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.section-ink :focus-visible { outline-color: var(--cream); }

[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.label {
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Buttons and links */
.btn {
  display: inline-block;
  padding: 0.85rem 1.4rem;
  border: 2px solid var(--yellow);
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.btn:hover { background: transparent; }
.section-ink .btn:hover { color: var(--cream); }

.text-link {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--sand);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
  transition: text-decoration-color 0.2s;
}
.text-link:hover { text-decoration-color: var(--ink); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--cream);
  border-bottom: 1px solid var(--sand);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.logo img { width: 88px; }

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  font-weight: 500;
}
.nav-list a { text-decoration: none; }
.nav-list a:hover { text-decoration: underline; text-underline-offset: 0.35em; }

.nav-toggle {
  display: none;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--sand);
  border-radius: 8px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}

@media (max-width: 767px) {
  .js .nav-toggle { display: block; }
  .js .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem var(--gutter) 1rem;
    background: var(--cream);
    border-block: 1px solid var(--sand);
    font-size: 1.0625rem;
  }
  .js .nav.is-open .nav-list { display: flex; }
  .js .nav-list a { display: block; padding: 0.75rem 0; }
  /* without JS the links stay inline under the logo */
  .header-inner { flex-wrap: wrap; height: auto; min-height: var(--header-h); padding-block: 0.75rem; }
}

/* Hero */
.hero { padding-block: clamp(3.5rem, 9vw, 7rem) var(--space); }
.hero-inner {
  display: grid;
  gap: 3rem;
}
.hero h1 { max-width: 15ch; }
.hero h1 span { display: block; }
.hero .lead { max-width: 34rem; margin-top: 1.5rem; }
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.25rem;
}
.scroll-arrow { justify-self: start; }
.scroll-arrow img { width: 24px; }

@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1fr auto; align-items: end; }
  .scroll-arrow img { width: 40px; }
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-arrow img { transition: transform 0.25s; }
  .scroll-arrow:hover img { transform: translateY(6px); }
}

/* Sections */
.section { padding-block: 0 var(--space); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head h2 { max-width: 20ch; }

/* Wat je krijgt */
.features {
  display: grid;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature img { width: 56px; margin-bottom: 1.25rem; }
.feature h3 { margin-bottom: 0.5rem; }
@media (min-width: 900px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}

/* Voorbeeld */
.example { margin: 0; }
.example img { width: 100%; }
.example figcaption { margin-top: 1rem; font-size: var(--small); }

/* Prijs */
.price-card {
  display: grid;
  gap: 2rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
}
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.6rem;
  margin-bottom: 1rem;
}
.price strong { font-size: var(--h2); font-weight: 600; line-height: 1.1; }
.price-main p:last-child { max-width: 24rem; }
@media (min-width: 768px) {
  .price-card { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
}

.arrow-list { margin: 0; padding: 0; list-style: none; }
.arrow-list li {
  padding-left: 2rem;
  background: url("assets/bullet-arrow.svg") no-repeat 0 0.3em / 1.1rem;
}
.arrow-list li + li { margin-top: 0.75rem; }

/* Contact (ink) */
.section-ink {
  padding-block: var(--space);
  background: var(--ink);
  color: var(--cream);
}
.section-ink .label, .section-ink dt { color: var(--sand); }
.contact-inner { display: grid; gap: 3rem; }
.contact-inner .lead { max-width: 28rem; margin: 1.25rem 0 2rem; }
.contact-list { margin: 0; display: grid; gap: 1.5rem; }
.contact-list dt {
  margin-bottom: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.contact-list dd { margin: 0; font-size: 1.125rem; overflow-wrap: anywhere; }
.contact-list a { text-decoration-color: var(--sand); text-underline-offset: 0.3em; }
.contact-list a:hover { text-decoration-color: var(--yellow); }
@media (min-width: 768px) {
  .contact-inner { grid-template-columns: 1.2fr 1fr; align-items: end; }
}

/* Footer */
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  padding-block: 2rem;
  font-size: var(--small);
}

/* Fade-up on scroll, only with JS and motion allowed */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
