@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/fonts/SpaceGrotesk-Variable.ttf') format('truetype');
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/IBMPlexMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

:root {
  /* MotherDuck-geïnspireerd palet; kaartkleuren uit Flights en Guides. */
  --ink: #383838;
  --accent: #97d4ff;
  --accent-soft: #ceebff;
  --orange: #ffdcbd;
  --yellow: #f9ee3e;
  --paper: #f4efea;
  --white: #fff;
  --muted: #5f5a55;
  --line: #d1cbc5;
  --panel: #ece6df;
  --body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --heading: 'Space Grotesk', 'Segoe UI', Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 400; letter-spacing: -.035em; line-height: 1.13; }
h1, h2 { text-transform: uppercase; }
h1 { font-size: clamp(44px, 5.2vw, 64px); }
h2 { font-size: 32px; }
h3 { font-size: 23px; font-weight: 500; letter-spacing: -.025em; }
p + p { margin-top: 18px; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
::selection { background: var(--accent); color: var(--ink); }
[hidden] { display: none !important; }
.wrap { width: min(1040px, calc(100% - 96px)); margin-inline: auto; }

.site-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--line); }
.brand { font-family: var(--heading); font-size: 24px; font-weight: 600; letter-spacing: -.04em; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--ink); }
.brand .brand-name { display: block; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font: 10px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.site-header nav { display: flex; align-items: center; gap: 29px; }
.site-header nav a { padding-block: 10px; font: 12px/1.5 var(--mono); text-transform: uppercase; text-decoration: none; }
.site-header nav a:hover, .site-header nav [aria-current] { text-decoration: underline; }
.menu-toggle { display: none; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 10; padding: 12px 20px; background: var(--ink); color: var(--white); }
.skip-link:focus { top: 15px; }

.button, .audit-button-primary, .audit-button-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 50px; padding: 12px 22px; border: 1.5px solid var(--ink); border-radius: 0; background: var(--accent); color: var(--ink); font-family: var(--mono); font-size: 13px; font-weight: 400; text-transform: uppercase; line-height: 1.4; text-decoration: none; transition: background .15s, color .15s; }
.button:hover, .audit-button-primary:hover:not(:disabled) { background: var(--accent-soft); }
.button span { font-size: 20px; }
.button-outline, .audit-button-secondary { background: transparent; color: var(--ink); }
.button-outline:hover, .audit-button-secondary:hover { background: var(--accent-soft); color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 20px; font-family: var(--mono); font-weight: 400; font-size: 13px; padding-block: 6px; text-decoration: none; border-bottom: 1px solid currentColor; }
.text-link:hover { color: #245778; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) 224px; align-items: center; gap: 76px; padding-block: 76px 84px; }
.hero h1 { max-width: 740px; }
.hero-copy > p { max-width: 610px; margin-top: 25px; font-size: 19px; line-height: 1.65; }
.hero-copy > .hero-subtitle { margin-top: 16px; font: 400 clamp(23px, 3vw, 32px)/1.2 var(--heading); letter-spacing: -.025em; }
.hero .button { margin-top: 29px; background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.hero .button:hover { background: #fcf58b; border-color: var(--ink); }
.portrait { width: 224px; height: 224px; aspect-ratio: 1; flex-shrink: 0; object-fit: cover; object-position: 36% center; border-radius: 50%; }
.ruled-section { padding-block: 40px 46px; border-top: 1px solid var(--line); }
.ruled-section > h2 { margin-bottom: 30px; }
.service-grid, .experience-grid { display: grid; grid-template-columns: 1fr 1fr; }
.service-grid { gap: 24px; }
.service-grid > article { min-width: 0; padding: 24px; border: 1px solid var(--ink); background: var(--orange); }
.service-grid > article:nth-child(2) { background: var(--accent-soft); }
.experience-grid { gap: 72px; }
.service-grid h3, .experience-grid h3 { margin-bottom: 14px; }
.service-grid p { color: var(--ink); }
.experience-grid p { color: var(--muted); }
.experience { padding-bottom: 48px; }
.experience .text-link { margin-top: 16px; }
.audit-invite { display: flex; align-items: center; justify-content: space-between; gap: 44px; padding: 35px 38px; background: var(--yellow); border: 1px solid var(--ink); border-radius: 0; }
.audit-invite h2 { font-size: 27px; }
.audit-invite p { max-width: 540px; font-size: 15px; margin-top: 12px; }
.audit-invite .button { flex-shrink: 0; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding-block: 64px; }
.contact h2 { margin-bottom: 15px; }
.contact p { color: var(--muted); max-width: 430px; }
.contact-links { justify-self: start; display: flex; flex-direction: column; align-items: start; gap: 12px; }
.email-link { font-size: 14px; color: var(--muted); text-decoration: none; }
.email-link:hover { text-decoration: underline; }
.site-footer { display: flex; justify-content: space-between; gap: 24px; padding-block: 26px 30px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.site-footer > div { display: flex; gap: 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.back-link { display: inline-block; font-size: 14px; text-decoration: none; margin-bottom: 30px; }
.back-link:hover { text-decoration: underline; }
.privacy-page { max-width: 820px; padding-block: 36px 80px; }
.privacy-page .eyebrow { display: none; }
.privacy-page h1 { font-size: 56px; margin-bottom: 30px; }
.privacy-page h2 { font-size: 26px; margin-block: 30px 14px; }
.privacy-page .prose { color: var(--muted); }
.privacy-page .prose h2 { color: var(--ink); }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 64px); }
  .site-header nav { gap: 22px; }
  .hero { grid-template-columns: minmax(0, 1fr) 180px; gap: 40px; padding-block: 60px; }
  .portrait { width: 180px; height: 180px; }
  .hero-copy > p { font-size: 17px; }
  .experience-grid, .contact { gap: 40px; }
  .audit-invite { padding: 30px; gap: 28px; }
  .audit-invite h2 { font-size: 26px; }
}

@media (max-width: 650px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 80px; position: relative; z-index: 5; }
  .brand { font-size: 22px; }
  .menu-toggle { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: transparent; font: 12px/1.5 var(--mono); text-transform: uppercase; }
  .site-header nav { display: none; position: absolute; left: 0; right: 0; top: 79px; padding: 12px; border: 1px solid var(--line); background: var(--paper); flex-direction: column; gap: 0; align-items: stretch; }
  .site-header nav.is-open { display: flex; }
  .site-header nav a { padding: 12px; }
  .hero { display: flex; flex-direction: column-reverse; align-items: start; gap: 26px; padding-block: 32px 46px; }
  .portrait { width: 96px; height: 96px; border-radius: 50%; object-position: 36% 28%; }
  .hero h1 { font-size: clamp(32px, 8.8vw, 49px); max-width: 540px; }
  .hero-copy > p { margin-top: 22px; font-size: 16px; }
  .hero .button { margin-top: 24px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }
  .ruled-section { padding-block: 32px 36px; }
  .ruled-section > h2 { margin-bottom: 26px; }
  .service-grid, .experience-grid { grid-template-columns: 1fr; }
  .service-grid > article { padding: 20px; }
  .experience-grid { gap: 28px; }
  .service-grid h3, .experience-grid h3 { margin-bottom: 10px; }
  .service-grid p, .experience-grid p { font-size: 15px; }
  .experience .text-link { margin-top: 12px; }
  .audit-invite { flex-direction: column; align-items: start; gap: 22px; padding: 26px 23px; }
  .audit-invite h2 { font-size: 27px; }
  .audit-invite p { font-size: 14px; }
  .contact { grid-template-columns: 1fr; gap: 22px; padding-block: 42px; }
  .contact p { font-size: 15px; }
  .site-footer { flex-direction: column; gap: 15px; font-size: 11px; }
  .privacy-page h1 { font-size: 43px; }
  .privacy-page .prose { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
