:root {
  --ink: #172027;
  --muted: #60707a;
  --paper: #f7f4ee;
  --surface: #ffffff;
  --line: #d9e0df;
  --rose: #c91f4a;
  --rose-dark: #9e1537;
  --green: #1e6f5c;
  --blue: #245f93;
  --charcoal: #101820;
  --shadow: 0 22px 55px rgba(23, 32, 39, 0.14);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

p,
a,
input,
textarea {
  overflow-wrap: anywhere;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  z-index: 20;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.7rem 1rem;
  clip: auto;
  color: #fff;
  background: var(--charcoal);
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem max(1.25rem, calc((100vw - var(--max)) / 2));
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 35px rgba(23, 32, 39, 0.12);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border: 2px solid currentColor;
  font-size: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--rose);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0.22rem auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  align-content: start;
  align-items: start;
  padding: 8.5rem max(1.25rem, calc((100vw - var(--max)) / 2)) 6rem;
  color: #fff;
  background-color: var(--charcoal);
  background-image:
    linear-gradient(rgba(16, 24, 32, 0.58), rgba(16, 24, 32, 0.48)),
    url("assets/aan-brug-14.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover, contain;
}

.hero-content {
  position: relative;
  display: flex;
  width: 100%;
  min-height: calc(92vh - 14.5rem);
  flex-direction: column;
  align-items: flex-start;
}

.eyebrow,
.section-label {
  margin: 0 0 0.9rem;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd9e2;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: clamp(3.25rem, 8vw, 6.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.15rem, 4.5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
  line-height: 1.22;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.split-head,
.contact-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-actions {
  position: static;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  margin-top: auto;
  margin-left: auto;
  width: max-content;
}

.hero-actions .button {
  width: max-content;
  min-width: 10.5rem;
  white-space: nowrap;
}

.cloud86-link {
  position: absolute;
  bottom: 1.35rem;
  left: max(1.25rem, calc((100vw - var(--max)) / 2));
  display: inline-flex;
  align-items: center;
  min-height: 1.05rem;
  padding: 0.17rem 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 6px 14px rgba(16, 24, 32, 0.14);
  transition: background 160ms ease, transform 160ms ease;
}

.cloud86-tooltip {
  position: absolute;
  bottom: calc(100% + 0.55rem);
  left: 0;
  width: max-content;
  max-width: 12rem;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  color: #fff;
  background: rgba(16, 24, 32, 0.88);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.25rem);
  transition: opacity 160ms ease, transform 160ms ease;
}

.cloud86-link:hover,
.cloud86-link:focus-visible {
  background: rgba(255, 255, 255, 0.94);
  transform: translateY(-1px);
}

.cloud86-link:hover .cloud86-tooltip,
.cloud86-link:focus-visible .cloud86-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.cloud86-link img {
  width: 2.23rem;
  height: auto;
}

.hero-archive-button {
  order: 1;
}

.hero-contact-button {
  order: 2;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.8rem 1.1rem;
  border: 2px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--rose);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--rose-dark);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.74);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: var(--ink);
  background: #fff;
}

.button.dark {
  color: var(--ink);
  border-color: var(--ink);
}

.button.compact {
  min-height: 2.4rem;
  padding: 0.55rem 0.75rem;
  color: #fff;
  background: var(--green);
}

.archive-button {
  min-height: 3.3rem;
  margin-top: 2.5rem;
  padding: 0.9rem 1.35rem;
  color: #fff;
  border-color: var(--rose);
  background: var(--rose);
  box-shadow: 0 12px 28px rgba(201, 31, 74, 0.34);
}

.archive-button:hover,
.archive-button:focus-visible {
  color: var(--rose);
  background: #fff;
  border-color: #fff;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 1.25rem;
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.lead-block {
  color: var(--muted);
  font-size: 1.12rem;
}

.inline-info-link {
  display: inline-flex;
  min-height: 1.8rem;
  align-items: center;
  margin-left: 0.45rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(36, 95, 147, 0.35);
  border-radius: 4px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  vertical-align: middle;
}

.inline-info-link:hover,
.inline-info-link:focus-visible {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.practice-section {
  background: #eef4f2;
}

.split-head {
  justify-content: space-between;
  margin-bottom: 2rem;
}

.text-link {
  color: var(--blue);
  font-weight: 900;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.25em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  min-height: 100%;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(23, 32, 39, 0.06);
}

.feature-card p:last-child {
  margin-bottom: 0;
}

.main-card {
  grid-column: span 2;
}

.accent-card {
  border-color: rgba(30, 111, 92, 0.35);
  background: #f2fbf7;
}

.story-section {
  color: #f8faf9;
  background: var(--charcoal);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(260px, 440px) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.portrait {
  margin: 0;
}

.portrait img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 8px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.portrait figcaption {
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.story-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
}

.contact-section {
  position: relative;
  color: #fff;
  background-color: var(--charcoal);
  background-image:
    linear-gradient(rgba(16, 24, 32, 0.66), rgba(16, 24, 32, 0.72)),
    url("assets/sjef-met-leo-martien-jan.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover, contain;
}

.contact-photo-caption {
  margin: clamp(2.5rem, 6vw, 5rem) 0 -4.5rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
}

.contact-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.contact-heading h2 {
  margin-bottom: 1rem;
}

.ip-button {
  flex: 0 0 auto;
  min-height: 2.1rem;
  margin-top: 0.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(16, 24, 32, 0.3);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.ip-button:hover,
.ip-button:focus-visible {
  color: var(--ink);
  background: #fff;
}

.ip-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.75fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.contact-copy {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
}

.contact-list {
  align-items: flex-start;
  flex-direction: column;
  color: #fff;
  font-weight: 800;
}

.contact-list a {
  color: #ffd3de;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  background: rgba(238, 241, 242, 0.3);
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  padding: 0.8rem;
  color: var(--ink);
  background: rgba(211, 216, 218, 0.55);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.site-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem 1.5rem;
  padding: 1.2rem;
  color: rgba(255, 255, 255, 0.72);
  background: #121212;
  font-size: 0.92rem;
}

.site-footer a {
  color: #fff;
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    display: none;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .hero {
    min-height: 88vh;
    padding-top: 7rem;
    padding-bottom: 4rem;
    background-position: center;
  }

  .hero-actions {
    position: static;
    width: min(100%, 22rem);
  }

  .cloud86-link {
    bottom: 1rem;
  }

  .hero-content {
    min-height: calc(88vh - 11rem);
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 10.5vw, 3.25rem);
  }

  .two-column,
  .story-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-section {
    background-position: center;
  }

  .contact-heading {
    align-items: flex-start;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .main-card {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .brand span:last-child {
    max-width: 11rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
    margin-left: auto;
    justify-content: flex-end;
    gap: 0.5rem;
  }

  .hero-actions .button {
    width: auto;
    min-width: max-content;
    min-height: 2.65rem;
    padding: 0.65rem 0.7rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .section {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}
