@font-face {
  font-family: "Alegreya";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/alegreya-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Alegreya Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/alegreya-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Alegreya Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/alegreya-sans-500.woff2") format("woff2");
}

/* Kleuren komen uit het logo: paars boven, bijna zwart onder, grijs draadwerk. */
:root {
  --aubergine: #611467;
  --plum: #2e0b33;
  --night: #140516;
  --mesh: #d9cfdc;
  --paper: #f5f2f6;
  --ink: #1f1222;
  --muted: #5b4c5f;
  --line: #ddd2e0;

  --serif: "Alegreya", Georgia, serif;
  --sans: "Alegreya Sans", system-ui, sans-serif;

  --gutter: clamp(1rem, 5vw, 3rem);
  --wrap: 70rem;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  line-height: 1.1;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Hero */

.hero {
  color: #fff;
  background: linear-gradient(180deg, var(--aubergine) 0%, var(--plum) 62%, var(--night) 100%);
}


.bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}

.bar-logo {
  display: block;
  border-radius: 50%;
}

.bar-logo img {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
}

.bar-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 500;
}

.bar-links a {
  color: rgb(255 255 255 / 0.85);
  text-decoration: none;
  text-underline-offset: 0.3em;
}

.bar-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.hero-body {
  position: relative;
  padding-block: clamp(4rem, 12vw, 9rem) clamp(5rem, 14vw, 10rem);
}

.hero-title {
  max-width: 13ch;
  font-size: clamp(2.75rem, 6.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 34rem;
  margin-top: 1.5rem;
  color: var(--mesh);
  font-size: clamp(1.125rem, 2vw, 1.3rem);
}

/* Knop in de vorm van het zwarte naamlabel uit het logo. */
.label-button {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 0.55em 1.25em 0.6em;
  border: 1px solid rgb(217 207 220 / 0.55);
  border-radius: 0.6rem;
  background: #000;
  color: #fff;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.375rem;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12);
}

.label-button:hover {
  border-color: #fff;
}

/* Secties */

.section {
  padding-block: clamp(4rem, 10vw, 7.5rem);
}

.section + .section {
  padding-top: 0;
}

.split {
  display: grid;
  gap: 2rem 4rem;
}

.section-title {
  color: var(--aubergine);
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.services {
  display: grid;
  gap: 2.5rem 3rem;
  margin: 0;
}

.service {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.service dt {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
}

.service dd {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.about {
  display: grid;
  gap: 1.25rem;
  max-width: 38rem;
  font-size: 1.25rem;
}

/* Contact */

.contact {
  color: #fff;
  background: linear-gradient(180deg, var(--plum) 0%, var(--night) 100%);
}

.contact .section-title {
  color: #fff;
}

.contact .section {
  padding-bottom: 3rem;
}

.contact-intro {
  max-width: 30rem;
  margin-top: 1rem;
  color: var(--mesh);
}

.contact-mail {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1.2;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

.contact-mail:hover {
  text-decoration-thickness: 2px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1.5rem;
  margin: 3rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(217 207 220 / 0.25);
}

.facts dt {
  color: var(--mesh);
  font-size: 0.95rem;
}

.facts dd {
  margin: 0.15rem 0 0;
  font-weight: 500;
}

.footnote {
  padding-block: 2rem;
  color: rgb(217 207 220 / 0.7);
  font-size: 0.95rem;
}

@media (min-width: 48rem) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }

  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
