/* Studio Sorgente Digitale — huisstijl */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/sora-latin-600-normal.woff2") format("woff2"); }

:root {
  --ink: #0F2E35;          /* Bron-inkt */
  --aqua: #1E9E92;         /* Bronwater */
  --teal: #157A70;         /* Diep teal (tekst) */
  --aqua-light: #5FD0C3;   /* accent op donker */
  --stone: #F6F7F5;        /* Kalksteen */
  --tint: #EEF3F1;
  --line: #DDE3E1;
  --muted: #4A5D61;
  --white: #FFFFFF;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", "Inter", system-ui, sans-serif;

  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 48px);
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 68px); }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 30px; }
p { margin: 0; }

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

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.kicker {
  font-size: 13px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 16px;
}
.kicker-light { color: var(--aqua-light); }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--teal); color: var(--white); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--aqua-light); color: var(--ink); }
.btn-light:hover { background: var(--white); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 247, 245, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 92px; }
.brand { display: block; padding: 4px 0; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px;
}
.nav a:hover { background: var(--tint); }
.nav .nav-cta { background: var(--ink); color: var(--white); }
.nav .nav-cta:hover { background: var(--teal); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 7vw, 104px); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-copy h1 { max-width: 12ch; }
.lead { margin-top: 24px; font-size: clamp(18px, 2vw, 20px); color: var(--muted); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-art { display: flex; justify-content: center; }
.hero-art svg { width: min(100%, 340px); height: auto; }
.px { fill: var(--ink); }
.px.hi { fill: var(--aqua); }

@media (prefers-reduced-motion: no-preference) {
  .px { opacity: 0; animation: drip .5s cubic-bezier(.2,.7,.2,1) forwards; }
  .r0 { animation-delay: .05s; } .r1 { animation-delay: .12s; } .r2 { animation-delay: .19s; }
  .r3 { animation-delay: .26s; } .r4 { animation-delay: .33s; } .r5 { animation-delay: .40s; }
  .r6 { animation-delay: .47s; } .r7 { animation-delay: .54s; } .r8 { animation-delay: .61s; }
  .px.hi { animation: drip .5s cubic-bezier(.2,.7,.2,1) forwards, glow 4s ease-in-out 1.4s infinite; }
}
@keyframes drip { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes glow { 0%, 100% { fill: var(--aqua); } 50% { fill: var(--aqua-light); } }

/* ---------- Secties ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: var(--white); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.intro { margin-top: 18px; font-size: 19px; color: var(--muted); }
.section-dark .intro { color: #CFE0DE; }

/* Mission */
.mission { position: relative; overflow: hidden; }
.mission-statement { margin: 0; max-width: 980px; }
.mission-statement p {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(28px, 4.2vw, 50px); line-height: 1.18; text-wrap: balance;
}
.pillars { list-style: none; margin: clamp(48px, 6vw, 72px) 0 0; padding: clamp(32px, 4vw, 44px) 0 0; border-top: 1px solid rgba(255,255,255,.16); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.pillar h3 { font-size: 22px; margin-top: 16px; }
.pillar p { margin-top: 10px; color: #CFE0DE; }
.pillar-px { display: block; width: 14px; height: 14px; background: var(--aqua-light); }

/* De naam */
.words { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.word { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.word-it { display: block; font-family: var(--font-display); font-weight: 600; font-size: 30px; letter-spacing: -0.02em; line-height: 1.1; }
.word-nl { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); }
.word p { margin-top: 18px; color: var(--muted); }

/* Projecten */
.projects { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; }
.project { border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.project-main { background: var(--white); border: 1px solid var(--line); }
.project-main .btn { align-self: flex-start; margin-top: 10px; }
.note { font-size: 14px; color: var(--muted); }
.project-next { border: 2px dashed #B9C6C3; color: var(--muted); }
.project-next h3 { color: var(--muted); }
.project-top { display: flex; align-items: center; justify-content: space-between; }
.project-num { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--teal); letter-spacing: 0.08em; }
.badge { font-size: 13px; font-weight: 600; background: #DDF2EF; color: var(--teal); padding: 4px 12px; border-radius: 999px; }
.project-sub { font-size: 19px; font-weight: 500; }
.project-main > p:not(.project-sub) { color: var(--muted); }
.chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--tint); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-list { margin: 36px 0 0; display: grid; gap: 20px; }
.contact-list div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-list dt { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #A9C2C0; padding-top: 4px; }
.contact-list dd { margin: 0; font-size: 20px; font-weight: 500; overflow-wrap: anywhere; }
.contact-list a { color: var(--white); text-decoration: none; }
.contact-list a:hover { color: var(--aqua-light); text-decoration: underline; }

.contact-form { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 500; }
.opt { color: #A9C2C0; font-weight: 400; }
.field input, .field textarea {
  width: 100%; font: 400 16px/1.5 var(--font-body); color: var(--ink);
  background: var(--white); border: 2px solid transparent; border-radius: 10px; padding: 11px 14px;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--aqua-light); }
.field textarea { resize: vertical; min-height: 130px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #CFE0DE; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--aqua-light); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { justify-self: start; }
.form-status { font-size: 15px; min-height: 1.5em; }
.form-status.ok { color: var(--aqua-light); }
.form-status.err { color: #FFB4A8; }

/* Footer */
.site-footer { background: var(--stone); border-top: 1px solid var(--line); padding: 28px 0; font-size: 15px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.footer-inner p:last-child { margin-left: auto; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }

/* ---------- Kleinere schermen ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .words { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .projects { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-inner { min-height: 72px; }
  .brand img { height: 44px; }
  .nav a { padding: 0 10px; font-size: 15px; }
  .nav li:not(:last-child) { display: none; }
  .contact-list div { grid-template-columns: 1fr; gap: 4px; }
  .footer-inner p:last-child { margin-left: 0; }
}
