/*
Theme Name: Lokalerank
Theme URI: https://lokalerank.nl
Description: Barebone landingsthema voor lokalerank.nl — "editorial authority" identiteit (bone/inkt/dieprood, Newsreader + IBM Plex Sans, onderwerpen-index-motief). Eigen gezicht.
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: lokalerank
*/

:root {
  --paper: #f4f0e7;   /* bone            */
  --ink:   #191410;   /* warm near-black */
  --muted: #6e6656;
  --line:  rgba(25, 20, 16, 0.16);
  --accent:#9e2b25;   /* dieprood        */
  --display: "Newsreader", ui-serif, Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

* { 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: var(--paper); }

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

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

/* Header — masthead-lockup */
.site-header { border-bottom: 2px solid var(--ink); }
.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: 600; font-size: 1.3rem; letter-spacing: -.01em; }

/* 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 4.5rem; } }
.display { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; line-height: 1.04; font-size: clamp(2.75rem, 7.5vw, 5.5rem); margin: 1.5rem 0 0; }
.hero-body { margin-top: 2.5rem; max-width: 42rem; }
.lead { font-size: 1.15rem; line-height: 1.7; margin: 0; }
.btn { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.75rem; background: var(--accent); color: var(--paper); border-radius: 0; padding: .85rem 1.5rem; font-weight: 500; 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); }

/* Onderwerpen-index (het motief) */
.section { border-top: 1px solid var(--line); }
.pad { padding: 3.5rem 0; }
@media (min-width: 640px) { .pad { padding: 4.5rem 0; } }
.index { border-top: 2px solid var(--ink); margin-top: 1.75rem; }
.index .row { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
@media (min-width: 768px) { .index .row { grid-template-columns: 3rem 15rem 1fr; gap: 2rem; } }
.index .no { font-family: var(--display); color: var(--accent); font-weight: 600; font-size: 1.3rem; }
.index .t { font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.01em; }
.index .d { color: var(--muted); line-height: 1.6; grid-column: 1 / -1; }
@media (min-width: 768px) { .index .d { grid-column: 3; } }

/* Statement */
.statement blockquote { font-family: var(--display); font-weight: 500; font-style: italic; letter-spacing: -.01em; line-height: 1.25; font-size: clamp(1.6rem, 3.5vw, 2.6rem); max-width: 56rem; margin: 0; }
.statement blockquote .accent { font-style: normal; }

/* Contact */
.lead-line { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin: 0; }
.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: 2px solid var(--ink); }
.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: 600; font-size: 1.2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 600; font-size: 1.3rem; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq .answer { padding: 0 0 1.35rem; max-width: 44rem; color: var(--muted); line-height: 1.7; }

/* Footer */
.site-footer { border-top: 2px solid var(--ink); }
.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: 600; 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; } }
