/*
Theme Name: Vindmeester
Theme URI: https://vindmeester.nl
Description: Barebone landingsthema voor vindmeester.nl — "dark emerald" identiteit (near-black/emerald, Schibsted Grotesk + Space Mono, wekelijkse-index-dashboard-motief). Vindbaarheid als vak: plan, onderwerpen, wekelijkse rapportage.
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: vindmeester
*/

:root {
  --paper: #0c1512;
  --surface: #12211c;
  --ink: #eaf3ee;
  --muted: #8fa79b;
  --line: rgba(234, 243, 238, 0.12);
  --accent: #34d399;   /* emerald */
  --accent-deep: #10b981;
  --display: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Space 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: #06231a; }

.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: .16em; font-weight: 700; 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: 800; font-size: 1.25rem; 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; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -30%; right: -10%; width: 46rem; height: 46rem; background: radial-gradient(circle, rgba(52,211,153,.14), transparent 62%); pointer-events: none; }
@media (min-width: 1024px) { .hero { padding: 6.5rem 0 5rem; } }
.display { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: 1.03; font-size: clamp(2.5rem, 6.5vw, 4.75rem); margin: 1.25rem 0 0; }
.hero-grid { position: relative; margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 2.75rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; } }
.lead { font-size: 1.1rem; line-height: 1.7; max-width: 34rem; margin: 0; color: #c3d3cb; }
.btn { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.75rem; background: var(--accent); color: #06231a; border-radius: 999px; padding: .8rem 1.5rem; font-weight: 700; font-size: .95rem; text-decoration: none; transition: background .25s, transform .25s, box-shadow .25s; box-shadow: 0 12px 30px -12px rgba(52,211,153,.6); }
.btn:hover { background: #5ee0ad; transform: translateY(-1px); }
.btn .arrow { transition: transform .25s; } .btn:hover .arrow { transform: translateX(3px); }

/* Wekelijkse-index-dashboard (het motief) */
.idxcard { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.2rem 1.3rem; box-shadow: 0 30px 70px -30px rgba(0,0,0,.75); }
.idx-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.idx-head .t { font-family: var(--display); font-weight: 800; font-size: 1rem; }
.idx-head .wk { font-family: var(--mono); font-size: .66rem; font-weight: 700; color: var(--accent); letter-spacing: .04em; background: rgba(52,211,153,.13); padding: .22rem .5rem; border-radius: 6px; }
.idx-bars { display: flex; align-items: flex-end; gap: .5rem; height: 96px; padding: 1.5rem 0 .9rem; }
.idx-bars .b { flex: 1; background: linear-gradient(180deg, var(--accent), rgba(52,211,153,.28)); border-radius: 6px 6px 0 0; position: relative; }
.idx-bars .b span { position: absolute; top: -1.25rem; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: .58rem; color: var(--muted); }
.idx-metrics { border-top: 1px solid var(--line); margin-top: .2rem; }
.idx-row { display: flex; align-items: center; justify-content: space-between; padding: .58rem 0; border-bottom: 1px solid var(--line); }
.idx-row:last-child { border-bottom: 0; }
.idx-row .k { color: var(--muted); font-size: .86rem; }
.idx-row .v { font-family: var(--mono); font-weight: 700; font-size: .88rem; color: var(--accent); }

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

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

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

/* Contact */
.lead-line { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin: 0; letter-spacing: -.02em; }
.email-link { display: inline-block; margin-top: 1rem; font-size: 1.05rem; 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: 800; font-size: 1.1rem; 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: 800; 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; } }
