/* SEVENP-huisstijl: alleen deze tokens gebruiken, geen losse hex-waarden. */
:root {
  --sp-orange: #FE5000;
  --sp-turquoise: #00B5E2;
  --sp-grey: #5B6770;
  --sp-grey-light: #AAB4BA;
  --sp-bg-grey: #F0F0F0;
  --sp-bg-blue: #E5F6FD;

  --sp-white: #FFFFFF;
  --font: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(1rem, 5vw, 4rem);

  color-scheme: light;
}

/* Jost (SIL Open Font License 1.1), lokaal gehost: geen externe fontdienst. */
@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

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

body {
  margin: 0;
  background: var(--sp-white);
  color: var(--sp-grey);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
}

h1,
h2,
h3,
p,
ul,
address {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Paginaopbouw */

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.masthead {
  padding: clamp(1.5rem, 5vw, 3.5rem) var(--gutter) 0;
}

.logo {
  display: block;
  width: clamp(200px, 32vw, 340px);
  height: auto;
  /* De lange horizontale lijn van het logo begint op de linkerkantlijn. */
  margin-left: calc(var(--gutter) * -0.25);
}

.content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-content: center;
  padding: clamp(2.5rem, 7vw, 6rem) var(--gutter);
}

@media (min-width: 60rem) {
  .content {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* Boodschap */

.message h1 {
  max-width: 14ch;
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  font-weight: 450;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.lead {
  max-width: 34rem;
  margin-top: 1.5rem;
  font-size: 1.1875rem;
}

/* Contact */

.contact {
  display: grid;
  gap: 1.75rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--sp-bg-blue);
  border-left: 4px solid var(--sp-orange);
}

.contact h3 {
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.phones {
  display: grid;
  gap: 0.75rem;
}

.phones li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.75rem;
}

.phone {
  color: var(--sp-orange);
  font-size: clamp(1.625rem, 3.2vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.phone:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.hint {
  color: var(--sp-grey);
  font-size: 0.9375rem;
}

/* Turkoois is te licht voor leesbare linktekst; daarom grijze tekst met turkoois onderstreping. */
.link {
  color: var(--sp-grey);
  text-decoration: underline;
  text-decoration-color: var(--sp-turquoise);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.link:hover {
  color: var(--sp-orange);
  text-decoration-color: var(--sp-orange);
}

.links {
  display: grid;
  gap: 0.4rem;
}

a:focus-visible {
  outline: 3px solid var(--sp-turquoise);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Colofon */

.colophon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  padding: 1.25rem var(--gutter);
  border-top: 1px solid var(--sp-grey-light);
  background: var(--sp-bg-grey);
  font-size: 0.875rem;
}
