/* Niek van Dommelen — visitekaartje
   Design source: Claude Design handoff (design-handoff/project/Visitekaartje.dc.html) */

:root {
  --ink: #1b1a18;
  --paper: #faf8f5;
  --teal: #0f766e;
  --teal-dark: #0b5852;
  --teal-light: #84c7c1;
  --ink-38: rgba(27, 26, 24, .38);
  --ink-42: rgba(27, 26, 24, .42);
  --ink-45: rgba(27, 26, 24, .45);
  --ink-52: rgba(27, 26, 24, .52);
  --ink-62: rgba(27, 26, 24, .62);
  --paper-42: rgba(250, 248, 245, .42);
  --paper-55: rgba(255, 255, 255, .55);
  --paper-60: rgba(250, 248, 245, .6);
  --paper-72: rgba(255, 255, 255, .72);
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --sans: 'Source Sans 3', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--teal);
  text-decoration: none;
}
a:hover { color: var(--teal-dark); }

::selection { background: #d7ebe8; }

input, textarea { font-family: var(--sans); }

.pad { padding-left: 56px; padding-right: 56px; }
.wrap { max-width: 1180px; margin: 0 auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 56px;
  background: rgba(250, 248, 245, .9);
  backdrop-filter: blur(10px);
}
.brand-mark { display: flex; align-items: center; }
.brand-mark img { width: 78px; display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-52);
}
.nav-link { color: inherit; }
.nav-link:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: var(--teal);
  padding: 9px 16px;
  border-radius: 4px;
  letter-spacing: .14em;
}
.nav-cta:hover { background: var(--teal-dark); color: #fff; }

/* Hero */
.hero {
  position: relative;
  padding: 72px 56px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
}
.hero-content { padding-bottom: 40px; }
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}
.hero-title {
  font-size: 88px;
  line-height: .98;
  font-weight: 600;
  letter-spacing: -.025em;
  margin: 24px 0 0;
  max-width: 14ch;
  text-wrap: balance;
}
.hero-lead {
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-62);
  max-width: 46ch;
  margin: 28px 0 0;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: .06em;
  padding: 15px 22px;
  border-radius: 5px;
}
.btn-primary:hover { background: var(--teal); color: #fff; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: .06em;
  padding: 15px 20px;
  border: 1px solid rgba(27, 26, 24, .2);
  border-radius: 5px;
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }

.portrait-wrap {
  position: relative;
  z-index: 2;
  margin-bottom: -96px;
}
.portrait-label {
  margin-bottom: 12px;
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(27, 26, 24, .34);
}

/* Image slots */
.image-slot {
  display: block;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: #f0ece5;
}
.image-slot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.image-slot--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: repeating-linear-gradient(135deg, #f0ece5, #f0ece5 10px, #e7e1d7 10px, #e7e1d7 20px);
  border: 1px dashed rgba(27, 26, 24, .25);
  color: var(--ink-52);
  font-family: var(--sans);
  font-size: 13px;
  padding: 16px;
}
.portrait-slot { aspect-ratio: 3 / 4; }
.werk-foto-slot { aspect-ratio: 16 / 10; margin-top: 40px; }
.werkwijze-foto-slot { aspect-ratio: 4 / 3; margin-top: 36px; }

/* What I do */
.section-work {
  background: var(--ink);
  color: var(--paper);
  margin-top: 64px;
  padding: 132px 0 116px;
}
.section-work h2 { font-size: 15px; font-weight: 500; color: var(--paper-42); margin: 0 0 34px; }
.work-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: start;
}
.work-lead {
  font-family: var(--sans);
  font-size: 26px;
  line-height: 1.45;
  margin: 0;
  max-width: 34ch;
  text-wrap: pretty;
}
.work-aside { margin-top: 88px; }
.work-aside p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--paper-60);
  margin: 0;
  max-width: 44ch;
  text-wrap: pretty;
}
.work-aside p + p { margin-top: 18px; }
.work-aside img { width: 92px; display: block; margin-top: 34px; opacity: .75; }

/* Werkwijze */
.section-werkwijze { padding: 104px 56px 96px; }
.werkwijze-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.section-werkwijze h2 { font-size: 15px; font-weight: 500; color: var(--ink-45); margin: 0; }
.werkwijze-rule { width: 44px; height: 2px; background: var(--teal); margin-top: 20px; }
.werkwijze-aside { margin-top: -8px; }
.werkwijze-lead {
  font-family: var(--sans);
  font-size: 26px;
  line-height: 1.45;
  margin: 0;
  max-width: 36ch;
  text-wrap: pretty;
}
.werkwijze-aside p.body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-62);
  max-width: 42ch;
  text-wrap: pretty;
}
.werkwijze-aside p.body:first-of-type { margin: 52px 0 0; }
.werkwijze-aside p.body + p.body { margin-top: 32px; }

/* Over mij */
.section-over { padding: 0 56px 112px; }
.over-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 56px;
  align-items: start;
}
.section-over h2 { font-size: 15px; font-weight: 500; color: var(--ink-45); margin: 0 0 26px; }
.over-lead {
  font-family: var(--sans);
  font-size: 22px;
  line-height: 1.5;
  margin: 0;
  max-width: 44ch;
  text-wrap: pretty;
}
.over-body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-62);
  margin: 22px 0 0;
  max-width: 52ch;
  text-wrap: pretty;
}
.over-card {
  margin-top: 72px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 6px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.over-card img { width: 104px; display: block; }
.over-card-divider { height: 1px; background: rgba(250, 248, 245, .18); }
.over-card-fields { display: flex; flex-direction: column; gap: 14px; }
.over-card-label {
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--paper-42);
}
.over-card-value {
  display: inline-block;
  font-size: 14px;
  margin-top: 5px;
  color: var(--teal-light);
}
.over-card-value:hover { color: #fff; }

/* Contact */
.section-contact { background: var(--teal); color: #fff; padding: 112px 0 104px; }
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.section-contact h2 { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .55); margin: 0 0 26px; }
.contact-title {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.15;
  max-width: 18ch;
  text-wrap: balance;
}
.contact-lead {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--paper-72);
  margin: 20px 0 0;
  max-width: 40ch;
}
.contact-mail-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  padding-bottom: 4px;
}
.contact-mail-link:hover { border-color: #fff; color: #fff; }

.contact-form {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  padding: 30px 28px;
  box-shadow: 0 24px 48px rgba(7, 60, 56, .22);
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field span {
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}
.form-field input,
.form-field textarea {
  font-size: 15px;
  padding: 11px 13px;
  border: 1px solid rgba(27, 26, 24, .2);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  outline: none;
}
.form-field textarea { line-height: 1.6; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus { border-color: var(--teal); }
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.form-submit {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--paper);
  background: var(--ink);
  border: none;
  border-radius: 5px;
  padding: 14px 22px;
  cursor: pointer;
}
.form-submit:hover { background: var(--teal); }
.form-submit:disabled { cursor: default; opacity: .75; }
.form-note {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-52);
}
.form-note--sent { color: var(--teal); }
.form-note--error { color: #b3261e; }

/* Footer */
.site-footer {
  padding: 26px 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-38);
}

/* Error pages (404.html) */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.error-page .site-footer { width: 100%; }
.error-main {
  position: relative;
  isolation: isolate;
  flex: 1;
  width: 100%;
  padding-top: 96px;
  padding-bottom: 96px;
}
.error-title {
  font-size: 64px;
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -.025em;
  margin: 24px 0 0;
  max-width: 16ch;
  text-wrap: balance;
}
.error-code {
  position: absolute;
  right: 56px;
  bottom: 48px;
  z-index: -1;
  font-size: 220px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
  color: rgba(15, 118, 110, .08);
  user-select: none;
}

@media (max-width: 900px) {
  .error-main { padding-top: 56px; padding-bottom: 72px; }
  .error-title { font-size: 40px; }
  .error-code { right: 24px; bottom: 24px; font-size: 120px; }
}

@media (max-width: 900px) {
  .pad { padding-left: 24px !important; padding-right: 24px !important; }
  .hero-title { font-size: 52px !important; }
  .hero-grid,
  .work-grid,
  .werkwijze-grid,
  .over-grid,
  .contact-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
  .work-aside,
  .werkwijze-aside,
  .over-card,
  .contact-form { margin-top: 0 !important; }
  .main-nav { display: none !important; }
  .portrait-wrap { width: 100% !important; position: static !important; margin-bottom: 0 !important; }
}
