/* ==========================================================================
   Paramantis — gedeelde huisstijl (bron van waarheid)
   Tokens gemeten uit de live huisstijl van paramant.app (zie LEESMIJ.txt).
   GEEN externe font-CDN: bezoekers-IP's mogen niet naar Google lekken.
   Bewerk dit bestand, draai daarna _shared/sync.sh om naar de 3 sites te kopieren.
   ========================================================================== */

:root {
  --paper:  #F8FAFC;   /* canvas                     */
  --ink:    #0B3A6A;   /* navy, "Para" + bodytekst   */
  --blue:   #1D4ED8;   /* accent, "MANT"             */
  --lime:   #B2FF3F;   /* signature-CTA              */
  --dark:   #0A1626;   /* terminal-paneel            */

  --line:   #D9E2EC;   /* dunne scheidslijn          */
  --muted:  #5A7184;   /* secundaire tekst           */
  --ink-08: rgba(11, 58, 106, 0.08);

  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, Consolas, monospace;

  --maxw: 960px;
  --radius: 6px;   /* Paramant-conventie: strak, dominant 6px */
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Header / merk ------------------------------------------------------ */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; display: block; object-fit: contain; }
.lockup { display: flex; flex-direction: column; line-height: 1.06; }
.lockup .wm {
  font-weight: 800; font-size: 21px; letter-spacing: -0.015em; color: var(--ink);
}
.lockup .wm .sq {
  display: inline-block; width: 7px; height: 7px; background: var(--lime);
  margin-left: 3px; vertical-align: 2px;
}
.lockup .unit {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--blue); margin-top: 2px;
}

.site-nav { display: flex; gap: 20px; align-items: center; }
.site-nav a {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--muted); text-transform: uppercase;
}
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav a.here { color: var(--ink); border-bottom: 2px solid var(--blue); padding-bottom: 2px; }

/* ---- Hero --------------------------------------------------------------- */
.hero { padding: 72px 0 48px; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue); margin: 0 0 16px;
}
.hero h1 {
  font-weight: 800; font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 20px;
}
.hero .lede {
  font-size: clamp(18px, 2.4vw, 22px); color: var(--muted);
  max-width: 46ch; margin: 0;
}
.slogan {
  color: var(--blue); font-weight: 800; letter-spacing: -0.015em;
  font-size: clamp(22px, 3vw, 30px); margin: 22px 0 0;
}
.descriptor {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--muted); margin: 18px 0 0;
}
.descriptor .sq {
  display: inline-block; width: 7px; height: 7px; background: var(--lime);
  vertical-align: 1px; margin-right: 8px;
}

/* ---- Scope-chips (producten / diensten / rol) --------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips .label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 11px;
}
.chip {
  font-family: var(--mono); font-size: 13px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; background: #fff;
}

/* ---- Basispijlers (voet) ------------------------------------------------ */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 22px; }
.pillar h4 { margin: 0 0 5px; font-size: 14px; font-weight: 700; color: var(--ink); }
.pillar p { margin: 0; font-family: var(--mono); font-size: 11px; color: var(--muted); line-height: 1.55; }
@media (max-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }

/* ---- Portfolio-overzicht (holding-landing reflecteert de groep) --------- */
.pf-row {
  display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap;
  padding: 16px 0; border-top: 1px solid var(--line);
}
.pf-row:first-child { border-top: none; }
.pf-name {
  font-weight: 800; font-size: 17px; letter-spacing: -0.01em; min-width: 150px; color: var(--ink);
}
.pf-name .sub {
  display: block; font-family: var(--mono); font-size: 11px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 2px;
}
.chips .label a { color: inherit; text-decoration: none; }

/* ---- Beeld-hero (landing) ----------------------------------------------- */
.hero-image {
  margin: 8px 0 8px;
  border-radius: 6px;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 40px;
  background-image:
    linear-gradient(105deg, rgba(248,250,252,0) 38%, rgba(248,250,252,0.72) 62%, rgba(248,250,252,0.92) 100%),
    url(hero-landing.jpg);
  background-size: cover;
  background-position: left center;
}
.hero-image .panel { max-width: 440px; width: 100%; }
.hero-image h1 { margin: 0 0 18px; }
@media (max-width: 720px) {
  .hero-image {
    min-height: 560px; align-items: flex-end; justify-content: center; padding: 26px;
    background-image:
      linear-gradient(0deg, rgba(248,250,252,0.94) 30%, rgba(248,250,252,0.35) 62%, rgba(248,250,252,0) 100%),
      url(hero-landing.jpg);
    background-position: center top;
  }
  .hero-image .panel { max-width: 100%; }
}

/* ---- Split-hero (tekst + staand beeld) ---------------------------------- */
.hero-split {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 34px;
  align-items: center; margin: 8px 0 4px;
}
.hero-split .hero { padding: 8px 0; }
.hero-split .shot {
  border-radius: 6px; overflow: hidden; align-self: stretch; min-height: 340px;
  background: #eef2f7;
}
.hero-split .shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) {
  .hero-split { grid-template-columns: 1fr; gap: 20px; }
  .hero-split .shot { min-height: 260px; order: -1; }
}

/* ---- Secties ------------------------------------------------------------ */
section { padding: 40px 0; border-top: 1px solid var(--line); }
section h2 {
  font-size: 13px; font-family: var(--mono); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 24px;
}

/* ---- Familiehierarchie -------------------------------------------------- */
.tree { display: grid; gap: 12px; }
.node {
  display: flex; align-items: baseline; gap: 14px;
  padding: 16px 18px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff;
}
.node.child { margin-left: 28px; position: relative; }
.node.child::before {
  content: ""; position: absolute; left: -16px; top: -12px; bottom: 50%;
  width: 16px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line);
  border-bottom-left-radius: 8px;
}
.node.here { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); background: #fff; }
.node .role {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.node .nm { font-weight: 800; letter-spacing: -0.01em; }
.node .nm a { color: var(--ink); }
.node.here .nm { color: var(--blue); }

/* ---- Feiten-grid (KVK) -------------------------------------------------- */
.facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.facts .cell { background: #fff; padding: 16px 18px; }
.facts dt {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 4px;
}
.facts dd { margin: 0; font-weight: 600; }

/* ---- Terminal-paneel (donker accentblok) -------------------------------- */
.terminal {
  background: var(--dark); color: #C7D6EA; border-radius: var(--radius);
  padding: 28px 26px; font-family: var(--mono); font-size: 14px; line-height: 1.7;
}
.terminal .prompt { color: var(--lime); }
.terminal .dim { color: #64748B; }
.terminal b { color: #fff; font-weight: 600; }

/* ---- Kaarten (initiatieven / product) ----------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; padding: 22px; display: flex; flex-direction: column; gap: 10px;
}
.card .tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue); margin: 0;
}
.card h3 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .go {
  margin-top: auto; font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em;
}
.card ul { margin: 2px 0; padding-left: 16px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.card ul li { margin-bottom: 7px; }
.card ul b { color: var(--ink); }
.card .dom { font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 0; }

/* ---- Endorsement-stempel ------------------------------------------------ */
.stamp { height: 26px; width: auto; display: block; }
.card .stamp { margin-top: 2px; }

/* ---- Samenwerkingen-strook ---------------------------------------------- */
.collab {
  border: 1px solid var(--line); border-radius: 6px; background: #fff;
  padding: 22px 26px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
}
.collab .lbl {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 4px;
}
.collab .name { font-weight: 800; font-size: 22px; letter-spacing: -0.01em; color: var(--ink); margin: 0; }
.collab .desc { color: var(--muted); font-size: 15px; margin: 0; flex: 1 1 280px; }

/* ---- CTA ---------------------------------------------------------------- */
.cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lime); color: var(--dark); font-weight: 700;
  padding: 12px 20px; border-radius: 6px; font-size: 15px;
  border: 1px solid #9be014;
}
.cta:hover { text-decoration: none; filter: brightness(0.97); }

/* ---- Footer ------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line); margin-top: 48px;
  padding: 36px 0; color: var(--muted); font-size: 14px;
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.site-footer .legal { font-family: var(--mono); font-size: 12px; line-height: 1.8; }
.site-footer .sisters { display: flex; gap: 18px; font-family: var(--mono); font-size: 12px; }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 620px) {
  .facts { grid-template-columns: 1fr; }
}

/* ---- Mobiel (telefoon) -------------------------------------------------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .site-header .wrap { justify-content: space-between; gap: 10px; padding: 14px 0; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 11px; }
  .brand img { width: 38px; height: 38px; }
  .lockup .wm { font-size: 19px; }

  section { padding: 30px 0; }
  section h2 { margin-bottom: 18px; }
  .hero { padding: 40px 0 30px; }
  .hero h1 { font-size: clamp(29px, 8.5vw, 40px); }
  .hero .lede, .lede { font-size: 17px; }
  .slogan { font-size: clamp(21px, 6vw, 27px); }

  /* landing-hero: beeld bovenaan, tekst eronder op licht (niet meer over het beeld) */
  .hero-image {
    display: block; min-height: 0; padding: 0; background: none; overflow: visible;
  }
  .hero-image::before {
    content: ""; display: block; height: 230px; border-radius: 6px;
    background:
      linear-gradient(180deg, rgba(11,27,54,0) 55%, rgba(248,250,252,0.15) 100%),
      url(hero-landing.jpg);
    background-size: cover; background-position: left center;
  }
  .hero-image .panel { max-width: 100%; padding: 22px 2px 4px; }

  /* split-hero: beeld al boven via order; strakker */
  .hero-split { gap: 16px; }
  .hero-split .shot { min-height: 210px; }
  .hero-split .hero { padding: 4px 0 0; }

  /* groep-tree: geen inspringing/connector op smal scherm */
  .node { padding: 14px 16px; gap: 8px; flex-wrap: wrap; }
  .node.child { margin-left: 0; }
  .node.child::before { display: none; }
  .node .role { font-size: 10px; }
  .node .nm { font-size: 16px; }

  /* portfolio-rijen stapelen */
  .pf-row { padding: 14px 0; gap: 10px; }
  .pf-name { min-width: 0; }

  /* kaarten iets luchtiger */
  .card { padding: 20px; }
  .card h3 { font-size: 19px; }

  /* stempel-intro netjes onder elkaar */
  .companies-note, section > p[style*="flex"] { flex-direction: column; align-items: flex-start !important; gap: 8px !important; }

  /* footer stapelt */
  .site-footer .wrap { flex-direction: column; gap: 16px; }
}
