/*
Theme Name: Maatrix
Theme URI: https://maatrix.nl
Description: Barebone landingsthema voor maatrix.nl — "technisch datasheet" identiteit (bijna-wit/ink/staal-oranje, Chivo + JetBrains Mono, spec-sheet-motief). Ontwikkelplatform voor maatwerksoftware, industrie & IT.
Author: deToon
Author URI: https://de-toon.com
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GPL v2 or later
Text Domain: maatrix
*/

:root {
  --paper: #f4f5f7;
  --surface: #ffffff;
  --ink: #14181d;
  --muted: #5d6570;
  --line: rgba(20, 24, 29, 0.13);
  --accent: #ea580c;        /* staal-oranje */
  --accent-deep: #c2410c;
  --display: "Chivo", ui-sans-serif, system-ui, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }

.container { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 640px) { .container { padding: 0 2.5rem; } }

.eyebrow { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 500; color: var(--muted); margin: 0; }
.eyebrow.accent { color: var(--accent); }
.accent { color: var(--accent); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 1.15rem 0; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.logo svg { width: 30px; height: 30px; flex: none; display: block; }
.logo .wordmark { font-family: var(--display); font-weight: 900; font-size: 1.3rem; letter-spacing: -.03em; }

/* Grid helper */
.grid12 { display: grid; grid-template-columns: 1fr; gap: 2rem 2.5rem; }
@media (min-width: 768px) { .grid12 { grid-template-columns: repeat(12, 1fr); } .col-3 { grid-column: span 3; } .col-9 { grid-column: span 9; } }

/* Hero */
.hero { padding: 4.5rem 0 3.5rem; }
@media (min-width: 1024px) { .hero { padding: 6.5rem 0 5rem; } }
.display { font-family: var(--display); font-weight: 900; letter-spacing: -.035em; line-height: 1.0; font-size: clamp(2.6rem, 6.8vw, 5rem); margin: 1.25rem 0 0; }
.hero-grid { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 2.75rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1fr 1.02fr; gap: 3.5rem; } }
.lead { font-size: 1.1rem; line-height: 1.7; max-width: 34rem; margin: 0; color: #3a4149; }
.btn { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.75rem; background: var(--accent); color: #fff; border-radius: 8px; padding: .8rem 1.5rem; font-weight: 700; font-size: .95rem; text-decoration: none; transition: background .25s, transform .25s; }
.btn:hover { background: var(--ink); transform: translateY(-1px); }
.btn .arrow { transition: transform .25s; } .btn:hover .arrow { transform: translateX(3px); }

/* Spec-sheet-card (het motief) */
.speccard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.25rem; box-shadow: 0 24px 60px -30px rgba(20,24,29,.42); }
.sp-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.sp-head .t { font-family: var(--display); font-weight: 700; font-size: 1rem; }
.sp-head .tag { font-family: var(--mono); font-size: .62rem; font-weight: 500; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.sp-row { display: grid; grid-template-columns: 84px 1fr; gap: 1rem; align-items: baseline; padding: .62rem 0; border-bottom: 1px dashed var(--line); }
.sp-row:last-child { border-bottom: 0; }
.sp-row .k { font-family: var(--mono); font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.sp-row .v { font-family: var(--mono); font-size: .8rem; color: var(--ink); line-height: 1.4; }

/* Secties */
.section { border-top: 1px solid var(--line); }
.pad { padding: 3.5rem 0; }
@media (min-width: 640px) { .pad { padding: 4.5rem 0; } }

/* Wat we bouwen (3-koloms) */
.services { display: grid; grid-template-columns: 1fr; gap: 1.75rem; margin-top: 2rem; }
@media (min-width: 800px) { .services { grid-template-columns: repeat(3, 1fr); gap: 2.25rem 2.5rem; } }
.svc { border-top: 2px solid var(--accent); padding-top: 1rem; }
.svc .n { font-family: var(--mono); color: var(--accent); font-weight: 700; font-size: .78rem; }
.svc h3 { font-family: var(--display); font-weight: 700; font-size: 1.18rem; margin: .4rem 0 .35rem; letter-spacing: -.01em; }
.svc p { margin: 0; color: var(--muted); line-height: 1.6; }

/* Zo werkt het (3-staps) */
.steps { display: grid; grid-template-columns: 1fr; gap: 1.75rem; margin-top: 2rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.step { border-top: 1px solid var(--line); padding-top: 1rem; }
.step .n { font-family: var(--mono); color: var(--accent); font-weight: 700; font-size: .78rem; letter-spacing: .04em; }
.step h3 { font-family: var(--display); font-weight: 700; font-size: 1.25rem; margin: .35rem 0 .5rem; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--muted); line-height: 1.65; }

/* Statement */
.statement blockquote { font-family: var(--display); font-weight: 900; letter-spacing: -.03em; line-height: 1.12; font-size: clamp(1.55rem, 3.4vw, 2.5rem); max-width: 52rem; margin: 0; }

/* Contact */
.lead-line { font-family: var(--display); font-weight: 900; font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin: 0; letter-spacing: -.02em; }
.contact-note { margin: .6rem 0 0; color: var(--muted); font-size: .95rem; }
.email-link { display: inline-block; margin-top: 1rem; font-family: var(--mono); font-size: 1rem; color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.15rem 0; font-family: var(--display); font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 700; font-size: 1.3rem; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq .answer { padding: 0 0 1.35rem; max-width: 46rem; color: var(--muted); line-height: 1.7; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .container { display: flex; align-items: center; justify-content: space-between; padding: 2rem 0; font-size: .85rem; color: var(--muted); }
.site-footer .wordmark { font-family: var(--display); font-weight: 900; color: var(--ink); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
