/* =========================================================
   2 the Point — software solutions
   Concept: minimalist ink & paper, hand-drawn accents
   ========================================================= */
:root {
  --bg: #FAF9F7;
  --bg-alt: #F1EFEB;
  --panel: #FFFFFF;
  --ink: #131316;
  --muted: #5C5C63;
  --muted-2: #96959C;
  --line: #E4E2DD;
  --line-strong: #CFCCC4;

  --accent: #2B3B63;
  --accent-bright: #3E5389;
  --accent-soft: rgba(43, 59, 99, 0.08);
  --accent-soft-2: rgba(43, 59, 99, 0.16);

  --font-display: "Archivo", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --font-script: "Alex Brush", cursive;

  --maxw: 1180px;
  --radius: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

p { margin: 0 0 1em; color: var(--muted); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow .scribble-dot { width: 16px; height: 16px; flex-shrink: 0; }
.eyebrow .scribble-dot img { width: 100%; height: 100%; object-fit: contain; }

/* hand-written accent word */
.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--accent);
  font-size: 1.25em;
  padding: 0 0.02em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); }
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--accent-soft); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* =========================================================
   Scroll progress
   ========================================================= */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--ink);
  z-index: 100;
  transition: width 0.1s linear;
}

/* =========================================================
   Header / Nav
   ========================================================= */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 247, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 50px; width: auto; }
.navlinks {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 14px;
}
.navlinks a {
  position: relative;
  padding: 9px 16px;
  border-radius: 6px;
  color: var(--muted);
  transition: color 0.15s ease;
}
.navlinks a:hover { color: var(--ink); }
.navlinks a.active { color: var(--ink); }
.navlinks a.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 10px 18px; font-size: 13px; }

.navtoggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.navtoggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* =========================================================
   Hero (Velaris canvas — monochrome/navy film-grain gradient)
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 84px;
  background: #0A0A0C;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero .wrap { position: relative; z-index: 1; max-width: 760px; text-align: center; margin: 0 auto; }
.hero .eyebrow { justify-content: center; color: #C9CEDC; }
.hero .eyebrow .scribble-dot img { filter: invert(1); }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); line-height: 1.08; color: #fff; }
.hero h1 .script { color: #9AAAD6; font-size: 1.15em; }
.hero .lead {
  font-size: 18px;
  color: rgba(255,255,255,0.68);
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}
.hero .btn-row { justify-content: center; }
.hero .btn-primary { background: #fff; color: #0A0A0C; }
.hero .btn-primary:hover { background: #9AAAD6; color: #0A0A0C; }
.hero .btn-ghost { border-color: rgba(255,255,255,0.3); color: #fff; }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* =========================================================
   Capability strip
   ========================================================= */
.strip { border-bottom: 1px solid var(--line); }
.strip .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip .cell { padding: 28px 30px; border-left: 1px solid var(--line); }
.strip .cell:first-child { border-left: none; }
.strip .cell .tag { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
.strip .cell h4 { margin: 8px 0 6px; font-size: 16.5px; }
.strip .cell p { font-size: 13.8px; margin: 0; }

/* =========================================================
   Section base + reveal
   ========================================================= */
section { padding: 92px 0; position: relative; z-index: 1; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { max-width: 620px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-1 { transition-delay: 0.05s; }
.reveal-2 { transition-delay: 0.15s; }
.reveal-3 { transition-delay: 0.25s; }
.reveal-4 { transition-delay: 0.35s; }
.reveal-5 { transition-delay: 0.45s; }

/* =========================================================
   Scribble badge (hand-drawn circle motif)
   ========================================================= */
.scribble-badge {
  position: relative;
  width: 46px; height: 46px;
  flex-shrink: 0;
}
.scribble-badge img { width: 100%; height: 100%; object-fit: contain; }
.scribble-badge span {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

/* =========================================================
   Approach / diensten cards (about-home)
   ========================================================= */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.approach-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.approach-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: 0 20px 44px -26px rgba(19,19,22,0.22);
}
.approach-card .scribble-badge { margin-bottom: 18px; }
.approach-card h3 { font-size: 18.5px; margin-bottom: 8px; }
.approach-card p { font-size: 14.4px; margin: 0; }

.approach-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.approach-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.approach-photo:hover img { transform: scale(1.035); }

.diensten-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: stretch;
}

/* =========================================================
   Stat strip with counters
   ========================================================= */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 42px 28px; border-left: 1px solid var(--line); text-align: center; }
.stat:first-child { border-left: none; }
.stat .n { font-family: var(--font-display); font-size: 2.2rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat .l { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted-2); margin-top: 8px; }

/* =========================================================
   History section (dedicated — does not inherit .stats grid)
   ========================================================= */
.history {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 104px 0;
}
.history .section-head { margin-bottom: 68px; }

/* =========================================================
   Timeline / geschiedenis pipeline
   ========================================================= */
.pipeline { position: relative; padding-top: 10px; }
.pipeline-track { position: absolute; top: 34px; left: 0; right: 0; height: 2px; background: var(--line); }
.pipeline-fill { position: absolute; top: 34px; left: 0; height: 2px; width: 0%; background: var(--accent); transition: width 1.4s var(--ease); }
.pipeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.step { padding: 0 20px 0 0; opacity: 0.35; transition: opacity 0.5s var(--ease); }
.step.active { opacity: 1; }
.step .marker {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--panel); border: 2px solid var(--line-strong);
  margin-bottom: 22px;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step.active .marker { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.step .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); display: block; margin-bottom: 8px; font-weight: 600; }
.step h4 { font-size: 15.5px; margin-bottom: 8px; }
.step p { font-size: 13.6px; margin: 0; }

/* Vertical variant — used for "Onze geschiedenis" (needs room for 6 milestones) */
.pipeline-vertical { padding-top: 4px; }
.pipeline-vertical .pipeline-track { top: 8px; bottom: 8px; left: 25px; right: auto; width: 2px; height: auto; }
.pipeline-vertical .pipeline-fill { top: 8px; bottom: 8px; left: 25px; right: auto; width: 2px; height: 0%; transition: height 1.8s var(--ease); }
.pipeline-vertical .pipeline-grid {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.pipeline-vertical .step {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding: 0;
}
.pipeline-vertical .step .gutter {
  width: 50px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  position: relative;
  z-index: 1;
}
.pipeline-vertical .step .marker { margin-bottom: 0; }
.pipeline-vertical .step .content { flex: 1; padding-bottom: 4px; }
.pipeline-vertical .step .num { font-size: 15px; margin-bottom: 8px; }
.pipeline-vertical .step h4 { font-size: 19px; margin-bottom: 10px; }
.pipeline-vertical .step p { font-size: 15px; max-width: 62ch; line-height: 1.7; }

/* =========================================================
   Product panels
   ========================================================= */
.panel-list { display: flex; flex-direction: column; gap: 18px; }
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.panel:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 20px 44px -26px rgba(19,19,22,0.22); }
.panel .tag-col { border-right: 1px dashed var(--line-strong); padding-right: 30px; }
.panel .tag-col .scribble-badge { margin-bottom: 14px; }
.panel .tag-col .label {
  font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--muted-2);
}
.panel .body h3 { font-size: 20px; margin-bottom: 10px; }
.panel .body p { font-size: 14.6px; margin-bottom: 14px; }
.panel .body ul { margin: 0 0 4px; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.panel .body li { font-size: 13.5px; color: var(--muted); padding-left: 16px; position: relative; }
.panel .body li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; background: var(--accent); border-radius: 1px;
}
.panel .body .btn { margin-top: 10px; }

/* =========================================================
   Page hero (diensten / over / contact) — dark, kinetic-grid host
   ========================================================= */
.page-hero {
  padding: 76px 0 62px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  background: #0A0A0C;
}
.page-hero .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { color: #C9CEDC; }
.page-hero .eyebrow .scribble-dot img { filter: invert(1); }
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 2.7rem); color: #fff; }
.page-hero p { max-width: 58ch; font-size: 16.5px; color: rgba(255, 255, 255, 0.72); }

/* =========================================================
   Over ons — portrait section
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.about-portrait {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}
.about-portrait img { width: 100%; height: auto; transition: transform 0.7s var(--ease); }
.about-portrait:hover img { transform: scale(1.035); }
.about-copy h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.about-copy ul { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.about-copy li { font-size: 14.8px; color: var(--muted); padding-left: 22px; position: relative; }
.about-copy li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.about-copy .signoff { margin-top: 22px; font-family: var(--font-script); font-size: 1.6rem; color: var(--accent); }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band { border-top: 1px solid var(--line); text-align: center; }
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 10px; }
.cta-band p { max-width: 46ch; margin: 0 auto 6px; }
.cta-band .btn-row { justify-content: center; }

/* =========================================================
   Footer
   ========================================================= */
footer.site { border-top: 1px solid var(--line); padding: 48px 0 36px; }
footer.site .wrap { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; }
footer.site .fcol img { height: 38px; width: auto; margin-bottom: 12px; }
footer.site .fcol h5 {
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted-2); margin-bottom: 12px;
}
footer.site .fcol a, footer.site .fcol span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
footer.site .fcol a:hover { color: var(--accent); }
.foot-bottom {
  max-width: var(--maxw); margin: 40px auto 0; padding: 20px 32px 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12px; color: var(--muted-2);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* =========================================================
   Contact page
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
.info-block { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.info-row { padding: 22px 24px; border-top: 1px solid var(--line); }
.info-row:first-child { border-top: none; }
.info-row .k {
  font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--muted-2); margin-bottom: 6px;
}
.info-row .v { font-size: 15px; color: var(--ink); }
.info-row .v a:hover { color: var(--accent); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 22px; }
.map-embed iframe { display: block; width: 100%; filter: grayscale(0.15) contrast(1.02); }
.map-link {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  padding: 12px 14px;
  background: var(--panel);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12.5px; color: var(--accent);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.map-link:hover { background: var(--accent-soft); color: var(--ink); }
.map-link svg { transition: transform 0.2s var(--ease); }
.map-link:hover svg { transform: translateX(3px); }

.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.form-card .bar {
  display: flex; align-items: center; gap: 8px; padding: 14px 20px;
  background: var(--bg-alt); border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12.5px; color: var(--muted);
}
.form-card .bar .dot-b { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
form.request { padding: 30px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); margin-top: 4px; }
.submit-row { display: flex; align-items: center; gap: 16px; margin-top: 26px; flex-wrap: wrap; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .strip .wrap { grid-template-columns: 1fr; }
  .strip .cell { border-left: none; border-top: 1px solid var(--line); }
  .strip .cell:first-child { border-top: none; }
  .approach-grid { grid-template-columns: 1fr; }
  .diensten-layout { grid-template-columns: 1fr; }
  .pipeline-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .pipeline:not(.pipeline-vertical) .pipeline-track,
  .pipeline:not(.pipeline-vertical) .pipeline-fill { display: none; }
  .stats .wrap { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: none; }
  .panel { grid-template-columns: 1fr; }
  .panel .tag-col { border-right: none; border-bottom: 1px dashed var(--line-strong); padding-right: 0; padding-bottom: 16px; display: flex; align-items: center; gap: 12px; }
  .panel .tag-col .scribble-badge { margin-bottom: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .navlinks, .nav-cta .btn-ghost { display: none; }
  .navtoggle { display: flex; }
  header.site.open .navlinks {
    display: flex; position: absolute; top: 80px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px; gap: 4px; z-index: 1;
  }
  header.site.open .navlinks a { padding: 12px 14px; }
  .wrap { padding: 0 20px; }
  .panel .body ul { grid-template-columns: 1fr; }
  .history { padding: 76px 0; }
  .history .section-head { margin-bottom: 44px; }
  .pipeline-vertical .pipeline-grid { gap: 40px; }
  .pipeline-vertical .step { gap: 18px; }
  .pipeline-vertical .step .gutter { width: 34px; }
  .pipeline-vertical .pipeline-track, .pipeline-vertical .pipeline-fill { left: 17px; }
}
